1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Upgrade, 5.003 -> 5.004_01.

With their approval, the maintainer is changed from sanpei@yy.cs.keio.ac.jp
to hikura@kaisei.org
PR:		4325
Submitted by:	hikura@kaisei.org
This commit is contained in:
Masafumi Max NAKANE 1997-08-31 16:20:53 +00:00
parent ec968b0871
commit fcf9c0b7fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7732
8 changed files with 670 additions and 1569 deletions

View File

@ -1,13 +1,13 @@
# New ports collection makefile for: jp-perl5
# Version required: 5.003
# Version required: 5.004_01
# Date created: 7 January 1997
# Whom: Yoshiro MIHIRA
#
# $Id: Makefile,v 1.7 1997/06/09 04:53:40 fenner Exp $
# $Id: Makefile,v 1.8 1997/06/23 01:38:27 fenner Exp $
#
DISTNAME= perl5.003
PKGNAME= jp-perl-5.003
DISTNAME= perl5.004_01
PKGNAME= jp-perl-5.004.01
CATEGORIES= japanese perl5
MASTER_SITES= ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0/ \
ftp://ftp.is.co.za/pub/packages/perl/CPAN/src/5.0/ \
@ -21,7 +21,7 @@ MASTER_SITES= ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0/ \
ftp://ftp.delphi.com/pub/mirrors/packages/perl/CPAN/src/5.0/ \
ftp://uiarchive.cso.uiuc.edu/pub/lang/perl/CPAN/src/5.0/
PATCHFILES= jperl5.003.patch7_1.gz
PATCHFILES= jperl5.004_01-970617.pat.gz
PATCH_SITES= ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/WATANABE/ \
ftp://ftp.is.co.za/pub/packages/perl/CPAN/authors/id/WATANABE/ \
ftp://ftp.math.ncu.edu.tw/perl/CPAN/authors/id/WATANABE/ \
@ -34,37 +34,52 @@ PATCH_SITES= ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/WATANABE/ \
ftp://ftp.delphi.com/pub/mirrors/packages/perl/CPAN/authors/id/WATANABE/ \
ftp://uiarchive.cso.uiuc.edu/pub/lang/perl/CPAN/authors/id/WATANABE/
MAINTAINER= sanpei@yy.cs.keio.ac.jp
MAINTAINER= hikura@kaisei.org
PATCH_DIST_STRIP= -p1
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= -sde -Dprefix=${PREFIX}
MAN1= perlbook.1 perlbot.1 perlcall.1 perldata.1 perldebug.1 perldiag.1 \
perlembed.1 perlform.1 perlfunc.1 perlguts.1 perlipc.1 perllol.1 \
perlmod.1 perlobj.1 perlop.1 perlovl.1 perlpod.1 perlre.1 perlref.1 \
perlrun.1 perlsec.1 perlstyle.1 perlsub.1 perlsyn.1 perltie.1 \
perltoc.1 perltrap.1 perlvar.1 perlxs.1 perlxstut.1 perl.1 \
a2p.1 s2p.1 jperl.1
MAN3= AnyDBM_File.3 AutoLoader.3 AutoSplit.3 Benchmark.3 \
Carp.3 Cwd.3 DirHandle.3 ExtUtils::Manifest.3 Devel::SelfStubber.3 \
English.3 Env.3 Exporter.3 Term::Cap.3 Shell.3 ExtUtils::Install.3 \
MAN1= a2p.1 c2ph.1 h2ph.1 h2xs.1 perl.1 perlapio.1 perlbook.1 perlbot.1 \
perlbug.1 perlcall.1 perldata.1 perldebug.1 perldelta.1 perldiag.1 \
perldoc.1 perldsc.1 perlembed.1 perlfaq.1 perlfaq1.1 perlfaq2.1 \
perlfaq3.1 perlfaq4.1 perlfaq5.1 perlfaq6.1 perlfaq7.1 perlfaq8.1 \
perlfaq9.1 perlform.1 perlfunc.1 perlguts.1 perlipc.1 perllocale.1 \
perllol.1 perlmod.1 perlmodlib.1 perlobj.1 perlop.1 perlpod.1 \
perlre.1 perlref.1 perlrun.1 perlsec.1 perlstyle.1 perlsub.1 \
perlsyn.1 perltie.1 perltoc.1 perltoot.1 perltrap.1 perlvar.1 \
perlxs.1 perlxstut.1 pl2pm.1 pod2man.1 pstruct.1 s2p.1 xsubpp.1 \
jperl.1 pod2html.1 splain.1
MAN3= AnyDBM_File.3 AutoLoader.3 AutoSplit.3 Benchmark.3 Bundle::CPAN.3 \
CGI.3 CGI::Apache.3 CGI::Carp.3 CGI::Fast.3 CGI::Push.3 \
CGI::Switch.3 CPAN.3 CPAN::FirstTime.3 CPAN::Nox.3 Carp.3 \
Class::Struct.3 Config.3 Cwd.3 DB_File.3 Devel::SelfStubber.3 \
DirHandle.3 DynaLoader.3 English.3 Env.3 Exporter.3 \
ExtUtils::Command.3 ExtUtils::Embed.3 ExtUtils::Install.3 \
ExtUtils::Liblist.3 ExtUtils::MM_OS2.3 ExtUtils::MM_Unix.3 \
ExtUtils::MM_VMS.3 ExtUtils::MakeMaker.3 FileCache.3 \
ExtUtils::Mkbootstrap.3 ExtUtils::Mksymlists.3 ExtUtils::testlib.3\
ExtUtils::Miniperl.3 File::Basename.3 File::CheckTree.3 \
File::Copy.3 File::Find.3 File::Path.3 Getopt::Long.3 \
Getopt::Std.3 I18N::Collate.3 IPC::Open2.3 IPC::Open3.3 \
Math::BigFloat.3 Math::BigInt.3 Math::Complex.3 Net::Ping.3 \
Pod::Text.3 Search::Dict.3 SelectSaver.3 SelfLoader.3 Symbol.3 \
Text::ParseWords.3 Sys::Hostname.3 Sys::Syslog.3 Term::Complete.3 \
Term::ReadLine.3 Test::Harness.3 Text::Abbrev.3 subs.3 \
ExtUtils::MM_VMS.3 ExtUtils::MM_Win32.3 ExtUtils::MakeMaker.3 \
ExtUtils::Manifest.3 ExtUtils::Miniperl.3 ExtUtils::Mkbootstrap.3 \
ExtUtils::Mksymlists.3 ExtUtils::testlib.3 Fcntl.3 File::Basename.3 \
File::CheckTree.3 File::Compare.3 File::Copy.3 File::Find.3 \
File::Path.3 File::stat.3 FileCache.3 FileHandle.3 FindBin.3 \
Getopt::Long.3 Getopt::Std.3 I18N::Collate.3 IO.3 IO::File.3 \
IO::Handle.3 IO::Pipe.3 IO::Seekable.3 IO::Select.3 IO::Socket.3 \
IPC::Open2.3 IPC::Open3.3 Math::BigFloat.3 Math::BigInt.3 \
Math::Complex.3 Math::Trig.3 NDBM_File.3 Net::Ping.3 Net::hostent.3 \
Net::netent.3 Net::protoent.3 Net::servent.3 Opcode.3 POSIX.3 \
Pod::Html.3 Pod::Text.3 SDBM_File.3 Safe.3 Search::Dict.3 \
SelectSaver.3 SelfLoader.3 Shell.3 Socket.3 Symbol.3 \
Sys::Hostname.3 Sys::Syslog.3 Term::Cap.3 Term::Complete.3 \
Term::ReadLine.3 Test::Harness.3 Text::Abbrev.3 Text::ParseWords.3 \
Text::Soundex.3 Text::Tabs.3 Text::Wrap.3 Tie::Hash.3 \
Tie::Scalar.3 Tie::SubstrHash.3 Time::Local.3 diagnostics.3 \
integer.3 less.3 lib.3 overload.3 sigtrap.3 strict.3 vars.3 \
Config.3 DynaLoader.3 DB_File.3 Fcntl.3 FileHandle.3 \
NDBM_File.3 POSIX.3 SDBM_File.3 Safe.3 Socket.3 I18N::Japanese.3
Tie::RefHash.3 Tie::Scalar.3 Tie::SubstrHash.3 Time::Local.3 \
Time::gmtime.3 Time::localtime.3 Time::tm.3 UNIVERSAL.3 \
User::grent.3 User::pwent.3 autouse.3 blib.3 constant.3 diagnostics.3 \
integer.3 less.3 lib.3 locale.3 ops.3 overload.3 sigtrap.3 strict.3 \
subs.3 vars.3 I18N::Japanese.3 File::DosGlob.3
MAN3PREFIX= ${PREFIX}/lib/perl5
test:

