From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MINKW-0004Ob-ND for garchives@archives.gentoo.org; Sun, 21 Jun 2009 13:43:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1BF8DE04A8; Sun, 21 Jun 2009 13:43:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CCD87E04A8 for ; Sun, 21 Jun 2009 13:43:31 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 524FB6591E for ; Sun, 21 Jun 2009 13:43:29 +0000 (UTC) Received: from caleb by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1MINKS-000780-MK for gentoo-commits@lists.gentoo.org; Sun, 21 Jun 2009 13:43:28 +0000 From: "Caleb Tennis (caleb)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, caleb@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/db: ChangeLog db-4.7.25_p4.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog db-4.7.25_p4.ebuild X-VCS-Directories: sys-libs/db X-VCS-Committer: caleb X-VCS-Committer-Name: Caleb Tennis Content-Type: text/plain; charset=utf8 Message-Id: Sender: Caleb Tennis Date: Sun, 21 Jun 2009 13:43:28 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: c5890f32-d041-4120-a1a2-5284acd13d13 X-Archives-Hash: 1767b8c15f7dbe3cb1acebe7782c6fb6 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/Change= Log?rev=3D1.285&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/db/Change= Log?rev=3D1.285&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/db/Change= Log?r1=3D1.284&r2=3D1.285 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 +db-4.7.25_p4.ebuild: + Version bump, from #272983 =20 01 Jun 2009; Ra=C3=BAl Porcel 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=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/db/db-4.7= .25_p4.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: db-4.7.25_p4.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # 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=3D`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` PATCHNO=3D${PV/*.*.*_p} if [[ ${PATCHNO} =3D=3D "${PV}" ]] ; then MY_PV=3D${PV} MY_P=3D${P} PATCHNO=3D0 else MY_PV=3D${PV/_p${PATCHNO}} MY_P=3D${PN}-${MY_PV} fi S=3D"${WORKDIR}/${MY_P}/build_unix" DESCRIPTION=3D"Oracle Berkeley DB" HOMEPAGE=3D"http://www.oracle.com/technology/software/products/berkeley-d= b/index.html" SRC_URI=3D"http://download.oracle.com/berkeley-db/${MY_P}.tar.gz" for (( i=3D1 ; i<=3D${PATCHNO} ; i++ )) ; do export SRC_URI=3D"${SRC_URI} http://www.oracle.com/technology/products/b= erkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i}" done LICENSE=3D"OracleDB" SLOT=3D"4.7" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~s= parc ~sparc-fbsd ~x86 ~x86-fbsd" IUSE=3D"doc java nocxx tcl test" # the entire testsuite needs the TCL functionality DEPEND=3D"tcl? ( >=3Ddev-lang/tcl-8.4 ) test? ( >=3Ddev-lang/tcl-8.4 ) java? ( >=3Dvirtual/jdk-1.5 ) >=3Dsys-devel/binutils-2.16.1" RDEPEND=3D"tcl? ( dev-lang/tcl ) java? ( >=3Dvirtual/jre-1.5 )" src_unpack() { unpack "${MY_P}".tar.gz cd "${WORKDIR}"/"${MY_P}" for (( i=3D1 ; i<=3D${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=3D.*\.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=3D"aclocal aclocal_java" eautoreconf # Upstream sucks - they do autoconf and THEN replace the version variabl= es. . ./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=3D"${JAVA_HOME}" \ --with-javac-flags=3D"$(java-pkg_javac-args)" fi # Add linker versions to the symbols. Easier to do, and safer than heade= r file # mumbo jumbo. if use userland_GNU ; then append-ldflags -Wl,--default-symver fi cd "${S}" ECONF_SOURCE=3D"${S}"/../dist \ STRIP=3D"true" \ econf \ --enable-compat185 \ --enable-o_direct \ --without-uniquename \ --enable-rpc \ $(use amd64 && echo --with-mutex=3Dx86/gcc-assembly) \ $(use_enable !nocxx cxx) \ $(use_enable java) \ $(use_enable tcl) \ $(use tcl && echo --with-tcl=3D/usr/$(get_libdir)) \ $(use_enable test) \ "$@" emake || die "make failed" } src_install() { emake install DESTDIR=3D"${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 }