diff options
author | Kristian Fiskerstrand <k_f@gentoo.org> | 2015-01-29 13:18:05 +0000 |
---|---|---|
committer | Kristian Fiskerstrand <k_f@gentoo.org> | 2015-01-29 13:18:05 +0000 |
commit | 5d23776074214f8a45b5fcec2bc89be48d2673db (patch) | |
tree | 774998a4e14df7a0327aacd44b4df139202a5f27 /net-libs/ptlib | |
parent | Add ruby22 target. (diff) | |
download | historical-5d23776074214f8a45b5fcec2bc89be48d2673db.tar.gz historical-5d23776074214f8a45b5fcec2bc89be48d2673db.tar.bz2 historical-5d23776074214f8a45b5fcec2bc89be48d2673db.zip |
Security cleanup c.f bug #461842
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xFC3B17DE05E136A0!
Diffstat (limited to 'net-libs/ptlib')
-rw-r--r-- | net-libs/ptlib/ChangeLog | 8 | ||||
-rw-r--r-- | net-libs/ptlib/Manifest | 18 | ||||
-rw-r--r-- | net-libs/ptlib/ptlib-2.10.9.ebuild | 223 | ||||
-rw-r--r-- | net-libs/ptlib/ptlib-2.6.7-r1.ebuild | 276 |
4 files changed, 7 insertions, 518 deletions
diff --git a/net-libs/ptlib/ChangeLog b/net-libs/ptlib/ChangeLog index 528cce0ad5f8..7dc11aacab9f 100644 --- a/net-libs/ptlib/ChangeLog +++ b/net-libs/ptlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/ptlib -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ChangeLog,v 1.55 2014/08/04 18:46:43 armin76 Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ChangeLog,v 1.56 2015/01/29 13:18:00 k_f Exp $ + + 29 Jan 2015; Kristian Fiskerstrand <k_f@gentoo.org> -ptlib-2.10.9.ebuild, + -ptlib-2.6.7-r1.ebuild: + Security cleanup c.f bug #461842 04 Aug 2014; Raúl Porcel <armin76@gentoo.org> ptlib-2.10.10.ebuild, ptlib-2.10.11.ebuild, +files/ptlib-2.10.10-respect_cflags_cxxflags.patch: diff --git a/net-libs/ptlib/Manifest b/net-libs/ptlib/Manifest index 522b1c7bc1a5..215d0eedd09a 100644 --- a/net-libs/ptlib/Manifest +++ b/net-libs/ptlib/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX ptlib-2.10.10-mga-bison-parameter.patch 820 SHA256 49f9b7f1d7fff2201aae0ae66ff45c32f00eb671cbd9c7e53414905490bffc73 SHA512 9e28f29c26bd990bea3ff22bff8594eb24aff9a485bea54ebd97d0ec96d693ba64ee872fe1e7036188167d31f010a38ee811821236673bfaddbe28854a584748 WHIRLPOOL e42ead5c4fc5c709ca63f1db0459dc48dc0d016534404964c115b2e8980a147a86f5ae897166093c98fad0a01ecbe87903159d2be60bdb58d5ae00462c7b07c5 AUX ptlib-2.10.10-respect_cflags_cxxflags.patch 578 SHA256 3dcabc0f391ad92df07c2f9da52d5c4c23cce2807299627965ce80aedaa7aeeb SHA512 551d9b8dd248fa66da731bd274c6183deacdbfe48d46b3686ae72aca5b622d4f62c00f6e27bf989d9ae8f2b9c58481b29c84eb99ee0c0a994668037c81bc15f8 WHIRLPOOL ab3dd47947f430fcb55da28f2245edbbd75812c47282495d3f881ae21862bdb0fc53146c13f01b46ecc2201436c4a5df6fb5c288c29b5fdb8df640908190d87c AUX ptlib-2.10.9-disable-telnet-symbols.patch 636 SHA256 0c73d3156f0650972cbb071f99f0819fa1106cdb3d110644bff5d9f19a18a851 SHA512 63568fd8b6333af4ce553acf3a143dd91ff948ba905333ffa4e0156be4557aacedc75c6f2025d36216b6c9719fa79da9a9fe77c9c6f9e07d5e9764358532d682 WHIRLPOOL d90e9e4facbf0a119b9583952f74789d437c4e7dd9a751f025769342c21a914296db118495646b27966c917eebc966be3cbaa125d1e9d6cbcdc3444359fa2fac @@ -13,26 +10,13 @@ AUX ptlib-2.6.4-vxml-ptones.patch 250 SHA256 9d678b1439184728eb28ef7495816c59504 DIST ptlib-2.10.10-htmldoc.tar.bz2 4504867 SHA256 bce8a9eeb32f5e556acab3a753844500e751cd4a6db6ce88778fba692d24019a SHA512 7db5d169ad107132d2bca945a1269bae0dd0100b7566b1766dda83d0559a6f2044ffc21905520f7f15d218dd0b1290eaa13d5150d81340c6b0a9a464a713741d WHIRLPOOL 1832acdaded357471c5db982195723dfbf30d22359427d7dc7ac880d2a997a73d9963f7003cae70c6d17874daf1984f5c24c3c600656b078edcec3fa6552ce36 DIST ptlib-2.10.10.tar.bz2 3736217 SHA256 0f9ab9676f624af4aaffeb9e2ac564372f12745b72112f20ccb8956765c2083e SHA512 8dfbc679a833a28dc9e8c765b3c6479911544fe545fc18a39ee18dc28ba112bd4b3fa50ab5d39bf73e0a9eb9df8e26ea0b0e9c653a746143069fd23e2944d4d5 WHIRLPOOL be9d3b56f6304edaa520009d41bdc09fce314bac59e7d02d0ac5eca919f2324b49ac29f95504036d3b040502d899b3548b0c195f368a8c826a1b186ba7a8fa18 DIST ptlib-2.10.11.tar.bz2 3736259 SHA256 27a8ba1fd147195c0b310897f81d26f73996b77b18147e587638444cfacd681a SHA512 ac8af8962330abf11986ccb863be0990c2e78ae611666d17c68068b72c4a5ea523ba74c55566284c3549e2346e407ccfffb5cc509fbf6ef19f1eb51dcb8b5f15 WHIRLPOOL 3dafe50df538b8d24a20b58252c5dfa578ac81f25d9086f748af928f54658533e1bf28dc1f40cbbeadd5062d57072ad71e243c0275428f155077ee752e26e4ab -DIST ptlib-2.10.9-htmldoc.tar.bz2 4501066 SHA256 34d2ae95642bd8f2570c38a43928a267d0a1ab1e4e25f5c9e33dc6b20c7ef038 SHA512 aa05cc20a63a1bb4177d91d0695c25c4e3489b4b20c686881933605a1d8f711abc4a209f663b0044fc41191365f55bc235875383c6de111e8ad807290c30b78c WHIRLPOOL 24df00556beb7ee39f5741e410d713373919e73500f4ed2f53e04e17cd7a248602cf5b3377a56b90ea4a783c3db644da3f22a2cc65e0c52e95b121a8e0714cfc -DIST ptlib-2.10.9.tar.bz2 3743351 SHA256 f13e2079d37f303e7ac539bdd7bb2533fa9fb29fcfe9bffd5475704e846b6d4c SHA512 21a3a4dfc54a90e8346feff95df735b7a0299867390ebdc49aeadff64f4eeddc8e7358030f72e5554a1bd7ed3093288c99381ec17d747a1bad48165d450600a8 WHIRLPOOL 5b9b21868b855e8c328ef620f11995dcbb6a6adc2a5d51f9c77c1258f0b7c48c77f71d4fd5c52a9031d88bad915a9743c6d4692effaa60e69fcea3b3d5b7a492 DIST ptlib-2.12.4-htmldoc.tar.bz2 4194043 SHA256 61439b61736fd1f9145353850571ee5bd9b6f642d9d32a2ee1def1944ee39f4d SHA512 129535229799fa37169ee6906f70f31fc7cd683ac256cef274fe93618aa6a4424562ebfc4cddf307ba6f133e1029d842da76fa16074570fcc7e3ccb678fd43f3 WHIRLPOOL 4079df7c42a67d41dca0ebb9a97985cbd43e8c5c7c5d14bc55a595242d6aa568b4a68b2e9e8a2053f0623ef5a806b951c6f01f5dfa7f241d5ecda3a6a1cebe26 DIST ptlib-2.12.4.tar.bz2 4049589 SHA256 e5ec52f9e39d4d73f73f966a52d67a158c78058ef3d8af33a43d17dfcc7a89ab SHA512 2154d2f7afdb76c58e1ad72d5b2f9053fee55ba42624dbf51699b3934c60397cfe8567a265f00e4bc8db43f4be54112a33c359de8fa87507bf2931f4fb06da2f WHIRLPOOL a82ffee2afc0d2a8793d912a30ba0c2cd47189afb1dcd4104e08923a14bdd9ad7e4c178cc7290654e3d03a18dee028a8bea320a5e4cfa1085c7ebb543bbc74ae DIST ptlib-2.12.9-htmldoc.tar.bz2 6069775 SHA256 1c03474f1c27a8b7648497b1cc95296f07aa398f1b45d9ae4dc2cfad95b1c7f7 SHA512 08800ef09be97573d9e861da80d98723ffbf55ec76c3e3a7788f811cf7d04bbad35d4c2363cc696a2aff9f890dd8e09967825266cbba4a6cfdb916f9df26d70d WHIRLPOOL 9606e2538bb842fea5382dfd95a83b41fd7062336b058e2a95615725e688ad4b40a95cf0ce9669cd786c3c94884cb82f77660ee490ae6e780f8307d55767713d DIST ptlib-2.12.9.tar.bz2 4134345 SHA256 e38d31a24a41546b7a84673f9c42ffab60ebd83727254cf5bdfb85da46565adf SHA512 1a7869203aff7779d318c6a2f70e0fe6181381696493f7c1ea69113c9795e6a13e4423ed3609b5e6d8900388eedc3bcdb6a19e9d6f03357348b21e1003ef917a WHIRLPOOL 5652bdee09d5d8ed3079080bc1d4b8bb495a8812bd49b2e963645c47673af3789a80c9d0a9aeaf0d4ec9d2782637b8763e625db340c0cc94ce362bb952c9fb9e -DIST ptlib-2.6.6-htmldoc.tar.bz2 2089135 SHA256 b72ce069519850c76e943a7c38f09181028792e449a60e5b0b09ed2aed5c99c7 SHA512 7815ed49f17f1de50b1f3e239dbb74daa81206438698c58aa0162876d27dad23778927ab08f5daf2b93e6a6fac7ce565214ab4111992fa90bdda9efad3301ec8 WHIRLPOOL 0d3d316101ec24c96965435c466a72da002c6f04526b24949a2b01091c73520aa43b8a89a2c45e65704639e26ad7738ab5bb1dba000884a18e26fd6c60d05adb -DIST ptlib-2.6.7.tar.bz2 3275152 SHA256 7dd28225fedd21154d34899b21ee4b6d27c88eb1a9f9931c8e6ced28e8f3b97f SHA512 bb897896f407f32923472b077f58ad8190f90ef2f9d276f9053aa777e919828a366c7e8dbcddfb800d08ea811cc4435e2ab0b814349946fbad4f9ddf4e53492e WHIRLPOOL 4b5bbee794fd3fb2d69a5b11a2fecc38c8d1552001679920cd6bc7fc71a1830da653b165ae12281c0de8715b996074ce8da75d3edc2ffa49e32c69efdaf7c586 EBUILD ptlib-2.10.10.ebuild 6594 SHA256 f278a1b45ba8b6c7c16e504a52e36529d6b602834aee640259bb7396093ad5e4 SHA512 17a8a8d3abe8bd898eeb68d38e0835fedbd3a1fa82fa287b3f615dabb5f5b3179cc82bec16b809e322e9cfb9408d878ab6993cddfc8054f97500905a83613bc5 WHIRLPOOL 46b17fa881791bd28b5647384ce9b8ebdd723e0b855f3a6af4e1ab07881bc3d7e1e48c4b679bcf4d9457ea843c187336164628523d288483053095dedee76cda EBUILD ptlib-2.10.11.ebuild 6655 SHA256 dbc602cc428f7ff3d6876b4b7cd82761e5d5224f554efe18b18fff44bd34a03a SHA512 6bd3e58bba949f793a187af1d23e4e4c48f7bae3d2447a31bc68d48c72e5ba3130b950d158fdf0be5452a33ba95eeb8a20553ef86ff252b938ece626f0296cdd WHIRLPOOL 203a7a4adfa2837cab2c5dbdbbbc26908c18bbad15c62f204676e2488892418bde1621e797f06cf5134f5dcf5f2e0f508dcb5c31a0d1c201e0ff3fb81b5f405f -EBUILD ptlib-2.10.9.ebuild 6342 SHA256 0a18d96a4a8c0167e7f5ae5320b8016ea50f85e5d807d18318aad08499952ca0 SHA512 d71ec1255f6a7f627c7197fafc0e124c72c08a6791ab89029bcf0ed582c77d00d866220920d04a939d86b6a9a0bfd6699df698625e740e0656f5176cd6a3258e WHIRLPOOL 204aaaa3abbb9b7f516908741cb9b32f2d469af51b90a53db887478c11ae8adfe1fc36408675fae6ced9105acb98b6b5ff102ecd2eb2d48b20cc3849f9a60bc5 EBUILD ptlib-2.12.4.ebuild 6272 SHA256 107c3b41319f9f96bb6e507a1e326184f944efcfe05c701a984826ede1937da3 SHA512 09cbded53c83a8e42703d8e4f170656b5954bfbccb9b72dbcec05107b4535d07c4e851448ec1cc59be21634968c063f9cdde15dd6877b7f97a3de7a1dd148f82 WHIRLPOOL fdb444337abfb5d0dc584f6b3b8024b7e7d436a1b00d4976810511fbfe237d7303510ffbfe4c3772d98f957138749123c82a110e30bf0d64951f0ab64bb99049 EBUILD ptlib-2.12.9.ebuild 6260 SHA256 0d41e82ea24811ee9287bc665276fef813d05ffa765b5e1739787b755ba3557c SHA512 789012ccc7a0d7f2800c0f25f74217ba2842f0b59eccbf60d431b30b696c626cfe328de69a1ecc21d21759e2d654e5ae54fd11d018a9fbfe22247f6099460ab7 WHIRLPOOL 3072252099a5daeb48d86bb61f627abcd727e8c4f4ce68c0449afd6eecd99f97a676a131a34cae367daa95e175d5fc1897db76f5e5a92497d8a52dec69bbb8f8 -EBUILD ptlib-2.6.7-r1.ebuild 7534 SHA256 fc742cdcdf6b8f38a1ed7acac62985dd68fbc684839cc5e7d90122354237533f SHA512 1ae181e25047a3040490dfb69045f3898083ac7411e7b2b464539258c8e3f09599035474f7afc839491892bd03f479815e966a96832859706fa80583de9f8f28 WHIRLPOOL 8441620f27f65679b558b21bdd75ad4355b3c5114df09a290db1516d536746abc7eb3d0a51e7fc04f8f136c31f7ba9c3c7cfa80c4af9de5342ab304540bc2a69 -MISC ChangeLog 9109 SHA256 ff8ad49a8e0a445d4967731efce21574e6958ba34d4d79f8139b077f55973a1e SHA512 c4d19b3f301ae6dd1fee708c492fc77b7588ad60d38138b87a120bfe83c2b543d6dce2a62f601afd94bbc4d749e5e3c0a9acafb783ba95554ca56d943aa6380a WHIRLPOOL f0a8db2436517336a3e045fb250487f640fd8c7d685042503a9a3e5312615633caaa6d871d5cd1c0c48194cea86c47b74537d79d0258cb40b043a941de72b3a8 +MISC ChangeLog 9243 SHA256 8d59b6b2954c6e9a92ded5de2534c067249a331ec9ade482f8a4b97284a407fd SHA512 aa0f61a365f08bceae2c06e2e8bedef4b7506a6699a7046c35412e9f635cb6f110671f5473f61c8d99fc2ee0e029b2e9a021bcb1304d9fa96badc99321957635 WHIRLPOOL 3f574204b834e94f05703401be20977c3ebbe2846ac13bafea9dd96afab02f58a47f33fc04c34851bf4bca98e0ed6750e52144f714aa63c2e2d11e15d7fb4d97 MISC metadata.xml 1072 SHA256 fafdf2cc215b2e97643b9dbe1eff0c57fa3018d01d6ec1df8256dc2fe4a250fe SHA512 ae51ecaf4b060fff2445744e6d53a99742dd7a94f4dd5fae894a913f07d3442ab02d8163744ede6fe7b8c1069d3e3c1ddbc9ec3d8a627ccd98051edadc09b1d0 WHIRLPOOL bf390889727e8239233c050182f1668d980278840f3f7d76c13ecfbd129c4fda99e5fc0aeafcafd8841c8d8306d3a32b89c0c285e2fd5c3192a78dfa7769dff5 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iEYEAREIAAYFAlPf1RMACgkQuQc30/atMkCUYQCfaPE4B04KTpcw9KK7BIDfinK+ -p0cAoKVVm0bUBv5WVvmgh3C6P04mCE+O -=OZOO ------END PGP SIGNATURE----- diff --git a/net-libs/ptlib/ptlib-2.10.9.ebuild b/net-libs/ptlib/ptlib-2.10.9.ebuild deleted file mode 100644 index 5237ff93cf01..000000000000 --- a/net-libs/ptlib/ptlib-2.10.9.ebuild +++ /dev/null @@ -1,223 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ptlib-2.10.9.ebuild,v 1.2 2014/05/15 12:04:06 ulm Exp $ - -EAPI="4" - -inherit eutils - -DESCRIPTION="Network focused portable C++ class library providing high level functions" -HOMEPAGE="http://www.opalvoip.org/" -SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 - doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )" - -LICENSE="MPL-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -# default enabled are features from 'minsize', the most used according to ptlib -IUSE="alsa +asn debug doc +dtmf examples ffmpeg ftp +http ipv6 -jabber ldap lua mail odbc oss pch pulseaudio qos remote sasl sdl serial -shmvideo snmp soap socks +sound ssl static-libs +stun telnet tts v4l +video -vxml wav xml xmlrpc" - -CDEPEND=" - ldap? ( net-nds/openldap ) - lua? ( dev-lang/lua ) - odbc? ( dev-db/unixODBC ) - pulseaudio? ( media-sound/pulseaudio ) - sasl? ( dev-libs/cyrus-sasl:2 ) - sdl? ( media-libs/libsdl ) - sound? ( alsa? ( media-libs/alsa-lib ) ) - ssl? ( dev-libs/openssl ) - video? ( v4l? ( media-libs/libv4l ) ) - xml? ( dev-libs/expat ) - !!dev-libs/pwlib" -RDEPEND="${CDEPEND} - ffmpeg? ( virtual/ffmpeg )" -DEPEND="${CDEPEND} - virtual/pkgconfig - sys-devel/bison - sys-devel/flex - video? ( v4l? ( sys-kernel/linux-headers ) )" - -# NOTES: -# media-libs/libdc1394:2 should be supported but headers location have changed -# tools/ directory is ignored -# avc plugin is disabled to fix bug 276514, see upstream bug 2821744 - -conditional_use_warn_msg() { - ewarn "To enable ${1} USE flag, you need ${2} USE flag to be enabled" - ewarn "Please, enable ${2} or disable ${1}" -} - -REQUIRED_USE="sdl? ( video ) - jabber? ( xml ) - vxml? ( http tts xml ) - xmlrpc? ( http xml ) - soap? ( http xml )" - -src_prepare() { - epatch "${FILESDIR}/${P}-svn_revision_override.patch" - epatch "${FILESDIR}/${P}-pkgconfig_ldflags.patch" - epatch "${FILESDIR}/${P}-respect_cxxflags.patch" - - if ! use telnet; then - epatch "${FILESDIR}/${P}-disable-telnet-symbols.patch" - fi - - # remove visual studio related files from samples/ - if use examples; then - rm -f samples/*/*.vcproj - rm -f samples/*/*.sln - rm -f samples/*/*.dsp - rm -f samples/*/*.dsw - fi -} - -src_configure() { - local myconf="" - - # plugins are disabled only if ! sound and ! video - if ! use sound && ! use video; then - myconf="${myconf} --disable-plugins" - else - myconf="${myconf} --enable-plugins" - fi - - # minsize: presets of features (overwritten by use flags) - # ansi-bool, atomicity: there is no reason to disable those features - # internalregex: we want to use system one - # sunaudio and bsdvideo are respectively for SunOS and BSD's - # appshare, vfw: only for windows - # samples: no need to build samples - # avc: disabled, bug 276514, upstream bug 2821744 - # mlib: SUN mediaLibs. Not in tree. - # pipechan, configfile, resolver, url: force enabling - econf ${myconf} \ - --disable-minsize \ - --enable-ansi-bool \ - --enable-atomicity \ - --disable-internalregex \ - --disable-sunaudio \ - --disable-bsdvideo \ - --disable-appshare \ - --disable-vfw \ - --disable-samples \ - --disable-avc \ - --disable-mlib \ - --enable-configfile \ - --enable-pipechan \ - --enable-resolver \ - --enable-url \ - $(use_enable alsa) \ - $(use_enable asn) \ - $(use_enable debug exceptions) \ - $(use_enable debug memcheck) \ - $(use_enable debug tracing) \ - $(use_enable dtmf) \ - --disable-esd \ - $(use_enable ffmpeg ffvdev) \ - $(use_enable ftp) \ - $(use_enable http) \ - $(use_enable http httpforms) \ - $(use_enable http httpsvc) \ - --disable-dc \ - $(use_enable ipv6) \ - $(use_enable jabber) \ - $(use_enable ldap openldap) \ - $(use_enable lua) \ - $(use_enable mail pop3smtp) \ - $(use_enable pulseaudio pulse) \ - $(use_enable odbc) \ - $(use_enable oss) \ - $(use_enable pch) \ - $(use_enable qos) \ - $(use_enable remote remconn) \ - $(use_enable sasl) \ - $(use_enable sdl) \ - $(use_enable serial) \ - $(use_enable shmvideo) \ - $(use_enable snmp) \ - $(use_enable soap) \ - $(use_enable socks) \ - $(use_enable sound audio) \ - $(use_enable ssl openssl) \ - $(use_enable stun) \ - $(use_enable telnet) \ - $(use_enable tts) \ - --disable-v4l \ - $(use_enable v4l v4l2) \ - $(use_enable video) $(use_enable video vidfile) \ - $(use_enable vxml) \ - $(use_enable wav wavfile) \ - $(use_enable xml expat) \ - $(use_enable xmlrpc) -} - -src_compile() { - local makeopts="" - tc-env_build - - use debug && makeopts="debug" - - emake ${makeopts} || die "emake failed" -} - -src_install() { - local makeopts="" - - use debug && makeopts="DEBUG=1" - - emake DESTDIR="${D}" ${makeopts} install || die "emake install failed" - - # Get rid of static libraries if not requested - # There seems to be no easy way to disable this in the build system - if ! use static-libs; then - rm -v "${D}"/usr/lib*/*.a || die - fi - - if use doc; then - dohtml -r "${WORKDIR}"/html/* || die "dohtml failed" - fi - - dodoc History.txt ReadMe.txt ReadMe_QOS.txt || die "dodoc failed" - - if use sound || use video; then - newdoc plugins/ReadMe.txt ReadMe-Plugins.txt || die "newdoc failed" - fi - - if use examples; then - local exampledir="/usr/share/doc/${PF}/examples" - local basedir="samples" - local sampledirs="`ls samples --hide=Makefile`" - - # first, install Makefile - insinto ${exampledir}/ - doins ${basedir}/Makefile || die "doins failed" - - # now, all examples - for x in ${sampledirs}; do - insinto ${exampledir}/${x}/ - doins ${basedir}/${x}/* || die "doins failed" - done - fi -} - -pkg_postinst() { - if use examples; then - ewarn "All examples have been installed, some of them will not work on your system" - ewarn "it will depend of the enabled USE flags." - ewarn "To test examples, you have to run PTLIBDIR=/usr/share/ptlib make" - fi - - if ! use sound || ! use video; then - ewarn "You have disabled sound or video USE flags." - ewarn "Most audio/video have been disabled silently even if enabled via USE flags." - ewarn "Having a feature enabled via use flag but disabled can lead to issues." - fi - - ewarn "If you've just removed pwlib to install ptlib, some packages will be broken." - ewarn "Please use 'revdep-rebuild' from app-portage/gentoolkit to check." - ewarn "If some packages need pwlib, consider removing ptlib and re-installing pwlib" - ewarn "or help us to make them live together." -} diff --git a/net-libs/ptlib/ptlib-2.6.7-r1.ebuild b/net-libs/ptlib/ptlib-2.6.7-r1.ebuild deleted file mode 100644 index 61110345697f..000000000000 --- a/net-libs/ptlib/ptlib-2.6.7-r1.ebuild +++ /dev/null @@ -1,276 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ptlib-2.6.7-r1.ebuild,v 1.16 2014/05/15 12:04:06 ulm Exp $ - -EAPI="2" - -inherit eutils - -HTMLV="2.6.6" # There no 2.6.7 release of htmldoc -DESCRIPTION="Network focused portable C++ class library providing high level functions" -HOMEPAGE="http://www.opalvoip.org/" -SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2 - doc? ( mirror://sourceforge/opalvoip/${PN}-${HTMLV}-htmldoc.tar.bz2 )" - -LICENSE="MPL-1.0" -SLOT="0" -KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" -# default enabled are features from 'minsize', the most used according to ptlib -IUSE="alsa +asn debug doc dtmf examples ffmpeg ftp http ipv6 -jabber ldap mail odbc oss pch qos remote sasl sdl serial shmvideo snmp soap -socks +sound ssl static-libs +stun telnet tts v4l +video vxml wav xml xmlrpc" - -CDEPEND=" - ldap? ( net-nds/openldap ) - odbc? ( dev-db/unixODBC ) - sasl? ( dev-libs/cyrus-sasl:2 ) - sdl? ( media-libs/libsdl ) - sound? ( alsa? ( media-libs/alsa-lib ) ) - ssl? ( dev-libs/openssl ) - video? ( v4l? ( media-libs/libv4l ) ) - xml? ( dev-libs/expat ) - !!dev-libs/pwlib" -RDEPEND="${CDEPEND} - ffmpeg? ( virtual/ffmpeg )" -DEPEND="${CDEPEND} - virtual/pkgconfig - sys-devel/bison - sys-devel/flex - video? ( v4l? ( sys-kernel/linux-headers ) )" - -# NOTES: -# media-libs/libdc1394:2 should be supported but headers location have changed -# tools/ directory is ignored -# looks to have an auto-magic dep with medialibs, but not in the tree so... -# upstream bug 2794736 -# avc plugin is disabled to fix bug 276514, see upstream bug 2821744 - -# TODO: -# manage in a better way the conditional use flags (with eapi-3 ?) -# libv4l is an automagic dep for v4l2 plugin, see upstream bug 2867383 - -conditional_use_warn_msg() { - ewarn "To enable ${1} USE flag, you need ${2} USE flag to be enabled" - ewarn "Please, enable ${2} or disable ${1}" -} - -pkg_setup() { - local use_warn=false - - if use sdl && ! use video; then - conditional_use_warn_msg "sdl" "video" - use_warn=true - fi - - if use jabber && ! use xml; then - conditional_use_warn_msg "jabber" "xml" - use_warn=true - fi - - if use vxml; then - if ! use xml; then - conditional_use_warn_msg "vxml" "xml" - use_warn=true - fi - if ! use http; then - conditional_use_warn_msg "vxml" "http" - use_warn=true - fi - fi - - if use xmlrpc; then - if ! use xml; then - conditional_use_warn_msg "xmlrpc" "xml" - use_warn=true - fi - # configure script tells it needs http but it fails, see bug 277385 - # the bug has been reported at upstream bug 2820814 - if ! use http; then - conditional_use_warn_msg "xmlrpc" "http" - use_warn=true - fi - fi - - if use soap; then - if ! use xml; then - conditional_use_warn_msg "soap" "xml" - use_warn=true - fi - # fix bug 280850, see upstream bug 2844915 - if ! use http; then - conditional_use_warn_msg "soap" "http" - use_warn=true - fi - fi - - if ${use_warn}; then - echo - ewarn "Please look at previous messages and re-emerge accordingly if needed." - ebeep - epause 5 - fi -} - -src_prepare() { - # remove visual studio related files from samples/ - if use examples; then - rm -f samples/*/*.vcproj - rm -f samples/*/*.sln - rm -f samples/*/*.dsp - rm -f samples/*/*.dsw - fi - - # bug 283675, upstream bug 2857750 - if use vxml && ! use dtmf; then - epatch "${FILESDIR}"/${PN}-2.6.4-vxml-ptones.patch - fi -} - -src_configure() { - local myconf="" - - # plugins are disabled only if ! sound and ! video - if ! use sound && ! use video; then - myconf="${myconf} --disable-plugins" - else - myconf="${myconf} --enable-plugins" - fi - - # minsize, openh323, opal: presets of features (overwritten by use flags) - # ansi-bool, atomicity: there is no reason to disable those features - # internalregex: we want to use system one - # sunaudio and bsdvideo are respectively for SunOS and BSD's - # appshare, vfw: only for windows - # samples: no need to build samples - # avc: disabled, bug 276514, upstream bug 2821744 - # pipechan, configfile, resolver, url: force enabling - econf ${myconf} \ - --disable-minsize \ - --disable-openh323 \ - --disable-opal \ - --enable-ansi-bool \ - --enable-atomicity \ - --disable-internalregex \ - --disable-sunaudio \ - --disable-bsdvideo \ - --disable-appshare \ - --disable-vfw \ - --disable-samples \ - --disable-avc \ - --enable-configfile \ - --enable-pipechan \ - --enable-resolver \ - --enable-url \ - $(use_enable alsa) \ - $(use_enable asn) \ - $(use_enable debug exceptions) \ - $(use_enable debug memcheck) \ - $(use_enable debug tracing) \ - $(use_enable dtmf) \ - --disable-esd \ - $(use_enable ffmpeg ffvdev) \ - $(use_enable ftp) \ - $(use_enable http) \ - $(use_enable http httpforms) \ - $(use_enable http httpsvc) \ - --disable-dc \ - $(use_enable ipv6) \ - $(use_enable jabber) \ - $(use_enable ldap openldap) \ - $(use_enable mail pop3smtp) \ - $(use_enable odbc) \ - $(use_enable oss) \ - $(use_enable pch) \ - $(use_enable qos) \ - $(use_enable remote remconn) \ - $(use_enable sasl) \ - $(use_enable sdl) \ - $(use_enable serial) \ - $(use_enable shmvideo) \ - $(use_enable snmp) \ - $(use_enable soap) \ - $(use_enable socks) \ - $(use_enable sound audio) \ - $(use_enable ssl openssl) \ - $(use_enable stun) \ - $(use_enable telnet) \ - $(use_enable tts) \ - --disable-v4l \ - $(use_enable v4l v4l2) \ - $(use_enable video) $(use_enable video vidfile) \ - $(use_enable vxml) \ - $(use_enable wav wavfile) \ - $(use_enable xml expat) \ - $(use_enable xmlrpc) -} - -src_compile() { - local makeopts="" - - use debug && makeopts="debug" - - emake ${makeopts} || die "emake failed" -} - -src_install() { - local makeopts="" - - use debug && makeopts="DEBUG=1" - - emake DESTDIR="${D}" ${makeopts} install || die "emake install failed" - - # Get rid of static libraries if not requested - # There seems to be no easy way to disable this in the build system - if ! use static-libs; then - rm -v "${D}"/usr/lib*/*.a || die - fi - - if use doc; then - dohtml -r "${WORKDIR}"/html/* || die "dohtml failed" - fi - - dodoc History.txt ReadMe.txt ReadMe_QOS.txt || die "dodoc failed" - - # ChangeLog is not standard - # This version (2.6.7) doesn't have a ChangeLog file. - #dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed" - - if use sound || use video; then - newdoc plugins/ReadMe.txt ReadMe-Plugins.txt || die "newdoc failed" - fi - - if use examples; then - local exampledir="/usr/share/doc/${PF}/examples" - local basedir="samples" - local sampledirs="`ls samples --hide=Makefile`" - - # first, install Makefile - insinto ${exampledir}/ - doins ${basedir}/Makefile || die "doins failed" - - # now, all examples - for x in ${sampledirs}; do - insinto ${exampledir}/${x}/ - doins ${basedir}/${x}/* || die "doins failed" - done - fi -} - -pkg_postinst() { - if use examples; then - ewarn "All examples have been installed, some of them will not work on your system" - ewarn "it will depend of the enabled USE flags." - ewarn "To test examples, you have to run PTLIBDIR=/usr/share/ptlib make" - fi - - if ! use sound || ! use video; then - ewarn "You have disabled sound or video USE flags." - ewarn "Most audio/video have been disabled silently even if enabled via USE flags." - ewarn "Having a feature enabled via use flag but disabled can lead to issues." - fi - - ewarn "If you've just removed pwlib to install ptlib, some packages will be broken." - ewarn "Please use 'revdep-rebuild' from app-portage/gentoolkit to check." - ewarn "If some packages need pwlib, consider removing ptlib and re-installing pwlib" - ewarn "or help us to make them live together." -} |