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

120 Commits

Author SHA1 Message Date
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
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
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Ying-Chieh Liao
27ebc7aa15 chase gdbm lib version 2003-01-03 08:26:35 +00:00
Anton Berezin
9687508914 Make port's Configure correctly detect crypt(3). Bump PORTREVISION.
Reported by:	Jeroen Ruigrok van der Werven <asmodai@tendra.org>
Approved by:	portmgr
2002-12-11 11:44:31 +00:00
Anton Berezin
61b7290c32 o Make perl -MConfig -e 'use lib $Config{installsitelib}' work
o Bump PORTREVISION

Prompted by:	green
2002-08-20 20:58:32 +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
7f388ae919 Modify BSDPAN to make INSTALLSITEMAN1DIR and INSTALLSITEMAN3DIR be equal
to INSTALLMAN1DIR and INSTALLMAN3DIR, respectively, if there are no
corresponding variables in Config.pm, which is unfortunately the case
for perl 5.8.0.  This fixes manpage installation path for p5 ports built
with perl5.8.0 as /usr/bin/perl.
2002-07-22 16:36:07 +00:00
Anton Berezin
09147ee102 Update to 5.8.0 (after repocopy). 2002-07-21 17:09:12 +00:00
Anton Berezin
6bab76381c 1. Merge from src/contrib/perl5/lib/ExtUtils/Attic/Install.pm rev. 1.2:
Force installs. This is to allow (semi-)automatic garbage removal by
      "find /usr/libdata -ctime -N -delete".

Well - substitute /usr/libdata with /usr/local/lib/perl5 here.

Requested by:	sheldonh

2. Do not link with libbind even if Configure detects it.  A particular
reason for that is that perl's getpw* stop working with NIS.

Reported by:	Russell Cattelan <cattelan@thebarn.com>
2002-07-10 16:06:00 +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