Commit graph

39 commits

Author SHA1 Message Date
Edwin Groothuis
0416031c9b Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:20:05 +00:00
Anton Berezin
cb044765ca Upgrade to 5.8.7. In addition:
- add perl-after-upgrade utility to move around
      dependent packages
    - fix $0 expansion in use.perl [1]
    - enable threaded perl on amd64 [2]
    - always compile perl with -pthread [3]
    - fix errno issue in SDBM_File [4]
    - add support for // and err (defined-or) [5]
    - add WITH_DEBUGGING option [6]
    - fix suidperl symlink [7]
    - fix several small bugs in use.perl
    - print possible WITH_XXX flags (no OPTIONS support yet)

[1] Submitted by:	erwin, Niël Dogger <niel@introweb.nl>
[2] Nudged by:		Mike Schroll <FreeBSD@LogicX.us>
[3] Nudged by:		skv
[4] perl bug #35938
[5] Obtained from:	H.Merijn Brand <h.m.brand@xs4all.nl>
[6] PR:	78811, submitted by:	skv
[7] PR:	80069, submitted by:	Sergey N. Voronkov <serg@tmn.ru>
    A different solution was actually implemented.
2005-06-24 09:17:06 +00:00
Anton Berezin
45dd233be8 Update to 5.8.6. Also:
- redirect output from h2ph to /dev/null [1];
- fix File::Path insecure file/directory permissions [2];
  this resolves CAN-2004-0452
  (http://vuxml.freebsd.org/c418d472-6bd1-11d9-93ca-000a95bc6fae.html);
- for OSVERSION < 500036, create symlinks in /usr/bin not only for
  perl and suidperl, but also for a2p, c2ph, find2perl, h2ph, h2xs,
  perlbug, perlcc, perldoc, pl2pm, pod2html, pod2latex, pod2man,
  pod2text, s2p, and splain;  perl and suidperl are still enough for
  more recent FreeBSD versions [3];
- clean up created symlinks upon deinstallation [4];
- try to cleanup symlinks created by older versions of lang/perl5 and
  lang/perl5.8, during both installation and deinstallation [5];
- added support for DISABLE_BSDPAN environment variable [6];
- be explicit about use.perl usage after installation of 4.X systems
  [7];
- respect __MAKE_CONF partially (the build-time value is used) [8];
- fix threaded build - respect PTHREAD_CFLAGS and PTHREAD_LIBS [9].
- use.perl is now the same as pkg-install is now the same as
  pkg-deinstall;  apart from the changes already mentioned above, this
  is a shell script now;
- use.perl's logic is also simplified in several ways [10];
- fix a BSDPAN bug [11].

Outstanding issues: Module::Build support for BSDPAN, SU_CMD support (PR
70831), PR 64963 (partially), and anything else that I forgot.

[1] Nudged by: krion
[2] Reported by: nectar
    Patch from: Chris Turner @ RedHat
[3] PR: 55760, 57151, 58406
[4] Requested by: kris
    PR: 54262
[5] PR: 51281, 51539
[6] PR: 57134
[7] PR: 60736
[8] PR: 74431
[9] PR: 73233
[10] Perl version submitted by des, implemented in sh
[11] Reported by: Alexander Nagilum <freebsd %at% nagilum de>
2005-02-01 13:36:21 +00:00
Anton Berezin
b6b33242e7 Update to 5.8.5. 2004-07-30 08:31:19 +00:00
Anton Berezin
ceb8fe7d89 1. Update to 5.8.4.
2. Make this port respect Makefile.local.
3. Transfer manpages to Makefile.man.
4. Move manpages for modules, included into distribution, into
   lib/perl5/PERL_VER/perl/man/man3, to eliminate file conflicts
   with p5 ports for modules included with perl.
5. Use PREFIX/SITE_PERL_REL instead of SITE_PERL in the Makefile.
6. Switch to bzipped sources.
7. Other small adjustments.

PR:	65925, 66096, 67205

Submitted by:	foxfair (1), Charles Swiger <chuck@pkix.net> (1), krion (3)
Reported by:	Roy Badami <roy@gnomon.org.uk> (2)
2004-05-30 23:13:56 +00:00
Anton Berezin
f164b0b55d In some cases of weird symlinking (possibly triggered by portupgrade),
perl binary might fail to be installed during make install.  Try to fix
that.

Reported by:	"Shobaki sam." <shsam@free.fr>
PR:		59186
2003-11-12 00:07:43 +00:00
Anton Berezin
1d8ae6805e 1. Update to 5.8.2.
2. Finally switch to libperl.so.
3. Respect CFLAGS.

PR:		58735 (item 3)
Submitted by:	Lars Eggert <larse@isi.edu> (item 3)
2003-11-10 18:08:54 +00:00
Anton Berezin
9d21910a44 Fix the workings of ENABLE_SUIDPERL knob.
Reported by:	Neil Darlow <neil@darlow.co.uk>, Nicola Tiling <nti@w4w.net>
2003-10-28 20:46:51 +00:00
Anton Berezin
1aee5817e8 Update to 5.8.1.
Also:

Make suidperl optional (ENABLE_SUIDPERL knob).  Switch to perlmalloc by
default, unless threaded perl is built, to improve performance.
Modernize pkg-plist (switch to SITE_PERL where possible).  Update WWW.

Many thanks to foxfair who prepared most of this update.
2003-10-27 19:48:03 +00:00
Ying-Chieh Liao
c634b4bb83 utilize SITE_PERL
PR:		58166
Submitted by:	Cheng-Lung Sung <clsung@dragon2.net>
2003-10-24 12:05:09 +00:00
Anton Berezin
d46ceb3a94 Merge from lang/perl5:
Add two knobs:

    WITH_PERL_MALLOC - to compile with perl's own malloc, as opposed to
    the freebsd system malloc. Some might find this useful, since perl's
    malloc is marginally faster in typical cases, and orders of
    magnitude faster in degenerate cases. Use with care.

    WITH_GDBM - to compile with gdbm support.
2002-07-28 09:14:17 +00:00
Anton Berezin
09147ee102 Update to 5.8.0 (after repocopy). 2002-07-21 17:09:12 +00:00
Anton Berezin
70a016b66f During deinstallation, for *.ph files, replace find | xargs rm with
find -delete, for obvious reasons.  No PORTREVISION bump.
2002-06-16 13:03:18 +00:00
Anton Berezin
5596d33392 1. Do not do rm -rf as a mean to deinstall this port. Instead, apart
from normal rmdir'ing and unexec rmdir'ing, do a find | xargs rm for
   generated .ph files, since those will differ in different versions of
   FreeBSD just like .h files may not be the same.

2. Install.pm is broken in 5.6.1 and leads to the wrong .packlist
   generation, which, in turn, breaks BSDPAN.  Fix that.

3. Extend use.perl to patch /etc/manpath.config so that manpages for
   modules installed by this and other p5- ports are be available.

PR:		39108 (item 1)
Reported by:	Dan Nelson <dan@dan.emsphone.com> (item 1)
2002-06-16 12:28:01 +00:00
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
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
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
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
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
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
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
590895bdee Update to perl-5.004_01 1997-07-17 17:46:50 +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
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
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
Mark Murray
02fff5fd79 Update to perl5.003 1996-07-13 19:29:49 +00:00
Mark Murray
b80a886e9c Update to Perl 5.002. 1996-03-16 13:04:53 +00:00
Jean-Marc Zucconi
8b8967bbdd Upgrade to patchlevel 'm' 1995-07-04 17:31:51 +00:00
Satoshi Asami
3dfc1631fe Put back this long PLIST too. 1995-05-12 10:25:20 +00:00
Mark Murray
fe28a58fc9 Shortened the PLIST (aka +CONTENTS) file to under 4k to avoid bug
(this will be backed out when the bug is fixed, as is it is a hack rather
that a fix)
1995-05-05 20:07:33 +00:00
Jean-Marc Zucconi
adf9b90f89 Add suidperl; man pages are gzip'ed 1995-04-23 17:26:28 +00:00
Satoshi Asami
d3124d07cd Perl5 port by Mark Murray. People, beat this!
Submitted by:	Mark Murray <markm@freebsd.org>
1995-04-17 06:02:34 +00:00