From acdaee6bf0551da0cf7d71573a7cd50ab866f62d Mon Sep 17 00:00:00 2001 From: Caleb Tennis Date: Tue, 27 Feb 2007 20:28:23 +0000 Subject: [PATCH] Bump 4.4.20 to _p4 Package-Manager: portage-2.1.2-r12 --- sys-libs/db/ChangeLog | 7 +- sys-libs/db/Manifest | 25 +++-- sys-libs/db/db-4.4.20_p4.ebuild | 138 ++++++++++++++++++++++++++ sys-libs/db/db-4.5.20_p2.ebuild | 4 +- sys-libs/db/files/digest-db-4.4.20_p4 | 15 +++ 5 files changed, 178 insertions(+), 11 deletions(-) create mode 100644 sys-libs/db/db-4.4.20_p4.ebuild create mode 100644 sys-libs/db/files/digest-db-4.4.20_p4 diff --git a/sys-libs/db/ChangeLog b/sys-libs/db/ChangeLog index 6390f622fafe..9d7bd566d0e7 100644 --- a/sys-libs/db/ChangeLog +++ b/sys-libs/db/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/db # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v 1.194 2007/02/27 20:18:37 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v 1.195 2007/02/27 20:28:23 caleb Exp $ + +*db-4.4.20_p4 (27 Feb 2007) + + 27 Feb 2007; Caleb Tennis +db-4.4.20_p4.ebuild: + Bump to 4.4.20_p4, change SRC_URI to reflect new location of stuff *db-4.5.20_p2 (27 Feb 2007) diff --git a/sys-libs/db/Manifest b/sys-libs/db/Manifest index fd7180ee70dd..c5ee63253c94 100644 --- a/sys-libs/db/Manifest +++ b/sys-libs/db/Manifest @@ -118,6 +118,8 @@ DIST patch.4.2.52.3 8672 RMD160 443b5cb93346482166f407c8fb9522035d151f02 SHA1 e3 DIST patch.4.2.52.4 1311 RMD160 d6154a5e1203348d37e2f537300582fc06fc9def SHA1 0136f050d9cae839d0116a43961a29f0e230c4dc SHA256 c15c82071c02ce1a10024c572e2e9fd72006089007141a01fdd37b889411b973 DIST patch.4.4.20.1 867 RMD160 57ecff5ecb934e1eb771c49e4e67246d579702b2 SHA1 5843380b67561134432f46dce53b67a133ef7962 SHA256 4eeb18450b88703282251c386405bf7c9efa053a42d1dda97603ee8039ee5869 DIST patch.4.4.20.2 721 RMD160 e560b07cc20dbd6865d8aad91941515f8fb031c1 SHA1 75f0ae6ef06a23a690e5ebe6460552a11448ef32 SHA256 45949e288482736bbc27bd62c854a99fad4b3e55103897eafd62bce1d5629bbc +DIST patch.4.4.20.3 1366 RMD160 668c8e88f6fde2c028a9a3ad1d6917a28e7b3e85 SHA1 580265cdccc394ed988a6334f6c9a7d2bb15d141 SHA256 ae54bb752a31655a1a945f12900b740fad397c3e2ddab792ecfd4660d3e6e236 +DIST patch.4.4.20.4 837 RMD160 46cf2177aee1ce00c0044817610231541722c4d3 SHA1 8875add3312fdc0548fbd4dedb71b4f8637dc6c9 SHA256 7018f74e5184451809f6864172132472e91d95e2bec97ce6124afb67f0d65e59 DIST patch.4.5.20.1 984 RMD160 52093e6c3d952cb8193db35e45aa4462ba0772be SHA1 0d55d4d7357b896bde91e096b40bfc100bb27d9d SHA256 f0749a6780cd260fed20b6e961a0d354889ffe84505129d5c81925a4a4dcf6cb DIST patch.4.5.20.2 1752 RMD160 d35069e8267f02e64e6f1be046d6cb9e75e9e720 SHA1 a3fcbc023489c059659f789d9473ac25d6d3a477 SHA256 232a93565ab1bf34db10f7513b612867bb61e0c012def7f63715800a05d07e6a EBUILD db-1.85-r1.ebuild 1477 RMD160 585f67421ea5d07737f0ef9ac24611548a9d8323 SHA1 e4a435e0981455499799f1d7722342c2d7eb1a0f SHA256 340f855bb89c3a080599df43f95ba8537d4f8820d6cf2190ab371ee87302d547 @@ -192,14 +194,18 @@ EBUILD db-4.4.20_p2.ebuild 3588 RMD160 ac1bf0db297f652e37ba85a87a589f7531398067 MD5 3630da7d769dfbf6d9332cd8f2f7b982 db-4.4.20_p2.ebuild 3588 RMD160 ac1bf0db297f652e37ba85a87a589f7531398067 db-4.4.20_p2.ebuild 3588 SHA256 85893d689c6ced2cc4569636a522173f18be24ddaf588183fa6af1b07e666eba db-4.4.20_p2.ebuild 3588 -EBUILD db-4.5.20_p2.ebuild 3688 RMD160 64933cf538b9f375f0beabd881592c2b64b4ce9e SHA1 7c584cdcb97921bfd909b7520529800f5a4303d6 SHA256 cc05086e3f051ff02dc6e391b0a46a6c1085a2d0fac82220822890b24987fb66 -MD5 7a58d93185313ba5c35fb9f46f8560ed db-4.5.20_p2.ebuild 3688 -RMD160 64933cf538b9f375f0beabd881592c2b64b4ce9e db-4.5.20_p2.ebuild 3688 -SHA256 cc05086e3f051ff02dc6e391b0a46a6c1085a2d0fac82220822890b24987fb66 db-4.5.20_p2.ebuild 3688 -MISC ChangeLog 30190 RMD160 4d408f17dc896a6e618447f8a11a6471d26e716f SHA1 13c46fb8b89a66d1da2becf15cdddd9d7ea5106f SHA256 ec8a92a7a1f02303dd99295e33c69dffdd4270d205468b3914daf993eb50882f -MD5 c94de758990b73d6fd7c1651b25fbc55 ChangeLog 30190 -RMD160 4d408f17dc896a6e618447f8a11a6471d26e716f ChangeLog 30190 -SHA256 ec8a92a7a1f02303dd99295e33c69dffdd4270d205468b3914daf993eb50882f ChangeLog 30190 +EBUILD db-4.4.20_p4.ebuild 3698 RMD160 856483e9e66e5b17c8f757b87edcf04cd45c21f3 SHA1 2fba8fcc551a4b815590322a9115556684a42ec8 SHA256 abf10573f98109ef72c81d8d1cb43fb6a8e858113a31ec52443f00043be6d3fc +MD5 488f509e85be6f682f273d97e672f049 db-4.4.20_p4.ebuild 3698 +RMD160 856483e9e66e5b17c8f757b87edcf04cd45c21f3 db-4.4.20_p4.ebuild 3698 +SHA256 abf10573f98109ef72c81d8d1cb43fb6a8e858113a31ec52443f00043be6d3fc db-4.4.20_p4.ebuild 3698 +EBUILD db-4.5.20_p2.ebuild 3688 RMD160 a263d09f3fe49b0f9386d1ab1c2c8cacf76f8a6e SHA1 5fca8b21a28f3c4e293a3c444c1901db70bc3a25 SHA256 9c28fd1b2e988cb41331fde639d4a00f5c10c26af03443cfdf9145ac12bd30fa +MD5 74de2cdeff9c698139234860a2279313 db-4.5.20_p2.ebuild 3688 +RMD160 a263d09f3fe49b0f9386d1ab1c2c8cacf76f8a6e db-4.5.20_p2.ebuild 3688 +SHA256 9c28fd1b2e988cb41331fde639d4a00f5c10c26af03443cfdf9145ac12bd30fa db-4.5.20_p2.ebuild 3688 +MISC ChangeLog 30358 RMD160 c9b4f2d098da995a0c95ce7b4e9e2541391b87d5 SHA1 c75c7afa8f2006420853239f95d744ddbaf9b9fe SHA256 33a70af9966e7a08b2c9d1e69b672816e62193bc301565871c9f9e2d27075503 +MD5 913880126dd31298a21ac0688b99b69b ChangeLog 30358 +RMD160 c9b4f2d098da995a0c95ce7b4e9e2541391b87d5 ChangeLog 30358 +SHA256 33a70af9966e7a08b2c9d1e69b672816e62193bc301565871c9f9e2d27075503 ChangeLog 30358 MISC metadata.xml 1460 RMD160 6f73dd6370c976b947d939633aa6f67d078e4fc7 SHA1 a29a6ed2d9dfbe3b686a9281a1909d9fc7bd61e9 SHA256 ad820b0fe2d8ec2aac1eb181f2e3e2769392e1ae6c5f6afb7e1603bdd0bb7405 MD5 e1753ef0eb3e9614fadff321ecd1b082 metadata.xml 1460 RMD160 6f73dd6370c976b947d939633aa6f67d078e4fc7 metadata.xml 1460 @@ -258,6 +264,9 @@ SHA256 43f814e2ff2cd9d7ca6f40f336a9eacefb8b3d2d0aa3fdd5046369a07aa00251 files/di MD5 c36ac17ff6e664f9a8f5bd2fe3534dd5 files/digest-db-4.4.20_p2 660 RMD160 fa3804c13649e3d5d0bc42c5a7822764be74a674 files/digest-db-4.4.20_p2 660 SHA256 dcce09c08cdfddd585acc3b07685a92d1f78dad6ce7936b85728cf782b4c2096 files/digest-db-4.4.20_p2 660 +MD5 470feb6461481dbedfdf20467381aa79 files/digest-db-4.4.20_p4 1091 +RMD160 fabd9ea3766b3c4b1f14e75f9de7629ce83e9a10 files/digest-db-4.4.20_p4 1091 +SHA256 89d05ae9bab49834d288f501461c96997e33d978943a3696d99def09da715642 files/digest-db-4.4.20_p4 1091 MD5 a76ca07587a5bc7b469982d415b2abe9 files/digest-db-4.5.20_p2 663 RMD160 31cf782d573c5ae7a204fab82bd10e8ccf6a140a files/digest-db-4.5.20_p2 663 SHA256 cbec0b3c04af33d3c45800e6e7541405b086000a94b3faa0d376a0efe5f15892 files/digest-db-4.5.20_p2 663 diff --git a/sys-libs/db/db-4.4.20_p4.ebuild b/sys-libs/db/db-4.4.20_p4.ebuild new file mode 100644 index 000000000000..30c36b18ed01 --- /dev/null +++ b/sys-libs/db/db-4.4.20_p4.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.4.20_p4.ebuild,v 1.1 2007/02/27 20:28:23 caleb Exp $ + +inherit eutils gnuconfig db flag-o-matic java-pkg-opt-2 + +#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-west.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.4" +KEYWORDS="~amd64 ~arm ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="tcl java doc nocxx bootstrap" + +DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) + java? ( >=virtual/jdk-1.4 ) + >=sys-devel/binutils-2.16.1" +RDEPEND="tcl? ( dev-lang/tcl ) + java? ( >=virtual/jre-1.4 )" + +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}"-"${SLOT}"-libtool.patch + + # use the includes from the prefix + epatch "${FILESDIR}"/"${PN}"-4.3-jni-check-prefix-first.patch + epatch "${FILESDIR}"/"${PN}"-4.3-listen-to-java-options.patch + + gnuconfig_update "${S}"/../dist + + sed -i \ + -e "s,\(ac_compiler\|\${MAKEFILE_CC}\|\${MAKEFILE_CXX}\|\$CC\)\( *--version\),\1 -dumpversion,g" \ + "${S}"/../dist/configure +} + +src_compile() { + local myconf="" + + use amd64 && myconf="${myconf} --with-mutex=x86/gcc-assembly" + + use bootstrap \ + && myconf="${myconf} --disable-cxx" \ + || myconf="${myconf} $(use_enable !nocxx cxx)" + + use tcl \ + && myconf="${myconf} --enable-tcl --with-tcl=/usr/$(get_libdir)" \ + || myconf="${myconf} --disable-tcl" + + myconf="${myconf} $(use_enable java)" + if use java; then + myconf="${myconf} --with-java-prefix=${JAVA_HOME}" + # Can't get this working any other way, since it returns spaces, and + # bash doesn't seem to want to pass correctly in any way i try + local javaconf="-with-javac-flags=$(java-pkg_javac-args)" + fi + + [[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}" + + # the entire testsuite needs the TCL functionality + if use tcl && has test $FEATURES ; then + myconf="${myconf} --enable-test" + else + myconf="${myconf} --disable-test" + 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 + + ../dist/configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --datadir=/usr/share \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --libdir=/usr/"$(get_libdir)" \ + --enable-compat185 \ + --without-uniquename \ + --enable-rpc \ + --host="${CHOST}" \ + ${myconf} "${javaconf}" || die "configure failed" + + emake -j1 || die "make failed" +} + +src_install() { + einstall libdir="${D}/usr/$(get_libdir)" strip="${D}/bin/strip" || 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_db44_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 +} diff --git a/sys-libs/db/db-4.5.20_p2.ebuild b/sys-libs/db/db-4.5.20_p2.ebuild index 55678ac12633..d8392215317b 100644 --- a/sys-libs/db/db-4.5.20_p2.ebuild +++ b/sys-libs/db/db-4.5.20_p2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.5.20_p2.ebuild,v 1.1 2007/02/27 20:18:37 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.5.20_p2.ebuild,v 1.2 2007/02/27 20:28:23 caleb Exp $ inherit eutils gnuconfig db flag-o-matic java-pkg-opt-2 @@ -120,7 +120,7 @@ src_install() { db_src_install_usrlibcleanup dodir /usr/sbin - mv "${D}"/usr/bin/berkeley_db_svc "${D}"/usr/sbin/berkeley_db44_svc + mv "${D}"/usr/bin/berkeley_db_svc "${D}"/usr/sbin/berkeley_db45_svc if use java; then java-pkg_regso "${D}"/usr/"$(get_libdir)"/libdb_java*.so diff --git a/sys-libs/db/files/digest-db-4.4.20_p4 b/sys-libs/db/files/digest-db-4.4.20_p4 new file mode 100644 index 000000000000..0066d2e0f078 --- /dev/null +++ b/sys-libs/db/files/digest-db-4.4.20_p4 @@ -0,0 +1,15 @@ +MD5 33851f01b455cca48aa601956de93c6f db-4.4.20.tar.gz 8112163 +RMD160 1e62a7583c8064f1e8533e188db4644d6d047f66 db-4.4.20.tar.gz 8112163 +SHA256 56442966cf51a6eb81272f4ab4cec929dcb695a5081b187215afdc7cf7629a57 db-4.4.20.tar.gz 8112163 +MD5 66584d621355df055b6e05b4a02e9c3e patch.4.4.20.1 867 +RMD160 57ecff5ecb934e1eb771c49e4e67246d579702b2 patch.4.4.20.1 867 +SHA256 4eeb18450b88703282251c386405bf7c9efa053a42d1dda97603ee8039ee5869 patch.4.4.20.1 867 +MD5 85df93a0867f6cace3501671cdeb6ed1 patch.4.4.20.2 721 +RMD160 e560b07cc20dbd6865d8aad91941515f8fb031c1 patch.4.4.20.2 721 +SHA256 45949e288482736bbc27bd62c854a99fad4b3e55103897eafd62bce1d5629bbc patch.4.4.20.2 721 +MD5 88ee91889ebf5498b22b2e7bed945d41 patch.4.4.20.3 1366 +RMD160 668c8e88f6fde2c028a9a3ad1d6917a28e7b3e85 patch.4.4.20.3 1366 +SHA256 ae54bb752a31655a1a945f12900b740fad397c3e2ddab792ecfd4660d3e6e236 patch.4.4.20.3 1366 +MD5 c2ef7b3e59460c35950fab5f2faa3fc0 patch.4.4.20.4 837 +RMD160 46cf2177aee1ce00c0044817610231541722c4d3 patch.4.4.20.4 837 +SHA256 7018f74e5184451809f6864172132472e91d95e2bec97ce6124afb67f0d65e59 patch.4.4.20.4 837 -- 2.26.2