View File

@ -1,2 +1,2 @@
MD5 (perl5.003.tar.gz) = b1bb23995cd25e5b750585bfede0e8a5
MD5 (jperl5.003.patch7_1.gz) = 1c4574d7e616d8147b8cc7ba9b2f840d
MD5 (perl5.004_01.tar.gz) = bc29b3bd93b6511234455ba733913ea0
MD5 (jperl5.004_01-970617.pat.gz) = 720b838d29ef7ae65fb9ded6e2d3c507

View File

@ -1,26 +1,25 @@
--- Configure.orig Sat Jan 11 15:16:14 1997
+++ Configure Sat Jan 11 15:22:42 1997
@@ -85,11 +85,12 @@
PATH=.$p_$PATH
export PATH
--- Configure.orig Fri Jul 4 16:55:52 1997
+++ Configure Fri Jul 4 16:56:50 1997
@@ -91,11 +91,11 @@
*) CDPATH='' ;;
esac
-: Sanity checks
-if test ! -t 0; then
- echo "Say 'sh $me', not 'sh <$me'"
- exit 1
-fi
+#: Sanity checks (Disabled for FreeBSD build - users coming here [ws]ould
+# know what they are doing anyway) ;-) MarkM
+#if test ! -t 0; then
+# echo "Say 'sh $me', not 'sh <$me'"
+# exit 1
+#fi
+: Sanity checks Disabled for FreeBSD port building - MarkM - May 1997
+: if test ! -t 0; : then
+: echo "Say 'sh $me', not 'sh <$me'"
+: exit 1
+: fi
: On HP-UX, large Configure scripts may exercise a bug in /bin/sh
if test -f /hp-ux -a -f /bin/ksh; then
@@ -709,7 +710,7 @@
: Test and see if we are running under ksh, either blatantly or in disguise.
if (PATH=.; alias -x) >/dev/null 2>&1; then
@@ -756,7 +756,7 @@
: List of libraries we want.
libswanted='net socket inet nsl nm ndbm gdbm dbm db malloc dl'
libswanted='sfio net socket inet nsl nm ndbm gdbm dbm db malloc dl'
libswanted="$libswanted dld ld sun m c cposix posix ndir dir crypt"
-libswanted="$libswanted ucb bsd BSD PW x"
+libswanted="xpg4 $libswanted ucb bsd BSD PW x"

