From: "Caleb Tennis (caleb)" <caleb@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/db: ChangeLog db-4.7.25_p4.ebuild
Date: Sun, 21 Jun 2009 13:43:28 +0000 [thread overview]
Message-ID: <E1MINKS-000780-MK@stork.gentoo.org> (raw)
caleb 09/06/21 13:43:28
Modified: ChangeLog
Added: db-4.7.25_p4.ebuild
Log:
Version bump, from #272983
(Portage version: 2.1.6.13/cvs/Linux i686)
Revision Changes Path
1.285 sys-libs/db/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/db/ChangeLog?rev=1.285&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/db/ChangeLog?rev=1.285&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/db/ChangeLog?r1=1.284&r2=1.285
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v
retrieving revision 1.284
retrieving revision 1.285
diff -u -r1.284 -r1.285
--- ChangeLog 1 Jun 2009 12:01:16 -0000 1.284
+++ ChangeLog 21 Jun 2009 13:43:28 -0000 1.285
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/db
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v 1.284 2009/06/01 12:01:16 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v 1.285 2009/06/21 13:43:28 caleb Exp $
+
+*db-4.7.25_p4 (21 Jun 2009)
+
+ 21 Jun 2009; Caleb Tennis <caleb@gentoo.org> +db-4.7.25_p4.ebuild:
+ Version bump, from #272983
01 Jun 2009; Raúl Porcel <armin76@gentoo.org> db-4.6.21_p4.ebuild:
arm/ia64/m68k/s390/sh/sparc stable wrt #248905
1.1 sys-libs/db/db-4.7.25_p4.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/db/db-4.7.25_p4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/db/db-4.7.25_p4.ebuild?rev=1.1&content-type=text/plain
Index: db-4.7.25_p4.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.7.25_p4.ebuild,v 1.1 2009/06/21 13:43:28 caleb Exp $
inherit eutils db flag-o-matic java-pkg-opt-2 autotools libtool
#Number of official patches
#PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"`
PATCHNO=${PV/*.*.*_p}
if [[ ${PATCHNO} == "${PV}" ]] ; then
MY_PV=${PV}
MY_P=${P}
PATCHNO=0
else
MY_PV=${PV/_p${PATCHNO}}
MY_P=${PN}-${MY_PV}
fi
S="${WORKDIR}/${MY_P}/build_unix"
DESCRIPTION="Oracle Berkeley DB"
HOMEPAGE="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
SRC_URI="http://download.oracle.com/berkeley-db/${MY_P}.tar.gz"
for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do
export SRC_URI="${SRC_URI} http://www.oracle.com/technology/products/berkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i}"
done
LICENSE="OracleDB"
SLOT="4.7"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="doc java nocxx tcl test"
# the entire testsuite needs the TCL functionality
DEPEND="tcl? ( >=dev-lang/tcl-8.4 )
test? ( >=dev-lang/tcl-8.4 )
java? ( >=virtual/jdk-1.5 )
>=sys-devel/binutils-2.16.1"
RDEPEND="tcl? ( dev-lang/tcl )
java? ( >=virtual/jre-1.5 )"
src_unpack() {
unpack "${MY_P}".tar.gz
cd "${WORKDIR}"/"${MY_P}"
for (( i=1 ; i<=${PATCHNO} ; i++ ))
do
epatch "${DISTDIR}"/patch."${MY_PV}"."${i}"
done
epatch "${FILESDIR}"/"${PN}"-4.6-libtool.patch
# use the includes from the prefix
epatch "${FILESDIR}"/"${PN}"-4.6-jni-check-prefix-first.patch
epatch "${FILESDIR}"/"${PN}"-4.3-listen-to-java-options.patch
# Include the SLOT for Java JAR files
# This supersedes the unused jarlocation patches.
sed -r -i \
-e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \
"${S}"/../dist/Makefile.in
cd "${S}"/../dist
rm -f aclocal/libtool.m4
sed -i \
-e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \
configure.ac
sed -i \
-e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \
aclocal/programs.m4
AT_M4DIR="aclocal aclocal_java" eautoreconf
# Upstream sucks - they do autoconf and THEN replace the version variables.
. ./RELEASE
sed -i \
-e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \
-e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \
-e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \
-e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \
-e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \
-e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure
}
src_compile() {
# compilation with -O0 fails on amd64, see bug #171231
if use amd64; then
replace-flags -O0 -O2
is-flagq -O[s123] || append-flags -O2
fi
# use `set` here since the java opts will contain whitespace
set --
if use java ; then
set -- "$@" \
--with-java-prefix="${JAVA_HOME}" \
--with-javac-flags="$(java-pkg_javac-args)"
fi
# Add linker versions to the symbols. Easier to do, and safer than header file
# mumbo jumbo.
if use userland_GNU ; then
append-ldflags -Wl,--default-symver
fi
cd "${S}"
ECONF_SOURCE="${S}"/../dist \
STRIP="true" \
econf \
--enable-compat185 \
--enable-o_direct \
--without-uniquename \
--enable-rpc \
$(use amd64 && echo --with-mutex=x86/gcc-assembly) \
$(use_enable !nocxx cxx) \
$(use_enable java) \
$(use_enable tcl) \
$(use tcl && echo --with-tcl=/usr/$(get_libdir)) \
$(use_enable test) \
"$@"
emake || die "make failed"
}
src_install() {
emake install DESTDIR="${D}" || die
db_src_install_usrbinslot
db_src_install_headerslot
db_src_install_doc
db_src_install_usrlibcleanup
dodir /usr/sbin
mv "${D}"/usr/bin/berkeley_db_svc "${D}"/usr/sbin/berkeley_db"${SLOT/./}"_svc
if use java; then
java-pkg_regso "${D}"/usr/"$(get_libdir)"/libdb_java*.so
java-pkg_dojar "${D}"/usr/"$(get_libdir)"/*.jar
rm -f "${D}"/usr/"$(get_libdir)"/*.jar
fi
}
pkg_postinst() {
db_fix_so
}
pkg_postrm() {
db_fix_so
}
next reply other threads:[~2009-06-21 13:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-21 13:43 Caleb Tennis (caleb) [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-07-05 19:52 [gentoo-commits] gentoo-x86 commit in sys-libs/db: ChangeLog db-4.7.25_p4.ebuild Mike Frysinger (vapier)
2009-09-13 18:03 Robin H. Johnson (robbat2)
2009-09-23 13:53 Jeroen Roovers (jer)
2009-09-26 12:57 Brent Baude (ranger)
2009-09-27 20:19 Gysbert Wassenaar (nixnut)
2009-09-30 21:10 Markus Meier (maekke)
2009-10-01 20:27 Tobias Klausmann (klausman)
2009-11-04 11:17 Markus Meier (maekke)
2010-01-24 18:29 Raul Porcel (armin76)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1MINKS-000780-MK@stork.gentoo.org \
--to=caleb@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox