Commit graph

73 commits

Author SHA1 Message Date
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
Eygene Ryabinkin
ca78291f62 Perl 5.x: fix CVE-2013-1667
Feature safe:	wholeheartedly hope so
2013-03-10 19:04:00 +00:00
Andrej Zverev
4e7cc2d9b7 - Fix PERL_VERSION_REGEX to match actual perl version (5.16).
Repoted by: kib@
Reviewed by: tobez@
With Hat:   perl@
2012-10-09 10:33:21 +00:00
Sergey Skvortsov
3533830550 Introduce Perl 5.16.0
Changes:	http://search.cpan.org/dist/perl-5.16.0/pod/perldelta.pod
Approved by:	portmgr (linimon)
2012-06-30 21:00:43 +00:00
Philip M. Gollucci
7d4e10f17d - Pull a19beeaa9f/raw
to fix:
 Can't use string "XXX" as an ARRAY ref while "strict refs" in use at
 /usr/local/lib/perl5/5.14.2/ExtUtils/MM_Unix.pm line 2893.

- perl 5.14.[012] shipped with a broken version of ExtUtils::MakeMakker (6.57_06)
  which is fixed in 6.57_06.  This patch can hopefully go away when/if perl 5.14.3
  is released.

- Bump PORTREVISION

PR:         ports/165457
With Hat:   perl@
2012-03-07 05:00:04 +00:00
Martin Wilke
fecde4050b - Unbreak on FreeBSD 10 2011-11-05 17:38:36 +00:00
Dmitry Marakasov
137c073978 - Fix perl configure erroneously saving /usr/local/script as a site script install directory if it's present, which leads to misinstallation of many ports which install perl scripts (p5-Mail-SpamAssassin, for example)
PR:		149771
Submitted by:	Peter Radcliffe <pir-freebsd.org@pir.net>
Patch by:	myself
Approved by:	jadawin
2011-08-08 14:32:41 +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
Renato Botelho
56f4b98b86 Do not touch /etc/manpath.config on -CURRENT after man.d/perl.conf is used
instead

PR:		ports/151914
Submitted by:	garga@
Approved by:	skv@ (maintainer)
2010-12-06 09:56:58 +00:00
Gordon Tetlow
68b21521a9 Add patch to install a configuration file for the new man utility
instead of manipulating /etc/manpath.config.

Follow up commit since I missed adding the config file.

