1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
Commit Graph

130 Commits

Author SHA1 Message Date
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
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
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
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
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
Sergey A. Osokin
f37f7775e3 Make portlint(1) happy by changing strip to ${STRIP_CMD}
Submitted by:	Oleg Karachevtsev <ok@etrust.ru>
PR:		56998
2003-09-24 09:37:11 +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
Maxim Sobolev
b9fde6414d Respect global CC settings.
Approved by:	maintainer
2003-04-28 10:53:21 +00:00
Anton Berezin
8d6ace0a7b Under certain conditions, perl's configure script could pick a directory
other than ${LOCALBASE}/bin to install its scripts (h2ph, perldoc, and
friends) to.  Fix that.

PR:		51350
Reported by:	Oliver Brandmueller <ob@gruft.de>
2003-04-24 13:19:21 +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