diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2003-08-05 10:22:01 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2003-08-05 10:22:01 +0000 |
commit | e22636e0eaba555dbf53e586d1ce8c63eecea4b5 (patch) | |
tree | bd93829bd9262a52395ae09316fb9dd53fa4ddd4 /sys-libs | |
parent | Added simd patch (use sse) ~x86 masked. Closes #21585. (diff) | |
download | gentoo-2-e22636e0eaba555dbf53e586d1ce8c63eecea4b5.tar.gz gentoo-2-e22636e0eaba555dbf53e586d1ce8c63eecea4b5.tar.bz2 gentoo-2-e22636e0eaba555dbf53e586d1ce8c63eecea4b5.zip |
Add a version of db-4.1.25 with the upstream patch applied
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/db/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/db/Manifest | 40 | ||||
-rw-r--r-- | sys-libs/db/db-4.1.25_p1.ebuild | 116 | ||||
-rw-r--r-- | sys-libs/db/files/digest-db-4.1.25_p1 | 2 |
4 files changed, 145 insertions, 20 deletions
diff --git a/sys-libs/db/ChangeLog b/sys-libs/db/ChangeLog index 4e107cb3eb8d..1c31f5da3176 100644 --- a/sys-libs/db/ChangeLog +++ b/sys-libs/db/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/db # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v 1.37 2003/08/01 14:03:55 pauldv Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/ChangeLog,v 1.38 2003/08/05 10:21:53 pauldv Exp $ + +*db-4.1.25_p1 (05 Aug 2003) + + 05 Aug 2003; Paul de Vrieze <pauldv@gentoo.org> db-4.1.25_p1.ebuild: + Make a version that applies the upstream patches 01 Aug 2003; Paul de Vrieze <pauldv@gentoo.org> db-4.0.14.ebuild, db-4.1.24.ebuild, db-4.1.25.ebuild: diff --git a/sys-libs/db/Manifest b/sys-libs/db/Manifest index 0d61dd7275be..504e0dd9eeef 100644 --- a/sys-libs/db/Manifest +++ b/sys-libs/db/Manifest @@ -1,26 +1,28 @@ -MD5 0dcedfa3f8fa0c10ac06b6f27217e45d db-3.3.11.ebuild 2408 -MD5 7bbdb8e7c9f500b78b934c556a7f5eeb db-3.2.9-r1.ebuild 2585 -MD5 c95e9884d4a13b5d17ba264e4b5abf78 db-3.2.9-r6.ebuild 4322 -MD5 49e9408a3c27846a20dae4273591e686 db-4.1.25.ebuild 2260 -MD5 5f58370f7996039a42c4805b7739715b db-3.2.3h-r4.ebuild 2456 +MD5 119f3908892478c62f3afef358d87ac7 ChangeLog 7387 MD5 f5688fefc8d29c29aa1ae2833131eaa3 db-1.85-r1.ebuild 1412 -MD5 5c921197970cd970a8fbb4cad2d7df7b metadata.xml 1457 +MD5 5f58370f7996039a42c4805b7739715b db-3.2.3h-r4.ebuild 2456 +MD5 7bbdb8e7c9f500b78b934c556a7f5eeb db-3.2.9-r1.ebuild 2585 MD5 a037a9713737ca0f498c85f7e0e1dbd6 db-3.2.9-r2.ebuild 3222 -MD5 ccdd20f158ec0507bbdaf5524d3b5742 ChangeLog 7235 -MD5 89aa256dfbcb71045963bc17ea439796 db-3.2.9-r5.ebuild 4264 -MD5 0493e4704292527cfb123d8b1f770d1d db-4.0.14.ebuild 2387 MD5 bb23c5ae6636a708085812b7832e2c60 db-3.2.9.ebuild 2465 -MD5 f8edd1cf6535cd62f9b8ff81e0474273 files/patch.3.2.9.2 495 -MD5 44c6041ae9527bfa8a4ff4cec7cf4a9a files/digest-db-3.2.9-r6 61 -MD5 9cf113248f29b1e319ae73b266df4986 files/patch.3.2.9.1 2139 -MD5 194200b3295b95b46b4564980af27f1f files/db-3.2.9-fix-dep-link.patch 1005 -MD5 44c6041ae9527bfa8a4ff4cec7cf4a9a files/digest-db-3.2.9-r1 61 -MD5 3057fcc117c33a02bd4c092586a58e49 files/digest-db-1.85-r1 59 -MD5 068fc523df1ee6f36b5de8516ab7739f files/digest-db-4.0.14 62 -MD5 214b855f6996d3dca754f6606beff672 files/digest-db-3.3.11 62 +MD5 0dcedfa3f8fa0c10ac06b6f27217e45d db-3.3.11.ebuild 2408 +MD5 0493e4704292527cfb123d8b1f770d1d db-4.0.14.ebuild 2387 +MD5 89aa256dfbcb71045963bc17ea439796 db-3.2.9-r5.ebuild 4264 +MD5 c95e9884d4a13b5d17ba264e4b5abf78 db-3.2.9-r6.ebuild 4322 +MD5 5c921197970cd970a8fbb4cad2d7df7b metadata.xml 1457 +MD5 569032897ea0c02bc0c997bacf12e4b2 db-4.1.25_p1.ebuild 2766 +MD5 49e9408a3c27846a20dae4273591e686 db-4.1.25.ebuild 2260 MD5 1260aeee2785bda43e81a36b6cb247be files/digest-db-4.1.25 62 -MD5 44c6041ae9527bfa8a4ff4cec7cf4a9a files/digest-db-3.2.9-r2 61 -MD5 44c6041ae9527bfa8a4ff4cec7cf4a9a files/digest-db-3.2.9 61 +MD5 194200b3295b95b46b4564980af27f1f files/db-3.2.9-fix-dep-link.patch 1005 MD5 ecd81fa9868ec49c61306444144d44a9 files/db.1.85.patch 55584 +MD5 3057fcc117c33a02bd4c092586a58e49 files/digest-db-1.85-r1 59 MD5 355b01acef6125096cee653bdf4c32fc files/digest-db-3.2.3h-r4 62 +MD5 44c6041ae9527bfa8a4ff4cec7cf4a9a files/digest-db-3.2.9 61 +MD5 44c6041ae9527bfa8a4ff4cec7cf4a9a files/digest-db-3.2.9-r1 61 +MD5 44c6041ae9527bfa8a4ff4cec7cf4a9a files/digest-db-3.2.9-r2 61 +MD5 214b855f6996d3dca754f6606beff672 files/digest-db-3.3.11 62 +MD5 068fc523df1ee6f36b5de8516ab7739f files/digest-db-4.0.14 62 +MD5 9cf113248f29b1e319ae73b266df4986 files/patch.3.2.9.1 2139 +MD5 f8edd1cf6535cd62f9b8ff81e0474273 files/patch.3.2.9.2 495 MD5 44c6041ae9527bfa8a4ff4cec7cf4a9a files/digest-db-3.2.9-r5 61 +MD5 44c6041ae9527bfa8a4ff4cec7cf4a9a files/digest-db-3.2.9-r6 61 +MD5 f029f70f531ca67c16b62573d61de49e files/digest-db-4.1.25_p1 118 diff --git a/sys-libs/db/db-4.1.25_p1.ebuild b/sys-libs/db/db-4.1.25_p1.ebuild new file mode 100644 index 000000000000..98c10ad078e5 --- /dev/null +++ b/sys-libs/db/db-4.1.25_p1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.1.25_p1.ebuild,v 1.1 2003/08/05 10:21:53 pauldv Exp $ + +IUSE="tcltk java" + +#Number of official patches +PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` +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="Berkeley DB" +SRC_URI="http://www.sleepycat.com/update/snapshot/${MY_P}.tar.gz" + +for (( i=1 ; i<=$PATCHNO ; i++ )) +do + export SRC_URI="${SRC_URI} http://www.sleepycat.com/update/${MY_PV}/patch.${MY_PV}.${i}" +done + +HOMEPAGE="http://www.sleepycat.com" +SLOT="4.1" +LICENSE="DB" +KEYWORDS="amd64" + +DEPEND="tcltk? ( dev-lang/tcl ) + java? ( virtual/jdk )" + +src_unpack() { + unpack ${MY_P}.tar.gz + cd ${WORKDIR}/${MY_P} + for (( i=1 ; i<=$PATCHNO ; i++ )) + do + patch -p0 <${DISTDIR}/patch.${MY_PV}.${i} + done +} + +src_compile() { + + local myconf + + use java \ + && myconf="${myconf} --enable-java" \ + || myconf="${myconf} --disable-java" + + use tcltk \ + && myconf="${myconf} --enable-tcl --with-tcl=/usr/lib" \ + || myconf="${myconf} --disable-tcl" + + if [ -n "${JAVAC}" ]; then + export PATH=`dirname ${JAVAC}`:${PATH} + export JAVAC=`basename ${JAVAC}` + fi + + ../dist/configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --datadir=/usr/share \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --enable-compat185 \ + --enable-cxx \ + --with-uniquename \ + ${myconf} || die + + emake || make || die +} + +src_install () { + + einstall || die + for fname in ${D}/usr/bin/db_* + do + mv ${fname} ${fname//\/db_/\/db${SLOT}_} + done + + dodir /usr/include/db${SLOT} + mv ${D}/usr/include/*.h ${D}/usr/include/db${SLOT}/ + + dodir /usr/share/doc/${PF}/html + mv ${D}/usr/docs/* ${D}/usr/share/doc/${PF}/html/ + ln -s /usr/include/db${SLOT}/db.h ${D}/usr/include/db.h +} + +fix_so () { + + cd ${ROOT}/usr/lib + target=`find -type f -maxdepth 1 -name "libdb-*.so" |sort |tail -n 1` + [ -n "${target}" ] && ln -sf ${target//.\//} libdb.so + target=`find -type f -maxdepth 1 -name "libdb_cxx*.so" |sort |tail -n 1` + [ -n "${target}" ] && ln -sf ${target//.\//} libdb_cxx.so + target=`find -type f -maxdepth 1 -name "libdb_tcl*.so" |sort |tail -n 1` + [ -n "${target}" ] && ln -sf ${target//.\//} libdb_tcl.so + target=`find -type f -maxdepth 1 -name "libdb_java*.so" |sort |tail -n 1` + [ -n "${target}" ] && ln -sf ${target//.\//} libdb_java.so + + cd ${ROOT}/usr/include + target=`ls -d db? |sort|tail -n 1` + [ -n "${target}" ] && ln -sf ${target}/db.h . + [ -n "${target}" ] && ln -sf ${target}/db_185.h . +} + +pkg_postinst () { + fix_so +} + +pkg_postrm () { + fix_so +} diff --git a/sys-libs/db/files/digest-db-4.1.25_p1 b/sys-libs/db/files/digest-db-4.1.25_p1 new file mode 100644 index 000000000000..4f81c12b1c1e --- /dev/null +++ b/sys-libs/db/files/digest-db-4.1.25_p1 @@ -0,0 +1,2 @@ +MD5 df71961002b552c0e72c6e4e358f27e1 db-4.1.25.tar.gz 3080234 +MD5 1e073d12cd89f9345e281ca07368f74b patch.4.1.25.1 610 |