summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2013-01-20 20:22:13 +0000
committerTorsten Veller <tove@gentoo.org>2013-01-20 20:22:13 +0000
commit699b7c45ec25065688de808ade70522b7d0c27c8 (patch)
treed2bb0591fe428b642ec1ac2dc103003dab3127a0 /dev-lang/perl
parentAdd s390 keywords #453114 by Sergey Popov. (diff)
downloadhistorical-699b7c45ec25065688de808ade70522b7d0c27c8.tar.gz
historical-699b7c45ec25065688de808ade70522b7d0c27c8.tar.bz2
historical-699b7c45ec25065688de808ade70522b7d0c27c8.zip
Version bump (#449640). Fixes #422981, #443446, #446376.
Package-Manager: portage-2.2.0_alpha156/cvs/Linux x86_64 Manifest-Sign-Key: 0x5772769F4E046AEC
Diffstat (limited to 'dev-lang/perl')
-rw-r--r--dev-lang/perl/ChangeLog14
-rw-r--r--dev-lang/perl/Manifest17
-rw-r--r--dev-lang/perl/files/eblits/src_install-v50160001.eblit6
-rw-r--r--dev-lang/perl/perl-5.16.2.ebuild115
4 files changed, 139 insertions, 13 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog
index 12a19b62ae45..4b9668e0d504 100644
--- a/dev-lang/perl/ChangeLog
+++ b/dev-lang/perl/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-lang/perl
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.389 2012/09/20 12:56:50 radhermit Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.390 2013/01/20 20:22:11 tove Exp $
+
+*perl-5.16.2 (20 Jan 2013)
+
+ 20 Jan 2013; Torsten Veller <tove@gentoo.org>
+ files/eblits/src_install-v50160001.eblit, +perl-5.16.2.ebuild:
+ Version bump (#449640).
+ * Does not create directories in /usr/local (#422981)
+ * CGI: Newline injection due to improper CRLF escaping in Set-Cookie and P3P
+ headers (#443446,CVE-2012-5526)
+ * Locale::Maketext: Two Code Injection Vulnerabilities (#446376,SA51498)
20 Sep 2012; Tim Harder <radhermit@gentoo.org> metadata.xml:
Remove redundant maintainer from metadata.
diff --git a/dev-lang/perl/Manifest b/dev-lang/perl/Manifest
index e2102774b318..02e63878de40 100644
--- a/dev-lang/perl/Manifest
+++ b/dev-lang/perl/Manifest
@@ -6,7 +6,7 @@ AUX eblits/pkg_postinst-v50160001.eblit 2603 SHA256 bfab0992a63ad1238ca22c6ba5fe
AUX eblits/pkg_postrm-v50160001.eblit 414 SHA256 838cf6fc5109410344f51019aa80377be35e466bc6515625475821bcce96dec2 SHA512 702d8dfe508959f3fa0f74d949913f61d3d167c0c30a924b4e08080eb76f7e28b2ad4c46ccbdaf93a2e493400a033f7b9f6ffe8d7ccc0a02b0c9508241cd7c87 WHIRLPOOL 44a9d0087a4dda3281399f11af0d1c0cba7c416fadb1102f02b54d80f180fc7e19a968545fc099619140b06242bfe65dd0baaa150f0553e7c79c5a1c709ead4a
AUX eblits/pkg_setup-v50160001.eblit 2448 SHA256 1259e0d4addfb0f06aa322429e65cc9a60f5cfd16f24f43fc53ea3fe4550980e SHA512 d7446269bd36359d089f740ceb6dbf77b88ebe6c80e797444b7c89bbfa9dc32f503ac3ad356c35b3744be27d92bf33ccebdcde09ce969d10fe995d1e4cfc65fd WHIRLPOOL 66e141273fb16120e71a60f23149cbee6248733f3331cd110521a62120e51a1c650a1839720a8d31deb0477b817c5d565c152fd4974f2d4a07041981e932f355
AUX eblits/src_configure-v50160001.eblit 4562 SHA256 cd8c1078bb22f3adb59bdb08d7cca20eee590014e253ec4708f3344367f6f6c0 SHA512 e633bd3dc04884b44731eaeb50fae3b5fd8260fddc89d686af3af9045575047943ac775ce37a2d8322129ad354085b56b9dbf7869a565c3b73fa616d25cea534 WHIRLPOOL 8efc88082c210c5f6b86b9707c54207ac25fa8ca351efff99178fca69ef5e547bce541525f37412eb6507d4a1b1cbff4db4e76b14a9281efa5955ead7da15f55
-AUX eblits/src_install-v50160001.eblit 2068 SHA256 4f763bac589235cb072103f9caecd7a02813ba9a89d722959f7f9432b4d4c56b SHA512 bd4c355a3a4649e6f89feee4461583423d87b276ef672305124fb0e49888bcc5012d4f0359926aa6b7c657ecea1a329d10b68f6bfb7f1450f922fde0aae3eddf WHIRLPOOL df62650c93776ba736d53ace725893e6a8652f04b4cafe97591f5b8b732b8b1ee35b99be40041157f876cc94e74c7b8cdb897cf53df5802e783092792e8f360a
+AUX eblits/src_install-v50160001.eblit 2120 SHA256 30deed9428adcabb9ec24dbfc53029a434729c48827504e9eb3bd45a42e335f9 SHA512 9b9ae2673995428517eb12e0cbfd8f79ff0a86feb4422ef07572a4ba5115e6db910ff7d6f65f04f4d4831cac3fcebd848599da8302bcb992ba7d7fd9e3ddb44c WHIRLPOOL 2eae031d9a1f014a4b22d082be8d0818390a2f5240137af99e4b68452d4144dcc74464f1e342daa83a769307b2ba09dccbb20659feb45c8c5a634356d6ff23dc
AUX eblits/src_prepare-v50160001.eblit 2114 SHA256 dc803c75ffa7194149d7891c90cbdcd56e634afa6d0988db52242c27a6e1df3e SHA512 e6a32a3fd4b1b35ea146aefb67df74517304237d3fede12feaf52a1eed5880c2c15ad3b6bf2eb5bd153c60df5d6e9da583408d469d9014299dd4704e9a65d3db WHIRLPOOL b93e03c60c76a34da9d783bd88b2e0ec6c34c9a3a291973ad856180f4ed7b88ccbdd57fb95227c809c27a8a7537c67bf5ed573f5d7eba35b147ba26242438313
AUX eblits/src_test-v50160001.eblit 503 SHA256 35a8a1a6f89e351e4587c82ef3c30699f8a37d78570e28510c5e02bc9e352198 SHA512 09c6f1b253119d0ad7f7d698c37d9d1979a67a2866c72677177c47d9e7c413a7588e2e531bb1e9790ce49add618b768a7fa271e05171a3ce73fa4433034f91f7 WHIRLPOOL 9aae83a23fc6246d26729ad940a7a13bb89e3b2223581e34000f8a93470455bc8ca5b71ae47bf5e6809544793fe21f7207beca3681990c849838497f32f08b51
AUX perl-5.10.1-cleanup-paths.patch 2368 SHA256 90738b47513eed34789ab506a023ca88be841a9a64127d201c4eebe85b63f443 SHA512 47246aa49f8baeab315bf06e64bddce98778fc9fcceddc0dd974604e1d6cb00a3a48bc08243a3edd2ccedf452bafd522e31e4469e672470c996da16efea85c4a WHIRLPOOL 9abc97d16322927f2e8b71d13f78edaca9e0b3838e2cd695fa2773ce6f7c3d6ce0d30bb81e34824294545df8a444772339f279ae2a556db2add9547b9cd7d065
@@ -60,6 +60,8 @@ DIST perl-5.16.0-3.tar.bz2 13822 SHA256 2187b4b9f54f008ed3dd6b6620bd1c59ba5b0f5d
DIST perl-5.16.0.tar.bz2 13568573 SHA256 8c1d25e92a5760e84f77baa57fde5606fd6e95ec992408d36fa53c47162721d1 SHA512 d0bb91141ac4c5cc3d98dbeada130ae70c32cf59ac1a74991b5b1f52138b37f5cfa4233935afed4a16edfc9df784df6b3c538240dc654b82bac1fcb8efe3c3a1 WHIRLPOOL 432d93e018a8c2d5571bd15a79158d447f20e658340d8bf84603fe6c33251c78b07fc1ceaf7fa858ddb16d92bb6ac7a37fa39bc6d29e5b0aa4b99d1b6e4d209e
DIST perl-5.16.1-1.tar.bz2 13843 SHA256 829fb8facfcd527ee10e490d105049b9138a7b9367bcd9ba7677330e0c326751 SHA512 0dc6cfc9f948a523127fd36fbe8dcc5af581937ad491a7e91cc2f5cf7d4f4fdeb6b7a24346ebfa4e78f839895b4cbd6da9a6a183d816d58792060c5d73d1d6b6 WHIRLPOOL ead851b1b8ecd64165f7af152b1aec8a46e76f0caa6842b7725aea7f0ef8c5516fa9461bcedd11565c60179c0acad5b1682129277a670129bc19dd2a8706025b
DIST perl-5.16.1.tar.bz2 13550613 SHA256 0704b1421fe50015becd32c8b7ed05843e8b6c188a8c16cb0c11d76986375fd0 SHA512 df221f3d0bf3877e4fdf724bc8c10d6d3dd6cd7d762cc164d4fe67636806831ba14d2c52d30d927b87091a1004af68f730ed6f32cd06c29af5fa42d35212415c WHIRLPOOL c46a015916d00516e458e4c4c20a31f8c4c2d983d1a74fa73ce6721d6bce9321c2c2f4b5ac3e4caeda4db07d629e55d06c6bdb26233e8e95d3e95a5643d1d198
+DIST perl-5.16.2-2.tar.bz2 16830 SHA256 ee5131e8d3671ad03a39f9e729efea7750a3342aba950f9555efdd5ba8d81d40 SHA512 799e8c8b3cffbad9a2fd606ab610d23da8ca4d83e4f5d782596d5c86a127da54d2506564f7fac7479542802dfc835c8a0d6a5576e8a6fff3a44f9fc0706ed4b3 WHIRLPOOL cabd3be774144870fff0e37f78070d64f00e311c05be85386396cfa53a8964abf017560d87833fa223d87fad700dfc4831f9a4210d5e2ccc6c3462689c9dd0a9
+DIST perl-5.16.2.tar.bz2 13725101 SHA256 5ba91d9aa40220c615b644bb48fa5df7fbca4afb1c9e911bdc0ce2a93f072d7d SHA512 b2a0eac73ce57ca9b83622eaee64cdbfc69011ff4dc54d5e6193e9a218117f33963ac56a30fc2baa7a76504868bfa5f00dd5ba25ece1ac70fe3a7a454898764b WHIRLPOOL e634c29edb00676023e906d65a9ace8cbee6aed43c6551d119a0b59f4f1be15f2f9d8b1417cc22b3bae5a0f3706d1aecccd2815edc7f341a4301be969e024203
DIST perl-5.8.8.tar.bz2 10123359 SHA256 818a140d9c04ea8dab3a05104b34ced7f7d9d0a91bfed91baf89a84d0dfb1bc9 SHA512 45d8d6ffe5f28b71bd279e17e82eb60a97e2372e896ad5c1233a88d3cf092dc37ba74a450413a689600f8a17f53969600fc6e45a6e2a051471f9fde86bd635f7 WHIRLPOOL 0f50fa3b0785932ce30df64881c57b15ef098fb7cb8f6ad2a850e3642e7be589b3dc61e7ae9e07b44eacbfec262e0f869b26dbf6f704d302eb700fb2e158d380
EBUILD perl-5.10.1.ebuild 18186 SHA256 e78712f27936a68b51f0e70239dd01f28adc79a7d1f1ca8580fcae6a0b51e707 SHA512 6c6bec78518702469e05d934d2cb23ee5f24b45e92edc7e3d31c33be222b0d0602e851e576318bdfacb92456fb4242f68c65e54649f47caa521874524f699581 WHIRLPOOL 2471a7f2bd074e494cf29edacfea190dbd4dbcd18c22ad77d93e0530609870353a43def38cee6d7bc98932c3977494fa151072b6586b9a91c12de9c92c7de430
EBUILD perl-5.12.3-r1.ebuild 19453 SHA256 d675c932b718a36b59d666fec13d0a5a77b02b8450a961a7e1a833dcaf560de4 SHA512 9dbfc08a5ec1185f352caf0529ae0fa5d8df8b980aaa4682f18b2186244452247ea2bb4132a7464c27f12015522862a89091448ddcef6684c037f9c6eae5dd72 WHIRLPOOL d03b934499856b26454a8f7c99fed0044dce612928321483d61048fefb0200e922047154bc6d8375fdaa0c1c6c0c03ec1698343b0c4155f0b52d708fd794c504
@@ -71,17 +73,14 @@ EBUILD perl-5.14.1.ebuild 19436 SHA256 77c5ad7783d7786cb65b0f3e179bee779520b0659
EBUILD perl-5.14.2.ebuild 22156 SHA256 f00757a0136d01104ca9deacca8d13571235b99acb642121c84b6ab93e19953d SHA512 a39550c29bc2e12d82e5b682f200e93db7fcb0ed08fa95c2bd54e70af25e7b49ec7eb32512cc5c18769fb45aae000b019d6c661d370f523ba58865916b9f4a05 WHIRLPOOL 877148e2050da7de3139866955ff1c90709bdc60f3de7eca62c0bd04c83bf1c06a5d98886519ec6be4039b8d7f71ef43cfa72d5b58318973eb27e3cbbee391bd
EBUILD perl-5.16.0.ebuild 4230 SHA256 c104c5723f31cd3ff8945bb40016e0f4c6855d4564e5a3192f0b6f557ac2d8bc SHA512 e5e6c88ad88c16785732b88bb024e7ebd46001fc7bd6e5b15c7b52ba30870ce51b61ebc97b12aa595849203f49ae73d836d02c31459b5945e44ef1b38d70817d WHIRLPOOL d5c96a973da468d0bbf89741d291386aa2cd17d92c43df80cdd9693584a36cf955e3e5aaca5ac78b2678699e48803f0c95141598a35fea53219c055800ef3e60
EBUILD perl-5.16.1.ebuild 4236 SHA256 29c5cb646290e5004262274b170ab8191ce03f40b499446c15d249fc8bd0f6d4 SHA512 0a8a3150e650e5ead8f90b32247acd922821fcb33ede14c1ffe4efeb35ba79d6c3f2acfa72432da9250e2585f2c81562db60b194e8bd53eaf3e86a2b0c34b3b1 WHIRLPOOL f941405f741d0f73495c68e39acc356e04b322c3c4880affa0b75c53aab0b118b3d11914912d730489bed15fa01b882792e31e60cc58c1530d71ca3c874a0b8a
+EBUILD perl-5.16.2.ebuild 4243 SHA256 57112159021630caea898598745da506db773e542c11d619df2fb26c40fbcd1f SHA512 29761d5666fb0611e7827805e9955a63a8bcaf6ffa14b4f9e709af5bdf60fea8309a998bc2b16dea338f87e8ad02b662fc0b29c13787f85e9907146b56ad843b WHIRLPOOL 2356356177c3fe433b4a17d0683e2db782db50f5248e78297a94f10e44b0fa90566c943047c7918c4953813e61f0e09f782fdef93bb9df4618b078f40e20ae56
EBUILD perl-5.8.8-r8.ebuild 20741 SHA256 0ccd023b46d13e2c36bc7d9b5cf797e8288d2f76b683ac67802d7a1c39e6399e SHA512 8dfb847219afa8843449c82fdc802e7eba42581ef3f79f501fdde84213fab8903281a4188649da383353e339a7201f3b6b479c2718dec06957dde5ce5902eddc WHIRLPOOL ebc3605f1d80c5ca59fe6aad9dfdf548bd58ca76d66517a1ad49acba64e17d59314a6a59c8c2c9850cb73bc863c15b4f07d6853435b939032484cb3229897762
-MISC ChangeLog 75784 SHA256 f982f1f1300f5cd32913d3f0c683c60e6acb8ea41d2e6aa0d1d47b67540df970 SHA512 cc3816810fadc2d7f6e352696195438363c2c7dca0ae9d1f066fa1f250115c427527cab3a54b9aa144a68ff110829aa9a1287e331e10f19874a95b0cc05795ed WHIRLPOOL 6e6d45044453d9cc726747effd6bb5718595589af69d3abd3d274eabf57e3484076f1ae881c8cfad8efa854def4121edcb480392ed57bfd94b85538ceee3efb1
+MISC ChangeLog 76193 SHA256 52562bc44cddd32f022ca2c2871d968b29722f1feb65524be01597f732e29bbb SHA512 f2825866c23e0c8f017c40fb608f8b97b390d84b6e4a7ab28475dc863a9b1bceac5d54e94a7b46339fb56fbfb90d8588159e6ea85591e933246e562b34502b52 WHIRLPOOL 33e4c075624a95f9679c009efb514f5a3363ed805ac3050b85bc6f34c30a5dc1eeda37251a2da900deecf1d4a7a11a91e896f1b46a688b2574f01d893b6c0373
MISC metadata.xml 341 SHA256 b87a6bb9a9087266ceeecc146661b4e562ca01bb718a2473e8f921d63e279d1f SHA512 a7c88c9c6e35421a2ed105281243a9282ce1b55ad4a407cc4968507dc5b7290a0af706a64ca49424ef514173b2adb703960626e6f697101f41171709268109bc WHIRLPOOL 0bcb33d53f8b9b32e74ec2a324baa1a1cc14bb461b0febc1728789d8eec7a6f6abdc8579c4f9cfe4781d0ffdcb29b87a57669b01749b2bc85fe893815f998a04
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQWxKYAAoJEEqz6FtPBkyjgxgH/jlbPC3jfrR/ZcPd+idMhulQ
-OcwEopNkvtlF9YG4IHuGnQuyT4T/MFnqID/Veu8oXhprr1YzWt7DMfAH4XMbHpXO
-pFnWCi+PJQmHOrs6dqalNxCVdSXV/6af9AQeDZnEMtojwdQ3gAi2Utz0pG6ofjLE
-GzZfB3QAC+MJpYhsnOaOOP/seTupAr+2Ir1XQaknGxcvweWcSDjUe5Z4ox73AVCl
-FtIQx0H1JIv6LkLZK7FEgRw+v3EFx9AImuqV5NkyI3TvF3T3StUJY+S/0d50NhHu
-70EuXPsnRyoHXGuUYy27FgEJEXP6U/UXYHzcigR+s2beD8q6/XzAqWA8QFUJkkM=
-=8IE7
+iEYEAREIAAYFAlD8UfUACgkQV3J2n04Eaux0tQCfU6VC1i15YuLkxOqi9JjWB6iu
+m5sAnjLMdxEh3A3kwSVQ+Vm4e6bcMK+7
+=eopA
-----END PGP SIGNATURE-----
diff --git a/dev-lang/perl/files/eblits/src_install-v50160001.eblit b/dev-lang/perl/files/eblits/src_install-v50160001.eblit
index dac22a2fcd9a..bee3ae5e9bf5 100644
--- a/dev-lang/perl/files/eblits/src_install-v50160001.eblit
+++ b/dev-lang/perl/files/eblits/src_install-v50160001.eblit
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_install-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_install-v50160001.eblit,v 1.2 2013/01/20 20:22:11 tove Exp $
eblit-perl-src_install() {
local i
@@ -55,5 +55,7 @@ eblit-perl-src_install() {
--htmldir="${ED}/usr/share/doc/${PF}/html"
fi
+ [[ -d ${D}/usr/local ]] && rm -r "${D}"/usr/local
+
dual_scripts
}
diff --git a/dev-lang/perl/perl-5.16.2.ebuild b/dev-lang/perl/perl-5.16.2.ebuild
new file mode 100644
index 000000000000..a10def228534
--- /dev/null
+++ b/dev-lang/perl/perl-5.16.2.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.16.2.ebuild,v 1.1 2013/01/20 20:22:11 tove Exp $
+
+EAPI=5
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
+
+PATCH_VER=2
+
+PERL_OLDVERSEN="5.16.1 5.16.0"
+MODULE_AUTHOR=RJBS
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+ mirror://cpan/src/${MY_P}.tar.bz2
+ mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
+ mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+ http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2
+"
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="berkdb debug doc gdbm ithreads"
+
+RDEPEND="
+ berkdb? ( sys-libs/db )
+ gdbm? ( >=sys-libs/gdbm-1.8.3 )
+ app-arch/bzip2
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ !prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
+"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+ src_remove_dual perl-core/Archive-Tar 1.820.0 ptar ptardiff ptargrep
+ src_remove_dual perl-core/Digest-SHA 5.710.0 shasum
+ src_remove_dual perl-core/CPAN 1.980.0 cpan
+ src_remove_dual perl-core/CPANPLUS 0.912.100 cpanp cpan2dist
+ src_remove_dual_file perl-core/CPANPLUS 0.912.100 /usr/bin/cpanp-run-perl
+ src_remove_dual perl-core/Encode 2.440.0 enc2xs piconv
+ src_remove_dual perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
+ src_remove_dual perl-core/ExtUtils-ParseXS 3.160.0 xsubpp
+ src_remove_dual perl-core/IO-Compress 2.48.0 zipdetails
+ src_remove_dual perl-core/JSON-PP 2.272.0 json_pp
+ src_remove_dual perl-core/Module-Build 0.390.100_rc config_data
+ src_remove_dual perl-core/Module-CoreList 2.760.0 corelist
+ src_remove_dual perl-core/PodParser 1.510.0 pod2usage podchecker podselect
+ src_remove_dual perl-core/Test-Harness 3.230.0 prove
+ src_remove_dual perl-core/podlators 2.4.0 pod2man pod2text
+ src_remove_dual_man perl-core/podlators 2.4.0 /usr/share/man/man1/perlpodstyle.1
+}
+
+# eblit-include [--skip] <function> [version]
+eblit-include() {
+ local skipable=false
+ [[ $1 == "--skip" ]] && skipable=true && shift
+ [[ $1 == pkg_* ]] && skipable=true
+
+ local e v func=$1 ver=$2
+ [[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
+ for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
+ e="${FILESDIR}/eblits/${func}${v}.eblit"
+ if [[ -e ${e} ]] ; then
+ . "${e}"
+ return 0
+ fi
+ done
+ ${skipable} && return 0
+ die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
+}
+
+# eblit-run-maybe <function>
+# run the specified function if it is defined
+eblit-run-maybe() {
+ [[ $(type -t "$@") == "function" ]] && "$@"
+}
+
+# eblit-run <function> [version]
+# aka: src_unpack() { eblit-run src_unpack ; }
+eblit-run() {
+ eblit-include --skip common "${*:2}"
+ eblit-include "$@"
+ eblit-run-maybe eblit-$1-pre
+ eblit-${PN}-$1
+ eblit-run-maybe eblit-$1-post
+}
+
+#src_unpack() { eblit-run src_unpack v50160001 ; }
+src_prepare() { eblit-run src_prepare v50160001 ; }
+src_configure() { eblit-run src_configure v50160001 ; }
+#src_compile() { eblit-run src_compile v50160001 ; }
+src_test() { eblit-run src_test v50160001 ; }
+src_install() { eblit-run src_install v50160001 ; }
+
+# FILESDIR might not be available during binpkg install
+# FIXME: version passing
+for x in setup {pre,post}{inst,rm} ; do
+ e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
+ if [[ -e ${e} ]] ; then
+ . "${e}"
+ eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
+ fi
+done