File diff suppressed because it is too large Load Diff

View File

@ -1,43 +1,28 @@
--- hints/freebsd.sh.orig Mon Feb 12 21:52:51 1996
+++ hints/freebsd.sh Wed Oct 23 18:00:16 1996
@@ -43,16 +43,39 @@
d_setruid='undef'
--- hints/freebsd.sh.orig Wed Apr 23 16:01:37 1997
+++ hints/freebsd.sh Tue Jun 3 14:29:50 1997
@@ -63,6 +63,7 @@
d_setreuid='define'
d_setegid='undef'
d_seteuid='undef'
+ d_dosuid='define'
test -r ./broken-db.msg && . ./broken-db.msg
;;
#
-# Trying to cover 2.0.5, 2.1-current and future 2.1
+# Trying to cover 2.0.5, 2.1-current and future 2.1/2.2
# It does not covert all 2.1-current versions as the output of uname
# changed a few times.
#
+# Even though seteuid/setegid are available, they've been turned off
+# because perl isn't coded with saved set[ug]id variables in mind.
+# In addition, a small patch is requried to suidperl to avoid a security
+# problem with FreeBSD.
+#
2.0.5*|2.0-built*|2.1*)
usevfork='true'
@@ -76,12 +77,18 @@
d_setreuid='define'
d_setegid='undef'
d_seteuid='undef'
+ d_dosuid='define'
+ d_setregid='define'
+ d_setreuid='define'
+ d_setegid='undef'
+ d_seteuid='undef'
+ ;;
+#
+# 2.2 and above have phkmalloc(3).
+2.2*)
+ usevfork='true'
+ usemymalloc='n'
+ d_dosuid='define'
+ d_setregid='define'
+ d_setreuid='define'
+ d_setegid='undef'
+ d_seteuid='undef'
;;
#
-# Guesses at what will be needed after 2.1
+# Guesses at what will be needed after 2.2
# Guesses at what will be needed after 2.2
*) usevfork='true'
+ usemymalloc='n'
usemymalloc='n'
libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ d_setregid='define'
+ d_setreuid='define'
+ d_setegid='undef'
+ d_seteuid='undef'
+ d_dosuid='define'
;;
esac

