Remove expired port lang/perl5.6
This commit is contained in:
parent
42eabd7753
commit
4761891bba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235439
23 changed files with 8 additions and 2206 deletions
1
MOVED
1
MOVED
|
@ -3978,3 +3978,4 @@ devel/powerpc-gcc||2009-06-06|Has expired: use cross-gcc instead
|
|||
devel/powerpc-binutils||2009-06-06|Has expired: use cross-binutils instead
|
||||
X11-wm/enlightenment|x11-wm/e16|2009-06-07|Renamed
|
||||
www/apache-jserv|www/tomcat6|2009-06-08|Has expired: superceeded by tomcat
|
||||
lang/perl5.6||2009-06-08|Has expired: no longer under development, use lang/perl5.10 or lang/perl5.8
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
# PERL_VERSION - Full version of perl5 (see below for current value).
|
||||
# PERL_LEVEL - Perl version as an integer of the form MNNNPP, where
|
||||
# M is major version, N is minor version, and P is
|
||||
# the patch level. E.g., PERL_VERSION=5.6.1 would give
|
||||
# a PERL_LEVEL of 500601. This can be used in comparisons
|
||||
# the patch level. E.g., PERL_VERSION=5.8.1 would give
|
||||
# a PERL_LEVEL of 500801. This can be used in comparisons
|
||||
# to determine if the version of perl is high enough,
|
||||
# whether a particular dependency is needed, etc.
|
||||
# PERL_ARCH - Directory name of architecture dependent libraries
|
||||
|
@ -47,7 +47,7 @@
|
|||
#
|
||||
# Examples:
|
||||
# USE_PERL5= yes # port requires any version of Perl5 to build.
|
||||
# USE_PERL5= 5.6.0+ # port requires at least Perl 5.6.0 to build.
|
||||
# USE_PERL5= 5.8.0+ # port requires at least Perl 5.8.0 to build.
|
||||
# USE_PERL5= 5.8.2 # port is only usable with Perl 5.8.2.
|
||||
# USE_PERL5= 5.8.6- # port is only usbale with Perl 5.8.6 or prior.
|
||||
#
|
||||
|
@ -101,10 +101,8 @@ PERL_ARCH?= mach
|
|||
|
||||
.if ${PERL_LEVEL} >= 501000
|
||||
PERL_PORT?= perl5.10
|
||||
.elif ${PERL_LEVEL} >= 500800
|
||||
.else # ${PERL_LEVEL} < 501000
|
||||
PERL_PORT?= perl5.8
|
||||
.else # ${PERL_LEVEL} < 500800
|
||||
PERL_PORT?= perl5.6
|
||||
.endif
|
||||
|
||||
SITE_PERL_REL?= lib/perl5/site_perl/${PERL_VERSION}
|
||||
|
|
|
@ -330,8 +330,8 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
|
|||
# PERL_VERSION - Full version of perl5 (see below for current value).
|
||||
# PERL_LEVEL - Perl version as an integer of the form MNNNPP, where
|
||||
# M is major version, N is minor version, and P is
|
||||
# the patch level. E.g., PERL_VERSION=5.6.1 would give
|
||||
# a PERL_LEVEL of 500601. This can be used in comparisons
|
||||
# the patch level. E.g., PERL_VERSION=5.8.1 would give
|
||||
# a PERL_LEVEL of 500801. This can be used in comparisons
|
||||
# to determine if the version of perl is high enough,
|
||||
# whether a particular dependency is needed, etc.
|
||||
# PERL_ARCH - Directory name of architecture dependent libraries
|
||||
|
@ -1452,10 +1452,8 @@ PERL_ARCH?= mach
|
|||
|
||||
.if ${PERL_LEVEL} >= 501000
|
||||
PERL_PORT?= perl5.10
|
||||
.elif ${PERL_LEVEL} >= 500800
|
||||
PERL_PORT?= perl5.8
|
||||
.else
|
||||
PERL_PORT?= perl5.6
|
||||
PERL_PORT?= perl5.8
|
||||
.endif
|
||||
|
||||
SITE_PERL_REL?= lib/perl5/site_perl/${PERL_VERSION}
|
||||
|
|
|
@ -233,7 +233,6 @@
|
|||
SUBDIR += pbasic
|
||||
SUBDIR += pcc
|
||||
SUBDIR += pecl-perl
|
||||
SUBDIR += perl5.6
|
||||
SUBDIR += perl5.8
|
||||
SUBDIR += perl5.10
|
||||
SUBDIR += petite-chez
|
||||
|
|
|
@ -1,149 +0,0 @@
|
|||
# New ports collection makefile for: perl5
|
||||
# Date created: 16 April 1995
|
||||
# Whom: markm
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= perl
|
||||
PORTVERSION= ${PERL_VERSION}
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= lang devel perl5
|
||||
MASTER_SITES= CPAN \
|
||||
${MASTER_SITE_LOCAL:S/$/:local/} \
|
||||
http://www.tobez.org/download/port-mirrors/lang/perl56/:local
|
||||
MASTER_SITE_SUBDIR= ../../src \
|
||||
tobez/:local
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
BSDPAN-${PERL_VERSION}${EXTRACT_SUFX}:local
|
||||
|
||||
MAINTAINER= skv@FreeBSD.org
|
||||
COMMENT= Practical Extraction and Report Language
|
||||
|
||||
EXPIRATION_DATE= 2009-05-31
|
||||
DEPRECATED= no longer under development, please use lang/perl5.8 or lang/perl5.10
|
||||
|
||||
CONFLICTS= perl-5.8.* perl-5.10.*
|
||||
|
||||
PERL_VERSION= 5.6.2
|
||||
PERL_ARCH= mach
|
||||
SITE_PERL_REL?= lib/perl5/site_perl/${PERL_VERSION}
|
||||
SITE_PERL?= ${LOCALBASE}/${SITE_PERL_REL}
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_SCRIPT=Configure
|
||||
CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
|
||||
-Darchlib=${PREFIX}/lib/perl5/${PERL_VERSION}/${PERL_ARCH} \
|
||||
-Dprivlib=${PREFIX}/lib/perl5/${PERL_VERSION} \
|
||||
-Dman3dir=${PREFIX}/lib/perl5/${PERL_VERSION}/perl/man/man3 \
|
||||
-Dman1dir=${PREFIX}/man/man1 \
|
||||
-Dsitearch=${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH} \
|
||||
-Dsitelib=${PREFIX}/${SITE_PERL_REL} -Dscriptdir=${PREFIX}/bin \
|
||||
-Dsiteman3dir=${PREFIX}/lib/perl5/${PERL_VERSION}/man/man3 \
|
||||
-Dsiteman1dir=${PREFIX}/man/man1 \
|
||||
-Ui_malloc -Ui_iconv -Uinstallusrbinperl \
|
||||
-Dcc="${CC}" -Doptimize="${CFLAGS}" -Duseshrplib \
|
||||
-Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
|
||||
LOCALE_CLEANUP= LANG="" LC_ALL="" LC_COLLATE="" LC_CTYPE="" \
|
||||
LC_MESSAGES="" LC_MONETARY="" LC_NUMERIC="" \
|
||||
LC_TIME=""
|
||||
CONFIGURE_ENV+= ${LOCALE_CLEANUP}
|
||||
MAKE_ENV+= ${LOCALE_CLEANUP}
|
||||
|
||||
.include "Makefile.man"
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \
|
||||
PERL_VER=${PERL_VERSION} \
|
||||
PERL_ARCH=${PERL_ARCH} \
|
||||
SITE_PERL=${SITE_PERL:S|^${LOCALBASE}/||}
|
||||
|
||||
.if defined(ENABLE_SUIDPERL)
|
||||
CONFIGURE_ARGS+= -Dd_dosuid=define
|
||||
PLIST_SUB+= ENABLE_SUIDPERL=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= -Ud_dosuid
|
||||
PLIST_SUB+= ENABLE_SUIDPERL="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GDBM)
|
||||
CONFIGURE_ARGS+= -Di_gdbm
|
||||
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
|
||||
PLIST_SUB+= GDBM=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= -Ui_gdbm
|
||||
PLIST_SUB+= GDBM="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_PERL_MALLOC)
|
||||
.undef WITH_PERL_MALLOC
|
||||
.else
|
||||
WITH_PERL_MALLOC= yes
|
||||
.endif
|
||||
|
||||
.if defined(WITH_THREADS)
|
||||
IGNORE= threads are not very useful in perl ${PERL_VERSION}, please use lang/perl5.8
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PERL_MALLOC)
|
||||
CONFIGURE_ARGS+= -Dusemymalloc=y
|
||||
.else
|
||||
CONFIGURE_ARGS+= -Dusemymalloc=n
|
||||
.endif
|
||||
|
||||
.ifdef USE_PERL5
|
||||
.error You have `USE_PERL5' variable defined either in environment or in make(1) arguments. Please undefine and try again.
|
||||
.endif
|
||||
|
||||
NO_LATEST_LINK= yes
|
||||
|
||||
PKGMESSAGE= ${PKGDIR}/pkg-message-prefer58
|
||||
|
||||
PLIST_SUB+= NEED_USE_PERL=""
|
||||
|
||||
.if defined(WITH_GDBM)
|
||||
MAN3+= GDBM_File.3
|
||||
.endif
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}/perl
|
||||
|
||||
test:
|
||||
@(cd ${WRKSRC}; make test)
|
||||
|
||||
BSDPAN_DEST= ${PREFIX}/lib/perl5/${PERL_VERSION}/BSDPAN
|
||||
BSDPAN_FILES= BSDPAN.pm BSDPAN/Override.pm Config.pm \
|
||||
ExtUtils/MM_Unix.pm \
|
||||
ExtUtils/MakeMaker.pm \
|
||||
ExtUtils/Packlist.pm
|
||||
BSDPAN_WRKSRC= ${WRKDIR}/BSDPAN-${PORTVERSION}
|
||||
|
||||
PKGINSTALL= ${WRKDIR}/pkg-install
|
||||
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
|
||||
|
||||
post-patch:
|
||||
${SED} -e 's|%%PREFIX%%|${PREFIX}|g;' \
|
||||
-e 's|%%PERL_VERSION%%|${PERL_VERSION}|g;' \
|
||||
-e 's|%%PERL_ARCH%%|${PERL_ARCH}|g;' \
|
||||
-e 's|%%MAKE_CONF%%|${__MAKE_CONF}|g;' \
|
||||
${FILESDIR}/use.perl \
|
||||
> ${WRKDIR}/use.perl
|
||||
${CP} ${WRKDIR}/use.perl ${PKGINSTALL}
|
||||
${CP} ${WRKDIR}/use.perl ${PKGDEINSTALL}
|
||||
|
||||
pre-su-install:
|
||||
@${RM} -f ${PREFIX}/bin/perl${PERL_VERSION}
|
||||
@${RM} -f ${PREFIX}/bin/perl
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${PREFIX}/bin/perl${PERL_VERSION}
|
||||
@${STRIP_CMD} ${PREFIX}/bin/perl
|
||||
@${LN} -sf ${PREFIX}/bin/perl${PERL_VERSION} ${PREFIX}/bin/perl5
|
||||
.for file in ${BSDPAN_FILES}
|
||||
${MKDIR} ${BSDPAN_DEST}/${file:H}
|
||||
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
||||
${BSDPAN_WRKSRC}/${file} ${BSDPAN_DEST}/${file}
|
||||
.endfor
|
||||
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl
|
||||
@fmt ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,341 +0,0 @@
|
|||
# $FreeBSD$
|
||||
|
||||
MAN1+= a2p.1
|
||||
MAN1+= c2ph.1
|
||||
MAN1+= dprofpp.1
|
||||
MAN1+= find2perl.1
|
||||
MAN1+= h2ph.1
|
||||
MAN1+= h2xs.1
|
||||
MAN1+= perl.1
|
||||
MAN1+= perl5004delta.1
|
||||
MAN1+= perl5005delta.1
|
||||
MAN1+= perlaix.1
|
||||
MAN1+= perlamiga.1
|
||||
MAN1+= perlapi.1
|
||||
MAN1+= perlapio.1
|
||||
MAN1+= perlbook.1
|
||||
MAN1+= perlboot.1
|
||||
MAN1+= perlbot.1
|
||||
MAN1+= perlbs2000.1
|
||||
MAN1+= perlbug.1
|
||||
MAN1+= perlcall.1
|
||||
MAN1+= perlcc.1
|
||||
MAN1+= perlclib.1
|
||||
MAN1+= perlcompile.1
|
||||
MAN1+= perlcygwin.1
|
||||
MAN1+= perldata.1
|
||||
MAN1+= perldbmfilter.1
|
||||
MAN1+= perldebguts.1
|
||||
MAN1+= perldebtut.1
|
||||
MAN1+= perldebug.1
|
||||
MAN1+= perldelta.1
|
||||
MAN1+= perldiag.1
|
||||
MAN1+= perldoc.1
|
||||
MAN1+= perldos.1
|
||||
MAN1+= perldsc.1
|
||||
MAN1+= perlebcdic.1
|
||||
MAN1+= perlembed.1
|
||||
MAN1+= perlepoc.1
|
||||
MAN1+= perlfaq.1
|
||||
MAN1+= perlfaq1.1
|
||||
MAN1+= perlfaq2.1
|
||||
MAN1+= perlfaq3.1
|
||||
MAN1+= perlfaq4.1
|
||||
MAN1+= perlfaq5.1
|
||||
MAN1+= perlfaq6.1
|
||||
MAN1+= perlfaq7.1
|
||||
MAN1+= perlfaq8.1
|
||||
MAN1+= perlfaq9.1
|
||||
MAN1+= perlfilter.1
|
||||
MAN1+= perlfork.1
|
||||
MAN1+= perlform.1
|
||||
MAN1+= perlfunc.1
|
||||
MAN1+= perlguts.1
|
||||
MAN1+= perlhack.1
|
||||
MAN1+= perlhist.1
|
||||
MAN1+= perlhpux.1
|
||||
MAN1+= perlintern.1
|
||||
MAN1+= perlipc.1
|
||||
MAN1+= perllexwarn.1
|
||||
MAN1+= perllocale.1
|
||||
MAN1+= perllol.1
|
||||
MAN1+= perlmachten.1
|
||||
MAN1+= perlmacos.1
|
||||
MAN1+= perlmod.1
|
||||
MAN1+= perlmodinstall.1
|
||||
MAN1+= perlmodlib.1
|
||||
MAN1+= perlmpeix.1
|
||||
MAN1+= perlnewmod.1
|
||||
MAN1+= perlnumber.1
|
||||
MAN1+= perlobj.1
|
||||
MAN1+= perlop.1
|
||||
MAN1+= perlopentut.1
|
||||
MAN1+= perlos2.1
|
||||
MAN1+= perlos390.1
|
||||
MAN1+= perlpod.1
|
||||
MAN1+= perlport.1
|
||||
MAN1+= perlre.1
|
||||
MAN1+= perlref.1
|
||||
MAN1+= perlreftut.1
|
||||
MAN1+= perlrequick.1
|
||||
MAN1+= perlretut.1
|
||||
MAN1+= perlrun.1
|
||||
MAN1+= perlsec.1
|
||||
MAN1+= perlsolaris.1
|
||||
MAN1+= perlstyle.1
|
||||
MAN1+= perlsub.1
|
||||
MAN1+= perlsyn.1
|
||||
MAN1+= perlthrtut.1
|
||||
MAN1+= perltie.1
|
||||
MAN1+= perltoc.1
|
||||
MAN1+= perltodo.1
|
||||
MAN1+= perltoot.1
|
||||
MAN1+= perltootc.1
|
||||
MAN1+= perltrap.1
|
||||
MAN1+= perlunicode.1
|
||||
MAN1+= perlutil.1
|
||||
MAN1+= perlvar.1
|
||||
MAN1+= perlvmesa.1
|
||||
MAN1+= perlvms.1
|
||||
MAN1+= perlvos.1
|
||||
MAN1+= perlwin32.1
|
||||
MAN1+= perlxs.1
|
||||
MAN1+= perlxstut.1
|
||||
MAN1+= pl2pm.1
|
||||
MAN1+= pod2html.1
|
||||
MAN1+= pod2man.1
|
||||
MAN1+= pod2text.1
|
||||
MAN1+= pod2usage.1
|
||||
MAN1+= podchecker.1
|
||||
MAN1+= podselect.1
|
||||
MAN1+= pstruct.1
|
||||
MAN1+= s2p.1
|
||||
MAN1+= splain.1
|
||||
MAN1+= xsubpp.1
|
||||
|
||||
MAN3+= AnyDBM_File.3
|
||||
MAN3+= AutoLoader.3
|
||||
MAN3+= AutoSplit.3
|
||||
MAN3+= B.3
|
||||
MAN3+= B::Asmdata.3
|
||||
MAN3+= B::Assembler.3
|
||||
MAN3+= B::Bblock.3
|
||||
MAN3+= B::Bytecode.3
|
||||
MAN3+= B::C.3
|
||||
MAN3+= B::CC.3
|
||||
MAN3+= B::Concise.3
|
||||
MAN3+= B::Debug.3
|
||||
MAN3+= B::Deparse.3
|
||||
MAN3+= B::Disassembler.3
|
||||
MAN3+= B::Lint.3
|
||||
MAN3+= B::Showlex.3
|
||||
MAN3+= B::Stackobj.3
|
||||
MAN3+= B::Stash.3
|
||||
MAN3+= B::Terse.3
|
||||
MAN3+= B::Xref.3
|
||||
MAN3+= Benchmark.3
|
||||
MAN3+= ByteLoader.3
|
||||
MAN3+= CGI.3
|
||||
MAN3+= CGI::Apache.3
|
||||
MAN3+= CGI::Carp.3
|
||||
MAN3+= CGI::Cookie.3
|
||||
MAN3+= CGI::Fast.3
|
||||
MAN3+= CGI::Pretty.3
|
||||
MAN3+= CGI::Push.3
|
||||
MAN3+= CGI::Switch.3
|
||||
MAN3+= CGI::Util.3
|
||||
MAN3+= CPAN.3
|
||||
MAN3+= CPAN::FirstTime.3
|
||||
MAN3+= CPAN::Nox.3
|
||||
MAN3+= Carp.3
|
||||
MAN3+= Carp::Heavy.3
|
||||
MAN3+= Class::Struct.3
|
||||
MAN3+= Config.3
|
||||
MAN3+= Cwd.3
|
||||
MAN3+= DB.3
|
||||
MAN3+= DB_File.3
|
||||
MAN3+= Data::Dumper.3
|
||||
MAN3+= Devel::DProf.3
|
||||
MAN3+= Devel::Peek.3
|
||||
MAN3+= Devel::SelfStubber.3
|
||||
MAN3+= DirHandle.3
|
||||
MAN3+= Dumpvalue.3
|
||||
MAN3+= DynaLoader.3
|
||||
MAN3+= English.3
|
||||
MAN3+= Env.3
|
||||
MAN3+= Errno.3
|
||||
MAN3+= Exporter.3
|
||||
MAN3+= Exporter::Heavy.3
|
||||
MAN3+= ExtUtils::Command.3
|
||||
MAN3+= ExtUtils::Command::MM.3
|
||||
MAN3+= ExtUtils::Embed.3
|
||||
MAN3+= ExtUtils::Install.3
|
||||
MAN3+= ExtUtils::Installed.3
|
||||
MAN3+= ExtUtils::Liblist.3
|
||||
MAN3+= ExtUtils::Liblist::Kid.3
|
||||
MAN3+= ExtUtils::MM.3
|
||||
MAN3+= ExtUtils::MM_Any.3
|
||||
MAN3+= ExtUtils::MM_BeOS.3
|
||||
MAN3+= ExtUtils::MM_Cygwin.3
|
||||
MAN3+= ExtUtils::MM_DOS.3
|
||||
MAN3+= ExtUtils::MM_MacOS.3
|
||||
MAN3+= ExtUtils::MM_NW5.3
|
||||
MAN3+= ExtUtils::MM_OS2.3
|
||||
MAN3+= ExtUtils::MM_UWIN.3
|
||||
MAN3+= ExtUtils::MM_Unix.3
|
||||
MAN3+= ExtUtils::MM_VMS.3
|
||||
MAN3+= ExtUtils::MM_Win32.3
|
||||
MAN3+= ExtUtils::MM_Win95.3
|
||||
MAN3+= ExtUtils::MY.3
|
||||
MAN3+= ExtUtils::MakeMaker.3
|
||||
MAN3+= ExtUtils::MakeMaker::FAQ.3
|
||||
MAN3+= ExtUtils::MakeMaker::Tutorial.3
|
||||
MAN3+= ExtUtils::MakeMaker::bytes.3
|
||||
MAN3+= ExtUtils::MakeMaker::vmsish.3
|
||||
MAN3+= ExtUtils::Manifest.3
|
||||
MAN3+= ExtUtils::Miniperl.3
|
||||
MAN3+= ExtUtils::Mkbootstrap.3
|
||||
MAN3+= ExtUtils::Mksymlists.3
|
||||
MAN3+= ExtUtils::Packlist.3
|
||||
MAN3+= ExtUtils::testlib.3
|
||||
MAN3+= Fatal.3
|
||||
MAN3+= Fcntl.3
|
||||
MAN3+= File::Basename.3
|
||||
MAN3+= File::CheckTree.3
|
||||
MAN3+= File::Compare.3
|
||||
MAN3+= File::Copy.3
|
||||
MAN3+= File::DosGlob.3
|
||||
MAN3+= File::Find.3
|
||||
MAN3+= File::Glob.3
|
||||
MAN3+= File::Path.3
|
||||
MAN3+= File::Spec.3
|
||||
MAN3+= File::Spec::Cygwin.3
|
||||
MAN3+= File::Spec::Epoc.3
|
||||
MAN3+= File::Spec::Functions.3
|
||||
MAN3+= File::Spec::Mac.3
|
||||
MAN3+= File::Spec::OS2.3
|
||||
MAN3+= File::Spec::Unix.3
|
||||
MAN3+= File::Spec::VMS.3
|
||||
MAN3+= File::Spec::Win32.3
|
||||
MAN3+= File::Temp.3
|
||||
MAN3+= File::stat.3
|
||||
MAN3+= FileCache.3
|
||||
MAN3+= FileHandle.3
|
||||
MAN3+= FindBin.3
|
||||
MAN3+= Getopt::Long.3
|
||||
MAN3+= Getopt::Std.3
|
||||
MAN3+= I18N::Collate.3
|
||||
MAN3+= IO.3
|
||||
MAN3+= IO::Dir.3
|
||||
MAN3+= IO::File.3
|
||||
MAN3+= IO::Handle.3
|
||||
MAN3+= IO::Pipe.3
|
||||
MAN3+= IO::Poll.3
|
||||
MAN3+= IO::Seekable.3
|
||||
MAN3+= IO::Select.3
|
||||
MAN3+= IO::Socket.3
|
||||
MAN3+= IO::Socket::INET.3
|
||||
MAN3+= IO::Socket::UNIX.3
|
||||
MAN3+= IPC::Msg.3
|
||||
MAN3+= IPC::Open2.3
|
||||
MAN3+= IPC::Open3.3
|
||||
MAN3+= IPC::Semaphore.3
|
||||
MAN3+= IPC::SysV.3
|
||||
MAN3+= Math::BigFloat.3
|
||||
MAN3+= Math::BigInt.3
|
||||
MAN3+= Math::Complex.3
|
||||
MAN3+= Math::Trig.3
|
||||
MAN3+= NDBM_File.3
|
||||
MAN3+= Net::Ping.3
|
||||
MAN3+= Net::hostent.3
|
||||
MAN3+= Net::netent.3
|
||||
MAN3+= Net::protoent.3
|
||||
MAN3+= Net::servent.3
|
||||
MAN3+= O.3
|
||||
MAN3+= Opcode.3
|
||||
MAN3+= POSIX.3
|
||||
MAN3+= Pod::Checker.3
|
||||
MAN3+= Pod::Find.3
|
||||
MAN3+= Pod::Html.3
|
||||
MAN3+= Pod::InputObjects.3
|
||||
MAN3+= Pod::LaTeX.3
|
||||
MAN3+= Pod::Man.3
|
||||
MAN3+= Pod::ParseUtils.3
|
||||
MAN3+= Pod::Parser.3
|
||||
MAN3+= Pod::Plainer.3
|
||||
MAN3+= Pod::Select.3
|
||||
MAN3+= Pod::Text.3
|
||||
MAN3+= Pod::Text::Color.3
|
||||
MAN3+= Pod::Text::Overstrike.3
|
||||
MAN3+= Pod::Text::Termcap.3
|
||||
MAN3+= Pod::Usage.3
|
||||
MAN3+= SDBM_File.3
|
||||
MAN3+= Safe.3
|
||||
MAN3+= Search::Dict.3
|
||||
MAN3+= SelectSaver.3
|
||||
MAN3+= SelfLoader.3
|
||||
MAN3+= Shell.3
|
||||
MAN3+= Socket.3
|
||||
MAN3+= Symbol.3
|
||||
MAN3+= Sys::Hostname.3
|
||||
MAN3+= Sys::Syslog.3
|
||||
MAN3+= Term::ANSIColor.3
|
||||
MAN3+= Term::Cap.3
|
||||
MAN3+= Term::Complete.3
|
||||
MAN3+= Term::ReadLine.3
|
||||
MAN3+= Test.3
|
||||
MAN3+= Test::Builder.3
|
||||
MAN3+= Test::Harness.3
|
||||
MAN3+= Test::Harness::Assert.3
|
||||
MAN3+= Test::Harness::Iterator.3
|
||||
MAN3+= Test::Harness::Straps.3
|
||||
MAN3+= Test::More.3
|
||||
MAN3+= Test::Simple.3
|
||||
MAN3+= Test::Tutorial.3
|
||||
MAN3+= Text::Abbrev.3
|
||||
MAN3+= Text::ParseWords.3
|
||||
MAN3+= Text::Soundex.3
|
||||
MAN3+= Text::Tabs.3
|
||||
MAN3+= Text::Wrap.3
|
||||
MAN3+= Tie::Array.3
|
||||
MAN3+= Tie::Handle.3
|
||||
MAN3+= Tie::Hash.3
|
||||
MAN3+= Tie::RefHash.3
|
||||
MAN3+= Tie::Scalar.3
|
||||
MAN3+= Tie::SubstrHash.3
|
||||
MAN3+= Time::Local.3
|
||||
MAN3+= Time::gmtime.3
|
||||
MAN3+= Time::localtime.3
|
||||
MAN3+= Time::tm.3
|
||||
MAN3+= UNIVERSAL.3
|
||||
MAN3+= User::grent.3
|
||||
MAN3+= User::pwent.3
|
||||
MAN3+= Win32.3
|
||||
MAN3+= XSLoader.3
|
||||
MAN3+= attributes.3
|
||||
MAN3+= attrs.3
|
||||
MAN3+= autouse.3
|
||||
MAN3+= base.3
|
||||
MAN3+= blib.3
|
||||
MAN3+= bytes.3
|
||||
MAN3+= charnames.3
|
||||
MAN3+= constant.3
|
||||
MAN3+= diagnostics.3
|
||||
MAN3+= fields.3
|
||||
MAN3+= filetest.3
|
||||
MAN3+= if.3
|
||||
MAN3+= integer.3
|
||||
MAN3+= less.3
|
||||
MAN3+= lib.3
|
||||
MAN3+= locale.3
|
||||
MAN3+= open.3
|
||||
MAN3+= ops.3
|
||||
MAN3+= overload.3
|
||||
MAN3+= re.3
|
||||
MAN3+= sigtrap.3
|
||||
MAN3+= strict.3
|
||||
MAN3+= subs.3
|
||||
MAN3+= utf8.3
|
||||
MAN3+= vars.3
|
||||
MAN3+= warnings.3
|
||||
MAN3+= warnings::register.3
|
|
@ -1,6 +0,0 @@
|
|||
MD5 (perl-5.6.2.tar.gz) = 6aa648d086ecda5400de3472dbe1ebfe
|
||||
SHA256 (perl-5.6.2.tar.gz) = a5e66f6ebf701b0567f569f57cae82abf5ce57af70a2b45ae71323b61f49134e
|
||||
SIZE (perl-5.6.2.tar.gz) = 6255479
|
||||
MD5 (BSDPAN-5.6.2.tar.gz) = 3edde9aaefa11d8396700e42e99f2f36
|
||||
SHA256 (BSDPAN-5.6.2.tar.gz) = 95b51e6a69d68052e68808cba54e83dc970278ab6158ae7fd27c608f33faa24e
|
||||
SIZE (BSDPAN-5.6.2.tar.gz) = 8451
|
|
@ -1,15 +0,0 @@
|
|||
--- lib/CGI.pm.orig Tue Sep 30 10:16:33 2003
|
||||
+++ lib/CGI.pm Tue Sep 30 10:20:35 2003
|
||||
@@ -1497,8 +1497,10 @@ sub startform {
|
||||
$method = lc($method) || 'post';
|
||||
$enctype = $enctype || &URL_ENCODED;
|
||||
unless (defined $action) {
|
||||
- $action = $self->url(-absolute=>1,-path=>1);
|
||||
- $action .= "?$ENV{QUERY_STRING}" if $ENV{QUERY_STRING};
|
||||
+ $action = $self->escapeHTML($self->url(-absolute=>1,-path=>1));
|
||||
+ if (length($ENV{QUERY_STRING})>0) {
|
||||
+ $action .= "?".$self->escapeHTML($ENV{QUERY_STRING},1);
|
||||
+ }
|
||||
}
|
||||
$action = qq(action="$action");
|
||||
my($other) = @other ? " @other" : '';
|
|
@ -1,110 +0,0 @@
|
|||
--- Configure.orig Wed Sep 24 00:48:53 2003
|
||||
+++ Configure Tue Feb 1 21:40:07 2005
|
||||
@@ -296,7 +296,7 @@ cppflags=''
|
||||
ldflags=''
|
||||
lkflags=''
|
||||
locincpth=''
|
||||
-optimize=''
|
||||
+optimize=${CFLAGS:-''}
|
||||
cf_email=''
|
||||
cf_by=''
|
||||
cf_time=''
|
||||
@@ -889,6 +889,12 @@ installsitelib=''
|
||||
sitelib=''
|
||||
sitelib_stem=''
|
||||
sitelibexp=''
|
||||
+installsiteman1dir=''
|
||||
+siteman1dir=''
|
||||
+siteman1direxp=''
|
||||
+installsiteman3dir=''
|
||||
+siteman3dir=''
|
||||
+siteman3direxp=''
|
||||
siteprefix=''
|
||||
siteprefixexp=''
|
||||
sizesize=''
|
||||
@@ -1016,6 +1022,8 @@ plibpth=''
|
||||
libswanted=''
|
||||
: some systems want to use only the non-versioned libso:s
|
||||
ignore_versioned_solibs=''
|
||||
+siteman1dir=''
|
||||
+siteman3dir=''
|
||||
archname64=''
|
||||
ccflags_uselargefiles=''
|
||||
ldflags_uselargefiles=''
|
||||
@@ -7604,6 +7612,47 @@ else
|
||||
installsitebin="$sitebinexp"
|
||||
fi
|
||||
|
||||
+: determine where add-on manual pages go
|
||||
+case "$siteman1dir" in
|
||||
+'') dflt=`echo $man1dir | $sed "s#^$prefix#$siteprefix#"` ;;
|
||||
+*) dflt=$siteman1dir ;;
|
||||
+esac
|
||||
+case "$dflt" in
|
||||
+''|' ') dflt=none ;;
|
||||
+esac
|
||||
+fn=dn+~
|
||||
+rp='Pathname where the site-specific manual pages should be installed?'
|
||||
+. ./getfile
|
||||
+siteman1dir="$ans"
|
||||
+siteman1direxp="$ansexp"
|
||||
+: Change installation prefix, if necessary.
|
||||
+if $test X"$prefix" != X"$installprefix"; then
|
||||
+ installsiteman1dir=`echo $siteman1direxp | $sed "s#^$prefix#$installprefix#"`
|
||||
+else
|
||||
+ installsiteman1dir="$siteman1direxp"
|
||||
+fi
|
||||
+
|
||||
+: determine where add-on library man pages go
|
||||
+case "$siteman3dir" in
|
||||
+'') dflt=`echo $man3dir | $sed "s#^$prefix#$siteprefix#"` ;;
|
||||
+*) dflt=$siteman3dir ;;
|
||||
+esac
|
||||
+case "$dflt" in
|
||||
+''|' ') dflt=none ;;
|
||||
+esac
|
||||
+fn=dn+~
|
||||
+rp='Pathname where the site-specific library manual pages should be installed?'
|
||||
+. ./getfile
|
||||
+siteman3dir="$ans"
|
||||
+siteman3direxp="$ansexp"
|
||||
+: Change installation prefix, if necessary.
|
||||
+if $test X"$prefix" != X"$installprefix"; then
|
||||
+ installsiteman3dir=`echo $siteman3direxp | $sed "s#^$prefix#$installprefix#"`
|
||||
+else
|
||||
+ installsiteman3dir="$siteman3direxp"
|
||||
+fi
|
||||
+
|
||||
+
|
||||
case "$useperlio" in
|
||||
$define|true|[yY]*) dflt='y';;
|
||||
*) dflt='n';;
|
||||
@@ -14993,7 +15042,7 @@ for i in \`$cc -v -c tmp.c 2>&1 $postpro
|
||||
do
|
||||
case "\$i" in
|
||||
-D*) echo "\$i" | $sed 's/^-D//';;
|
||||
- -A*) $test "$gccversion" && echo "\$i" | $sed 's/^-A\(.*\)(\(.*\))/\1=\2/';;
|
||||
+ -A*) $test "$gccversion" && echo "\$i" | $sed 's/^-A//' | $sed 's/\(.*\)(\(.*\))/\1=\2/';;
|
||||
esac
|
||||
done
|
||||
$rm -f try.c
|
||||
@@ -16196,6 +16245,8 @@ installscript='$installscript'
|
||||
installsitearch='$installsitearch'
|
||||
installsitebin='$installsitebin'
|
||||
installsitelib='$installsitelib'
|
||||
+nstallsiteman1dir='$installsiteman1dir'
|
||||
+installsiteman3dir='$installsiteman3dir'
|
||||
installstyle='$installstyle'
|
||||
installusrbinperl='$installusrbinperl'
|
||||
installvendorarch='$installvendorarch'
|
||||
@@ -16365,6 +16416,10 @@ sitebinexp='$sitebinexp'
|
||||
sitelib='$sitelib'
|
||||
sitelib_stem='$sitelib_stem'
|
||||
sitelibexp='$sitelibexp'
|
||||
+siteman1dir='$siteman1dir'
|
||||
+siteman1direxp='$siteman1direxp'
|
||||
+siteman3dir='$siteman3dir'
|
||||
+siteman3direxp='$siteman3direxp'
|
||||
siteprefix='$siteprefix'
|
||||
siteprefixexp='$siteprefixexp'
|
||||
sizesize='$sizesize'
|
|
@ -1,11 +0,0 @@
|
|||
--- ext/DynaLoader/Makefile.PL.orig Mon Nov 24 21:47:20 2003
|
||||
+++ ext/DynaLoader/Makefile.PL Mon Nov 24 21:56:15 2003
|
||||
@@ -1,5 +1,8 @@
|
||||
use ExtUtils::MakeMaker;
|
||||
|
||||
+my $ccflags = $Config::Config{ccflags};
|
||||
+tied(%Config::Config)->{ccflags} = "$ccflags -DPIC -fPIC";
|
||||
+
|
||||
WriteMakefile(
|
||||
NAME => 'DynaLoader',
|
||||
LINKTYPE => 'static',
|
|
@ -1,13 +0,0 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001
|
||||
+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002
|
||||
@@ -132,7 +132,7 @@
|
||||
$diff++;
|
||||
}
|
||||
|
||||
- if ($diff){
|
||||
+ if ($diff||1){
|
||||
if (-f $targetfile){
|
||||
forceunlink($targetfile) unless $nonono;
|
||||
} else {
|
|
@ -1,19 +0,0 @@
|
|||
--- ext/POSIX/POSIX.xs.orig Tue Feb 1 11:55:24 2005
|
||||
+++ ext/POSIX/POSIX.xs Tue Feb 1 11:56:43 2005
|
||||
@@ -3860,6 +3860,16 @@
|
||||
mytm.tm_yday = yday;
|
||||
mytm.tm_isdst = isdst;
|
||||
mini_mktime(&mytm);
|
||||
+ /* use libc to normalize the thing -- @@@ -- FreeBSD PR 74042, perl bug 18238 */
|
||||
+ {
|
||||
+ struct tm mytm2;
|
||||
+ time_t t;
|
||||
+ mytm2 = mytm;
|
||||
+ t = mktime(&mytm2);
|
||||
+ mytm2 = *localtime(&t);
|
||||
+ mytm.tm_gmtoff = mytm2.tm_gmtoff;
|
||||
+ mytm.tm_zone = mytm2.tm_zone;
|
||||
+ }
|
||||
len = strftime(tmpbuf, sizeof tmpbuf, fmt, &mytm);
|
||||
/*
|
||||
** The following is needed to handle to the situation where
|
|
@ -1,30 +0,0 @@
|
|||
$FreeBSD$
|
||||
--- lib/File/Path.pm.orig Sat Jan 29 20:23:40 2005
|
||||
+++ lib/File/Path.pm Sat Jan 29 20:24:56 2005
|
||||
@@ -196,7 +196,7 @@ sub rmtree {
|
||||
# it's also intended to change it to writable in case we have
|
||||
# to recurse in which case we are better than rm -rf for
|
||||
# subtrees with strange permissions
|
||||
- chmod(0777, ($Is_VMS ? VMS::Filespec::fileify($root) : $root))
|
||||
+ chmod(0700, ($Is_VMS ? VMS::Filespec::fileify($root) : $root))
|
||||
or carp "Can't make directory $root read+writeable: $!"
|
||||
unless $safe;
|
||||
|
||||
@@ -230,7 +230,7 @@ sub rmtree {
|
||||
print "skipped $root\n" if $verbose;
|
||||
next;
|
||||
}
|
||||
- chmod 0777, $root
|
||||
+ chmod 0700, $root
|
||||
or carp "Can't make directory $root writeable: $!"
|
||||
if $force_writeable;
|
||||
print "rmdir $root\n" if $verbose;
|
||||
@@ -252,7 +252,7 @@ sub rmtree {
|
||||
print "skipped $root\n" if $verbose;
|
||||
next;
|
||||
}
|
||||
- chmod 0666, $root
|
||||
+ chmod 0600, $root
|
||||
or carp "Can't make file $root writeable: $!"
|
||||
if $force_writeable;
|
||||
print "unlink $root\n" if $verbose;
|
|
@ -1,13 +0,0 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- installperl.ORIG Thu Jul 30 15:58:50 1998
|
||||
+++ installperl Thu Jul 30 16:02:16 1998
|
||||
@@ -269,7 +269,7 @@
|
||||
(-l $usrbinperl) &&
|
||||
((readlink $usrbinperl) eq $expinstperl));
|
||||
}
|
||||
- if ((! $mainperl_is_instperl) &&
|
||||
+ if ('' && (! $mainperl_is_instperl) &&
|
||||
(yn("Many scripts expect perl to be installed as $usrbinperl.\n" .
|
||||
"Do you wish to have $usrbinperl be the same as\n" .
|
||||
"$expinstperl? [y] ")))
|
|
@ -1,20 +0,0 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- perl.h.ORIG Thu Mar 22 07:05:02 2001
|
||||
+++ perl.h Tue Apr 10 20:29:46 2001
|
||||
@@ -151,6 +151,15 @@
|
||||
|
||||
*/
|
||||
|
||||
+/* needed for IAMSUID case for 4.4BSD systems
|
||||
+ * XXX there should probably be a Configure variable
|
||||
+ */
|
||||
+
|
||||
+#ifdef I_SYS_PARAM
|
||||
+#if (defined (BSD) && (BSD >= 199306))
|
||||
+# include <sys/mount.h>
|
||||
+#endif /* !BSD */
|
||||
+#endif /* !I_SYS_PARAM */
|
||||
|
||||
class CPerlObj;
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
--- makedepend.SH.orig Wed Jul 30 18:46:59 2003
|
||||
+++ makedepend.SH Wed May 2 22:24:46 2007
|
||||
@@ -73,6 +73,7 @@
|
||||
case "$osname" in
|
||||
os2) ;;
|
||||
netbsd) ;;
|
||||
+ freebsd) ;;
|
||||
*) $touch $firstmakefile ;;
|
||||
esac
|
||||
fi
|
||||
@@ -163,6 +164,7 @@
|
||||
-e '/^#.*<builtin>/d' \
|
||||
-e '/^#.*<built-in>/d' \
|
||||
-e '/^#.*<command line>/d' \
|
||||
+ -e '/^#.*<command-line>/d' \
|
||||
-e '/^#.*"-"/d' \
|
||||
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
|
||||
-e 's/^[ ]*#[ ]*line/#/' \
|
|
@ -1,41 +0,0 @@
|
|||
--- hints/freebsd.sh.orig Wed Oct 15 22:26:16 2003
|
||||
+++ hints/freebsd.sh Mon Feb 19 21:16:03 2007
|
||||
@@ -101,7 +101,14 @@ case "$osvers" in
|
||||
"") usemymalloc='n'
|
||||
;;
|
||||
esac
|
||||
+ d_setregid='define'
|
||||
+ d_setreuid='define'
|
||||
+ d_setegid='define'
|
||||
+ d_seteuid='define'
|
||||
libswanted=`echo $libswanted | sed 's/ malloc / /'`
|
||||
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
|
||||
+ libswanted=`echo $libswanted | sed 's/ iconv / /'`
|
||||
+ libswanted=`echo $libswanted | sed 's/ dl / /'`
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -116,17 +123,17 @@ case "$osvers" in
|
||||
|
||||
*)
|
||||
objformat=`/usr/bin/objformat`
|
||||
- if [ x$objformat = xelf ]; then
|
||||
- libpth="/usr/lib /usr/local/lib"
|
||||
- glibpth="/usr/lib /usr/local/lib"
|
||||
- ldflags="-Wl,-E "
|
||||
- lddlflags="-shared "
|
||||
- else
|
||||
+ if [ x$objformat = xaout ]; then
|
||||
if [ -e /usr/lib/aout ]; then
|
||||
libpth="/usr/lib/aout /usr/local/lib /usr/lib"
|
||||
glibpth="/usr/lib/aout /usr/local/lib /usr/lib"
|
||||
fi
|
||||
lddlflags='-Bshareable'
|
||||
+ else
|
||||
+ libpth="/usr/lib /usr/local/lib"
|
||||
+ glibpth="/usr/lib /usr/local/lib"
|
||||
+ ldflags="-Wl,-E "
|
||||
+ lddlflags="-shared "
|
||||
fi
|
||||
cccdlflags='-DPIC -fPIC'
|
||||
;;
|
|
@ -1,13 +0,0 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- mg.c.orig Tue Oct 29 16:24:52 2002
|
||||
+++ mg.c Tue Oct 29 16:32:26 2002
|
||||
@@ -562,6 +562,8 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
|
||||
(void)SvOK_off(sv);
|
||||
else if (PL_in_eval)
|
||||
sv_setiv(sv, PL_in_eval & ~(EVAL_INREQUIRE));
|
||||
+ else
|
||||
+ sv_setiv(sv, 0);
|
||||
}
|
||||
break;
|
||||
case '\024': /* ^T */
|
|
@ -1,58 +0,0 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- perl.c.orig Sun Jun 2 12:29:01 2002
|
||||
+++ perl.c Sun Jun 2 12:30:14 2002
|
||||
@@ -3407,6 +3407,26 @@
|
||||
#endif /* VMS */
|
||||
}
|
||||
|
||||
+#ifdef SITEARCH_EXP
|
||||
+ /* sitearch is always relative to sitelib on Windows for
|
||||
+ * DLL-based path intuition to work correctly */
|
||||
+# if !defined(WIN32)
|
||||
+ incpush(SITEARCH_EXP, FALSE, FALSE);
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
+#ifdef SITELIB_EXP
|
||||
+# if defined(WIN32)
|
||||
+ incpush(SITELIB_EXP, TRUE, FALSE); /* this picks up sitearch as well */
|
||||
+# else
|
||||
+ incpush(SITELIB_EXP, FALSE, FALSE);
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
+#ifdef SITELIB_STEM /* Search for version-specific dirs below here */
|
||||
+ incpush(SITELIB_STEM, FALSE, TRUE);
|
||||
+#endif
|
||||
+
|
||||
/* Use the ~-expanded versions of APPLLIB (undocumented),
|
||||
ARCHLIB PRIVLIB SITEARCH SITELIB VENDORARCH and VENDORLIB
|
||||
*/
|
||||
@@ -3445,26 +3465,6 @@
|
||||
incpush(PRIVLIB_EXP, TRUE, FALSE);
|
||||
#else
|
||||
incpush(PRIVLIB_EXP, FALSE, FALSE);
|
||||
-#endif
|
||||
-
|
||||
-#ifdef SITEARCH_EXP
|
||||
- /* sitearch is always relative to sitelib on Windows for
|
||||
- * DLL-based path intuition to work correctly */
|
||||
-# if !defined(WIN32)
|
||||
- incpush(SITEARCH_EXP, FALSE, FALSE);
|
||||
-# endif
|
||||
-#endif
|
||||
-
|
||||
-#ifdef SITELIB_EXP
|
||||
-# if defined(WIN32)
|
||||
- incpush(SITELIB_EXP, TRUE, FALSE); /* this picks up sitearch as well */
|
||||
-# else
|
||||
- incpush(SITELIB_EXP, FALSE, FALSE);
|
||||
-# endif
|
||||
-#endif
|
||||
-
|
||||
-#ifdef SITELIB_STEM /* Search for version-specific dirs below here */
|
||||
- incpush(SITELIB_STEM, FALSE, TRUE);
|
||||
#endif
|
||||
|
||||
#ifdef PERL_VENDORARCH_EXP
|
|
@ -1,169 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
|
||||
this=`echo -n $0 | /usr/bin/sed -e 's!^.*/!!'`
|
||||
PERL_VERSION="%%PERL_VERSION%%"
|
||||
MAKE_CONF=%%MAKE_CONF%%
|
||||
banner=`date +"%F %T"`
|
||||
banner="# added by use.perl $banner"
|
||||
if [ -z "${OSVERSION}" ]; then
|
||||
if [ -f /sbin/sysctl -a -x /sbin/sysctl ] ; then
|
||||
osreldate=`/sbin/sysctl -n kern.osreldate`
|
||||
else
|
||||
osreldate=`/usr/sbin/sysctl -n kern.osreldate`
|
||||
fi
|
||||
else
|
||||
osreldate=${OSVERSION}
|
||||
fi
|
||||
|
||||
if [ "x$this" = "xuse.perl" ]; then
|
||||
PKG_PREFIX="%%PREFIX%%"
|
||||
if [ "$1" = "port" ] ; then
|
||||
need_remove_links=yes
|
||||
need_create_links=yes
|
||||
need_cleanup_make_conf=yes
|
||||
need_cleanup_manpath=yes
|
||||
need_spam_make_conf=yes
|
||||
need_spam_manpath=yes
|
||||
elif [ "$1" = "system" ] ; then
|
||||
need_remove_links=yes
|
||||
need_cleanup_make_conf=yes
|
||||
need_cleanup_manpath=yes
|
||||
else
|
||||
echo 'Usage:
|
||||
$0 port -> /usr/bin/perl is the perl5 port
|
||||
$0 system -> /usr/bin/perl is the system perl'
|
||||
exit 2;
|
||||
fi
|
||||
else
|
||||
if [ "$2" = "POST-INSTALL" ] ; then
|
||||
need_post_install=yes
|
||||
elif [ "$2" = "POST-DEINSTALL" ] ; then
|
||||
# XXX this needs a more intelligent handling
|
||||
# XXX since we would not want to remove perl5.8's links
|
||||
need_remove_links=yes
|
||||
need_cleanup_make_conf=yes
|
||||
need_cleanup_manpath=yes
|
||||
else
|
||||
exit 0;
|
||||
fi
|
||||
fi
|
||||
|
||||
special_link_list="
|
||||
perl
|
||||
perl5
|
||||
suidperl"
|
||||
|
||||
do_remove_links()
|
||||
{
|
||||
echo "Removing stale symlinks from /usr/bin..."
|
||||
for binary in $special_link_list
|
||||
do
|
||||
if [ -L "/usr/bin/$binary" ] ; then
|
||||
echo " Removing /usr/bin/$binary"
|
||||
/bin/rm -f "/usr/bin/$binary"
|
||||
else
|
||||
echo " Skipping /usr/bin/$binary"
|
||||
fi
|
||||
done
|
||||
bins=`/bin/ls /usr/bin/*perl*5.* ${PKG_PREFIX}/bin/*perl*5.* 2>/dev/null`
|
||||
for binary in $bins
|
||||
do
|
||||
if [ -L "$binary" ] ; then
|
||||
echo " Removing $binary installed by an older perl port"
|
||||
/bin/rm -f "$binary"
|
||||
fi
|
||||
done
|
||||
echo "Done."
|
||||
}
|
||||
|
||||
do_create_links()
|
||||
{
|
||||
echo "Creating various symlinks in /usr/bin..."
|
||||
for binary in $special_link_list
|
||||
do
|
||||
if [ -f "/usr/bin/$binary" ] ; then
|
||||
echo " Removing /usr/bin/$binary"
|
||||
fi
|
||||
bin=`echo $binary | /usr/bin/sed -e 's!perl5!perl!'`
|
||||
bin=`echo $bin | /usr/bin/sed -e 's!suidperl!sperl!'`
|
||||
if [ -e "/usr/bin/$binary.XXX" ] ; then
|
||||
echo " *** /usr/bin/$binary is still there, which should not happen"
|
||||
elif [ -e "$PKG_PREFIX/bin/${bin}%%PERL_VERSION%%" ] ; then
|
||||
echo " Symlinking $PKG_PREFIX/bin/${bin}%%PERL_VERSION%% to /usr/bin/$binary"
|
||||
/bin/ln -sf "$PKG_PREFIX/bin/${bin}%%PERL_VERSION%%" "/usr/bin/$binary"
|
||||
else
|
||||
echo " *** $PKG_PREFIX/bin/${bin}%%PERL_VERSION%% is not there, a symlink won't do any good"
|
||||
fi
|
||||
done
|
||||
echo "Done."
|
||||
}
|
||||
|
||||
do_post_install()
|
||||
{
|
||||
INCLUDEDIR=/usr/include
|
||||
install -d ${PKG_PREFIX}/lib/perl5/site_perl/%%PERL_VERSION%%/%%PERL_ARCH%%/auto
|
||||
install -d ${PKG_PREFIX}/lib/perl5/site_perl/%%PERL_VERSION%%/auto
|
||||
install -d ${PKG_PREFIX}/lib/perl5/%%PERL_VERSION%%/man/man3
|
||||
cd ${INCLUDEDIR} && ${PKG_PREFIX}/bin/h2ph *.h machine/*.h sys/*.h >/dev/null
|
||||
}
|
||||
|
||||
do_cleanup_make_conf()
|
||||
{
|
||||
echo -n "Cleaning up ${MAKE_CONF}..."
|
||||
if [ -f ${MAKE_CONF} ] ; then
|
||||
/usr/bin/awk 's=0;
|
||||
/^#.*use.perl/ { s=1; mode=1 }
|
||||
/^#/ { s=1; if (mode != 1) { mode=0 } }
|
||||
/.*PERL.*=/ { s=1; if (mode == 1) { mode=2 } }
|
||||
/^$/ { s=1; if (mode != 2) { mode = 0 } }
|
||||
{ if (s != 1) { mode = 0 } if (mode == 0) print }' ${MAKE_CONF} >${MAKE_CONF}.new
|
||||
/bin/mv ${MAKE_CONF} ${MAKE_CONF}.bak
|
||||
/bin/mv ${MAKE_CONF}.new ${MAKE_CONF}
|
||||
fi
|
||||
echo " Done."
|
||||
}
|
||||
|
||||
do_cleanup_manpath()
|
||||
{
|
||||
echo -n "Cleaning up /etc/manpath.config..."
|
||||
if [ -f /etc/manpath.config ] ; then
|
||||
/usr/bin/awk 's=0;
|
||||
/^#.*use.perl/ { s=1; mode=1 }
|
||||
/^#/ { s=1; if (mode != 1) { mode=0 } }
|
||||
/^OPTIONAL_MANPATH.*perl5/ { s=1; if (mode == 1) { mode=2 } }
|
||||
/^$/ { s=1; if (mode != 2) { mode = 0 } }
|
||||
{ if (s != 1) { mode = 0 } if (mode == 0) print }' /etc/manpath.config >/etc/manpath.config.new
|
||||
/bin/mv /etc/manpath.config /etc/manpath.config.bak
|
||||
/bin/mv /etc/manpath.config.new /etc/manpath.config
|
||||
fi
|
||||
echo " Done."
|
||||
}
|
||||
|
||||
do_spam_make_conf()
|
||||
{
|
||||
echo -n "Spamming ${MAKE_CONF}..."
|
||||
echo "$banner" >>${MAKE_CONF}
|
||||
echo "PERL_VERSION=%%PERL_VERSION%%" >>${MAKE_CONF}
|
||||
echo " Done."
|
||||
}
|
||||
|
||||
do_spam_manpath()
|
||||
{
|
||||
echo -n "Spamming /etc/manpath.config..."
|
||||
echo "$banner" >>/etc/manpath.config
|
||||
echo "OPTIONAL_MANPATH ${PKG_PREFIX}/lib/perl5/%%PERL_VERSION%%/man" >>/etc/manpath.config
|
||||
echo "OPTIONAL_MANPATH ${PKG_PREFIX}/lib/perl5/%%PERL_VERSION%%/perl/man" >>/etc/manpath.config
|
||||
echo " Done."
|
||||
}
|
||||
|
||||
[ $need_remove_links ] && do_remove_links
|
||||
[ $need_create_links ] && do_create_links
|
||||
[ $need_post_install ] && do_post_install
|
||||
[ $need_cleanup_make_conf ] && do_cleanup_make_conf
|
||||
[ $need_spam_make_conf ] && do_spam_make_conf
|
||||
[ $need_cleanup_manpath ] && do_cleanup_manpath
|
||||
[ $need_spam_manpath ] && do_spam_manpath
|
||||
|
||||
exit 0
|
|
@ -1,8 +0,0 @@
|
|||
Perl is a language that combines some of the features of C, sed, awk and
|
||||
shell. See the manual page for more hype. There are also many books
|
||||
published by O'Reilly & Assoc. See pod/perlbook.pod for more
|
||||
information.
|
||||
|
||||
WWW: http://perl.com/
|
||||
|
||||
- MarkM
|
|
@ -1,26 +0,0 @@
|
|||
Installation of Perl distribution is finished. Please note, that since
|
||||
on this version of FreeBSD the preferred Perl port is lang/perl5.8, this
|
||||
distribution will not be used by default.
|
||||
|
||||
If you want this version of Perl to be used by default, please type
|
||||
|
||||
use.perl port
|
||||
|
||||
Assuming that use.perl script (which was installed with the rest of the
|
||||
Perl distribution) can be found in your PATH (you might have to type
|
||||
`rehash' first, depending upon a shell you use), this action will
|
||||
replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the
|
||||
versions of these binaries in the Perl distribution. This action will
|
||||
also put some variables into your /etc/make.conf file, so that newly
|
||||
installed ports (not packages!) will use new version of perl, and the
|
||||
system upgrades from the source will not overwrite the changes made.
|
||||
|
||||
Note that use.perl port is specific to a given perl installation. If
|
||||
you later upgrade the perl port, run use.perl port again to update the
|
||||
symbolic links and /etc/make.conf.
|
||||
|
||||
At any time you can also type
|
||||
|
||||
use.perl system
|
||||
|
||||
if you wish to remove those symbolic links from your system.
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue