diff options
author | Michael Cummings <mcummings@gentoo.org> | 2005-05-30 13:41:04 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2005-05-30 13:41:04 +0000 |
commit | 21c78bd179d4e6d8a558d7b257b0dda79ef29143 (patch) | |
tree | c35f0544dc381e17a35bd0bd4bc4fdf6fd92eadc /dev-lang/perl | |
parent | make use of our initscript again, fixes #94350. the initscript now supports c... (diff) | |
download | historical-21c78bd179d4e6d8a558d7b257b0dda79ef29143.tar.gz historical-21c78bd179d4e6d8a558d7b257b0dda79ef29143.tar.bz2 historical-21c78bd179d4e6d8a558d7b257b0dda79ef29143.zip |
Updated perl-cleaner to remove the emptied dirs after a .ph purge
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-lang/perl')
-rw-r--r-- | dev-lang/perl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/perl/Manifest | 74 | ||||
-rwxr-xr-x | dev-lang/perl/files/perl-cleaner | 10 | ||||
-rw-r--r-- | dev-lang/perl/perl-5.8.2-r4.ebuild | 10 | ||||
-rw-r--r-- | dev-lang/perl/perl-5.8.4-r4.ebuild | 10 | ||||
-rw-r--r-- | dev-lang/perl/perl-5.8.5-r5.ebuild | 10 | ||||
-rw-r--r-- | dev-lang/perl/perl-5.8.6-r4.ebuild | 10 |
7 files changed, 86 insertions, 45 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog index 59e20f9abe10..3f4b16fea6b7 100644 --- a/dev-lang/perl/ChangeLog +++ b/dev-lang/perl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/perl # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.130 2005/05/30 02:52:00 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.131 2005/05/30 13:41:04 mcummings Exp $ + + 30 May 2005; Michael Cummings <mcummings@gentoo.org> files/perl-cleaner, + perl-5.8.2-r4.ebuild, perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, + perl-5.8.6-r4.ebuild: + Updated perl-cleaner to remove the emptied dirs after a .ph purge 29 May 2005; <solar@gentoo.org> perl-5.8.2-r4.ebuild, perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild: diff --git a/dev-lang/perl/Manifest b/dev-lang/perl/Manifest index 724415b9722f..1465e4c2e2b9 100644 --- a/dev-lang/perl/Manifest +++ b/dev-lang/perl/Manifest @@ -1,54 +1,52 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 6dac743584b4f5bde70a43b0fdb07074 perl-5.8.4-r4.ebuild 13231 -MD5 867c67c23cd9e7e0dafb1365efb0ace9 perl-5.8.5-r5.ebuild 12873 -MD5 90cdd973a673ee271371b0e95fe348a3 perl-5.8.6-r4.ebuild 13122 -MD5 9932ab3d5a912b9c21f8655969b4b63a perl-5.8.2-r4.ebuild 11087 -MD5 922b44a667725f949e12065632c6b43d ChangeLog 37892 +MD5 c4c373d2579f3dc2ca3292256b018b07 ChangeLog 38132 MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 -MD5 060e9f10466fdc1268c75a7cf4dcbc7c files/perl-5.8.0-RC2-special-h2ph-not-failing-on-machine_ansi_header.patch 446 -MD5 4e99f7529e149661372283c981cf17ff files/perl-5.8.6-prelink-lpthread.patch 476 -MD5 319b56a7ce715fb7a494fe4d5cb9474c files/perl-5.8.4-picdl.patch 250 -MD5 01af75daf3d222a668059e90d78a1f9d files/perl-5.8.4-nonblock.patch 400 -MD5 d9412dab085f22309997c8f08ea1ac85 files/perl-5.8.6-reorder-INC.patch 2211 -MD5 4e99f7529e149661372283c981cf17ff files/perl-5.8.5-prelink-lpthread.patch 476 +MD5 389056a5cf253d17388307cc4cad6c8b perl-5.8.2-r4.ebuild 11306 +MD5 38510f237c4c3477731b5c4ffe2bfe61 perl-5.8.4-r4.ebuild 13450 +MD5 21236fcf7b7a17771332f4f52106bfa2 perl-5.8.5-r5.ebuild 13091 +MD5 b8bb0504aa915fe2dd7cdd4c6662cbf0 perl-5.8.6-r4.ebuild 13340 +MD5 2bd41aec5e22962224dc9376e27bdde3 files/CAN-2005-0448-rmtree.patch 7629 +MD5 bd75f0242e3b7791803d089c38a3f920 files/CAN-2005-0156-suid.patch 703 +MD5 154013a841cbb251d7b63fb006b4006f files/file_path_rmtree.patch 1068 +MD5 8381e239056a7895edf8f3c6c05c835c files/digest-perl-5.8.2-r4 64 +MD5 93155b02a7e9d3cdc6d6934ce78d9f11 files/digest-perl-5.8.4-r4 64 +MD5 c354e2fbf8141a769c20032e94f45fd3 files/digest-perl-5.8.5-r5 64 +MD5 0a07934d74ccb1133cf0f3650cb94efc files/digest-perl-5.8.6-r4 64 +MD5 319b56a7ce715fb7a494fe4d5cb9474c files/perl-5.8.2-picdl.patch 250 MD5 3195cf2f1f12f77ecc5b9c4fe9ea0995 files/libperl_rebuilder 10556 -MD5 d9412dab085f22309997c8f08ea1ac85 files/perl-5.8.4-reorder-INC.patch 2211 -MD5 4e99f7529e149661372283c981cf17ff files/perl-5.8.4-prelink-lpthread.patch 476 +MD5 44e1f1420947cc552c66fb434ba4c855 files/perl-5.8.4-NDBM-GDBM-compat.patch 428 MD5 d9412dab085f22309997c8f08ea1ac85 files/perl-5.8.2-reorder-INC.patch 2211 -MD5 076dcbef37263d6dd7af719b55cfc2de files/perl-5.8.4-noksh.patch 611 -MD5 bd75f0242e3b7791803d089c38a3f920 files/CAN-2005-0156-suid.patch 703 -MD5 2e12f5128439c83b3c5a3615253f4d8f files/perl-cleaner 8606 -MD5 5dfd23c2236b382d031a9513bc12f3f1 files/perl-5.8.5-tempfiles.patch 2113 -MD5 319b56a7ce715fb7a494fe4d5cb9474c files/perl-5.8.5-picdl.patch 250 +MD5 060e9f10466fdc1268c75a7cf4dcbc7c files/perl-5.8.0-RC2-special-h2ph-not-failing-on-machine_ansi_header.patch 446 MD5 0a28eb41f5f12ed54f025004af45c83d files/perl-5.8.2-perldoc-emptydirs.patch 489 MD5 4e99f7529e149661372283c981cf17ff files/perl-5.8.2-prelink-lpthread.patch 476 -MD5 076dcbef37263d6dd7af719b55cfc2de files/perl-5.8.5-noksh.patch 611 MD5 ce442db939c59218a16be167f793b817 files/perl-5.8.2-uclibc.patch 573 -MD5 803b7c028f59008ea1e6d577e5c0bab0 files/stat.t 8884 -MD5 319b56a7ce715fb7a494fe4d5cb9474c files/perl-5.8.6-picdl.patch 250 -MD5 319b56a7ce715fb7a494fe4d5cb9474c files/perl-5.8.2-picdl.patch 250 +MD5 01af75daf3d222a668059e90d78a1f9d files/perl-5.8.4-nonblock.patch 400 +MD5 076dcbef37263d6dd7af719b55cfc2de files/perl-5.8.4-noksh.patch 611 +MD5 29f5bb46e077f7ef9481455fa8a04dfc files/perl-cleaner 8787 MD5 0a28eb41f5f12ed54f025004af45c83d files/perl-5.8.4-perldoc-emptydirs.patch 489 -MD5 c5cc36940b2488a37c3dc2287f6e672c files/perl-5.8.6-tempfiles.patch 2115 -MD5 2bd41aec5e22962224dc9376e27bdde3 files/CAN-2005-0448-rmtree.patch 7629 -MD5 d9412dab085f22309997c8f08ea1ac85 files/perl-5.8.5-reorder-INC.patch 2211 -MD5 8381e239056a7895edf8f3c6c05c835c files/digest-perl-5.8.2-r4 64 -MD5 93155b02a7e9d3cdc6d6934ce78d9f11 files/digest-perl-5.8.4-r4 64 -MD5 c354e2fbf8141a769c20032e94f45fd3 files/digest-perl-5.8.5-r5 64 -MD5 0a07934d74ccb1133cf0f3650cb94efc files/digest-perl-5.8.6-r4 64 +MD5 319b56a7ce715fb7a494fe4d5cb9474c files/perl-5.8.4-picdl.patch 250 +MD5 4e99f7529e149661372283c981cf17ff files/perl-5.8.4-prelink-lpthread.patch 476 +MD5 d9412dab085f22309997c8f08ea1ac85 files/perl-5.8.4-reorder-INC.patch 2211 +MD5 076dcbef37263d6dd7af719b55cfc2de files/perl-5.8.5-noksh.patch 611 +MD5 01af75daf3d222a668059e90d78a1f9d files/perl-5.8.5-nonblock.patch 400 MD5 0a28eb41f5f12ed54f025004af45c83d files/perl-5.8.5-perldoc-emptydirs.patch 489 +MD5 319b56a7ce715fb7a494fe4d5cb9474c files/perl-5.8.5-picdl.patch 250 +MD5 4e99f7529e149661372283c981cf17ff files/perl-5.8.5-prelink-lpthread.patch 476 +MD5 d9412dab085f22309997c8f08ea1ac85 files/perl-5.8.5-reorder-INC.patch 2211 +MD5 5dfd23c2236b382d031a9513bc12f3f1 files/perl-5.8.5-tempfiles.patch 2113 MD5 076dcbef37263d6dd7af719b55cfc2de files/perl-5.8.6-noksh.patch 611 -MD5 44e1f1420947cc552c66fb434ba4c855 files/perl-5.8.4-NDBM-GDBM-compat.patch 428 -MD5 154013a841cbb251d7b63fb006b4006f files/file_path_rmtree.patch 1068 -MD5 01af75daf3d222a668059e90d78a1f9d files/perl-5.8.5-nonblock.patch 400 MD5 0a28eb41f5f12ed54f025004af45c83d files/perl-5.8.6-perldoc-emptydirs.patch 489 +MD5 319b56a7ce715fb7a494fe4d5cb9474c files/perl-5.8.6-picdl.patch 250 +MD5 4e99f7529e149661372283c981cf17ff files/perl-5.8.6-prelink-lpthread.patch 476 +MD5 d9412dab085f22309997c8f08ea1ac85 files/perl-5.8.6-reorder-INC.patch 2211 +MD5 c5cc36940b2488a37c3dc2287f6e672c files/perl-5.8.6-tempfiles.patch 2115 +MD5 803b7c028f59008ea1e6d577e5c0bab0 files/stat.t 8884 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) +Version: GnuPG v1.4.1 (GNU/Linux) -iQCVAwUBQpp/1p4WFLgrx1GWAQJr4wP/dikUFY382AqedP2elHAaVbE7Dp3kBtxp -DRegtm55eyKYG8qk7WWawsGf9PLfLl+fQQZNHboWy6r7zp8hL5mRp2kV9K28exsy -PBJXrQ4+28Rs4i2jrx1XGelD8AJ5vFeBF/L9oHSovEdbXJd6RnZDwvS9vr/Bl2Fe -EJpCUBaebhU= -=auQY +iD8DBQFCmxfUtG5z4I8BtQoRAhCHAJ4zRB9ZpVh71x0pL+1RMFZ8ipTtGwCeIov3 +N6KgyDbiXqQuf5LykYIyeDA= +=r2wf -----END PGP SIGNATURE----- diff --git a/dev-lang/perl/files/perl-cleaner b/dev-lang/perl/files/perl-cleaner index a2a9becff7e9..5831c5e02424 100755 --- a/dev-lang/perl/files/perl-cleaner +++ b/dev-lang/perl/files/perl-cleaner @@ -68,13 +68,19 @@ function ph_clean() { done fi done + for DIR in $INC; do + for empty in $(find $DIR -type d); do + # Silently remove those dirs that we just emptied + rmdir $empty >/dev/null 2>&1 + done + done } # Generate ph files; this is useful if we've upgraded packages with headers so that perl knows the new info function ph_update() { echo "$(date) : Updating ph files" | tee -a $LOG - cd /usr/include; h2ph * sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/*>>$LOG - cd /usr/include/linux; h2ph * >>$LOG + cd /usr/include; h2ph * sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* | tee -a $LOG + cd /usr/include/linux; h2ph * | tee -a $LOG } # Build a list of modules installed under older perls - only valid if the module was an ebuild :) diff --git a/dev-lang/perl/perl-5.8.2-r4.ebuild b/dev-lang/perl/perl-5.8.2-r4.ebuild index 92ab364f753d..b6379568cc60 100644 --- a/dev-lang/perl/perl-5.8.2-r4.ebuild +++ b/dev-lang/perl/perl-5.8.2-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.2-r4.ebuild,v 1.9 2005/05/30 02:52:00 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.2-r4.ebuild,v 1.10 2005/05/30 13:41:04 mcummings Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -324,6 +324,14 @@ pkg_postinst() { done fi done + # Silently remove the now empty dirs + for DIR in $INC; do + if [ -d ${ROOT}/$DIR ]; then + for $empty in $(find ${ROOT}/$DIR -type d); do + rmdir $empty >/dev/null 2>&1 + done + fi + done ebegin "Converting C header files to the corresponding Perl format" cd /usr/include; h2ph * sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* diff --git a/dev-lang/perl/perl-5.8.4-r4.ebuild b/dev-lang/perl/perl-5.8.4-r4.ebuild index 8cf9cf18844b..28917d046db6 100644 --- a/dev-lang/perl/perl-5.8.4-r4.ebuild +++ b/dev-lang/perl/perl-5.8.4-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.4-r4.ebuild,v 1.9 2005/05/30 02:52:00 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.4-r4.ebuild,v 1.10 2005/05/30 13:41:04 mcummings Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -389,6 +389,14 @@ pkg_postinst() { done fi done + # Silently remove the now empty dirs + for DIR in $INC; do + if [ -d ${ROOT}/$DIR ]; then + for $empty in $(find ${ROOT}/$DIR -type d); do + rmdir $empty >/dev/null 2>&1 + done + fi + done ebegin "Converting C header files to the corresponding Perl format" cd /usr/include; h2ph * sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* diff --git a/dev-lang/perl/perl-5.8.5-r5.ebuild b/dev-lang/perl/perl-5.8.5-r5.ebuild index 6bd3eca83595..ac5956e5b2b4 100644 --- a/dev-lang/perl/perl-5.8.5-r5.ebuild +++ b/dev-lang/perl/perl-5.8.5-r5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.5-r5.ebuild,v 1.10 2005/05/30 02:52:00 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.5-r5.ebuild,v 1.11 2005/05/30 13:41:04 mcummings Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -377,6 +377,14 @@ pkg_postinst() { done fi done + # Silently remove the now empty dirs + for DIR in $INC; do + if [ -d ${ROOT}/$DIR ]; then + for $empty in $(find ${ROOT}/$DIR -type d); do + rmdir $empty >/dev/null 2>&1 + done + fi + done ebegin "Converting C header files to the corresponding Perl format" cd /usr/include; h2ph * sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* diff --git a/dev-lang/perl/perl-5.8.6-r4.ebuild b/dev-lang/perl/perl-5.8.6-r4.ebuild index 3b2e1683d96a..2523e38c436e 100644 --- a/dev-lang/perl/perl-5.8.6-r4.ebuild +++ b/dev-lang/perl/perl-5.8.6-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.6-r4.ebuild,v 1.12 2005/05/30 02:52:00 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.6-r4.ebuild,v 1.13 2005/05/30 13:41:04 mcummings Exp $ inherit eutils flag-o-matic toolchain-funcs multilib @@ -380,6 +380,14 @@ pkg_postinst() { done fi done + # Silently remove the now empty dirs + for DIR in $INC; do + if [ -d ${ROOT}/$DIR ]; then + for $empty in $(find ${ROOT}/$DIR -type d); do + rmdir $empty >/dev/null 2>&1 + done + fi + done ebegin "Converting C header files to the corresponding Perl format" cd /usr/include; h2ph * sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* |