View File

@ -1,46 +1,29 @@
*** installperl.orig Mon Jun 24 22:08:25 1996
--- installperl Wed Jun 26 22:21:05 1996
***************
*** 89,95 ****
&safe_unlink("$installbin/sperl$ver$exe_ext");
if ($d_dosuid) {
&cmd("cp suidperl$exe_ext $installbin/sperl$ver$exe_ext");
! &chmod(04711, "$installbin/sperl$ver$exe_ext");
}
exit 0 if $versiononly;
--- 89,95 ----
&safe_unlink("$installbin/sperl$ver$exe_ext");
if ($d_dosuid) {
&cmd("cp suidperl$exe_ext $installbin/sperl$ver$exe_ext");
! &chmod(04111, "$installbin/sperl$ver$exe_ext");
}
exit 0 if $versiononly;
***************
*** 203,212 ****
((readlink "$mainperldir/perl$exe_ext") eq "$binexp/perl$exe_ext"));
}
if ((! $mainperl_is_instperl) &&
! (&yn("Many scripts expect perl to be installed as " .
! "$mainperldir/perl.\n" .
! "Do you wish to have $mainperldir/perl be the same as\n" .
! "$binexp/perl? [y] ")))
{
unlink("$mainperldir/perl$exe_ext");
eval 'link("$installbin/perl$exe_ext", "$mainperldir/perl$exe_ext")' ||
--- 203,216 ----
((readlink "$mainperldir/perl$exe_ext") eq "$binexp/perl$exe_ext"));
}
if ((! $mainperl_is_instperl) &&
! 0)
! # Disable Perl5 from 'taking' over from the system Perl.
! # (nasty hack, but it is only for the FreeBSD build, so WTH.
! #
! # (&yn("Many scripts expect perl to be installed as " .
! # "$mainperldir/perl.\n" .
! # "Do you wish to have $mainperldir/perl be the same as\n" .
! # "$binexp/perl? [y] ")))
{
unlink("$mainperldir/perl$exe_ext");
eval 'link("$installbin/perl$exe_ext", "$mainperldir/perl$exe_ext")' ||
--- installperl.ORIG Mon May 12 05:22:27 1997
+++ installperl Fri May 23 11:40:27 1997
@@ -93,7 +93,7 @@
safe_unlink("$installbin/sperl$ver$exe_ext");
if ($d_dosuid) {
copy("suidperl$exe_ext", "$installbin/sperl$ver$exe_ext");
- chmod(04711, "$installbin/sperl$ver$exe_ext");
+ chmod(04111, "$installbin/sperl$ver$exe_ext");
}
# Install library files.
@@ -156,11 +156,12 @@
(-l $usrbinperl) &&
((readlink $usrbinperl) eq $expinstperl));
}
- 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] ")))
- {
+# 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] ")))
+# {
+ if ('') { # MarkM - May 1997. Take the NO route always.
unlink($usrbinperl);
eval { CORE::link $instperl, $usrbinperl } ||
eval { symlink $expinstperl, $usrbinperl } ||

View File

@ -1,10 +1,10 @@
* jp-perl-5.003
* jp-perl-5.004.01
This port collection was used:
port collection lang/perl5
by markm@FreeBSD.ORG,
and jperl5.003.patch7_1
and jperl5.004_01-970617
by yasushi@cs.washington.edu.
----------- From lang/perl5/pkg/DESC
@ -23,5 +23,5 @@ This is due to a bug in vprintf in the C library.
- MarkM
----------
- Yoshiro MIHIRA
(sanpei@yy.cs.keio.ac.jp)
- Hironori Ikura
<hikura@kaisei.org>

File diff suppressed because it is too large Load Diff