diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-10-03 10:36:21 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-10-03 10:36:21 +0000 |
commit | cbf97f98ef7756ef364c5be7bfe15fee9483b03f (patch) | |
tree | 9f93b96c9276d23dd29310fdf2a078790b32e2dd /dev-libs/pwlib | |
parent | remove old vulnerable ebuilds wrt bug 140537 (diff) | |
download | gentoo-2-cbf97f98ef7756ef364c5be7bfe15fee9483b03f.tar.gz gentoo-2-cbf97f98ef7756ef364c5be7bfe15fee9483b03f.tar.bz2 gentoo-2-cbf97f98ef7756ef364c5be7bfe15fee9483b03f.zip |
remove old vulnerable ebuilds wrt bug 140537
(Portage version: 2.1.2_pre2-r1)
(Unsigned Manifest commit)
Diffstat (limited to 'dev-libs/pwlib')
-rw-r--r-- | dev-libs/pwlib/Manifest | 39 | ||||
-rw-r--r-- | dev-libs/pwlib/files/digest-pwlib-1.5.0 | 3 | ||||
-rw-r--r-- | dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 | 3 | ||||
-rw-r--r-- | dev-libs/pwlib/files/digest-pwlib-1.5.2-r3 | 3 | ||||
-rw-r--r-- | dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff | 11 | ||||
-rw-r--r-- | dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff | 56 | ||||
-rw-r--r-- | dev-libs/pwlib/pwlib-1.5.0-r1.ebuild | 88 | ||||
-rw-r--r-- | dev-libs/pwlib/pwlib-1.5.0.ebuild | 84 | ||||
-rw-r--r-- | dev-libs/pwlib/pwlib-1.5.2-r3.ebuild | 108 |
9 files changed, 4 insertions, 391 deletions
diff --git a/dev-libs/pwlib/Manifest b/dev-libs/pwlib/Manifest index 558fee52fbea..eb5f594ab81c 100644 --- a/dev-libs/pwlib/Manifest +++ b/dev-libs/pwlib/Manifest @@ -1,11 +1,3 @@ -AUX pwlib-1.5.0-r1-gentoo.diff 391 RMD160 5fa8bfc2c4b27a495c54f0610314888f6cb12526 SHA1 acfbb5b64f1fdc416c589ac8012ca1d43d4914ce SHA256 eaf7a4188e746db29c2809366f7ee9dffde36d5d70032988c7a684ddbb2beab8 -MD5 0a9a8c5a1417127269e2e0f24ded1b2c files/pwlib-1.5.0-r1-gentoo.diff 391 -RMD160 5fa8bfc2c4b27a495c54f0610314888f6cb12526 files/pwlib-1.5.0-r1-gentoo.diff 391 -SHA256 eaf7a4188e746db29c2809366f7ee9dffde36d5d70032988c7a684ddbb2beab8 files/pwlib-1.5.0-r1-gentoo.diff 391 -AUX pwlib-1.5.2-asnparser-secfix.diff 1299 RMD160 9cbd32778be7bc7484aa179d282ff7590b9875d8 SHA1 80a0313d8fa0e93dbd108cffdafacad32ab3f6c0 SHA256 463f6bcb1f759433eb8e253508c527c497c8543ef306e6322110dfd31e6421e2 -MD5 8c6469f000dea2a13869631fcedbe0ff files/pwlib-1.5.2-asnparser-secfix.diff 1299 -RMD160 9cbd32778be7bc7484aa179d282ff7590b9875d8 files/pwlib-1.5.2-asnparser-secfix.diff 1299 -SHA256 463f6bcb1f759433eb8e253508c527c497c8543ef306e6322110dfd31e6421e2 files/pwlib-1.5.2-asnparser-secfix.diff 1299 AUX pwlib-1.6.3-dyn-esd.patch 366 RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 SHA1 ba9177add96a9903646503bae739cf01cbc49d4f SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9 MD5 94fe183a68413eaeb8242cd30532d963 files/pwlib-1.6.3-dyn-esd.patch 366 RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 files/pwlib-1.6.3-dyn-esd.patch 366 @@ -46,8 +38,6 @@ DIST pwlib-1.8.4.tar.gz 1382438 RMD160 3848d47d3cb903444759ecf41c5fc4c716fadc8c DIST pwlib-1.8.7.tar.gz 1900458 RMD160 b968571a6ffeb162e4b426e1588c82b490b8d7dc SHA1 9333edf45f1022ba2529f7e731db9e5ffa92a17f SHA256 120e95ba090f0c8fa8768e8241b98a711e88973cb625288c2616092061d08ff7 DIST pwlib-v1_6_6-src.tar.gz 1583087 DIST pwlib-v1_8_3-src-tar.gz 1900922 -DIST pwlib_1.5.0.tar.gz 1074311 RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 SHA1 762384a53fb4f42522b0f322fa37fb7271b1f41a SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da -DIST pwlib_1.5.2.tar.gz 1085203 RMD160 87ec385fe384fb0098e53ebecf2a6e1b260a7917 SHA1 cbf9170dfe727d2423e312ca701cdf263c42ac86 SHA256 62b254548ad7a9e71231a160275827d67ff39022ee8e2854a7c9d9fe9a688e65 EBUILD pwlib-1.10.0.ebuild 4390 RMD160 ac70e34afe441c214d0cf7be8f0a4d13f7390016 SHA1 bfbcaa7fc7a400c4824293c30617d5e0d8e514ff SHA256 40d5d220bc7f3d2a20bd8edc1954c0ddef708e2bb67e0be0ef0635f4c9c892fc MD5 8e015bbb9eab6e5bf1b14cbc093ef713 pwlib-1.10.0.ebuild 4390 RMD160 ac70e34afe441c214d0cf7be8f0a4d13f7390016 pwlib-1.10.0.ebuild 4390 @@ -60,18 +50,6 @@ EBUILD pwlib-1.10.2.ebuild 4459 RMD160 346de2d6a1138ef992df02ca566dfb55d5dd0e5d MD5 7b08b479f4f1eaee5fa7abf46a7e9a40 pwlib-1.10.2.ebuild 4459 RMD160 346de2d6a1138ef992df02ca566dfb55d5dd0e5d pwlib-1.10.2.ebuild 4459 SHA256 8ff69eb841d41a75f2d275e221ebb94320c10c5c45a5ee083ea5e27aa5f56ebb pwlib-1.10.2.ebuild 4459 -EBUILD pwlib-1.5.0-r1.ebuild 2403 RMD160 1dcbc0cf473bc53579c66434ca8e8674e3953163 SHA1 14f82f991ed03e4b9c289ba538a93f75eaeb30ed SHA256 b1c06e307fc870f5bced97ce8c4506cfb2c5f47506b5bd441bda5f3c4ca5faa0 -MD5 7b71ebcce6d852f0dc6738ee8b77ea49 pwlib-1.5.0-r1.ebuild 2403 -RMD160 1dcbc0cf473bc53579c66434ca8e8674e3953163 pwlib-1.5.0-r1.ebuild 2403 -SHA256 b1c06e307fc870f5bced97ce8c4506cfb2c5f47506b5bd441bda5f3c4ca5faa0 pwlib-1.5.0-r1.ebuild 2403 -EBUILD pwlib-1.5.0.ebuild 2304 RMD160 db44fa968d38c112e2d6cf0220c2f62ff5bb9ba2 SHA1 c2c24d269f1b5fb6bd8a24818deba7487079baca SHA256 8e1298cf9acb087a62e1d9067ddded2e616a25b2e478b4c6e6a9006cd513575e -MD5 4690d9e7395046ed1c573e68a47bd053 pwlib-1.5.0.ebuild 2304 -RMD160 db44fa968d38c112e2d6cf0220c2f62ff5bb9ba2 pwlib-1.5.0.ebuild 2304 -SHA256 8e1298cf9acb087a62e1d9067ddded2e616a25b2e478b4c6e6a9006cd513575e pwlib-1.5.0.ebuild 2304 -EBUILD pwlib-1.5.2-r3.ebuild 2993 RMD160 cca125f25eafb84e302c83b70e474ec48edc5119 SHA1 a235eee75a1b5d12cfc91f54922ba51631f28cc6 SHA256 167e62e52bad008b4f617b8deae40ab11b3d051ef6ba4eb3c57ede51cb15ad85 -MD5 8a3df2068f3fa7e096c3dc77cc28e7ea pwlib-1.5.2-r3.ebuild 2993 -RMD160 cca125f25eafb84e302c83b70e474ec48edc5119 pwlib-1.5.2-r3.ebuild 2993 -SHA256 167e62e52bad008b4f617b8deae40ab11b3d051ef6ba4eb3c57ede51cb15ad85 pwlib-1.5.2-r3.ebuild 2993 EBUILD pwlib-1.6.3-r3.ebuild 4338 RMD160 cf7d20715361a0f456c265bb893660697d1dfa5f SHA1 4d686788293f723fa5af9c6bb8029f509e0f8ebb SHA256 4849929f966e3a73f7fbb103dc4751fb46bbf19258d951e7a0d3121868b4c3b9 MD5 ae4e2d28a1696afcf545ed158be25bd7 pwlib-1.6.3-r3.ebuild 4338 RMD160 cf7d20715361a0f456c265bb893660697d1dfa5f pwlib-1.6.3-r3.ebuild 4338 @@ -92,10 +70,10 @@ EBUILD pwlib-1.8.7.ebuild 4227 RMD160 269a4562b172061bae69b9d8d4d9f91504dd8aa4 S MD5 972beed85f1d3fca3d08d31a77a7c158 pwlib-1.8.7.ebuild 4227 RMD160 269a4562b172061bae69b9d8d4d9f91504dd8aa4 pwlib-1.8.7.ebuild 4227 SHA256 5645f6e21003d7a267c3e80f8e9e29021a8cfb1fd71fb87ea07bc41800aad3e1 pwlib-1.8.7.ebuild 4227 -MISC ChangeLog 16630 RMD160 d4b594ae4fb4025427bf7599798f2bf020db0ff7 SHA1 9c5963d81a8d43b3b3456f4cd2fdc85b7cdc2fec SHA256 ae0621c16f8be7c9123fb0ac0235aa603a46a47ba4ea8cf46175f6080632ba78 -MD5 24f8255a197ce8922d4ab9cc1b3163f1 ChangeLog 16630 -RMD160 d4b594ae4fb4025427bf7599798f2bf020db0ff7 ChangeLog 16630 -SHA256 ae0621c16f8be7c9123fb0ac0235aa603a46a47ba4ea8cf46175f6080632ba78 ChangeLog 16630 +MISC ChangeLog 16883 RMD160 7771692a76a846a0d75bedefe85daa566aa776b1 SHA1 85b97944ce3c55847645f6895f53f1ca26075bba SHA256 2af235563261acb7871f40e884ad801af4874bbef1cab94ba7f29300653a1ae2 +MD5 e83e759a7ad088584a0a70d3327a45ae ChangeLog 16883 +RMD160 7771692a76a846a0d75bedefe85daa566aa776b1 ChangeLog 16883 +SHA256 2af235563261acb7871f40e884ad801af4874bbef1cab94ba7f29300653a1ae2 ChangeLog 16883 MISC metadata.xml 235 RMD160 1373a565e08a962328dc14bb2ccd2ed31f887a91 SHA1 be1055e9141769fc4e44c3cc9026c635aa97d8cc SHA256 6b190d921eb507c8ae01261acc24b4c26d9a7efdd79e244efda043d8d0b66756 MD5 e7e31f6f265883cdf48d812f42a9f856 metadata.xml 235 RMD160 1373a565e08a962328dc14bb2ccd2ed31f887a91 metadata.xml 235 @@ -109,15 +87,6 @@ SHA256 63a8de6ebd1f21855e6936af628e948143185eb8db0cb422e5691f5a691a283b files/di MD5 92fa0564cc1a4b24702bccb63267d039 files/digest-pwlib-1.10.2 241 RMD160 6520f87a105b63fe7ae4a841a4c851701494af59 files/digest-pwlib-1.10.2 241 SHA256 4c05999a32f13fdc9c6142e50af7668d3041ccad27b7f28459dc413f47381949 files/digest-pwlib-1.10.2 241 -MD5 ad5d0ce28351a8c82409f95d5e6a553f files/digest-pwlib-1.5.0 238 -RMD160 eafad45bc69e99548d2743b53d0c15f47ea13db9 files/digest-pwlib-1.5.0 238 -SHA256 c4d40904e5090113d605e83fadbb836228bc5b1bee83677144cb7f1619b59788 files/digest-pwlib-1.5.0 238 -MD5 ad5d0ce28351a8c82409f95d5e6a553f files/digest-pwlib-1.5.0-r1 238 -RMD160 eafad45bc69e99548d2743b53d0c15f47ea13db9 files/digest-pwlib-1.5.0-r1 238 -SHA256 c4d40904e5090113d605e83fadbb836228bc5b1bee83677144cb7f1619b59788 files/digest-pwlib-1.5.0-r1 238 -MD5 9d697bfbb229d75334c178f53aa93ba3 files/digest-pwlib-1.5.2-r3 238 -RMD160 03da7294631bff3e2fb69f69c1ba233c6e745876 files/digest-pwlib-1.5.2-r3 238 -SHA256 33e90a1c32cafa3e9e68776f4bc922ce0649a055a7185a90a4b7181a813e2b50 files/digest-pwlib-1.5.2-r3 238 MD5 e152a7da0e17cbe3bfe81b70a4317aaa files/digest-pwlib-1.6.3-r3 238 RMD160 bf1648783e58c17f7a58df993c9d30a5445805f9 files/digest-pwlib-1.6.3-r3 238 SHA256 96045bfb873ec80294c191733dc7cac35530674f1256554728c9e621bcc0c1af files/digest-pwlib-1.6.3-r3 238 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.0 b/dev-libs/pwlib/files/digest-pwlib-1.5.0 deleted file mode 100644 index 040a8e60db5b..000000000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.5.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 e6bcdd121a85687c040f4871f24b7352 pwlib_1.5.0.tar.gz 1074311 -RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 pwlib_1.5.0.tar.gz 1074311 -SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da pwlib_1.5.0.tar.gz 1074311 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 b/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 deleted file mode 100644 index 040a8e60db5b..000000000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 e6bcdd121a85687c040f4871f24b7352 pwlib_1.5.0.tar.gz 1074311 -RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 pwlib_1.5.0.tar.gz 1074311 -SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da pwlib_1.5.0.tar.gz 1074311 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3 b/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3 deleted file mode 100644 index 13e15f28a207..000000000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0fa33ba1b32b254abe0b731a52c0f2f9 pwlib_1.5.2.tar.gz 1085203 -RMD160 87ec385fe384fb0098e53ebecf2a6e1b260a7917 pwlib_1.5.2.tar.gz 1085203 -SHA256 62b254548ad7a9e71231a160275827d67ff39022ee8e2854a7c9d9fe9a688e65 pwlib_1.5.2.tar.gz 1085203 diff --git a/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff b/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff deleted file mode 100644 index 8f6d056323ce..000000000000 --- a/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- include/ptlib/unix/ptlib/videoio.h.orig 2003-01-06 10:41:08.000000000 -0800 -+++ include/ptlib/unix/ptlib/videoio.h 2004-02-08 15:56:51.781845630 -0800 -@@ -101,6 +101,8 @@ - - #ifndef _PVIDEOIO - -+/* update for 2.6.1 kernel headers */ -+#include <sys/time.h> - - #if defined(P_LINUX) && !defined(NO_VIDEO_CAPTURE) - #include <linux/videodev.h> /* change this to "videodev2.h" for v4l2 */ diff --git a/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff b/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff deleted file mode 100644 index 444214a14f71..000000000000 --- a/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff +++ /dev/null @@ -1,56 +0,0 @@ ---- pwlib/src/ptclib/asnper.cxx.orig Fri Aug 1 02:11:38 2003 -+++ pwlib-1.5.2/src/ptclib/asnper.cxx Fri Feb 20 15:35:05 2004 -@@ -1224,7 +1224,12 @@ - return -1; - - value += lower; -- return 0; -+ -+ // clamp value to upper limit -+ if (value > upper) -+ value = upper; -+ -+ return 0; - } - - -@@ -1268,7 +1273,13 @@ - unsigned base; - if (!MultiBitDecode(CountBits(upper - lower + 1), base)) - return -1; -- return lower + base; // 10.9.4.1 -+ len = lower + base; // 10.9.4.1 -+ -+ // clamp value to upper limit -+ if (len > upper) -+ len = upper; -+ -+ return 0; - } - - if (upper < 65536) // 10.9.3.3 -@@ -1279,13 +1290,20 @@ - if (IsAtEnd()) - return -1; - -- if (SingleBitDecode() == 0) -- return MultiBitDecode(7, len) ? 0 : -1; // 10.9.3.6 -- -- if (SingleBitDecode() == 0) -- return MultiBitDecode(14, len) ? 0 : -1; // 10.9.3.7 -+ if (SingleBitDecode() == 0) { -+ if (!MultiBitDecode(7, len)) // 10.9.3.6 -+ return -1; // 10.9.3.8 unsupported -+ } -+ else if (SingleBitDecode() == 0) { -+ if (!MultiBitDecode(14, len)) // 10.9.3.7 -+ return -1; // 10.9.3.8 unsupported -+ } - -- return -1; // 10.9.3.8 unsupported -+ // clamp value to upper limit -+ if (len > upper) -+ len = upper; -+ -+ return 0; - } diff --git a/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild b/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild deleted file mode 100644 index 008bfb3702c0..000000000000 --- a/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild,v 1.6 2005/01/08 20:12:42 stkn Exp $ - -inherit eutils - -DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.openh323.org/" -SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~x86 ~ppc -sparc" -IUSE="ldap sdl ssl" - -DEPEND=">=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - dev-libs/expat - >=sys-apps/sed-4 - ldap? ( net-nds/openldap ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl )" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - cd ${S}/make - - # filter out -O3 and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - unix.mak - cd ${S} - epatch ${FILESDIR}/pwlib-1.5.0-r1-gentoo.diff || die "patch failed" -} - -src_compile() { - if use ssl ; then - export OPENSSLFLAG=1 - export OPENSSLDIR=/usr - export OPENSSLLIBS="-lssl -lcrypt" - fi - - econf || die "configure failed" - - # horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is enabled - sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${S}/make/ptbuildopts.mak - sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${S}/make/ptlib-config - - make opt || die "make failed" -} - -src_install() { - # make these because the makefile isn't smart enough - dodir /usr/bin /usr/lib /usr/share /usr/include - make PREFIX=${D}/usr install || die "install failed" - - # these are for compiling openh323 - # NOTE: symlinks don't work when upgrading - # FIXME: probably should fix this with ptlib-config - dodir /usr/share/pwlib/include - cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include - - dodir /usr/share/pwlib/lib - for x in ${D}/usr/lib/*; do - dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}` - done - - # remove CVS dirs - find ${D} -name CVS -type d | xargs rm -rf - - # fix symlink - rm ${D}/usr/lib/libpt.so - if [ ${ARCH} = "ppc" ] ; then - dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so - else - dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so - fi - - # strip ${S} stuff - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak - - dodoc ReadMe.txt History.txt -} diff --git a/dev-libs/pwlib/pwlib-1.5.0.ebuild b/dev-libs/pwlib/pwlib-1.5.0.ebuild deleted file mode 100644 index 911d187c9b5c..000000000000 --- a/dev-libs/pwlib/pwlib-1.5.0.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.0.ebuild,v 1.14 2005/01/08 20:12:42 stkn Exp $ - -DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.openh323.org/" -SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="x86 ppc -sparc" -IUSE="ldap sdl ssl" - -DEPEND=">=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - dev-libs/expat - >=sys-apps/sed-4 - ldap? ( net-nds/openldap ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl )" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - cd ${S}/make - - # filter out -O3 and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - unix.mak -} - -src_compile() { - if use ssl; then - export OPENSSLFLAG=1 - export OPENSSLDIR=/usr - export OPENSSLLIBS="-lssl -lcrypt" - fi - - econf || die "configure failed" - - # horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is enabled - sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${S}/make/ptbuildopts.mak - sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${S}/make/ptlib-config - - make opt || die "make failed" -} - -src_install() { - # make these because the makefile isn't smart enough - dodir /usr/bin /usr/lib /usr/share /usr/include - make PREFIX=${D}/usr install || die "install failed" - - # these are for compiling openh323 - # NOTE: symlinks don't work when upgrading - # FIXME: probably should fix this with ptlib-config - dodir /usr/share/pwlib/include - cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include - - dodir /usr/share/pwlib/lib - for x in ${D}/usr/lib/*; do - dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}` - done - - # remove CVS dirs - find ${D} -name CVS -type d | xargs rm -rf - - # fix symlink - rm ${D}/usr/lib/libpt.so - if [ ${ARCH} = "ppc" ] ; then - dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so - else - dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so - fi - - # strip ${S} stuff - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak - - dodoc ReadMe.txt History.txt -} diff --git a/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild b/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild deleted file mode 100644 index d4addd97b762..000000000000 --- a/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild,v 1.9 2005/01/08 20:12:42 stkn Exp $ - -inherit eutils - -DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.openh323.org/" -SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="x86 ppc sparc alpha amd64" -IUSE="ssl sdl ldap" - -DEPEND=">=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - dev-libs/expat - >=sys-apps/sed-4 - ldap? ( net-nds/openldap ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl )" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - cd ${S} - - # fix #45846 / CAN-2004-0097 - epatch ${FILESDIR}/${P}-asnparser-secfix.diff - - cd ${S}/make - - # filter out -O3 and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - unix.mak -} - -src_compile() { - if use ssl ; then - export OPENSSLFLAG=1 - export OPENSSLDIR="/usr" - export OPENSSLLIBS="-lssl -lcrypt" - fi - - econf || die "configure failed" - - # Horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is - # enabled. Same thing for -I/usr/include. - sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ - -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ - ${S}/make/ptbuildopts.mak - sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ - -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - ${S}/make/ptlib-config - - emake -j1 opt || die "make failed" -} - -src_install() { - # make these because the makefile isn't smart enough - dodir /usr/bin /usr/lib /usr/share /usr/include - make PREFIX=${D}/usr install || die "install failed" - - # these are for compiling openh323 - # NOTE: symlinks don't work when upgrading - # FIXME: probably should fix this with ptlib-config - dodir /usr/share/pwlib/include - cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include - - dodir /usr/share/pwlib/lib - for x in ${D}/usr/lib/*; do - dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}` - done - - # remove CVS dirs - find ${D} -name CVS -type d | xargs rm -rf - - # fix symlink - # only amd64 needs special care, afaiks - rm ${D}/usr/lib/libpt.so - if [ ${ARCH} = "amd64" ] ; then - dosym /usr/lib/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so - else - dosym /usr/lib/libpt_linux_${ARCH}_r.so.${PV} /usr/lib/libpt.so - fi - - # strip ${S} stuff - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak - - # dodgy configure/makefiles forget to expand this - dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config - - # satisfy ptlib.mak's weird definition (should check if true for future versions) - cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config - - # copy version.h - insinto /usr/share/pwlib - doins version.h - - dodoc ReadMe.txt History.txt -} |