Commit Graph

62 Commits

Author SHA1 Message Date
Anton Berezin
fb226407ee Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable.  The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.

Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port.  Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it).  The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin.  Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf.  Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source.  The
switching to the system version is more or less a reverse of the process
described above.

Set and use PERL_ARCH which is independed from the one used by the
system perl.

Fix the port for post-malloc.h -current.

Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).

Reviewed by:	markm, joe
2001-12-19 17:05:05 +00:00
Anton Berezin
1deec72d79 Make this port do the same thing whether databases/gdbm is installed or
not - do not install GDBM_File extension.

PR:		29884
2001-08-20 13:51:14 +00:00
Anton Berezin
dc7016253b Fix wrong directory name.
PR:		28462
OK'ed by:	markm
2001-06-29 16:43:51 +00:00
Anton Berezin
64c3280234 Take over maintainership.
OK'ed by:	markm
2001-06-12 19:36:32 +00:00
Mark Murray
47329499f6 Update for Perl 5.6.1.
As before, this is a "guru only" port. If you know what you are
doing, go ahead and use it. If not - HANDS OFF!

Perl 5.6.1 will be committed to "base" FreeBSD in a week or 2.
2001-04-10 19:57:49 +00:00
Mark Murray
797ed92386 Upgrade this to perl5.6.0 for _knowledgeable_ folks in STABLE who
really want it.

This is still marked FORBIDDEN as there may be all sorts of horrible
incompatabilities with the perl5 in "base", but folks who are willing
to override this and experiment are welcome.

Consider this to be only partially supported. I'll happily commit
patches and fixes, but I don't want to answer too many questions.

Sorry!
2001-03-22 15:17:46 +00:00
Jimmy Olgeni
f7c07bb0b0 Some style fixes in the lang category (usual round of spaces -> tabs) 2001-02-05 15:04:13 +00:00
Chris Piazza
cfadbd9d63 Correct the COMMENT
PR:		18638
Submitted by:	Daniel S. Lewart <d-lewart@uiuc.edu>
2000-05-19 07:45:34 +00:00
Bill Fumerola
ccf4c430e0 ftp.cdrom.com -> ftp.freesoftware.com, adjusting paths as I go. 2000-05-14 05:40:52 +00:00
Satoshi Asami
ace86ed3bb Typo (PORTVESION -> PORTVERSION). 2000-04-13 18:57:37 +00:00
David E. O'Brien
5cd5b258b5 Convert to the PORTNAME - PORTVERSION syntax. 2000-04-12 06:21:15 +00:00
Michael Haro
65ab34a667 FreeBSD.ORG -> FreeBSD.org
Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
1999-08-31 06:53:31 +00:00
Michael Haro
af5f314286 ln -> ${LN} 1999-08-28 01:58:05 +00:00
David E. O'Brien
f0f690adc1 Change Id->FreeBSD. 1999-08-25 06:35:40 +00:00
Tim Vanderhoek
dd9ff05a6a Commit #3/4 to enforce caps, no period.
FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.

As promised,

$ time cvs ci
real    67m51.701s
user    0m1.250s
sys     0m5.345s
1999-06-26 19:12:45 +00:00
Steve Price
9c70450344 Add '%D' so we get the whole path for the '@unexec rm's.
PR:		7848
Submitted by:	Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
1999-05-09 16:43:49 +00:00
Satoshi Asami
0938d81904 Use FORBIDDEN to indicate that this port shouldn't be built under any (some)
circumstances.  This is different from BROKEN, which merely means we think
it is broken.
1999-03-29 07:50:14 +00:00
Satoshi Asami
dbc8aa6cc1 Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.

(This is not by any means the complete list but just the ones I've noticed
recently.)
1998-11-11 05:37:39 +00:00
Mark Murray
1855f5ab88 Perl 5 is in the system. Mark this port broken for 3.0 for that reason.
(Also minor repairs to PLIST - nuke ranlibs)

Reviewed by: asami
OK-ed by: jseger
1998-10-12 06:51:07 +00:00
Mark Murray
47f59bf141 Make this port honour CFLAGS.
Submitted by: axl (Sheldon Hearn)
1998-08-28 14:48:37 +00:00
Mark Murray
e58aa8cc3a Upgrade to perl 5.005_02. This will have virtually no impact on ports that
have been converted to the new scheme.
1998-08-15 16:33:13 +00:00
Andrey A. Chernov
e5075774e4 create needed directories before making .ph files 1998-08-07 14:16:20 +00:00
Andrey A. Chernov
517e01713a generate .ph files on package install now 1998-08-07 12:33:29 +00:00
Andrey A. Chernov
99ba8ccbce Remove generated include .ph files which not present on every machine,
mostly kerberos or obsoleted ones.
1998-08-06 15:33:57 +00:00
Mark Murray
0d626d564a Update to Perl 5.005_01. 1998-08-06 10:43:22 +00:00
Steve Price
f0c6d00277 Run h2ph as part of post-install target. Note this doesn't get a complete
list of header files but does get enough that when perl needs more header
files that it will hint to use h2ph.

