From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RENOv-0004ep-QF for garchives@archives.gentoo.org; Thu, 13 Oct 2011 15:40:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D44AB21C031; Thu, 13 Oct 2011 15:40:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4A81B21C031 for ; Thu, 13 Oct 2011 15:40:44 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B2EC1B4013 for ; Thu, 13 Oct 2011 15:40:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A1F4A80042 for ; Thu, 13 Oct 2011 15:40:42 +0000 (UTC) From: "Torsten Veller" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Torsten Veller" Message-ID: Subject: [gentoo-commits] proj/perl-overlay:master commit in: dev-lang/perl/, profiles/ X-VCS-Repository: proj/perl-overlay X-VCS-Files: dev-lang/perl/ChangeLog dev-lang/perl/metadata.xml dev-lang/perl/perl-5.12.4_rc2.ebuild dev-lang/perl/perl-5.14.0.ebuild dev-lang/perl/perl-5.14.1.ebuild profiles/package.mask X-VCS-Directories: dev-lang/perl/ profiles/ X-VCS-Committer: tove X-VCS-Committer-Name: Torsten Veller X-VCS-Revision: f5254dd90d32f1185697a092646c0f72466f1d5f Date: Thu, 13 Oct 2011 15:40:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 8ae7bafdd8cbdc951b24686ffcb3de8b commit: f5254dd90d32f1185697a092646c0f72466f1d5f Author: Torsten Veller gentoo org> AuthorDate: Thu Oct 13 15:39:56 2011 +0000 Commit: Torsten Veller gentoo org> CommitDate: Thu Oct 13 15:40:20 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/perl-overlay.= git;a=3Dcommit;h=3Df5254dd9 [remove] dev-lang/perl and its package.mask entry --- dev-lang/perl/ChangeLog | 64 ---- dev-lang/perl/metadata.xml | 8 - dev-lang/perl/perl-5.12.4_rc2.ebuild | 637 ----------------------------= ------ dev-lang/perl/perl-5.14.0.ebuild | 633 ----------------------------= ----- dev-lang/perl/perl-5.14.1.ebuild | 632 ----------------------------= ----- profiles/package.mask | 11 - 6 files changed, 0 insertions(+), 1985 deletions(-) diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog deleted file mode 100644 index 6897c13..0000000 --- a/dev-lang/perl/ChangeLog +++ /dev/null @@ -1,64 +0,0 @@ -# ChangeLog for dev-lang/perl -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*perl-5.14.1 (18 Jun 2011) - - 18 Jun 2011; Torsten Veller -perl-5.14.1_rc1-r1.ebui= ld, - +perl-5.14.1.ebuild: - Version bump - -*perl-5.12.4_rc2 (15 Jun 2011) - - 15 Jun 2011; Torsten Veller -perl-5.12.4_rc1-r1.ebui= ld, - +perl-5.12.4_rc2.ebuild: - Version bump - -*perl-5.14.1_rc1-r1 (11 Jun 2011) -*perl-5.12.4_rc1-r1 (11 Jun 2011) - - 11 Jun 2011; Torsten Veller -perl-5.12.4_rc1.ebuild, - +perl-5.12.4_rc1-r1.ebuild, -perl-5.14.1_rc1.ebuild, - +perl-5.14.1_rc1-r1.ebuild: - Fix PERL_OLDVERSEN - -*perl-5.12.4_rc1 (11 Jun 2011) - - 11 Jun 2011; Torsten Veller +perl-5.12.4_rc1.ebuild: - Version bump - -*perl-5.14.1_rc1 (11 Jun 2011) - - 11 Jun 2011; Torsten Veller +perl-5.14.1_rc1.ebuild: - Version bump - -*perl-5.14.0 (14 May 2011) - - 14 May 2011; Torsten Veller -perl-5.14.0_rc3.ebuild, - +perl-5.14.0.ebuild: - Version bump - -*perl-5.14.0_rc3 (11 May 2011) - - 11 May 2011; Torsten Veller -perl-5.14.0_rc2.ebuild, - +perl-5.14.0_rc3.ebuild: - Bump - -*perl-5.14.0_rc2 (08 May 2011) - - 08 May 2011; Torsten Veller -perl-5.14.0_rc1-r1.ebui= ld, - +perl-5.14.0_rc2.ebuild: - Bump - -*perl-5.14.0_rc1-r1 (22 Apr 2011) - - 22 Apr 2011; Torsten Veller -perl-5.14.0_rc1.ebuild, - +perl-5.14.0_rc1-r1.ebuild: - ptargrep and json_pp are new dual scripts - -*perl-5.14.0_rc1 (20 Apr 2011) - - 20 Apr 2011; Torsten Veller +perl-5.14.0_rc1.ebuild, - +metadata.xml: - Add perl-5.14.0_rc1 for testing - diff --git a/dev-lang/perl/metadata.xml b/dev-lang/perl/metadata.xml deleted file mode 100644 index 1f1398a..0000000 --- a/dev-lang/perl/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - perl - - Enable Perl threads, has some compatibility pr= oblems - - diff --git a/dev-lang/perl/perl-5.12.4_rc2.ebuild b/dev-lang/perl/perl-5.= 12.4_rc2.ebuild deleted file mode 100644 index 9b21534..0000000 --- a/dev-lang/perl/perl-5.12.4_rc2.ebuild +++ /dev/null @@ -1,637 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.12.3-r1.ebuild,v= 1.7 2011/05/07 16:36:19 armin76 Exp $ - -EAPI=3D4 - -inherit eutils alternatives flag-o-matic toolchain-funcs multilib - -PATCH_VER=3D1 - -PERL_OLDVERSEN=3D"5.12.3 5.12.2 5.12.1 5.12.0" - -SHORT_PV=3D"${PV%.*}" -MY_P=3D"perl-${PV/_rc/-RC}" -MY_PV=3D"${PV%_rc*}" - -DESCRIPTION=3D"Larry Wall's Practical Extraction and Report Language" - -SRC_URI=3D" - mirror://cpan/src/${MY_P}.tar.bz2 - mirror://cpan/authors/id/L/LB/LBROCARD/${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" -# mirror://cpan/src/${MY_P}.tar.bz2 -# mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2 -HOMEPAGE=3D"http://www.perl.org/" - -LICENSE=3D"|| ( Artistic GPL-1 GPL-2 GPL-3 )" -SLOT=3D"0" -KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390= ~sh ~sparc ~x86 ~x86-fbsd" -IUSE=3D"berkdb build debug doc gdbm ithreads" - -COMMON_DEPEND=3D"berkdb? ( sys-libs/db ) - gdbm? ( >=3Dsys-libs/gdbm-1.8.3 ) - >=3Dsys-devel/libperl-5.10.1 - !!=3Dapp-admin/perl-cleaner-2.5" - -S=3D"${WORKDIR}/${MY_P}" - -dual_scripts() { - src_remove_dual_scripts perl-core/Archive-Tar 1.54 ptar pta= rdiff - src_remove_dual_scripts perl-core/Digest-SHA 5.47 shasum - src_remove_dual_scripts perl-core/CPAN 1.945.600 cpan - src_remove_dual_scripts perl-core/CPANPLUS 0.900.0 cpanp cp= an2dist cpanp-run-perl - src_remove_dual_scripts perl-core/Encode 2.39 enc2xs p= iconv - src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.56 instmods= h - src_remove_dual_scripts perl-core/Module-Build 0.3603 config_d= ata - src_remove_dual_scripts perl-core/Module-CoreList 2.500.0 corelist - src_remove_dual_scripts perl-core/PodParser 1.370.0 pod2usag= e podchecker podselect - src_remove_dual_scripts perl-core/Test-Harness 3.17 prove - src_remove_dual_scripts perl-core/podlators 2.3.1 pod2man = pod2text -} - -pkg_setup() { - case ${CHOST} in - *-freebsd*) osname=3D"freebsd" ;; - *-dragonfly*) osname=3D"dragonfly" ;; - *-netbsd*) osname=3D"netbsd" ;; - *-openbsd*) osname=3D"openbsd" ;; - *-darwin*) osname=3D"darwin" ;; - *) osname=3D"linux" ;; - esac - - if use ithreads ; then - mythreading=3D"-multi" - myarch=3D"${CHOST%%-*}-${osname}-thread" - else - myarch=3D"${CHOST%%-*}-${osname}" - fi - if use debug ; then - myarch=3D"${myarch}-debug" - fi - - LIBPERL=3D"libperl$(get_libname ${MY_PV} )" - PRIV_LIB=3D"/usr/$(get_libdir)/perl5/${MY_PV}" - ARCH_LIB=3D"/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}" - SITE_LIB=3D"/usr/$(get_libdir)/perl5/site_perl/${MY_PV}" - SITE_ARCH=3D"/usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${myt= hreading}" - VENDOR_LIB=3D"/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}" - VENDOR_ARCH=3D"/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}$= {mythreading}" - - if use ithreads ; then - echo "" - ewarn "THREADS WARNING:" - ewarn "PLEASE NOTE: You are compiling ${MY_P} with" - ewarn "interpreter-level threading enabled." - ewarn "Threading is not supported by all applications " - ewarn "that compile against perl. You use threading at " - ewarn "your own discretion. " - fi - if has_version " 2003.06.26 - use mips && myconf -Dd_u32align - - use sparc && myconf -Ud_longdbl - - # 266337 - export BUILD_BZIP2=3D0 - export BZIP2_INCLUDE=3D/usr/include - export BZIP2_LIB=3D/usr/$(get_libdir) - cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in" - BUILD_ZLIB =3D False - INCLUDE =3D /usr/include - LIB =3D /usr/$(get_libdir) - - OLD_ZLIB =3D False - GZIP_OS_CODE =3D AUTO_DETECT - EOF - - # allow either gdbm to provide ndbm (in ) or db1 - - myndbm=3D'U' - mygdbm=3D'U' - mydb=3D'U' - - if use gdbm ; then - mygdbm=3D'D' - myndbm=3D'D' - fi - if use berkdb ; then - mydb=3D'D' - has_version '=3Dsys-libs/db-1*' && myndbm=3D'D' - fi - - myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db" - - if use alpha && [[ "$(tc-getCC)" =3D "ccc" ]] ; then - ewarn "Perl will not be built with berkdb support, use gcc if you need= ed it..." - myconf -Ui_db -Ui_ndbm - fi - - use ithreads && myconf -Dusethreads - - if use debug ; then - append-cflags "-g" - myconf -DDEBUGGING - elif [[ ${CFLAGS} =3D=3D *-g* ]] ; then - myconf -DDEBUGGING=3D-g - else - myconf -DDEBUGGING=3Dnone - fi - - if [[ -n ${PERL_OLDVERSEN} ]] ; then - local inclist=3D$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarc= h}${mythreading} ${v} "; done ) - myconf -Dinc_version_list=3D"$inclist" - fi - - [[ ${ELIBC} =3D=3D "FreeBSD" ]] && myconf "-Dlibc=3D/usr/$(get_libdir)/= libc.a" - - if [[ $(get_libdir) !=3D "lib" ]] ; then - # We need to use " and not ', as the written config.sh use ' ... - myconf "-Dlibpth=3D/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_= libdir)" - fi - - sh Configure \ - -des \ - -Duseshrplib \ - -Darchname=3D"${myarch}" \ - -Dcc=3D"$(tc-getCC)" \ - -Doptimize=3D"${CFLAGS}" \ - -Dldflags=3D"${LDFLAGS}" \ - -Dprefix=3D'/usr' \ - -Dsiteprefix=3D'/usr' \ - -Dvendorprefix=3D'/usr' \ - -Dscriptdir=3D'/usr/bin' \ - -Dprivlib=3D"${PRIV_LIB}" \ - -Darchlib=3D"${ARCH_LIB}" \ - -Dsitelib=3D"${SITE_LIB}" \ - -Dsitearch=3D"${SITE_ARCH}" \ - -Dvendorlib=3D"${VENDOR_LIB}" \ - -Dvendorarch=3D"${VENDOR_ARCH}" \ - -Dman1dir=3D/usr/share/man/man1 \ - -Dman3dir=3D/usr/share/man/man3 \ - -Dsiteman1dir=3D/usr/share/man/man1 \ - -Dsiteman3dir=3D/usr/share/man/man3 \ - -Dvendorman1dir=3D/usr/share/man/man1 \ - -Dvendorman3dir=3D/usr/share/man/man3 \ - -Dman1ext=3D'1' \ - -Dman3ext=3D'3pm' \ - -Dlibperl=3D"${LIBPERL}" \ - -Dlocincpth=3D' ' \ - -Duselargefiles \ - -Dd_semctl_semun \ - -Dcf_by=3D'Gentoo' \ - -Dmyhostname=3D'localhost' \ - -Dperladmin=3D'root@localhost' \ - -Dinstallusrbinperl=3D'n' \ - -Ud_csh \ - -Uusenm \ - "${myconf[@]}" || die "Unable to configure" -} - -src_compile() { - # bug 331113 - emake -j1 || die "emake failed" -} - -src_test() { - if [[ ${EUID} =3D=3D 0 ]] ; then - ewarn "Test fails with a sandbox error (#328793) if run as root. Skipp= ing tests..." - return 0 - fi - use elibc_uclibc && export MAKEOPTS+=3D" -j1" - TEST_JOBS=3D$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs= =3D)([[:digit:]]+).*/\2/' ) \ - make test_harness || die "test failed" -} - -src_install() { - local i - local coredir=3D"${ARCH_LIB}/CORE" - -# # Fix for "stupid" modules and programs -# dodir ${SITE_ARCH} ${SITE_LIB} -# keepdir "${VENDOR_ARCH}" #338802 for enc2xs - - local installtarget=3Dinstall - if use build ; then - installtarget=3Dinstall.perl - fi - make DESTDIR=3D"${D}" ${installtarget} || die "Unable to make ${install= target}" - - rm -f "${D}"/usr/bin/perl - ln -s perl${MY_PV} "${D}"/usr/bin/perl - - dolib.so "${D}"/${coredir}/${LIBPERL} || die - dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) |= | die - dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname) || die - rm -f "${D}"/${coredir}/${LIBPERL} - dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL} - dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_l= ibname ${SHORT_PV}) - dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_l= ibname) - - rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pa= ges" - -# # A poor fix for the miniperl issues -# dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/= ExtUtils/xsubpp -# fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp -# dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp -# fperms 0755 /usr/bin/xsubpp - - # This removes ${D} from Config.pm - for i in $(find "${D}" -iname "Config.pm" ) ; do - einfo "Removing ${D} from ${i}..." - sed -i -e "s:${D}::" "${i}" || die "Sed failed" - done - - find "${D}" -type f -name .packlist -delete || die - - # Note: find out from psm why we would need/want this. - # ( use berkdb && has_version '=3Dsys-libs/db-1*' ) || - # find "${D}" -name "*NDBM*" | xargs rm -f - - dodoc Changes* README AUTHORS || die - - if use doc ; then - # HTML Documentation - # We expect errors, warnings, and such with the following. - - dodir /usr/share/doc/${PF}/html - LD_LIBRARY_PATH=3D. ./perl installhtml \ - --podroot=3D'.' \ - --podpath=3D'lib:ext:pod:vms' \ - --recurse \ - --htmldir=3D"${D}/usr/share/doc/${PF}/html" \ - --libpods=3D'perlfunc:perlguts:perlvar:perlrun:perlop' - fi - - if use build ; then - src_remove_extra_files - fi - - dual_scripts -} - -pkg_postinst() { - dual_scripts - - if [[ "${ROOT}" =3D "/" ]] ; then - local INC DIR file - INC=3D$(perl -e 'for $line (@INC) { next if $line eq "."; next if $lin= e =3D~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }') - einfo "Removing old .ph files" - for DIR in ${INC} ; do - if [[ -d "${DIR}" ]] ; then - for file in $(find "${DIR}" -name "*.ph" -type f ) ; do - rm -f "${file}" - einfo "<< ${file}" - done - fi - done - # Silently remove the now empty dirs - for DIR in ${INC} ; do - if [[ -d "${DIR}" ]] ; then - find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/nul= l - fi - done - if ! use build ; then - ebegin "Generating ConfigLocal.pm (ignore any error)" - enc2xs -C - fi - - einfo "Converting C header files to the corresponding Perl format (ign= ore any error)" - pushd /usr/include >/dev/null - h2ph -Q -a -d ${ARCH_LIB} \ - asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \ - sys/socket.h sys/time.h wait.h sysexits.h - popd >/dev/null - -# This has been moved into a function because rumor has it that a future= release -# of portage will allow us to check what version was just removed - whic= h means -# we will be able to invoke this only as needed :) - # Tried doing this via -z, but $INC is too big... - #if [[ "${INC}x" !=3D "x" ]]; then - # cleaner_msg - #fi - fi -} - -pkg_postrm(){ - dual_scripts - -# if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then -# ebegin "Removing ConfigLocal.pm" -# rm "${ARCH_LIB}/Encode/ConfigLocal.pm" -# fi -} - -cleaner_msg() { - eerror "You have had multiple versions of perl. It is recommended" - eerror "that you run perl-cleaner now. perl-cleaner will" - eerror "assist with this transition. This script is capable" - eerror "of cleaning out old .ph files, rebuilding modules for " - eerror "your new version of perl, as well as re-emerging" - eerror "applications that compiled against your old libperl$(get_libnam= e)" - eerror - eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT." - eerror "Part of the rebuilding of applications compiled against " - eerror "your old libperl involves temporarily unmerging" - eerror "them - interruptions could leave you with unmerged" - eerror "packages before they can be remerged." - eerror "" - eerror "If you have run perl-cleaner and a package still gives" - eerror "you trouble, and re-emerging it fails to correct" - eerror "the problem, please check http://bugs.gentoo.org/" - eerror "for more information or to report a bug." - eerror "" -} - -src_remove_dual_scripts() { - - local i pkg ver ff - pkg=3D"$1" - ver=3D"$2" - shift 2 - if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then - for i in "$@" ; do - alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*" - if [[ ${i} !=3D cpanp-run-perl ]] ; then - ff=3D`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*` - ff=3D${ff##*.1} - alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/sh= are/man/man1/${i}-[0-9]*" - fi - done - elif has "${EBUILD_PHASE:-none}" "setup" ; then - for i in "$@" ; do - if [[ -f ${ROOT}/usr/bin/${i} && ! -h ${ROOT}/usr/bin/${i} ]] ; then - has_version ${pkg} && ewarn "You must reinstall $pkg !" - break - fi - done - else - for i in "$@" ; do - if ! [[ -f "${D}"/usr/bin/${i} ]] ; then - use build || ewarn "/usr/bin/${i} does not exist!" - continue - fi - mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die - if [[ -f ${D}/usr/share/man/man1/${i}.1 ]] ; then - mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die - else - echo "/usr/share/man/man1/${i}.1 does not exist!" - fi - done - fi -} - -src_remove_extra_files() { - local prefix=3D"./usr" # ./ is important - local bindir=3D"${prefix}/bin" - local libdir=3D"${prefix}/$(get_libdir)" - - # I made this list from the Mandr*, Debian and ex-Connectiva perl-base = list - # Then, I added several files to get GNU autotools running - # FIXME: should this be in a separated file to be sourced? - local MINIMAL_PERL_INSTALL=3D" - ${bindir}/h2ph - ${bindir}/perl - ${bindir}/perl${MY_PV} - ${bindir}/pod2man - ${libdir}/${LIBPERL} - ${libdir}/libperl$(get_libname) - ${libdir}/libperl$(get_libname ${SHORT_PV}) - .${PRIV_LIB}/AutoLoader.pm - .${PRIV_LIB}/B/Deparse.pm - .${PRIV_LIB}/Carp.pm - .${PRIV_LIB}/Carp/Heavy.pm - .${PRIV_LIB}/Class/Struct.pm - .${PRIV_LIB}/DirHandle.pm - .${PRIV_LIB}/Exporter.pm - .${PRIV_LIB}/Exporter/Heavy.pm - .${PRIV_LIB}/ExtUtils/Command.pm - .${PRIV_LIB}/ExtUtils/Command/MM.pm - .${PRIV_LIB}/ExtUtils/Constant.pm - .${PRIV_LIB}/ExtUtils/Constant/Base.pm - .${PRIV_LIB}/ExtUtils/Constant/Utils.pm - .${PRIV_LIB}/ExtUtils/Constant/XS.pm - .${PRIV_LIB}/ExtUtils/Embed.pm - .${PRIV_LIB}/ExtUtils/Install.pm - .${PRIV_LIB}/ExtUtils/Installed.pm - .${PRIV_LIB}/ExtUtils/Liblist.pm - .${PRIV_LIB}/ExtUtils/Liblist/Kid.pm - .${PRIV_LIB}/ExtUtils/MM.pm - .${PRIV_LIB}/ExtUtils/MM_Any.pm - .${PRIV_LIB}/ExtUtils/MM_MacOS.pm - .${PRIV_LIB}/ExtUtils/MM_Unix.pm - .${PRIV_LIB}/ExtUtils/MY.pm - .${PRIV_LIB}/ExtUtils/MakeMaker.pm - .${PRIV_LIB}/ExtUtils/Manifest.pm - .${PRIV_LIB}/ExtUtils/Miniperl.pm - .${PRIV_LIB}/ExtUtils/Mkbootstrap.pm - .${PRIV_LIB}/ExtUtils/Mksymlists.pm - .${PRIV_LIB}/ExtUtils/Packlist.pm - .${PRIV_LIB}/ExtUtils/testlib.pm - .${PRIV_LIB}/File/Basename.pm - .${PRIV_LIB}/File/Compare.pm - .${PRIV_LIB}/File/Copy.pm - .${PRIV_LIB}/File/Find.pm - .${PRIV_LIB}/File/Path.pm - .${PRIV_LIB}/File/stat.pm - .${PRIV_LIB}/FileHandle.pm - .${PRIV_LIB}/Getopt/Long.pm - .${PRIV_LIB}/Getopt/Std.pm - .${PRIV_LIB}/IPC/Open2.pm - .${PRIV_LIB}/IPC/Open3.pm - .${PRIV_LIB}/PerlIO.pm - .${PRIV_LIB}/Pod/InputObjects.pm - .${PRIV_LIB}/Pod/Man.pm - .${PRIV_LIB}/Pod/ParseLink.pm - .${PRIV_LIB}/Pod/Parser.pm - .${PRIV_LIB}/Pod/Select.pm - .${PRIV_LIB}/Pod/Text.pm - .${PRIV_LIB}/Pod/Usage.pm - .${PRIV_LIB}/SelectSaver.pm - .${PRIV_LIB}/Symbol.pm - .${PRIV_LIB}/Text/ParseWords.pm - .${PRIV_LIB}/Text/Tabs.pm - .${PRIV_LIB}/Text/Wrap.pm - .${PRIV_LIB}/Tie/Hash.pm - .${PRIV_LIB}/Time/Local.pm - .${PRIV_LIB}/XSLoader.pm - .${PRIV_LIB}/autouse.pm - .${PRIV_LIB}/base.pm - .${PRIV_LIB}/bigint.pm - .${PRIV_LIB}/bignum.pm - .${PRIV_LIB}/bigrat.pm - .${PRIV_LIB}/blib.pm - .${PRIV_LIB}/bytes.pm - .${PRIV_LIB}/bytes_heavy.pl - .${PRIV_LIB}/charnames.pm - .${PRIV_LIB}/constant.pm - .${PRIV_LIB}/diagnostics.pm - .${PRIV_LIB}/fields.pm - .${PRIV_LIB}/filetest.pm - .${PRIV_LIB}/if.pm - .${PRIV_LIB}/integer.pm - .${PRIV_LIB}/less.pm - .${PRIV_LIB}/locale.pm - .${PRIV_LIB}/open.pm - .${PRIV_LIB}/overload.pm - .${PRIV_LIB}/sigtrap.pm - .${PRIV_LIB}/sort.pm - .${PRIV_LIB}/stat.pl - .${PRIV_LIB}/strict.pm - .${PRIV_LIB}/subs.pm - .${PRIV_LIB}/unicore/To/Fold.pl - .${PRIV_LIB}/unicore/To/Lower.pl - .${PRIV_LIB}/unicore/To/Upper.pl - .${PRIV_LIB}/utf8.pm - .${PRIV_LIB}/utf8_heavy.pl - .${PRIV_LIB}/vars.pm - .${PRIV_LIB}/vmsish.pm - .${PRIV_LIB}/warnings - .${PRIV_LIB}/warnings.pm - .${PRIV_LIB}/warnings/register.pm - .${ARCH_LIB}/B.pm - .${ARCH_LIB}/CORE/libperl$(get_libname) - .${ARCH_LIB}/Config.pm - .${ARCH_LIB}/Config_heavy.pl - .${ARCH_LIB}/Cwd.pm - .${ARCH_LIB}/Data/Dumper.pm - .${ARCH_LIB}/DynaLoader.pm - .${ARCH_LIB}/Errno.pm - .${ARCH_LIB}/Fcntl.pm - .${ARCH_LIB}/File/Glob.pm - .${ARCH_LIB}/File/Spec.pm - .${ARCH_LIB}/File/Spec/Unix.pm - .${ARCH_LIB}/IO.pm - .${ARCH_LIB}/IO/File.pm - .${ARCH_LIB}/IO/Handle.pm - .${ARCH_LIB}/IO/Pipe.pm - .${ARCH_LIB}/IO/Seekable.pm - .${ARCH_LIB}/IO/Select.pm - .${ARCH_LIB}/IO/Socket.pm - .${ARCH_LIB}/IO/Socket/INET.pm - .${ARCH_LIB}/IO/Socket/UNIX.pm - .${ARCH_LIB}/List/Util.pm - .${ARCH_LIB}/NDBM_File.pm - .${ARCH_LIB}/POSIX.pm - .${ARCH_LIB}/Scalar/Util.pm - .${ARCH_LIB}/Socket.pm - .${ARCH_LIB}/Storable.pm - .${ARCH_LIB}/attributes.pm - .${ARCH_LIB}/auto/Cwd/Cwd$(get_libname) - .${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname) - .${ARCH_LIB}/auto/DynaLoader/dl_findfile.al - .${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname) - .${ARCH_LIB}/auto/File/Glob/Glob$(get_libname) - .${ARCH_LIB}/auto/IO/IO$(get_libname) - .${ARCH_LIB}/auto/POSIX/POSIX$(get_libname) - .${ARCH_LIB}/auto/POSIX/autosplit.ix - .${ARCH_LIB}/auto/POSIX/fstat.al - .${ARCH_LIB}/auto/POSIX/load_imports.al - .${ARCH_LIB}/auto/POSIX/stat.al - .${ARCH_LIB}/auto/POSIX/tmpfile.al - .${ARCH_LIB}/auto/Socket/Socket$(get_libname) - .${ARCH_LIB}/auto/Storable/Storable$(get_libname) - .${ARCH_LIB}/auto/Storable/_retrieve.al - .${ARCH_LIB}/auto/Storable/_store.al - .${ARCH_LIB}/auto/Storable/autosplit.ix - .${ARCH_LIB}/auto/Storable/retrieve.al - .${ARCH_LIB}/auto/Storable/store.al - .${ARCH_LIB}/auto/re/re$(get_libname) - .${ARCH_LIB}/encoding.pm - .${ARCH_LIB}/lib.pm - .${ARCH_LIB}/ops.pm - .${ARCH_LIB}/re.pm - .${ARCH_LIB}/threads.pm -" - - pushd "${D}" > /dev/null - # Remove cruft - einfo "Removing files that are not in the minimal install" - echo "${MINIMAL_PERL_INSTALL}" - for f in $(find . -type f ) ; do - has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}" - done - # Remove empty directories - find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null - #for f in ${MINIMAL_PERL_INSTALL} ; do - # [[ -e $f ]] || ewarn "$f unused in MINIMAL_PERL_INSTALL" - #done - popd > /dev/null -} diff --git a/dev-lang/perl/perl-5.14.0.ebuild b/dev-lang/perl/perl-5.14.0= .ebuild deleted file mode 100644 index e018343..0000000 --- a/dev-lang/perl/perl-5.14.0.ebuild +++ /dev/null @@ -1,633 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.12.3.ebuild,v 1.= 2 2011/03/07 11:35:06 tove Exp $ - -EAPI=3D4 - -inherit eutils alternatives flag-o-matic toolchain-funcs multilib - -PATCH_VER=3D1 - -PERL_OLDVERSEN=3D"" -MODULE_AUTHOR=3DJESSE - -SHORT_PV=3D"${PV%.*}" -MY_P=3D"perl-${PV/_rc/-RC}" -MY_PV=3D"${PV%_rc*}" - -DESCRIPTION=3D"Larry Wall's Practical Extraction and Report Language" - -SRC_URI=3D" - mirror://cpan/src/${MY_P}.tar.bz2 - mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MO= DULE_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" -# mirror://cpan/src/${MY_P}.tar.bz2 -# mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2 -HOMEPAGE=3D"http://www.perl.org/" - -LICENSE=3D"|| ( Artistic GPL-1 GPL-2 GPL-3 )" -SLOT=3D"0" -KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390= ~sh ~sparc ~x86 ~x86-fbsd" -IUSE=3D"berkdb build debug doc gdbm ithreads" - -COMMON_DEPEND=3D" - berkdb? ( sys-libs/db ) - gdbm? ( >=3Dsys-libs/gdbm-1.8.3 ) - app-arch/bzip2 - sys-libs/zlib -" -DEPEND=3D"${COMMON_DEPEND} - elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) -" -RDEPEND=3D"${COMMON_DEPEND} - !sys-devel/libperl -" -PDEPEND=3D">=3Dapp-admin/perl-cleaner-2.5" - -S=3D"${WORKDIR}/${MY_P}" - -dual_scripts() { - src_remove_dual_scripts perl-core/Archive-Tar 1.760.0 ptar = ptardiff ptargrep - src_remove_dual_scripts perl-core/Digest-SHA 5.610.0 shasu= m - src_remove_dual_scripts perl-core/CPAN 1.960.0 cpan - src_remove_dual_scripts perl-core/CPANPLUS 0.910.300 cpanp= cpan2dist cpanp-run-perl - src_remove_dual_scripts perl-core/Encode 2.420.0 enc2x= s piconv - src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.570.500_rc instm= odsh - src_remove_dual_scripts perl-core/JSON-PP 2.271.50 json_= pp - src_remove_dual_scripts perl-core/Module-Build 0.380.0 confi= g_data - src_remove_dual_scripts perl-core/Module-CoreList 2.490.0 corel= ist - src_remove_dual_scripts perl-core/PodParser 1.370.0 pod2u= sage podchecker podselect - src_remove_dual_scripts perl-core/Test-Harness 3.230.0 prove - src_remove_dual_scripts perl-core/podlators 2.4.0 pod2m= an pod2text -} - -pkg_setup() { - case ${CHOST} in - *-freebsd*) osname=3D"freebsd" ;; - *-dragonfly*) osname=3D"dragonfly" ;; - *-netbsd*) osname=3D"netbsd" ;; - *-openbsd*) osname=3D"openbsd" ;; - *-darwin*) osname=3D"darwin" ;; - *) osname=3D"linux" ;; - esac - - if use ithreads ; then - mythreading=3D"-multi" - myarch=3D"${CHOST%%-*}-${osname}-thread" - else - myarch=3D"${CHOST%%-*}-${osname}" - fi - if use debug ; then - myarch=3D"${myarch}-debug" - fi - - LIBPERL=3D"libperl$(get_libname ${MY_PV} )" - PRIV_LIB=3D"/usr/$(get_libdir)/perl5/${MY_PV}" - ARCH_LIB=3D"/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}" - SITE_LIB=3D"/usr/local/$(get_libdir)/perl5/${MY_PV}" - SITE_ARCH=3D"/usr/local/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythrea= ding}" - VENDOR_LIB=3D"/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}" - VENDOR_ARCH=3D"/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}$= {mythreading}" - - if use ithreads ; then - echo "" - ewarn "THREADS WARNING:" - ewarn "PLEASE NOTE: You are compiling ${MY_P} with" - ewarn "interpreter-level threading enabled." - ewarn "Threading is not supported by all applications " - ewarn "that compile against perl. You use threading at " - ewarn "your own discretion. " - fi - if has_version " 2003.06.26 - use mips && myconf -Dd_u32align - - use sparc && myconf -Ud_longdbl - - # 266337 - export BUILD_BZIP2=3D0 - export BZIP2_INCLUDE=3D/usr/include - export BZIP2_LIB=3D/usr/$(get_libdir) - cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in" - BUILD_ZLIB =3D False - INCLUDE =3D /usr/include - LIB =3D /usr/$(get_libdir) - - OLD_ZLIB =3D False - GZIP_OS_CODE =3D AUTO_DETECT - EOF - - # allow either gdbm to provide ndbm (in ) or db1 - - myndbm=3D'U' - mygdbm=3D'U' - mydb=3D'U' - - if use gdbm ; then - mygdbm=3D'D' - myndbm=3D'D' - fi - if use berkdb ; then - mydb=3D'D' - has_version '=3Dsys-libs/db-1*' && myndbm=3D'D' - fi - - myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db" - - if use alpha && [[ "$(tc-getCC)" =3D "ccc" ]] ; then - ewarn "Perl will not be built with berkdb support, use gcc if you need= ed it..." - myconf -Ui_db -Ui_ndbm - fi - - use ithreads && myconf -Dusethreads - - if use debug ; then - append-cflags "-g" - myconf -DDEBUGGING - elif [[ ${CFLAGS} =3D=3D *-g* ]] ; then - myconf -DDEBUGGING=3D-g - else - myconf -DDEBUGGING=3Dnone - fi - - if [[ -n ${PERL_OLDVERSEN} ]] ; then - local inclist=3D$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarc= h}${mythreading} ${v} "; done ) - myconf -Dinc_version_list=3D"$inclist" - fi - - [[ ${ELIBC} =3D=3D "FreeBSD" ]] && myconf "-Dlibc=3D/usr/$(get_libdir)/= libc.a" - - if [[ $(get_libdir) !=3D "lib" ]] ; then - # We need to use " and not ', as the written config.sh use ' ... - myconf "-Dlibpth=3D/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_= libdir)" - fi - - sh Configure \ - -des \ - -Duseshrplib \ - -Darchname=3D"${myarch}" \ - -Dcc=3D"$(tc-getCC)" \ - -Doptimize=3D"${CFLAGS}" \ - -Dldflags=3D"${LDFLAGS}" \ - -Dprefix=3D'/usr' \ - -Dsiteprefix=3D'/usr' \ - -Dvendorprefix=3D'/usr' \ - -Dscriptdir=3D'/usr/bin' \ - -Dprivlib=3D"${PRIV_LIB}" \ - -Darchlib=3D"${ARCH_LIB}" \ - -Dsitelib=3D"${SITE_LIB}" \ - -Dsitearch=3D"${SITE_ARCH}" \ - -Dvendorlib=3D"${VENDOR_LIB}" \ - -Dvendorarch=3D"${VENDOR_ARCH}" \ - -Dman1dir=3D/usr/share/man/man1 \ - -Dman3dir=3D/usr/share/man/man3 \ - -Dsiteman1dir=3D/usr/share/man/man1 \ - -Dsiteman3dir=3D/usr/share/man/man3 \ - -Dvendorman1dir=3D/usr/share/man/man1 \ - -Dvendorman3dir=3D/usr/share/man/man3 \ - -Dman1ext=3D'1' \ - -Dman3ext=3D'3pm' \ - -Dlibperl=3D"${LIBPERL}" \ - -Dlocincpth=3D' ' \ - -Duselargefiles \ - -Dd_semctl_semun \ - -Dcf_by=3D'Gentoo' \ - -Dmyhostname=3D'localhost' \ - -Dperladmin=3D'root@localhost' \ - -Dinstallusrbinperl=3D'n' \ - -Ud_csh \ - -Uusenm \ - "${myconf[@]}" || die "Unable to configure" -} - -src_test() { - if [[ ${EUID} =3D=3D 0 ]] ; then - ewarn "Test fails with a sandbox error (#328793) if run as root. Skipp= ing tests..." - return 0 - fi - use elibc_uclibc && export MAKEOPTS+=3D" -j1" - TEST_JOBS=3D$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs= =3D)([[:digit:]]+).*/\2/' ) \ - make test_harness || die "test failed" -} - -src_install() { - local i - local coredir=3D"${ARCH_LIB}/CORE" - - local installtarget=3Dinstall - if use build ; then - installtarget=3Dinstall.perl - fi - emake DESTDIR=3D"${D}" ${installtarget} - - rm -f "${D}"/usr/bin/perl - ln -s perl${MY_PV} "${D}"/usr/bin/perl || die - - dolib.so "${D}"${coredir}/${LIBPERL} - rm -f "${D}"${coredir}/${LIBPERL} - ln -sf ${LIBPERL} "${D}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT= _PV}) || die - ln -sf ${LIBPERL} "${D}"/usr/$(get_libdir)/libperl$(get_libname) || die - ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/${LIBPE= RL} || die - ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/libperl= $(get_libname ${SHORT_PV}) || die - ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/libperl= $(get_libname) || die - - rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pa= ges" - -# # A poor fix for the miniperl issues -# dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/= ExtUtils/xsubpp -# fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp -# dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp -# fperms 0755 /usr/bin/xsubpp - - # This removes ${D} from Config.pm - for i in $(find "${D}" -iname "Config.pm" ) ; do - einfo "Removing ${D} from ${i}..." - sed -i -e "s:${D}::" "${i}" || die "Sed failed" - done - - find "${D}" -type f -name .packlist -delete || die - - # Note: find out from psm why we would need/want this. - # ( use berkdb && has_version '=3Dsys-libs/db-1*' ) || - # find "${D}" -name "*NDBM*" | xargs rm -f - - dodoc Changes* README AUTHORS - - if use doc ; then - # HTML Documentation - # We expect errors, warnings, and such with the following. - - dodir /usr/share/doc/${PF}/html - LD_LIBRARY_PATH=3D. ./perl installhtml \ - --podroot=3D'.' \ - --podpath=3D'lib:ext:pod:vms' \ - --recurse \ - --htmldir=3D"${D}/usr/share/doc/${PF}/html" \ - --libpods=3D'perlfunc:perlguts:perlvar:perlrun:perlop' - fi - - if use build ; then - src_remove_extra_files - fi - - dual_scripts -} - -pkg_postinst() { - dual_scripts - - if [[ "${ROOT}" =3D "/" ]] ; then - local INC DIR file - INC=3D$(perl -e 'for $line (@INC) { next if $line eq "."; next if $lin= e =3D~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }') - einfo "Removing old .ph files" - for DIR in ${INC} ; do - if [[ -d "${DIR}" ]] ; then - for file in $(find "${DIR}" -name "*.ph" -type f ) ; do - rm -f "${file}" - einfo "<< ${file}" - done - fi - done - # Silently remove the now empty dirs - for DIR in ${INC} ; do - if [[ -d "${DIR}" ]] ; then - find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/nul= l - fi - done -# if ! use build ; then -# ebegin "Generating ConfigLocal.pm (ignore any error)" -# enc2xs -C -# fi - - einfo "Converting C header files to the corresponding Perl format (ign= ore any error)" - pushd /usr/include >/dev/null - h2ph -Q -a -d ${ARCH_LIB} \ - asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \ - sys/socket.h sys/time.h wait.h sysexits.h - popd >/dev/null - -# This has been moved into a function because rumor has it that a future= release -# of portage will allow us to check what version was just removed - whic= h means -# we will be able to invoke this only as needed :) - # Tried doing this via -z, but $INC is too big... - #if [[ "${INC}x" !=3D "x" ]]; then - # cleaner_msg - #fi - fi -} - -pkg_postrm(){ - dual_scripts - -# if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then -# ebegin "Removing ConfigLocal.pm" -# rm "${ARCH_LIB}/Encode/ConfigLocal.pm" -# fi -} - -cleaner_msg() { - eerror "You have had multiple versions of perl. It is recommended" - eerror "that you run perl-cleaner now. perl-cleaner will" - eerror "assist with this transition. This script is capable" - eerror "of cleaning out old .ph files, rebuilding modules for " - eerror "your new version of perl, as well as re-emerging" - eerror "applications that compiled against your old libperl$(get_libnam= e)" - eerror - eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT." - eerror "Part of the rebuilding of applications compiled against " - eerror "your old libperl involves temporarily unmerging" - eerror "them - interruptions could leave you with unmerged" - eerror "packages before they can be remerged." - eerror "" - eerror "If you have run perl-cleaner and a package still gives" - eerror "you trouble, and re-emerging it fails to correct" - eerror "the problem, please check http://bugs.gentoo.org/" - eerror "for more information or to report a bug." - eerror "" -} - -src_remove_dual_scripts() { - - local i pkg ver ff - pkg=3D"$1" - ver=3D"$2" - shift 2 - if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then - for i in "$@" ; do - alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*" - if [[ ${i} !=3D cpanp-run-perl ]] ; then - ff=3D`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*` - ff=3D${ff##*.1} - alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/sh= are/man/man1/${i}-[0-9]*" - fi - done - elif has "${EBUILD_PHASE:-none}" "setup" ; then - for i in "$@" ; do - if [[ -f ${ROOT}/usr/bin/${i} && ! -h ${ROOT}/usr/bin/${i} ]] ; then - has_version ${pkg} && ewarn "You must reinstall $pkg !" - break - fi - done - else - for i in "$@" ; do - if ! [[ -f "${D}"/usr/bin/${i} ]] ; then - use build || ewarn "/usr/bin/${i} does not exist!" - continue - fi - mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die - if [[ -f ${D}/usr/share/man/man1/${i}.1 ]] ; then - mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die - else - echo "/usr/share/man/man1/${i}.1 does not exist!" - fi - done - fi -} - -src_remove_extra_files() { - local prefix=3D"./usr" # ./ is important - local bindir=3D"${prefix}/bin" - local libdir=3D"${prefix}/$(get_libdir)" - - # I made this list from the Mandr*, Debian and ex-Connectiva perl-base = list - # Then, I added several files to get GNU autotools running - # FIXME: should this be in a separated file to be sourced? - local MINIMAL_PERL_INSTALL=3D" - ${bindir}/h2ph - ${bindir}/perl - ${bindir}/perl${MY_PV} - ${bindir}/pod2man - ${libdir}/${LIBPERL} - ${libdir}/libperl$(get_libname) - ${libdir}/libperl$(get_libname ${SHORT_PV}) - .${PRIV_LIB}/AutoLoader.pm - .${PRIV_LIB}/B/Deparse.pm - .${PRIV_LIB}/Carp.pm - .${PRIV_LIB}/Carp/Heavy.pm - .${PRIV_LIB}/Class/Struct.pm - .${PRIV_LIB}/DirHandle.pm - .${PRIV_LIB}/Exporter.pm - .${PRIV_LIB}/Exporter/Heavy.pm - .${PRIV_LIB}/ExtUtils/Command.pm - .${PRIV_LIB}/ExtUtils/Command/MM.pm - .${PRIV_LIB}/ExtUtils/Constant.pm - .${PRIV_LIB}/ExtUtils/Constant/Base.pm - .${PRIV_LIB}/ExtUtils/Constant/Utils.pm - .${PRIV_LIB}/ExtUtils/Constant/XS.pm - .${PRIV_LIB}/ExtUtils/Embed.pm - .${PRIV_LIB}/ExtUtils/Install.pm - .${PRIV_LIB}/ExtUtils/Installed.pm - .${PRIV_LIB}/ExtUtils/Liblist.pm - .${PRIV_LIB}/ExtUtils/Liblist/Kid.pm - .${PRIV_LIB}/ExtUtils/MM.pm - .${PRIV_LIB}/ExtUtils/MM_Any.pm - .${PRIV_LIB}/ExtUtils/MM_MacOS.pm - .${PRIV_LIB}/ExtUtils/MM_Unix.pm - .${PRIV_LIB}/ExtUtils/MY.pm - .${PRIV_LIB}/ExtUtils/MakeMaker.pm - .${PRIV_LIB}/ExtUtils/Manifest.pm - .${PRIV_LIB}/ExtUtils/Miniperl.pm - .${PRIV_LIB}/ExtUtils/Mkbootstrap.pm - .${PRIV_LIB}/ExtUtils/Mksymlists.pm - .${PRIV_LIB}/ExtUtils/Packlist.pm - .${PRIV_LIB}/ExtUtils/testlib.pm - .${PRIV_LIB}/File/Basename.pm - .${PRIV_LIB}/File/Compare.pm - .${PRIV_LIB}/File/Copy.pm - .${PRIV_LIB}/File/Find.pm - .${PRIV_LIB}/File/Path.pm - .${PRIV_LIB}/File/stat.pm - .${PRIV_LIB}/FileHandle.pm - .${PRIV_LIB}/Getopt/Long.pm - .${PRIV_LIB}/Getopt/Std.pm - .${PRIV_LIB}/IPC/Open2.pm - .${PRIV_LIB}/IPC/Open3.pm - .${PRIV_LIB}/PerlIO.pm - .${PRIV_LIB}/Pod/InputObjects.pm - .${PRIV_LIB}/Pod/Man.pm - .${PRIV_LIB}/Pod/ParseLink.pm - .${PRIV_LIB}/Pod/Parser.pm - .${PRIV_LIB}/Pod/Select.pm - .${PRIV_LIB}/Pod/Text.pm - .${PRIV_LIB}/Pod/Usage.pm - .${PRIV_LIB}/SelectSaver.pm - .${PRIV_LIB}/Symbol.pm - .${PRIV_LIB}/Text/ParseWords.pm - .${PRIV_LIB}/Text/Tabs.pm - .${PRIV_LIB}/Text/Wrap.pm - .${PRIV_LIB}/Tie/Hash.pm - .${PRIV_LIB}/Time/Local.pm - .${PRIV_LIB}/XSLoader.pm - .${PRIV_LIB}/autouse.pm - .${PRIV_LIB}/base.pm - .${PRIV_LIB}/bigint.pm - .${PRIV_LIB}/bignum.pm - .${PRIV_LIB}/bigrat.pm - .${PRIV_LIB}/blib.pm - .${PRIV_LIB}/bytes.pm - .${PRIV_LIB}/bytes_heavy.pl - .${PRIV_LIB}/charnames.pm - .${PRIV_LIB}/constant.pm - .${PRIV_LIB}/diagnostics.pm - .${PRIV_LIB}/fields.pm - .${PRIV_LIB}/filetest.pm - .${PRIV_LIB}/if.pm - .${PRIV_LIB}/integer.pm - .${PRIV_LIB}/less.pm - .${PRIV_LIB}/locale.pm - .${PRIV_LIB}/open.pm - .${PRIV_LIB}/overload.pm - .${PRIV_LIB}/sigtrap.pm - .${PRIV_LIB}/sort.pm - .${PRIV_LIB}/stat.pl - .${PRIV_LIB}/strict.pm - .${PRIV_LIB}/subs.pm - .${PRIV_LIB}/unicore/To/Fold.pl - .${PRIV_LIB}/unicore/To/Lower.pl - .${PRIV_LIB}/unicore/To/Upper.pl - .${PRIV_LIB}/utf8.pm - .${PRIV_LIB}/utf8_heavy.pl - .${PRIV_LIB}/vars.pm - .${PRIV_LIB}/vmsish.pm - .${PRIV_LIB}/warnings - .${PRIV_LIB}/warnings.pm - .${PRIV_LIB}/warnings/register.pm - .${ARCH_LIB}/B.pm - .${ARCH_LIB}/CORE/libperl$(get_libname) - .${ARCH_LIB}/Config.pm - .${ARCH_LIB}/Config_heavy.pl - .${ARCH_LIB}/Cwd.pm - .${ARCH_LIB}/Data/Dumper.pm - .${ARCH_LIB}/DynaLoader.pm - .${ARCH_LIB}/Errno.pm - .${ARCH_LIB}/Fcntl.pm - .${ARCH_LIB}/File/Glob.pm - .${ARCH_LIB}/File/Spec.pm - .${ARCH_LIB}/File/Spec/Unix.pm - .${ARCH_LIB}/IO.pm - .${ARCH_LIB}/IO/File.pm - .${ARCH_LIB}/IO/Handle.pm - .${ARCH_LIB}/IO/Pipe.pm - .${ARCH_LIB}/IO/Seekable.pm - .${ARCH_LIB}/IO/Select.pm - .${ARCH_LIB}/IO/Socket.pm - .${ARCH_LIB}/IO/Socket/INET.pm - .${ARCH_LIB}/IO/Socket/UNIX.pm - .${ARCH_LIB}/List/Util.pm - .${ARCH_LIB}/NDBM_File.pm - .${ARCH_LIB}/POSIX.pm - .${ARCH_LIB}/Scalar/Util.pm - .${ARCH_LIB}/Socket.pm - .${ARCH_LIB}/Storable.pm - .${ARCH_LIB}/attributes.pm - .${ARCH_LIB}/auto/Cwd/Cwd$(get_libname) - .${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname) - .${ARCH_LIB}/auto/DynaLoader/dl_findfile.al - .${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname) - .${ARCH_LIB}/auto/File/Glob/Glob$(get_libname) - .${ARCH_LIB}/auto/IO/IO$(get_libname) - .${ARCH_LIB}/auto/POSIX/POSIX$(get_libname) - .${ARCH_LIB}/auto/POSIX/autosplit.ix - .${ARCH_LIB}/auto/POSIX/fstat.al - .${ARCH_LIB}/auto/POSIX/load_imports.al - .${ARCH_LIB}/auto/POSIX/stat.al - .${ARCH_LIB}/auto/POSIX/tmpfile.al - .${ARCH_LIB}/auto/Socket/Socket$(get_libname) - .${ARCH_LIB}/auto/Storable/Storable$(get_libname) - .${ARCH_LIB}/auto/Storable/_retrieve.al - .${ARCH_LIB}/auto/Storable/_store.al - .${ARCH_LIB}/auto/Storable/autosplit.ix - .${ARCH_LIB}/auto/Storable/retrieve.al - .${ARCH_LIB}/auto/Storable/store.al - .${ARCH_LIB}/auto/re/re$(get_libname) - .${ARCH_LIB}/encoding.pm - .${ARCH_LIB}/lib.pm - .${ARCH_LIB}/ops.pm - .${ARCH_LIB}/re.pm - .${ARCH_LIB}/threads.pm -" - - pushd "${D}" > /dev/null - # Remove cruft - einfo "Removing files that are not in the minimal install" - echo "${MINIMAL_PERL_INSTALL}" - for f in $(find . -type f ) ; do - has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}" - done - # Remove empty directories - find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null - #for f in ${MINIMAL_PERL_INSTALL} ; do - # [[ -e $f ]] || ewarn "$f unused in MINIMAL_PERL_INSTALL" - #done - popd > /dev/null -} diff --git a/dev-lang/perl/perl-5.14.1.ebuild b/dev-lang/perl/perl-5.14.1= .ebuild deleted file mode 100644 index ab16cbd..0000000 --- a/dev-lang/perl/perl-5.14.1.ebuild +++ /dev/null @@ -1,632 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.12.3.ebuild,v 1.= 2 2011/03/07 11:35:06 tove Exp $ - -EAPI=3D4 - -inherit eutils alternatives flag-o-matic toolchain-funcs multilib - -PATCH_VER=3D1 - -PERL_OLDVERSEN=3D"5.14.0" -MODULE_AUTHOR=3DJESSE - -SHORT_PV=3D"${PV%.*}" -MY_P=3D"perl-${PV/_rc/-RC}" -MY_PV=3D"${PV%_rc*}" - -DESCRIPTION=3D"Larry Wall's Practical Extraction and Report Language" - -SRC_URI=3D" - mirror://cpan/src/${MY_P}.tar.bz2 - mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MO= DULE_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" -# mirror://cpan/src/${MY_P}.tar.bz2 -# mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2 -HOMEPAGE=3D"http://www.perl.org/" - -LICENSE=3D"|| ( Artistic GPL-1 GPL-2 GPL-3 )" -SLOT=3D"0" -KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390= ~sh ~sparc ~x86 ~x86-fbsd" -IUSE=3D"berkdb build debug doc gdbm ithreads" - -COMMON_DEPEND=3D" - berkdb? ( sys-libs/db ) - gdbm? ( >=3Dsys-libs/gdbm-1.8.3 ) - app-arch/bzip2 - sys-libs/zlib -" -DEPEND=3D"${COMMON_DEPEND} - elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) -" -RDEPEND=3D"${COMMON_DEPEND} -" -PDEPEND=3D">=3Dapp-admin/perl-cleaner-2.5" - -S=3D"${WORKDIR}/${MY_P}" - -dual_scripts() { - src_remove_dual_scripts perl-core/Archive-Tar 1.760.0 ptar = ptardiff ptargrep - src_remove_dual_scripts perl-core/Digest-SHA 5.610.0 shasu= m - src_remove_dual_scripts perl-core/CPAN 1.960.0 cpan - src_remove_dual_scripts perl-core/CPANPLUS 0.910.300 cpanp= cpan2dist cpanp-run-perl - src_remove_dual_scripts perl-core/Encode 2.420.0 enc2x= s piconv - src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.570.500_rc instm= odsh - src_remove_dual_scripts perl-core/JSON-PP 2.271.50 json_= pp - src_remove_dual_scripts perl-core/Module-Build 0.380.0 confi= g_data - src_remove_dual_scripts perl-core/Module-CoreList 2.490.0 corel= ist - src_remove_dual_scripts perl-core/PodParser 1.370.0 pod2u= sage podchecker podselect - src_remove_dual_scripts perl-core/Test-Harness 3.230.0 prove - src_remove_dual_scripts perl-core/podlators 2.4.0 pod2m= an pod2text -} - -pkg_setup() { - case ${CHOST} in - *-freebsd*) osname=3D"freebsd" ;; - *-dragonfly*) osname=3D"dragonfly" ;; - *-netbsd*) osname=3D"netbsd" ;; - *-openbsd*) osname=3D"openbsd" ;; - *-darwin*) osname=3D"darwin" ;; - *) osname=3D"linux" ;; - esac - - if use ithreads ; then - mythreading=3D"-multi" - myarch=3D"${CHOST%%-*}-${osname}-thread" - else - myarch=3D"${CHOST%%-*}-${osname}" - fi - if use debug ; then - myarch=3D"${myarch}-debug" - fi - - LIBPERL=3D"libperl$(get_libname ${MY_PV} )" - PRIV_LIB=3D"/usr/$(get_libdir)/perl5/${MY_PV}" - ARCH_LIB=3D"/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}" - SITE_LIB=3D"/usr/local/$(get_libdir)/perl5/${MY_PV}" - SITE_ARCH=3D"/usr/local/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythrea= ding}" - VENDOR_LIB=3D"/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}" - VENDOR_ARCH=3D"/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}$= {mythreading}" - - if use ithreads ; then - echo "" - ewarn "THREADS WARNING:" - ewarn "PLEASE NOTE: You are compiling ${MY_P} with" - ewarn "interpreter-level threading enabled." - ewarn "Threading is not supported by all applications " - ewarn "that compile against perl. You use threading at " - ewarn "your own discretion. " - fi - if has_version " 2003.06.26 - use mips && myconf -Dd_u32align - - use sparc && myconf -Ud_longdbl - - # 266337 - export BUILD_BZIP2=3D0 - export BZIP2_INCLUDE=3D/usr/include - export BZIP2_LIB=3D/usr/$(get_libdir) - cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in" - BUILD_ZLIB =3D False - INCLUDE =3D /usr/include - LIB =3D /usr/$(get_libdir) - - OLD_ZLIB =3D False - GZIP_OS_CODE =3D AUTO_DETECT - EOF - - # allow either gdbm to provide ndbm (in ) or db1 - - myndbm=3D'U' - mygdbm=3D'U' - mydb=3D'U' - - if use gdbm ; then - mygdbm=3D'D' - myndbm=3D'D' - fi - if use berkdb ; then - mydb=3D'D' - has_version '=3Dsys-libs/db-1*' && myndbm=3D'D' - fi - - myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db" - - if use alpha && [[ "$(tc-getCC)" =3D "ccc" ]] ; then - ewarn "Perl will not be built with berkdb support, use gcc if you need= ed it..." - myconf -Ui_db -Ui_ndbm - fi - - use ithreads && myconf -Dusethreads - - if use debug ; then - append-cflags "-g" - myconf -DDEBUGGING - elif [[ ${CFLAGS} =3D=3D *-g* ]] ; then - myconf -DDEBUGGING=3D-g - else - myconf -DDEBUGGING=3Dnone - fi - - if [[ -n ${PERL_OLDVERSEN} ]] ; then - local inclist=3D$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarc= h}${mythreading} ${v} "; done ) - myconf -Dinc_version_list=3D"$inclist" - fi - - [[ ${ELIBC} =3D=3D "FreeBSD" ]] && myconf "-Dlibc=3D/usr/$(get_libdir)/= libc.a" - - if [[ $(get_libdir) !=3D "lib" ]] ; then - # We need to use " and not ', as the written config.sh use ' ... - myconf "-Dlibpth=3D/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_= libdir)" - fi - - sh Configure \ - -des \ - -Duseshrplib \ - -Darchname=3D"${myarch}" \ - -Dcc=3D"$(tc-getCC)" \ - -Doptimize=3D"${CFLAGS}" \ - -Dldflags=3D"${LDFLAGS}" \ - -Dprefix=3D'/usr' \ - -Dsiteprefix=3D'/usr' \ - -Dvendorprefix=3D'/usr' \ - -Dscriptdir=3D'/usr/bin' \ - -Dprivlib=3D"${PRIV_LIB}" \ - -Darchlib=3D"${ARCH_LIB}" \ - -Dsitelib=3D"${SITE_LIB}" \ - -Dsitearch=3D"${SITE_ARCH}" \ - -Dvendorlib=3D"${VENDOR_LIB}" \ - -Dvendorarch=3D"${VENDOR_ARCH}" \ - -Dman1dir=3D/usr/share/man/man1 \ - -Dman3dir=3D/usr/share/man/man3 \ - -Dsiteman1dir=3D/usr/share/man/man1 \ - -Dsiteman3dir=3D/usr/share/man/man3 \ - -Dvendorman1dir=3D/usr/share/man/man1 \ - -Dvendorman3dir=3D/usr/share/man/man3 \ - -Dman1ext=3D'1' \ - -Dman3ext=3D'3pm' \ - -Dlibperl=3D"${LIBPERL}" \ - -Dlocincpth=3D' ' \ - -Duselargefiles \ - -Dd_semctl_semun \ - -Dcf_by=3D'Gentoo' \ - -Dmyhostname=3D'localhost' \ - -Dperladmin=3D'root@localhost' \ - -Dinstallusrbinperl=3D'n' \ - -Ud_csh \ - -Uusenm \ - "${myconf[@]}" || die "Unable to configure" -} - -src_test() { - if [[ ${EUID} =3D=3D 0 ]] ; then - ewarn "Test fails with a sandbox error (#328793) if run as root. Skipp= ing tests..." - return 0 - fi - use elibc_uclibc && export MAKEOPTS+=3D" -j1" - TEST_JOBS=3D$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs= =3D)([[:digit:]]+).*/\2/' ) \ - make test_harness || die "test failed" -} - -src_install() { - local i - local coredir=3D"${ARCH_LIB}/CORE" - - local installtarget=3Dinstall - if use build ; then - installtarget=3Dinstall.perl - fi - emake DESTDIR=3D"${D}" ${installtarget} - - rm -f "${D}"/usr/bin/perl - ln -s perl${MY_PV} "${D}"/usr/bin/perl || die - - dolib.so "${D}"${coredir}/${LIBPERL} - rm -f "${D}"${coredir}/${LIBPERL} - ln -sf ${LIBPERL} "${D}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT= _PV}) || die - ln -sf ${LIBPERL} "${D}"/usr/$(get_libdir)/libperl$(get_libname) || die - ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/${LIBPE= RL} || die - ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/libperl= $(get_libname ${SHORT_PV}) || die - ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/libperl= $(get_libname) || die - - rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pa= ges" - -# # A poor fix for the miniperl issues -# dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/= ExtUtils/xsubpp -# fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp -# dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp -# fperms 0755 /usr/bin/xsubpp - - # This removes ${D} from Config.pm - for i in $(find "${D}" -iname "Config.pm" ) ; do - einfo "Removing ${D} from ${i}..." - sed -i -e "s:${D}::" "${i}" || die "Sed failed" - done - - find "${D}" -type f -name .packlist -delete || die - - # Note: find out from psm why we would need/want this. - # ( use berkdb && has_version '=3Dsys-libs/db-1*' ) || - # find "${D}" -name "*NDBM*" | xargs rm -f - - dodoc Changes* README AUTHORS - - if use doc ; then - # HTML Documentation - # We expect errors, warnings, and such with the following. - - dodir /usr/share/doc/${PF}/html - LD_LIBRARY_PATH=3D. ./perl installhtml \ - --podroot=3D'.' \ - --podpath=3D'lib:ext:pod:vms' \ - --recurse \ - --htmldir=3D"${D}/usr/share/doc/${PF}/html" \ - --libpods=3D'perlfunc:perlguts:perlvar:perlrun:perlop' - fi - - if use build ; then - src_remove_extra_files - fi - - dual_scripts -} - -pkg_postinst() { - dual_scripts - - if [[ "${ROOT}" =3D "/" ]] ; then - local INC DIR file - INC=3D$(perl -e 'for $line (@INC) { next if $line eq "."; next if $lin= e =3D~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }') - einfo "Removing old .ph files" - for DIR in ${INC} ; do - if [[ -d "${DIR}" ]] ; then - for file in $(find "${DIR}" -name "*.ph" -type f ) ; do - rm -f "${file}" - einfo "<< ${file}" - done - fi - done - # Silently remove the now empty dirs - for DIR in ${INC} ; do - if [[ -d "${DIR}" ]] ; then - find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/nul= l - fi - done -# if ! use build ; then -# ebegin "Generating ConfigLocal.pm (ignore any error)" -# enc2xs -C -# fi - - einfo "Converting C header files to the corresponding Perl format (ign= ore any error)" - pushd /usr/include >/dev/null - h2ph -Q -a -d ${ARCH_LIB} \ - asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \ - sys/socket.h sys/time.h wait.h sysexits.h - popd >/dev/null - -# This has been moved into a function because rumor has it that a future= release -# of portage will allow us to check what version was just removed - whic= h means -# we will be able to invoke this only as needed :) - # Tried doing this via -z, but $INC is too big... - #if [[ "${INC}x" !=3D "x" ]]; then - # cleaner_msg - #fi - fi -} - -pkg_postrm(){ - dual_scripts - -# if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then -# ebegin "Removing ConfigLocal.pm" -# rm "${ARCH_LIB}/Encode/ConfigLocal.pm" -# fi -} - -cleaner_msg() { - eerror "You have had multiple versions of perl. It is recommended" - eerror "that you run perl-cleaner now. perl-cleaner will" - eerror "assist with this transition. This script is capable" - eerror "of cleaning out old .ph files, rebuilding modules for " - eerror "your new version of perl, as well as re-emerging" - eerror "applications that compiled against your old libperl$(get_libnam= e)" - eerror - eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT." - eerror "Part of the rebuilding of applications compiled against " - eerror "your old libperl involves temporarily unmerging" - eerror "them - interruptions could leave you with unmerged" - eerror "packages before they can be remerged." - eerror "" - eerror "If you have run perl-cleaner and a package still gives" - eerror "you trouble, and re-emerging it fails to correct" - eerror "the problem, please check http://bugs.gentoo.org/" - eerror "for more information or to report a bug." - eerror "" -} - -src_remove_dual_scripts() { - - local i pkg ver ff - pkg=3D"$1" - ver=3D"$2" - shift 2 - if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then - for i in "$@" ; do - alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*" - if [[ ${i} !=3D cpanp-run-perl ]] ; then - ff=3D`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*` - ff=3D${ff##*.1} - alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/sh= are/man/man1/${i}-[0-9]*" - fi - done - elif has "${EBUILD_PHASE:-none}" "setup" ; then - for i in "$@" ; do - if [[ -f ${ROOT}/usr/bin/${i} && ! -h ${ROOT}/usr/bin/${i} ]] ; then - has_version ${pkg} && ewarn "You must reinstall $pkg !" - break - fi - done - else - for i in "$@" ; do - if ! [[ -f "${D}"/usr/bin/${i} ]] ; then - use build || ewarn "/usr/bin/${i} does not exist!" - continue - fi - mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die - if [[ -f ${D}/usr/share/man/man1/${i}.1 ]] ; then - mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die - else - echo "/usr/share/man/man1/${i}.1 does not exist!" - fi - done - fi -} - -src_remove_extra_files() { - local prefix=3D"./usr" # ./ is important - local bindir=3D"${prefix}/bin" - local libdir=3D"${prefix}/$(get_libdir)" - - # I made this list from the Mandr*, Debian and ex-Connectiva perl-base = list - # Then, I added several files to get GNU autotools running - # FIXME: should this be in a separated file to be sourced? - local MINIMAL_PERL_INSTALL=3D" - ${bindir}/h2ph - ${bindir}/perl - ${bindir}/perl${MY_PV} - ${bindir}/pod2man - ${libdir}/${LIBPERL} - ${libdir}/libperl$(get_libname) - ${libdir}/libperl$(get_libname ${SHORT_PV}) - .${PRIV_LIB}/AutoLoader.pm - .${PRIV_LIB}/B/Deparse.pm - .${PRIV_LIB}/Carp.pm - .${PRIV_LIB}/Carp/Heavy.pm - .${PRIV_LIB}/Class/Struct.pm - .${PRIV_LIB}/DirHandle.pm - .${PRIV_LIB}/Exporter.pm - .${PRIV_LIB}/Exporter/Heavy.pm - .${PRIV_LIB}/ExtUtils/Command.pm - .${PRIV_LIB}/ExtUtils/Command/MM.pm - .${PRIV_LIB}/ExtUtils/Constant.pm - .${PRIV_LIB}/ExtUtils/Constant/Base.pm - .${PRIV_LIB}/ExtUtils/Constant/Utils.pm - .${PRIV_LIB}/ExtUtils/Constant/XS.pm - .${PRIV_LIB}/ExtUtils/Embed.pm - .${PRIV_LIB}/ExtUtils/Install.pm - .${PRIV_LIB}/ExtUtils/Installed.pm - .${PRIV_LIB}/ExtUtils/Liblist.pm - .${PRIV_LIB}/ExtUtils/Liblist/Kid.pm - .${PRIV_LIB}/ExtUtils/MM.pm - .${PRIV_LIB}/ExtUtils/MM_Any.pm - .${PRIV_LIB}/ExtUtils/MM_MacOS.pm - .${PRIV_LIB}/ExtUtils/MM_Unix.pm - .${PRIV_LIB}/ExtUtils/MY.pm - .${PRIV_LIB}/ExtUtils/MakeMaker.pm - .${PRIV_LIB}/ExtUtils/Manifest.pm - .${PRIV_LIB}/ExtUtils/Miniperl.pm - .${PRIV_LIB}/ExtUtils/Mkbootstrap.pm - .${PRIV_LIB}/ExtUtils/Mksymlists.pm - .${PRIV_LIB}/ExtUtils/Packlist.pm - .${PRIV_LIB}/ExtUtils/testlib.pm - .${PRIV_LIB}/File/Basename.pm - .${PRIV_LIB}/File/Compare.pm - .${PRIV_LIB}/File/Copy.pm - .${PRIV_LIB}/File/Find.pm - .${PRIV_LIB}/File/Path.pm - .${PRIV_LIB}/File/stat.pm - .${PRIV_LIB}/FileHandle.pm - .${PRIV_LIB}/Getopt/Long.pm - .${PRIV_LIB}/Getopt/Std.pm - .${PRIV_LIB}/IPC/Open2.pm - .${PRIV_LIB}/IPC/Open3.pm - .${PRIV_LIB}/PerlIO.pm - .${PRIV_LIB}/Pod/InputObjects.pm - .${PRIV_LIB}/Pod/Man.pm - .${PRIV_LIB}/Pod/ParseLink.pm - .${PRIV_LIB}/Pod/Parser.pm - .${PRIV_LIB}/Pod/Select.pm - .${PRIV_LIB}/Pod/Text.pm - .${PRIV_LIB}/Pod/Usage.pm - .${PRIV_LIB}/SelectSaver.pm - .${PRIV_LIB}/Symbol.pm - .${PRIV_LIB}/Text/ParseWords.pm - .${PRIV_LIB}/Text/Tabs.pm - .${PRIV_LIB}/Text/Wrap.pm - .${PRIV_LIB}/Tie/Hash.pm - .${PRIV_LIB}/Time/Local.pm - .${PRIV_LIB}/XSLoader.pm - .${PRIV_LIB}/autouse.pm - .${PRIV_LIB}/base.pm - .${PRIV_LIB}/bigint.pm - .${PRIV_LIB}/bignum.pm - .${PRIV_LIB}/bigrat.pm - .${PRIV_LIB}/blib.pm - .${PRIV_LIB}/bytes.pm - .${PRIV_LIB}/bytes_heavy.pl - .${PRIV_LIB}/charnames.pm - .${PRIV_LIB}/constant.pm - .${PRIV_LIB}/diagnostics.pm - .${PRIV_LIB}/fields.pm - .${PRIV_LIB}/filetest.pm - .${PRIV_LIB}/if.pm - .${PRIV_LIB}/integer.pm - .${PRIV_LIB}/less.pm - .${PRIV_LIB}/locale.pm - .${PRIV_LIB}/open.pm - .${PRIV_LIB}/overload.pm - .${PRIV_LIB}/sigtrap.pm - .${PRIV_LIB}/sort.pm - .${PRIV_LIB}/stat.pl - .${PRIV_LIB}/strict.pm - .${PRIV_LIB}/subs.pm - .${PRIV_LIB}/unicore/To/Fold.pl - .${PRIV_LIB}/unicore/To/Lower.pl - .${PRIV_LIB}/unicore/To/Upper.pl - .${PRIV_LIB}/utf8.pm - .${PRIV_LIB}/utf8_heavy.pl - .${PRIV_LIB}/vars.pm - .${PRIV_LIB}/vmsish.pm - .${PRIV_LIB}/warnings - .${PRIV_LIB}/warnings.pm - .${PRIV_LIB}/warnings/register.pm - .${ARCH_LIB}/B.pm - .${ARCH_LIB}/CORE/libperl$(get_libname) - .${ARCH_LIB}/Config.pm - .${ARCH_LIB}/Config_heavy.pl - .${ARCH_LIB}/Cwd.pm - .${ARCH_LIB}/Data/Dumper.pm - .${ARCH_LIB}/DynaLoader.pm - .${ARCH_LIB}/Errno.pm - .${ARCH_LIB}/Fcntl.pm - .${ARCH_LIB}/File/Glob.pm - .${ARCH_LIB}/File/Spec.pm - .${ARCH_LIB}/File/Spec/Unix.pm - .${ARCH_LIB}/IO.pm - .${ARCH_LIB}/IO/File.pm - .${ARCH_LIB}/IO/Handle.pm - .${ARCH_LIB}/IO/Pipe.pm - .${ARCH_LIB}/IO/Seekable.pm - .${ARCH_LIB}/IO/Select.pm - .${ARCH_LIB}/IO/Socket.pm - .${ARCH_LIB}/IO/Socket/INET.pm - .${ARCH_LIB}/IO/Socket/UNIX.pm - .${ARCH_LIB}/List/Util.pm - .${ARCH_LIB}/NDBM_File.pm - .${ARCH_LIB}/POSIX.pm - .${ARCH_LIB}/Scalar/Util.pm - .${ARCH_LIB}/Socket.pm - .${ARCH_LIB}/Storable.pm - .${ARCH_LIB}/attributes.pm - .${ARCH_LIB}/auto/Cwd/Cwd$(get_libname) - .${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname) - .${ARCH_LIB}/auto/DynaLoader/dl_findfile.al - .${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname) - .${ARCH_LIB}/auto/File/Glob/Glob$(get_libname) - .${ARCH_LIB}/auto/IO/IO$(get_libname) - .${ARCH_LIB}/auto/POSIX/POSIX$(get_libname) - .${ARCH_LIB}/auto/POSIX/autosplit.ix - .${ARCH_LIB}/auto/POSIX/fstat.al - .${ARCH_LIB}/auto/POSIX/load_imports.al - .${ARCH_LIB}/auto/POSIX/stat.al - .${ARCH_LIB}/auto/POSIX/tmpfile.al - .${ARCH_LIB}/auto/Socket/Socket$(get_libname) - .${ARCH_LIB}/auto/Storable/Storable$(get_libname) - .${ARCH_LIB}/auto/Storable/_retrieve.al - .${ARCH_LIB}/auto/Storable/_store.al - .${ARCH_LIB}/auto/Storable/autosplit.ix - .${ARCH_LIB}/auto/Storable/retrieve.al - .${ARCH_LIB}/auto/Storable/store.al - .${ARCH_LIB}/auto/re/re$(get_libname) - .${ARCH_LIB}/encoding.pm - .${ARCH_LIB}/lib.pm - .${ARCH_LIB}/ops.pm - .${ARCH_LIB}/re.pm - .${ARCH_LIB}/threads.pm -" - - pushd "${D}" > /dev/null - # Remove cruft - einfo "Removing files that are not in the minimal install" - echo "${MINIMAL_PERL_INSTALL}" - for f in $(find . -type f ) ; do - has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}" - done - # Remove empty directories - find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null - #for f in ${MINIMAL_PERL_INSTALL} ; do - # [[ -e $f ]] || ewarn "$f unused in MINIMAL_PERL_INSTALL" - #done - popd > /dev/null -} diff --git a/profiles/package.mask b/profiles/package.mask index 96eb36e..c3c4c8a 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -8,17 +8,6 @@ dev-perl/Dist-Zilla-Plugin-KwaliteeTetsts <=3Ddev-perl/Dist-Zilla-PluginBundle-Author-KENTNL-1.0.16 =20 -# Torsten Veller (11 Jun 2011) -# Mask perl-5.12.4* for testing -=3Ddev-lang/perl-5.12.4* - -# Torsten Veller (20 Apr 2011) -# Mask perl-5.14: needs testing, -# virtuals have to be updated, @INC layout changes,.. -# tracker bug #356171 -=3Ddev-lang/perl-5.14.0* -=3Ddev-lang/perl-5.14.1* - # Kent Fredric (11 Mar 2011) # Experimental Ebuilds for Perl-Core stuff perl-core/B-Debug