Approved by:    maintainer (timeout), wes@ (mentor, implicit)
Pointyhat to:	gordon@
2010-11-05 05:42:35 +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
Martin Matuska
98ab3ca119 Add patch to fix h2ph deprecated goto (perl bug #74404)
PR:		ports/150876
Approved by:	maintainer (timeout)
2010-10-13 12:48:00 +00:00
Sergey Skvortsov
0370d5f988 - Fix perl-after-upgrade [1]
- Preserve perms on modified /etc/make.conf, /etc/manpath.conf [2]

PR:		150622 [1], 150611 [2]
Submitted by:	garga [1],  swell.k@gmail.com [2]
2010-09-16 15:57:09 +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
491a15ba69 - Fix generation of '+CONTENTS' file for 'bsdpan-*' packages [1]
- Don't remove '/usr/local/lib' from path $libpth
  if this dir does not exist [2]

PR:		ports/116908 [1]
Submitted by:	Steve Wills <steve@mouf.net> [1],
		Kukushkin Konstantin <dark@ramtel.ru> [2]
2010-07-14 17:24:21 +00:00
Sergey Skvortsov
6255bf69e0 - Add patches for RT 69973 [1], RT 71952 [2]
- Update P5PORTER mode [3]
- Update CONFLICTS for Perl 5.12

Pointed by:	a.smith xx ukgrid.net [1]
PR:		ports/144717 [2], ports/142110 [3]
Submitted by:	Bryan Fullerton <bryanf@samuraiconsulting.ca> [2],
		Alex Deiter <alex.deiter xx gmail.com> [3]
2010-05-06 17:05:45 +00:00
Sergey Skvortsov
8e2c6eeca1 perl-after-upgrade:
- simplify regexes
- catch lines in +CONTENTS like:
@unexec rmdir %D/lib/perl5/5.10.0 2>/dev/null || true
2009-11-23 15:58:01 +00:00
Sergey Skvortsov
36f3f471e5 Fix script "use.perl": correctly check variables 'need_*'.
Submitted by:	Artis Caune <artis.caune xx gmail.com>
2009-11-05 18:50:45 +00:00
Sergey Skvortsov
4d12d4ea70 - Fix behaviour of USE_PERL option when it is "off"
- Add PORTSCOUT variable
2009-11-02 16:50:41 +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
6c6ebb9141 - Add option MULTIPLICITY
- Add bugfix for map memory leak (RT#53038)
2009-07-06 12:16:08 +00:00
Sergey Skvortsov
42eabd7753 - Add more essential bugfixes
- Add perl-threaded-5.* to CONFLICTS [1]
- Introduce PERL_VENDOR_PREFIX variable
- Be really PREFIX-neutral [2}

Submitted by:	lth [1], rafan [2]
2009-06-08 14:35:28 +00:00
Sergey Skvortsov
3b03d91806 Add bugfiux for "Attributes + Unkown Error".
Bug:		http://rt.perl.org/rt3/Public/Bug/Display.html?id=49472
2009-04-11 12:51:22 +00:00
Sergey Skvortsov
d701438448 Add several bugfixes, imported from maint-5.10
(i.e. will be included into forthcoming 5.10.1).
2009-04-04 09:06:53 +00:00
Sergey Skvortsov
1a9ef9fa67 Introduce Perl 5.10.0 2009-03-28 20:45:10 +00:00
Sergey Skvortsov
1d9fd744c1 Update "perl-after-upgrade": set correct perl package name in @pkgdep. 2009-03-13 13:04:09 +00:00
Sergey Skvortsov
0f24c25f5a Remove variable PERL_VER from the ports tree at all - because
it is obsolete since Perl 5.6.0.
2009-03-05 17:56:24 +00:00
Sergey Skvortsov
e13b7326f8 * Fix suidperl functionality. [1]
* Update BSDPAN.

PR:		ports/131434 [1]
Submitted by:	William Olson <wolson xx gmail.com> [1]
2009-02-15 22:42:37 +00:00
Sergey Skvortsov
b1b787bb65 Unbreak build of threaded perl.
PR:		ports/130529
Submitted by:	Shin-ichi Yoshimoto <yosimoto xx waishi.jp>
2009-01-14 08:16:24 +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
Anton Berezin
bbc34ddf11 Fix a possible buffer overflow with ASCII regexes that really are
Unicode regexes.

Obtained from:	perl5-porters (Nicholas Clark), with modifications
Approved by:	portmgr (marcus)
2007-11-06 22:08:03 +00:00
Alexander Kabaev
a6de985fad Filter out <command-line> from preprocessor output in makedepend.SH
to fix build with GCC 4.2.0.
2007-05-03 02:47:15 +00:00
Anton Berezin
7e658dbee4 1. Fix breakage due to incorrect objformat-related change.
2. While at it, add a WITHOUT_USE_PERL knob that avoids spamming
/usr/bin; it is meant for those who do cross-installs and such.

No version bump.

Pointy hat to:	kris [1]
Reported by:	many [1]
PR:		104524 [2]
Submitted by:	Nick Hibma <nick@anywi.com> [2]
2007-02-19 20:12:22 +00:00
Kris Kennaway
59dcc3a13d Default to elf instead of a.out. 2007-01-29 00:50:46 +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
Anton Berezin
78970e8223 Move path to BSDPAN ahead of the path to site_perl. This makes BSDPAN
work when devel/p5-ExtUtils/MakeMaker is installed.

This, again, is a minor change, which does not require re-installation
of the dependant packages.

Reported by:	lth
2005-12-22 15:21:00 +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
ca40fd69eb Fix vulnerability in suidperl/sperl [CAN-2005-0155].
Fix buffer overflow in perl [CAN-2005-0156].
Bump PORTREVISION.
Upgrade from previous versions/revisions of lang/perl5.8 is recommended.

Submitted by:	Nicholas Clark <nick $at$ ccl4 org>
2005-02-02 15:58:07 +00:00
Anton Berezin
e2611e24e0 Update bsd.port.mk's notion of the perl version (to 5.8.6) [1].
Use more correct OSVERSION threshold to distinguish between
base system perl and perl from ports - the right value is 500036 [1].

Also, simplify OSVERSION-related logic in lang/perl5 and lang/perl5.8.
Now it goes as follows:

- for lang/perl5.8, if there is perl in the base system, install
  use.perl script, use a helpful pkg-message, and do not automatically
  update symlinks;
- for lang/perl5.8, if there is no perl in the base system, do not
  install use.perl script, and update symlinks automatically;
- for lang/perl5, always install use.perl;
- for lang/perl5, never update symlinks automatically;
- for lang/perl5, vary produced pkg-message depending on the presence of
  the base system perl.

Bump PORTREVISION for both lang/perl5 and lang/perl5.8.

[1] Approved by:	portmgr
2005-02-02 09:34:05 +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
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
Jun Kuriyama
61a7aa221f Check /usr/bin/perl5 existence before using "ident -q /usr/bin/perl5".
Approved by:	tobez
2004-01-20 02:28:15 +00:00
Anton Berezin
94c2da6051 Under certain conditions (perl Makefile.PL used directly or by proxy,
without PERL_CONFIGURE trickery), the interaction of 5.8.1's MakeMaker
and BSDPAN can lead to parts of perl-using ports to be installed to
/lib, which is bad.  Fix that.

Reported by:	Mike Harding <mvh@ix.netcom.com>
2003-10-28 21:55:24 +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
Anton Berezin
8c1a9ff695 Add a patch to properly escape generated action attribute in
CGI::start_form.  The escape code is taken from CGI.pm v.3.00.

PR:		57391
Reported by:	IIJIMA Hiromitsu <delmonta@ht.sakura.ne.jp>
2003-09-30 08:33:57 +00:00
Anton Berezin
3b3b7d95e8 Fix a bug which goes unnoticed on all platforms but leads to a
coredump on FreeBSD/amd64 when one uses $^N variable and there were
no captures in the last executed regexp.

One third of this fix was applied to the perl tree in December 2002,
with the rest hopefully applied in the next couple of days.

Reported by:	jwd
2003-07-14 11:36:59 +00:00
Anton Berezin
3961916206 Patch Safe.pm (see
http://use.perl.org/articles/02/10/06/1118222.shtml?tid=5).

Reported by:	kuriyama
2003-04-21 14:55:34 +00:00
Maxim Sobolev
b169298681 Add a new `WITH_THREADS' option to build perl with support for threads and
fix threaded build on 5.x.

Approved by:	maintainer
2003-04-01 12:29:12 +00:00