PR:		5738
1998-02-15 23:03:58 +00:00
Mark Murray
f4bfcab524 Upgrade to 5.004_04. Maintenance upgrade. 1997-11-12 10:24:24 +00:00
David E. O'Brien
ef3e503aa5 Add perl5 as an alias for the binary.
OKed by:	Satoshi
1997-10-06 05:17:48 +00:00
Mark Murray
69211dac18 Patch to make this compile on 2.2.1 1997-09-22 18:21:54 +00:00
Mark Murray
60420d036a Corrent package name.
Pointed out by:	Satoshi
1997-07-18 06:16:44 +00:00
Mark Murray
590895bdee Update to perl-5.004_01 1997-07-17 17:46:50 +00:00
Mark Murray
d13e692b7f Make suidperl install on 2.1.*
Submitted by:	pius@ienet.com
1997-06-04 06:45:12 +00:00
Andrey A. Chernov
6c29785067 Remove two initial ranlib's without any previous file 1997-05-24 21:49:27 +00:00
Mark Murray
114fff35fa Upgrade to Perl5.004. SUID Perl Works for 3.0-current and 2.2.2! 1997-05-23 20:07:04 +00:00
Ollivier Robert
2f8ef1af98 This is the Perl5 equivalent of the MNT_NOSUID patch that was put into
/usr/bin/perl a while ago. It works with 5.003 and 5.004-tobe.

I can't test it on freefall (I don't have a setuid script to play with)
but it works at home. I'll test on thud later.

Every setuid script found on a partition mounted "nosuid" will not be executed
and "Permission Denied" will be displayed.

It won't be in soo-to-be-released 5.004 because it is not a FreeBSD speciific
problem but it will be dealt with in 5.004_01 (maintenance release).

Obtained from: Jörg's patch (edited for Perl5 by me).
1997-05-13 16:12:55 +00:00
Wolfram Schneider
df8f6f276f Add virtual category 'perl5'. 1997-04-20 13:53:29 +00:00
Satoshi Asami
6a00dcc27c Update to take advantage of new features in bsd.port.mk rev. 1.237. 1996-12-11 10:18:45 +00:00
Satoshi Asami
614a270b7c Remove GDBM_File.3, it won't be built if gdbm isn't already installed.
Reported by:	markm
1996-12-10 06:43:40 +00:00
Satoshi Asami
0cefd7310e Compress manpages in lib/perl5/man/man3 too. Add missing GDBM_File.3. 1996-12-07 14:23:29 +00:00
Satoshi Asami
6322df15f4 Add missing manpage (perl.1). 1996-11-26 11:10:27 +00:00
Satoshi Asami
c98cfd116d Compress a bunch of manpages. Remove unnecessary @ directives from
PLISTs.

Note: I know that this is going to break some symlinks and/or .so
includes, I will back some of these out as I run into these during
package building.
1996-11-18 14:17:24 +00:00
David E. O'Brien
322557b38b Converted to MAN[1-9NL] 1996-11-17 06:12:51 +00:00
Mark Murray
9e61d0c911 Correct my idea of what "FreeBSD after 2.2 needs". SuidPerl failed to
compile.
1996-11-13 18:23:52 +00:00
David E. O'Brien
d23a795680 CATAGORIES+= -> CATAGORIES=
Reordered vars where needed.  Added MAINTAINERS where needed, many
mkdir --> ${MKDIR}, install -> ${INSTALL_*}, etc.
1996-11-12 02:19:40 +00:00
Mark Murray
dcda434b66 Use phkmalloc instead of Perl's own malloc. Also clean up the FreeBSD
hints file for future releases. This will be submitted to the Perl
maintainers.
1996-11-01 19:00:24 +00:00
Satoshi Asami
95137d2010 Oh my goodness! Satoshi is finally fed up and decided to "clean up"
all the COMMENTs!  No package names, no version numbers, no "this is
absolutix-3.1.2" type comments that have zero information contents.

Now, without any bad examples to follow, nobody has an excuse to import
a port with those kind of comments. :)

Phew!  238 ports modified!
1996-10-10 05:05:35 +00:00
Mark Murray
6f29e20a63 (By way of Andrew Stesin):
From: wjm@best.com (William J. Middleton)
Newsgroups: comp.lang.perl.announce,comp.lang.perl.misc
Subject: PATCH: perltrap.pod <- 425traps
Date: 1 Jul 1996 14:49:58 GMT
Approved: merlyn@stonehenge.com (comp.lang.perl.announce)
Message-ID: <4r8oim$e5q@nadine.teleport.com>
NNTP-Posting-Host: julie.teleport.com

[The rush to 5.003 couldn't integrate this, so here it is]

The following is a patch for perltrap.pod, from 5.003 (also 5.002).
It integrates the latest version of my simple 425traps
document.  425traps demonstrated, with examples, all of the traps
which have been discovered and sent to me, which have bitten
folks making the transition from perl4 to perl5.  It also gave
an example for each one, including all of the existing perl4
traps in perltrap.pod.

As always, if you discover something that isn't documented in
one form or another in here, and isn't an official (or at least
reported) bug, drop me a line with it.  Also, when or if any
of these is ever formally declared a bug, I'll take it out.
1996-07-27 12:31:34 +00:00
Mark Murray
02fff5fd79 Update to perl5.003 1996-07-13 19:29:49 +00:00
Gary Palmer
5c9ca9b730 Use setreuid instead of seteuid for permissions management 1996-06-02 19:59:28 +00:00
Satoshi Asami
b557d8c173 A little reformatting. Also conditionalize man page compression on
NOMANCOMPRESS.
1996-03-18 01:01:44 +00:00