1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
Commit Graph

62 Commits

Author SHA1 Message Date
Mathieu Arnold
f8530be769 - Remove temp file on deinstall[1]
- Unshun all installation commands
- Make PREFIX-clean

Poked by:	bdrewery [1]
Sponsored by:	Absolight
2014-03-31 22:26:09 +00:00
Mathieu Arnold
e51a855952 Massive cleanup of the Perl ports:
- Use SUB_FILES instead of own backed version
- Have etc/perl5_version in the package instead of generating a static
  one at install
- Move some mkdirs from pkg-install to pkg-plist
- Move the bin/perl5 creation from plist to post-install

Reviewed by:	az
Sponsored by:	Absolight
2014-02-12 13:46:07 +00:00
Mathieu Arnold
9651e58559 Take care of whatis database.
- remove on deinstall
- create on install

PR:		ports/184164
Submitted by:	Tatsuki Makino
2013-11-30 17:28:44 +00:00
Antoine Brodin
b9117a0d4c Re-order directory removal to fix leftovers with pkg_install
Approved by:	az
2013-10-05 18:15:39 +00:00
Andrej Zverev
71ba68dede - Add more missed dirs for staging
Submitted by:	antoine@ (via IRC, version for perl5.14)
2013-10-05 14:56:20 +00:00
Mathieu Arnold
d5f4456c5f - Fixup staging with pkgng.
- Always use new LIB_DEPENDS format.

Pointy hat to:	myself
2013-10-03 13:30:29 +00:00
Mathieu Arnold
69eea18150 Support staging. 2013-10-03 08:21:29 +00:00
Andrej Zverev
8c7d7ff2bd - lang/perl5.12 upgrade to 5.12.5
- lang/perl5.14 upgrade to 5.14.4
- lang/perl5.16 upgrade to 5.16.3
- Global modify SITE_PERL[1][2]

[1] - See more info:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=26605+0+archive/2013/freebsd-perl/20130609.freebsd-perl
[2] - Fix for mail/cyrus-imapd* - Approved by portmrg(bapt@)

Please, see ports/UPDATING for upgrade procedure.

Reviewed by:	bapt@ (exp-run), culot@
2013-06-12 13:00:55 +00:00
Sergey Skvortsov
2cf42735d6 Update to 5.14.2
Changes:	http://search.cpan.org/~flora/perl-5.14.2/pod/perldelta.pod
2011-12-19 19:36:46 +00:00
Sergey Skvortsov
0ede1a9316 Update to 5.14.1
Changes:	http://search.cpan.org/~jesse/perl-5.14.1/pod/perldelta.pod
2011-06-19 10:27:12 +00:00
Sergey Skvortsov
b9716b9857 Introduce Perl 5.14.0
Changes:	http://search.cpan.org/~jesse/perl-5.14.0/pod/perldelta.pod
2011-05-17 19:30:03 +00:00
Sergey Skvortsov
e2c4f622e2 Update to 5.12.3
Changes:	http://search.cpan.org/~rjbs/perl-5.12.3/pod/perl5123delta.pod
Feature safe:	yes
2011-01-25 12:35:58 +00:00
Gordon Tetlow
aad4dc8ca8 Add patch to install a configuration file for the new man utility
instead of manipulating /etc/manpath.config.

Approved by:    maintainer (timeout), wes@ (mentor, implicit)
2010-11-05 05:41:37 +00:00
Sergey Skvortsov
814025b653 Update to 5.12.2
Changes:	http://search.cpan.org/~jesse/perl-5.12.2/pod/perl5122delta.pod
2010-09-15 16:21:30 +00:00
Sergey Skvortsov
ee809fbc9e Cleanup: remove duplicate '@dirrm' entry. 2010-07-26 09:37:55 +00:00
Sergey Skvortsov
cc9986cdcf [1] Unbreak build with THREADS option
[2] Remove SUIDPERL option: SUID emulation has been removed for 5.12

PR:		ports/148648 [1]
Submitted by:	Andrei Lavreniyuk <andy.lavr@gmail.com> [1]
WWW:		http://search.cpan.org/~jesse/perl-5.12.1/pod/perl5120delta.pod#Deprecations [2]
2010-07-23 17:41:04 +00:00
Sergey Skvortsov
c82c63a794 Introduce Perl 5.12.1
Acknowledgements:	kuriyama
2010-07-15 14:48:51 +00:00
Sergey Skvortsov
c7e48ee411 Update to 5.10.1
Changes:	http://search.cpan.org/~dapm/perl-5.10.1/pod/perl5101delta.pod
2009-09-11 11:23:31 +00:00
Sergey Skvortsov
8dd41eb40e Fix packaging with enabled GDBM option.
PR:		ports/133391
Submitted by:	G.raud Continsouzas <geraud xx gcu.info>
2009-04-05 09:00:58 +00:00
Sergey Skvortsov
1a9ef9fa67 Introduce Perl 5.10.0 2009-03-28 20:45:10 +00:00
Sergey Skvortsov
4ab5fefc98 Update to 5.8.9
Also:

- add option SITECUSTOMIZE which enable -Dusesitecustomize [1]

- add patch against sv_dup() bug causes memory corruption in threaded perl [2]

Changes:	http://search.cpan.org/~nwclark/perl-5.8.9/pod/perl589delta.pod
PR:		111120 [1], 130033 [2]
Submitted by:	"Ian A. Tegebo" <yontege xx dev-mug.rescomp.berkeley.edu> [1],
		kevin brintnall <kbrint xx rufus.net> [2]
2009-01-13 21:38:50 +00:00
Sergey Skvortsov
6abecdadfc - Take maintainership [1]
- Use OPTIONS
- Add CONFLICTS
- Use "pre-su-install" (for rootless builds)

Approved by:    tobez (previous maintainer) [1]
2008-11-20 16:24:37 +00:00
Anton Berezin
3b9dcea28e Upgrade to 5.8.8.
Also:
Do not strip when built with -DWITH_DEBUGGING. [1]
Do not build non-threaded perl with -pthread. [2]
Add rebuild-xs target which should be used when
perl-after-upgrade does not do its job adequately. [3]
Fix perl-after-upgrade to handle threaded perl. [4]

Submitted by:	John Narron <jnarron@cdsinet.net> [2],
		Sergey Prikhodko <sergey@network-asp.biz> [4],
		parv@pair.com [1],
		pavel@ctk.ru [2],
		skv [3],
		vasilis <vasilis@karkampounas.gr> [2]
PR:	83223 [4], 83767 [2], 84255 [2], 89443 [1], 90832 [2]
2006-02-20 20:24:36 +00:00
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