1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
Commit Graph

141 Commits

Author SHA1 Message Date
Sergey Skvortsov
c98c6efa2a Add MAKE_JOBS_SAFE variable.
PR:		ports/132964
Submitted by:	mm
2009-03-23 13:03:20 +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
dc58fa5000 Fix PORTVERSION. 2009-03-05 19:16:30 +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
e13ea629c3 Update BSDPAN:
- fix pkgdb/+* files creation
- add lang/perl5.X as package dependency (via @pkgdep line)
2009-03-03 16:21:02 +00:00
Ion-Mihai Tetcu
7acda58eca Fix install of BSDPAN (BSDPAN_WRKSRC) and unbreak.
Submitted by:	Vladimir Timofeev <vovkasm@gmail.com>
Prompted by:	QAT on-commit run
Pointyhat to:	skv@
2009-02-16 07:27:41 +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
b4617474ee Add "regression-test" make target. 2009-01-26 16:30:12 +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
Pav Lucistnik
41d8c3385c - Remove conditional checks for FreeBSD 5.x and older 2009-01-05 20:36:33 +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
Marcelo Araujo
4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +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
Edwin Groothuis
c0b3ecac44 Remove support for OSVERSION < 5 2007-10-03 23:22:04 +00:00
Mark Linimon
9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00
Gabor Kovesdan
42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +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
Erwin Lansing
50513d5d52 Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.

PR:             100555
Submitted by:   gabor
Sponsored by:   Google Summer of Code 2006
2006-08-04 12:34:50 +00:00
Anton Berezin
08e6551ef2 Fix rebuild-xs target. No PORTREVISION bump since plist is not
affected.

Submitted by:	skv
2006-02-21 14:27:36 +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
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
35ea162e45 Patch for CVE-2005-3962 (fixes for sprintf formatting issues).
Bump PORTREVISION.

This revision is compatible with the previous one, so no need to rebuild
dependant ports.
2005-12-19 14:50:50 +00:00
Bill Fenner
0938506f64 Don't use "." in MASTER_SITE_SUBDIR; it only applies to URLs with
%SUBDIR% in them, and the site that needed the "." doesn't.

Approved by:	Anton Berezin <tobez@tobez.org> (MAINTAINER)
2005-10-10 15:38:16 +00:00
Sergey Skvortsov
80bd422459 Fix PATCH_SITES
Indulged by:	tobez
2005-06-28 13:42:59 +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
89bfc04210 Fix LATEST_LINK issues.
Nudged by:	krion
2005-05-03 10:45:08 +00:00
Anton Berezin
6195f98c1f If one of locale-related variables set to a bad value in the user's
environment (like da_DK.ISO_8859-15 as opposed to da_DK.ISO8859-15 on
-CURRENT), perl ports cannot be built.  While this condition clearly is
an operator error, it is still no excuse for the build failure.

Fix that by cleaning locale-related variables for configure and build
steps.  No plist changes, no portrevision bump.

Reported by:	Flemming Jacobsen <fj quite-at batmule maybe-dot dk>
2005-02-14 10:17:07 +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
Sergey Matveychuk
97ff74d771 - Create PREFIX/SITE_PERL/PERL_ARCH/auto dirrectory on install
Pointed out by:	kris
Approved by:	tobez
2004-11-25 11:01:14 +00:00
Anton Berezin
b6b33242e7 Update to 5.8.5. 2004-07-30 08:31:19 +00:00
Anton Berezin
b316205598 Add a knob WITHOUT_PERL_64BITINT. This is primarily intended for those
who wish to keep compatibility with files generated by Storable::store
from a previous version of perl, and were unlucky enough to not use
portable Storable::nstore instead.

Submitted by:	kuriyama
2004-07-25 11:25:11 +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
Trevor Johnson
8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +00:00
Joe Marcus Clarke
3302f9e6ed Respect OSVERSION in the pkg-install script. This allows package building
tinderboxes to do the righ thing reagrding Perl in a chroot/jail environment
regardless of the underlying host OS version.

Approved by:	perl (tobez)
2004-03-05 21:38:03 +00:00
David E. O'Brien
573c510881 Fix the perl builds. 2004-03-01 15:38:43 +00:00
David E. O'Brien
8ae891fb97 Fix "pkg_add -r perl" for 5.2-CURRENT (and later). This will now install
perl 5.8 for 5.2-CURRENT.

Approved by:	perl
2004-03-01 08:54:11 +00:00
Philip Paeps
7360591d8a This fixes a little bug introduced in r1.8.
When installing with pkg_add(1), the ${SITE_PERL} directory was not created
causing system headers not to be perlified and installed by h2ph.  This made
some things break in very mysterious ways.

The pkg-install script used by pkg_add(1) doesn't know about the many special
variables in bsd.port.mk, so it shouldn't try to rely on them.

Noticed by:	bento, kris
Approved by:	kris
2004-02-19 09:40:50 +00:00
Joe Marcus Clarke
3fd283a81f Set PKGMESSAGE to a bogus file on recent versions of -CURRENT where Perl 5.8
is the default.

Obtained from:	lang/perl5
2004-02-05 06:12:40 +00:00
Joe Marcus Clarke
24dd9dbacc Run use.perl port by default from the port as well as the package. 2004-02-04 19:20:40 +00:00
Joe Marcus Clarke
e9b5bbd01b Update the pkg-install script to run use.perl port after install on recent
versions of -CURRENT.

Reported by:	kris
2004-02-04 19:13:30 +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
6ea9d57347 This fixes plist problem for people unlucky enough to have a
${PREFIX}/share/man/man1 directory (which perl's Configure
unconditionally prefers to anything else if found).

Submitted by:	se, vanilla
Approved by:	portmgr (marcus)
2003-11-25 18:48:26 +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
7606b535ff Update forgotten distinfo.
Reported by:	herbert@bugat.at
2003-11-10 21:02:21 +00:00