Commit graph

82 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
Thierry Thomas
578471bf05 Fix the build of x11/rxvt-unicode with clang34, by defining a more
C++-friendly dNOOP.

Note: don't apply the patch proposed in the PR, but a patch proposed
by Craig A. Berry at
http://perl5.git.perl.org/perl.git/commit/7db66e12883f0832ca80164b723768b848187bda
as suggested by az@.

PR:		ports/187571
Submitted by:	/me
Reported by:	Thomas Hoffmann <trh411 (at) gmail.com>
Approved by:	az
2014-03-15 09:57:40 +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
Andrej Zverev
11f6129d7b Partial restore r343675 (leave some warnings/errors output)
Suggested by:	ak@
Reviewed by:	ak@
2014-02-11 10:45:16 +00:00
Andrej Zverev
b1a6dc354f Turn use.perl into silent mode
Reviewed by:	bapt@, mat@
2014-02-10 19:33:05 +00:00
Mathieu Arnold
e0a8062bb0 Rename patches in the makepatch fashion. 2014-01-11 20:36:18 +00:00
Mathieu Arnold
b087c41e1a Add the same patch to perl5.1{2,4,6} that perl 5.18, fixing a parallel build issue. 2014-01-07 09:58:06 +00:00
Alex Kozlov
dd559f9592 - Simplify and modernize use.perl
Approved by:	perl (az, mat)
2013-10-14 16:22:34 +00:00
Andrej Zverev
228462b91d - Now use.perl don't spam /etc/make.conf and using ${LOCALBASE}/etc/perl5_version instead
You must switch to DEFAULT_VERSIONS (see ports/UPDATING entry 20130920 by bapt@)
  if you are still using PERL_VERSION to define a specific version requirement.

- bump portrevision

Reviewed by:	bapt@
2013-09-23 12:37:58 +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
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