Commit graph

60 commits

Author SHA1 Message Date
schmonz
25b3570a19 Patch (from latest PathTools) to fix build failure on systems where
$HOME's parent directory isn't readable by an unprivileged user.
Tested on Linux with unprivileged pkgsrc (DreamHost, where the
problem was encountered) and on Mac OS X with a more typical setup.
2009-07-24 04:58:56 +00:00
sno
44d036aa1f Adding patch from perl-5.10.1 upstream to fix "Unkown error bug" described
in http://rt.perl.org/rt3/Public/Bug/Display.html?id=49472

Bumping PKGREVISION
2009-05-02 19:23:44 +00:00
sno
c764090269 Apply a patch to fix the broken build reported in PR pkg/41240 2009-05-02 18:42:32 +00:00
wiz
508598e894 Add RCS Id. 2009-01-29 10:13:05 +00:00
tnn
510d3ca5f9 merge upstream commit b376053de54af4268a31e5a60d1f9e57db30af11:
[perl #49003] pp_ftrread appears to use the wrong access mode for -x when
              using "use filetest 'access';"
Bump PKGREVISION. Noted by Leo R. Lundgren.
2009-01-18 11:10:50 +00:00
joerg
35471bc4bb Improve AIX support to the point that dynamic modules work. Bump
revision. In collaboration with Jens Rehsack.
2008-12-20 13:08:00 +00:00
tron
0c42027a9b Add fixes for CVE-2008-2827 and CVE-2008-5302 from CPAN respectively
Debian. While there also fix two check interpreter warnings.
2008-12-08 13:34:46 +00:00
schwarz
8943b09335 added fix for bug perl #57458 (relevant to FreeBSD 7.X) 2008-12-08 12:46:13 +00:00
rillig
ddfa59374a Fixed a memory leak in the qr operator. PKGREVISION++ 2008-10-21 22:46:49 +00:00
tron
5aebb6f97d Remove patch that tries to create "hints/dragonfly.sh" which is now part
of the distribution. This fixes build problems on platforms which use
GNU patch (e.g. Mac OS X).
2008-10-11 19:36:11 +00:00
he
5c9d47f22a Update perl5 from version 5.8.8nb8 to 5.10.0.
A large number of packages have had their internal regression tests
run successfully with this update, including mod_perl for Apache.


Pkgsrc changes: a number of our local patches are no longer needed.

Upstream changes from version 5.8.8:

  # Core Enhancements

    * The feature pragma
    * New -E command-line switch
    * Defined-or operator
    * Switch and Smart Match operator
    * Regular expressions
    * say()
    * Lexical $_
    * The _ prototype
    * UNITCHECK blocks
    * New Pragma, mro
    * readdir() may return a "short filename" on Windows
    * readpipe() is now overridable
    * Default argument for readline()
    * state() variables
    * Stacked filetest operators
    * UNIVERSAL::DOES()
    * Formats
    * Byte-order modifiers for pack() and unpack()
    * no VERSION
    * chdir, chmod and chown on filehandles
    * OS groups
    * Recursive sort subs
    * Exceptions in constant folding
    * Source filters in @INC
    * New internal variables
    * Miscellaneous
    * UCD 5.0.0
    * MAD
    * kill() on Windows

  # Incompatible Changes

    * Packing and UTF-8 strings
    * Byte/character count feature in unpack()
    * The $* and $# variables have been removed
    * substr() lvalues are no longer fixed-length
    * Parsing of -f _
    * :unique
    * Effect of pragmas in eval
    * chdir FOO
    * Handling of .pmc files
    * $^V is now a version object instead of a v-string
    * @- and @+ in patterns
    * $AUTOLOAD can now be tainted
    * Tainting and printf
    * undef and signal handlers
    * strictures and dereferencing in defined()
    * (?p{}) has been removed
    * Pseudo-hashes have been removed
    * Removal of the bytecode compiler and of perlcc
    * Removal of the JPL
    * Recursive inheritance detected earlier

  # Modules and Pragmata

    * Upgrading individual core modules
    * Pragmata Changes
    * New modules
    * Selected Changes to Core Modules

  # Utility Changes
  # New Documentation
  # Performance Enhancements

    * In-place sorting
    * Lexical array access
    * XS-assisted SWASHGET
    * Constant subroutines
    * PERL_DONT_CREATE_GVSV
    * Weak references are cheaper
    * sort() enhancements
    * Memory optimisations
    * UTF-8 cache optimisation
    * Sloppy stat on Windows
    * Regular expressions optimisations

  # Installation and Configuration Improvements

    * Configuration improvements
    * Compilation improvements
    * Installation improvements
    * New Or Improved Platforms

  # Selected Bug Fixes
  # New or Changed Diagnostics
  # Changed Internals

    * Reordering of SVt_* constants
    * Elimination of SVt_PVBM
    * New type SVt_BIND
    * Removal of CPP symbols
    * Less space is used by ops
    * New parser
    * Use of const
    * Mathoms
    * AvFLAGS has been removed
    * av_* changes
    * $^H and %^H
    * B:: modules inheritance changed
    * Anonymous hash and array constructors

  ...

See 'perldoc perldelta' or http://perldoc.perl.org/perldelta.html
for explanation of each of these points.
2008-10-10 21:58:43 +00:00
ahoka
343d3b6580 Don't try to use objformat on FreeBSD 7.0 and newer. 2008-07-30 23:07:52 +00:00
he
4a2152fa65 Apply a patch from Debian to fix the security vulnerability identified
by http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1927.

Patch fetched from
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=26;filename=27_fix_regcomp_utf8;att=1;bug=454792
which, according to comments, is from upstream change 27688.

Revision bumped to nb8.
2008-06-01 22:04:07 +00:00
wiz
e8062cdd4e Add missing single quote. Fixes build on -current. 2008-04-28 22:24:22 +00:00
joerg
fcb48c5b42 Appease pkglint^Wrillig and add a note for patch-as. 2008-01-13 00:20:22 +00:00
joerg
29c756efc4 Fix build on newer Linux systems. 2008-01-12 15:12:39 +00:00
apb
71e9b52b3a NetBSD's /proc/${pid}/exe is sometimes a symlink to "/" instead of to the
actual program name, so Perl's $^X or $EXECUTABLE_NAME variable was wrong.
Change a test to detect this case, and fall back to using argv[0].
2008-01-08 15:19:38 +00:00
drochner
498b7582af add a patch from Redhat bugzilla #323571 to fix CVE-2007-5116:
A flaw was found in Perl's regular expression engine. Specially crafted
input to a regular expression can cause Perl to improperly allocate memory,
possibly resulting in arbitrary code running with the permissions of the
user running Perl.
2007-11-06 19:54:52 +00:00
tnn
1b4e6adfd0 A subtle change introduced in gcc-4.2.x broke perl's makedepend script.
The name of the "standard input file" in the preprocessor was changed from
<command line> to <command-line>. Make makedepend recognize this.
2007-08-04 10:27:58 +00:00
tnn
f19ab3d33a patch-cn: hpux: don't use absolute path to ld(1) 2007-04-21 15:32:15 +00:00
dmcmahill
f6793deab5 Commit the patch from PR pkg/35319 which should fix perl compilation on
newer versions (11) of solaris.  Verified that the 'bmake test' output
is unchanged on 32-bit solaris-2.9/sparc.
2007-02-06 19:12:09 +00:00
joerg
f0f238c0cf DESTDIR support. Slightly refactor Perl build to avoid calling the newly
build executable, either by using the same constants or by sourcing the
config.sh script created by Configure.

Don't create $installsitearch and don't attempt to remove
$installvendorarch, the former is easy and the latter not needed.
2006-11-03 07:09:45 +00:00
ben
9af81a7cb2 Remove extraneous interix change from patch-cb.
Perhaps this change was accepted upstream, and not yet removed from pkgsrc.
2006-10-08 17:48:30 +00:00
tron
79acc7c0cb Remove changes added by Perl's configure script. Problem pointed out
by Thomas Klausner.
2006-08-08 15:36:00 +00:00
tron
ed199a1141 Make this build under NetBSD 4.x. 2006-08-08 15:27:36 +00:00
rillig
853dc340f9 Added a patch for t/io/fs.t, which handles filesystems that are mounted
with the "noatime" option on NetBSD.
2006-07-02 20:35:53 +00:00
jlam
dc6d990317 GCC versions prior to 3.4 have a bug handling the "unused" attribute
in declarations when compiling C++ code.  Patch the perl.h and XSUB.h
headers to avoid using this attribute if using GCC<3.4 and building
C++ modules.  This fixes PR pkg/33403 by OBATA Akio.

Bump PKGREVISION to 2.
2006-05-06 12:32:20 +00:00
jlam
a3aa1c0d3c Update lang/perl5 to 5.8.8. Changes from version 5.8.7 include:
* Updates of many standard Perl modules.
   * Performance enhancements for loadable modules and memory usage.

   * Fixed bug when running with "-w".  Previously when running with
     warnings enabled globally via "-w", selective disabling of specific
     warning categories would actually turn off all warnings.  This
     is now fixed; now "no warnings 'io';" will only turn off warnings
     in the "io" class.  This bug fix may cause some programs to start
     correctly issuing warnings.

   * Perl 5.8.4 introduced a change so that assignments of "undef" to a
     scalar, or of an empty list to an array or a hash, were optimised away.
     As this could cause problems when "goto" jumps were involved, this
     change has been backed out.

   * Using the sprintf function with some formats could lead to a
     buffer overflow in some specific cases.  This has been fixed,
     along with several other bugs, notably in bounds checking.

   * Fixed bug in pkgsrc-installed perl-5.8.7 and all subsequent
     PKGREVISIONs, where perl didn't look for site modules under
     /usr/pkg/lib/perl5/site_perl, but only under
     /usr/pkg/lib/perl5/site_perl/5.8.0, and similarly for the vendor
     modules.

   * Honor PKGMANDIR when installing man pages.
2006-04-09 06:34:32 +00:00
jlam
272ec6a7a1 Use the vendor-supplied set of fixes for the following security advisories:
CVE-2005-3916 - format string vulnerability in scripts using syslog()
    CVS-2005-3962 - format string vulnerability in Perl_sv_vcatpvfn()

Bump the PKGREVISION to 7.
2006-01-13 20:04:48 +00:00
jlam
2927908735 Perl has no dependencies, so force patch the Configure script to make
library searches to start in the system directories instead of in the
pkgsrc-controlled directories.  This change is in the same spirit as
the one that caused the PKGREVISION bump to 6, but is more likely to
work on IRIX where plibpth needs to be set from the Configure script.
This time, we patch the Configure script instead of setting libpth in
the hints file because we depend on the values of variables which are
defined after the hints file is sourced by the Configure script.

XXX This breaks building perl on a platform that has native pthreads
XXX with PREFER_NATIVE_PTHREADS=no, but that's not really worthwhile
XXX to fix.
2005-12-29 17:54:45 +00:00
jlam
f4cc8975af Fix for Perl format string vulnerability noted in CVE-2005-3962:
perl suffers from an integer wrap overflow inside the explicit
    parameter format string functionality. This has been confirmed to
    be a vector for remote code execution.

Bump PKGREVISION to 5.
2005-12-18 15:25:29 +00:00
joerg
2e1ac9954c Nuke last chunk of patch, it got appended by configure. 2005-10-10 17:11:32 +00:00
joerg
3fa24ec5b9 Just use -pthread on DragonFly for thread linkage. 2005-10-10 17:07:36 +00:00
jlam
ced1a72013 Restore perllocal.pod-generating behavior of ExtUtils::MakeMaker
because some Perl modules make some (bad) assumptions about the
structure of a MakeMaker-generated Makefile.  Instead, remove the
perllocal.pod file whenever a p5-* module or perl itself is removed.

While here, rename some of the install/deinstall templates to more
descriptive names.

Bump the PKGREVISION to 3.
2005-08-12 19:59:03 +00:00
jlam
d2d692d4e6 Alter the configuration so that:
$(prefix) == $(siteprefix) == $(vendorprefix)

so that if a perl module is configured with "perl Makefile.PL PREFIX=...",
then that single PREFIX definition will override all three of the
above, and files will be properly installed into the correct relative
path.  Also, patch a test so that it understands the different behavior
of the pkgsrc ExtUtils::MakeMaker module.  Bump the PKGREVISION to 2.
2005-08-08 16:39:58 +00:00
jlam
0680c23678 Fix an error in ExtUtils::MakeMaker that didn't output the definitions
for INSTALLSITESCRIPT and INSTALLVENDORSCRIPT in MakeMaker-generated
Makefiles.  Bump the PKGREVISION to 1.
2005-08-07 21:47:24 +00:00
jlam
c3f904e0b4 Remove redundant patch. 2005-08-07 00:29:47 +00:00
jlam
86f9268481 Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updates
for many "core" modules, UTF-8 and Unicode bugfixes, and ithreads
bugfixes.

The major changes are in the pkgsrc infrastructure to handle Perl and
Perl modules.  All pkgsrc-installed Perl modules are now installed in
"vendor" directories, and the perl interpreter has been modifed to
search for libraries in the following order: site, vendor, perl.  The
Perl library is stored in a directory that is named for the Perl ABI
version associated with the Perl release, so any updates of Perl to
newer versions can be done "in-place" as long as Perl ABI version
remains the same.  All Perl scripts and man pages are stored in
locations that won't conflict between site, vendor, and perl modules,
and a new utility perllink(1) now manages symlinks to those scripts
and man pages under the usual ${LOCALBASE}/bin and ${LOCALBASE}/man/man1.

PERL5_SITEPREFIX may be set to the prefix where local, site-specific
modules will be installed, e.g. PERL5_SITEPREFIX=/usr/local.  Note
that modules installed here are completely unmanaged by pkgsrc.

Update the buildlink and tool dependencies on perl to require perl>=5.8.7
to reflect the new locations for Perl modules and the Perl shared
library.
2005-08-06 06:18:44 +00:00
jlam
c2fb31ba79 Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and update
lang/perl5 to perl-5.8.6nb4.  Modify packages that referred to
lang/perl58 to point to lang/perl5 instead.
2005-06-24 06:43:43 +00:00
wiz
0ecd8e6abf Add RMD160 checksum. 2005-05-25 12:37:37 +00:00
jschauma
2e469426f7 Make this build under Irix with mipspro compilers:
MIPSPro compiler/preprocessor behaves differently if invoked on
stdin vs file.  In configure, we test for stdin, but lateron we use files.
So force it to work the way we know it does.
2004-04-12 02:51:22 +00:00
jlam
baf90848b6 Bump the PKGREVISION of lang/perl5. Changes between versions 5.6.1nb9
and 5.6.1nb10 include pulling in changes from the latest Perl sources
that add a more complete set of directories on NetBSD systems to the
rpath of Perl modules so that they may find libperl.so.  The module
build/installation is now robust against the user overriding the value
of INSTALLARCHLIB.
2004-01-13 01:08:57 +00:00
grant
c1fa93bd0a fix test for Solaris linker by also grepping for "ld: Solaris Link
Editors", reported by Dima Veselov <kab00m@lich.phys.spbu.ru> in
private mail.

also move hints/ patches to patch-b* to keep track of them more
easily.
2003-10-05 14:19:09 +00:00
reed
393264ebf5 Link under BSD/OS too. (Okay'd by jlam.) 2003-10-04 07:38:45 +00:00
jlam
1c480293dd Bump PKGREVISIONs of lang/perl5 and lang/perl58: modify the build so that
libgcc.a isn't linked "whole archive" into the perl executable on newer
NetBSD systems (>1.5.x).  Newer NetBSD systems have libgcc_pic.a linked
into shared libraries, so this hack isn't needed.  This change was tested
by building and testing textproc/xerces-p, a C++ perl5 module that uses
functions in libgcc.a.
2003-06-23 07:45:01 +00:00
jlam
d200bfb2de Modify lang/perl5 and lang/perl58 to install man3 pages again. However,
we install them into a private directory under the the normal Perl
installation and configure Perl so that site-specific Perl man3 pages
are installed into a private directory within site_perl.  This avoids
manpage conflicts between 3rd-party modules, the standard Perl library,
and other packages.

The changes implement some unfinished work that is alluded to in the
MakeMaker.pm module by allowing "installsiteman{1,3}dir" to be set
during the configuration process and are used to provide default values
for INSTALLSITEMAN{1,3}DIR during the Perl module build/install process.

Bump PKGREVISIONs for lang/perl5 and lang/perl58.
2003-05-27 21:57:25 +00:00
grant
c2ec4cb5eb fix previous change for FreeBSD/gcc3. 2003-02-27 14:05:01 +00:00
grant
ed30d30f4b adopt some patches from FreeBSD ports, allowing this to build on
FreeBSD 5.0 (and probably Solaris w/ gcc3).

also, make really sure we don't try to use perl's malloc().
2003-02-21 14:42:14 +00:00
jschauma
3085a1c183 Make this compile and install cleanly on IRIX. 2002-12-24 00:56:53 +00:00
wiz
3cef02bae4 Remove patch-ai sha1, since the file doesn't exist. 2002-02-08 09:36:27 +00:00