Commit graph

385 commits

Author SHA1 Message Date
hiramatsu
5c08767ad4 Force ExtUtils::MakeMaker to ignore installed packlist when creating new
packlist. It prevents generating wrong PLIST during make replace.

Bump PKGREVISION.
2011-12-08 22:43:49 +00:00
joerg
3378537906 Always add PREFIX/lib to libpth. When building as normal user, it often
exists already. This is not the case for bulk builds though. This fixes
p5-MARC-Charset, since p5-gdbm ended up without rpath to PREFIX/lib.
Fix some Perl interpreter paths while here. Bump revision.
2011-11-27 19:47:50 +00:00
obache
6f7caf158a Add print-PLIST support for perl modules without .packlist. 2011-10-28 07:41:52 +00:00
wiz
4aa608a412 PKGREVISION does not belong in Makefile.common. 2011-10-16 20:43:56 +00:00
spz
4a91c8c36f apply the changes to just Digest.pm from:
http://perl5.git.perl.org/perl.git/commitdiff/a2fa999d41c94d622051667d897fedca90be1828

  2011-10-02   Gisle Aas <gisle@ActiveState.com>

   Release 1.17.

   Gisle Aas (6):
      Less noisy 'git status' output
      Merge pull request #1 from schwern/bug/require_eval
      Don't clobber $@ in Digest->new [RT#50663]
      More meta info added to Makefile.PL
      Fix typo in RIPEMD160 [RT#50629]
      Add schwern's test files

   Michael G. Schwern (5):
      Turn on strict.
      Convert tests to use Test::More
      Untabify
      Turn Digest::Dummy into a real file which exercises the Digest->new() require logic.
      Close the eval "require $module" security hole in Digest->new($algorithm)
2011-10-16 20:09:42 +00:00
hauke
f0d518e5a5 On m68k, gcc creates short assembler branch insns, and expects the
assembler to adapt them to the distance. m68k gas appears not to do
that for fpu branch insns, resulting in an out-of-range FPU assembler
branch instruction error in "ext/re/re_exec.c".

As a workaround, building with "-Os" instead of "-O2" reduces the size
of the object file enough to allow short branches.

See PR toolchain/45439.
2011-10-11 10:02:13 +00:00
adam
59d3dbed50 Changes 5.14.2:
* File::Glob::bsd_glob() memory error with GLOB_ALTDIRFUNC (CVE-2011-2728).
* Encode decode_xs n-byte heap-overflow (CVE-2011-2939)
2011-09-29 07:17:26 +00:00
dsainty
f3f4be6177 If building with threads support, add PTHREAD_LDFLAGS to LDFLAGS.
Fixes build on Ubuntu 11.04.  Unlikely to have an effect on platforms that
already built, so no PKGREVISION bump.

Ok'd in freeze by wiz@
2011-09-20 11:31:13 +00:00
brook
1c9e71b583 The CPAN module DB_File tries to link against -ldb, but NetBSD does not
provide a separate library so compilation fails.  Add a hints file to
correct the list of libraries used on NetBSD.
2011-09-17 18:51:35 +00:00
hans
fc7623bfd7 When building perl packages, never use native perl. 2011-09-14 15:41:36 +00:00
obache
8e8a5f983b Bump default BUILD_DEPENDS for Module::Build packages to match current
stable branch status, perl-5.12.2 or external one same version as bundled one.
2011-08-15 04:48:36 +00:00
adam
91ce9f644c Changes 5.14.1:
* Several modules were updated to fix minor bugs.
* Tests were fixed.
* Documentation was improved.

Changes 5.14.0:
* Unicode version 6.0 is now supported.
* Regular expressions can now be reset to the default modifiers.
* Four new regular expression modifiers, "/d", "/l" , "/u", and "/a", were
  introduced.
* The substitution operators now support the modifier "/r" to work
  non-destructively, leaving the original unmodified.
* Larger octals can now be specified.
* Array and hash operators can now experimentally operate directly on hard
  references.
* printf-like functions now understand post-1980 size modifiers.
* Exception handling was made more reliable and consistent.
* Other enhancements and many bug fixes were made

PkgSrc:
* Fixed configuring on Mac OS X 10.7.
2011-08-05 18:06:14 +00:00
ryoon
09a21e02c5 Fix build on MacOS X Lion (Darwin Kernel Version 11.0.1).
From upstream comment:
nm isn't known to work after Snow Leopard and XCode 4; testing with OS X 10.5
and Xcode 3 shows a working nm, but pretending it doesn't work produces no
problems.

From upstream commit log:
Testing from 10.5 with Xcode 3 to the latest OS X works with usenm='false' but
not always with usenm='true'
2011-08-05 13:12:18 +00:00
joerg
2b495d977d Drop --whole-archive. It should be a linker option (-Wl prefixed) in
first place, but it breaks linkage with clang as it forced libgcc to be
included in libperl, resulting in text relocations.
2011-07-19 13:58:53 +00:00
abs
f67cf95904 Allow sitebin to be overridden by PERL5_SITEBIN. No change to default build 2011-05-16 07:59:04 +00:00
taca
95d961dda2 Add a patch to fix for http://secunia.com/advisories/43921/ from perl's
git repository (539689e74a).

Bump PKGREVISION.
2011-04-07 04:03:57 +00:00
wiz
87e0a90c33 regen. 2011-01-30 21:35:43 +00:00
wiz
ea0eeb31f1 Add RCS Id. 2011-01-30 21:35:32 +00:00
wiz
a03d679287 Use more portable __sun instead of __sun__, per pkglint. 2011-01-30 21:35:24 +00:00
wiz
5ef6b07f49 Remove empty chunk. 2011-01-30 21:35:12 +00:00
wiz
febe05b666 Improve MirBSD support, from Benny Siegert in PR 44491. 2011-01-30 21:31:42 +00:00
agc
231a384ac3 Add support for MirBSD to pkgsrc. Patches from Benny Siegert and
Thorsten Glaser.
2011-01-23 19:07:24 +00:00
wiz
295f04042d Fix some patterns (hint: do not mix {} and <> 2010-12-29 22:25:17 +00:00
adam
e71f23cfec Pass CFLAGS and LDFLAGS, otherwise fails on Mac OS X with different SDKs. 2010-12-26 12:16:06 +00:00
wiz
664ff78cd7 Remove alpha hack. Not needed any longer; per Staffan Thomén
<duck@shangtai.net> on tech-pkg.
2010-11-02 07:54:31 +00:00
sno
ad22006567 Updating lang/perl5 from 5.12.2 to 5.12.2nb1
pkgsrc changes:
- updating bundled modules
  * threads from 1.75 to 1.78
  * threads::shared from 1.32 to 1.33
  * Math::BigInt from 1.89_01 to 1.95 (without test merges)

Upstream changes of avove modules

>>> threads <<<
1.78 Wed Sep 22 17:21:22 2010
	- Handle missing signal handler in thread (threads bug #60460)

1.77 Fri Mar 26 13:36:33 2010
	- Fix race condition in t/threads.t (threads bug #55633)

1.76 Tue Mar  9 14:02:43 EST 2010
	- Handle magic on arg to ->object() (bug #73330)
	- Make ->object(threads->tid()) work like ->self() (bug #73330)
	- Noted memory consumption issue in POD
	- Added reusable thread pool example

>>> threads::shared <<<
1.33 Tue Mar  9 14:03:47 EST 2010
	- Handle shared object reference during global destruction
	- Document that changing array length via $#array doesn't work

>>> Math::BigInt <<<
2010-09-03 v1.90 rafl
 * fix bnok() for k==0 and k==n-1
2010-09-10 v1.91 rafl
 * fix various documentation bugs
2010-09-10 v1.92 rafl
 * re-upload v1.91 with a fixed SIGNATURE
2010-09-13 v1.93 rafl
 * Depend on perl >= 5.6.2
 * Remove obsolete core test directory boilerplate
 * Convert from Test to Test::More
2010-09-13 v1.94 rafl DEVELOPMENT RELEASE
 * Attempt to fix Math::BigInt::Lite failures
2010-09-14 v1.95 rafl
 * Re-upload v1.94 as a stable release
2010-09-23 21:47:48 +00:00
sno
f40e5a7a92 Updating lang/perl5 from 5.12.1nb2 to 5.12.2
Upstream changes:
Incompatible Changes
	There are no changes intentionally incompatible with 5.12.1.
	If any exist, they are bugs and reports are welcome.

Core Enhancements
	Other than the bug fixes listed below, there should be no
	user-visible changes to the core language in this release.

Modules and Pragmata

New Modules and Pragmata
	This release does not introduce any new modules or pragmata.

Pragmata Changes
	In the previous release, no VERSION; statements triggered a bug
	which could cause feature bundles to be loaded and strict mode
	to be enabled unintentionally.

Updated Modules

Carp
    Upgraded from version 1.16 to 1.17.

    Carp now detects incomplete caller() overrides and avoids using bogus
	@DB::args. To provide backtraces, Carp relies on particular behaviour
	of the caller built-in. Carp now detects if other code has overridden
	this with an incomplete implementation, and modifies its backtrace
	accordingly. Previously incomplete overrides would cause incorrect
	values in backtraces (best case), or obscure fatal errors (worst case)

    This fixes certain cases of Bizarre copy of ARRAY caused by modules
	overriding caller() incorrectly.

CPANPLUS
    A patch to cpanp-run-perl has been backported from CPANPLUS 0.9004.
	This resolves [perl #55964] and [perl #57106], both of which related
	to failures to install distributions that use Module::Install::DSL.

File::Glob
    A regression which caused a failure to find CORE::GLOBAL::glob after
	loading File::Glob to crash has been fixed. Now, it correctly falls
	back to external globbing via pp_glob.

File::Copy
    File::Copy::copy(FILE, DIR) is now documented.

File::Spec
    Upgraded from version 3.31 to 3.31_01.

    Several portability fixes were made in File::Spec::VMS: a colon is now
	recognized as a delimiter in native filespecs; caret-escaped
	delimiters are recognized for better handling of extended filespecs;
	catpath() returns an empty directory rather than the current
	directory if the input directory name is empty; abs2rel() properly
	handles Unix-style input.

Utility Changes
    * perlbug now always gives the reporter a chance to change the email
      address it guesses for them.
    * perlbug should no longer warn about uninitialized values when using
      the -d and -v options.

Changes to Existing Documentation
    * The existing policy on backward-compatibility and deprecation has
      been added to perlpolicy, along with definitions of terms like
      deprecation.
    * "srand" in perlfunc's usage has been clarified.
    * The entry for "die" in perlfunc was reorganized to emphasize its role
      in the exception mechanism.
    * Perl's INSTALL file has been clarified to explicitly state that Perl
      requires a C89 compliant ANSI C Compiler.
    * IO::Socket's getsockopt() and setsockopt() have been documented.
    * alarm()'s inability to interrupt blocking IO on Windows has been
      documented.
    * Math::TrulyRandom hasn't been updated since 1996 and has been removed
      as a recommended solution for random number generation.
    * perlrun has been updated to clarify the behaviour of octal flags to
      perl.
    * To ease user confusion, $# and $*, two special variables that were
      removed in earlier versions of Perl have been documented.
    * The version of perlfaq shipped with the Perl core has been updated
      from the official FAQ version, which is now maintained in the
      briandfoy/perlfaq branch of the Perl repository at
      git://perl5.git.perl.org/perl.git.

Installation and Configuration Improvements
Configuration improvements
    * The d_u32align configuration probe on ARM has been fixed.

Compilation improvements
    * An "incompatible operand types" error in ternary expressions when
      building with clang has been fixed.
    * Perl now skips setuid File::Copy tests on partitions it detects to
      be mounted as nosuid.

Selected Bug Fixes
    * A possible segfault in the T_PRTOBJ default typemap has been fixed.
    * A possible memory leak when using caller() to set @DB::args has been
      fixed.
    * Several memory leaks when loading XS modules were fixed.
    * unpack() now handles scalar context correctly for %32H and %32u,
      fixing a potential crash. split() would crash because the third item
      on the stack wasn't the regular expression it expected.
      unpack("%2H", ...) would return both the unpacked result and the
      checksum on the stack, as would unpack("%2u", ...). [perl #73814]
    * Perl now avoids using memory after calling free() in pp_require when
      there are CODEREFs in @INC.
    * A bug that could cause "Unknown error" messages when
      "call_sv(code, G_EVAL)" is called from an XS destructor has been fixed.
    * The implementation of the open $fh, '>' \$buffer feature now supports
      get/set magic and thus tied buffers correctly.
    * The pp_getc, pp_tell, and pp_eof opcodes now make room on the stack
      for their return values in cases where no argument was passed in.
    * When matching unicode strings under some conditions inappropriate
      backtracking would result in a Malformed UTF-8 character (fatal)
      error. This should no longer occur. See [perl #75680]

Platform Specific Notes
AIX
    * README.aix has been updated with information about the XL C/C++ V11
      compiler suite.

Windows
    * When building Perl with the mingw64 x64 cross-compiler incpath,
      libpth, ldflags, lddlflags and ldflags_nolargefiles values in
      Config.pm and Config_heavy.pl were not previously not being set
      correctly because, with that compiler, the include and lib
      directories are not immediately below $(CCHOME).

VMS
    * git_version.h is now installed on VMS. This was an oversight in
      v5.12.0 which caused some extensions to fail to build.
    * Several memory leaks in stat() have been fixed.
    * A memory leak in Perl_rename() due to a double allocation has been
      fixed.
    * A memory leak in vms_fid_to_name() (used by realpath() and
      realname()) has been fixed.
2010-09-09 20:35:43 +00:00
sno
042c9a9d86 adding some CONFLICTS (modules which are newer in core) 2010-09-05 08:29:51 +00:00
dsainty
999a774fe6 Reinstate patch-ac, which is still needed for Perl 5.12.1.
We intentionally wire down the 'libswanted' list in the package Makefile, so
don't let the hints file add new libraries that may be found outside Pkgsrc
control.

Fixes build on Gentoo and SuSE systems, and possibly other Linux systems too
that might have stray -lgdbm_compat libraries lying around.
2010-08-30 07:36:30 +00:00
tron
4e5d02134a Bump package revision again after unnecessary "gawk" dependence was removed. 2010-08-27 16:34:59 +00:00
tron
222a45318b Don't require "gawk". This is false positive reported by "pkglint". 2010-08-27 16:34:03 +00:00
sno
5dcf72a30d Updating lang/perl5 from 5.12.1 to 5.12.1nb1
pkgsrc changes:
- preparing for databases/p5-gdbm (using Makefile.common)
- supporting external access to perl install dirs (dirs.mk)
- fixing some errors/warnings from pkglint
- adding conflict to packages of CPAN modules which are in Perl5 code
  on the one hand and are broken with perl-5.10+

Bumping PKGREVISION (dependencies changed, rebuild highly recommended).
Recursive rebuild is not required.
2010-08-27 05:27:37 +00:00
obache
e573803f7a Improve Haiku Support
* Make perl executable
* Add rpath for linkage, to allow using libraries outside of default LIB_PATH.
* Allow PREFIX != /boot/common (patch-cp)
2010-08-21 03:12:46 +00:00
seb
25df3b7208 Update perl from version 5.10.1nb2 to version 5.12.1.
Pkgsrc changes:
- Adjust some patches
- Remove patches integrated upstream
- Use Perl's "Policy.sh" framework (along the way remove some patches)
- Link in an enterprise friendly way on HPUX
- in buildlink3.mk bump minimum required pkgsrc Perl version to
5.12.0
- placate some pkglint warnings

Upstream changes:
- From version 5.12.1 announce

This release contains minor bug fixes and updates of several core
modules, as well as minor documentation updates. It should be fully
backward compatible with Perl 5.12.0.

- From version 5.12.0 announce:

Perl 5.12.0 represents approximately two years of development since
version 5.10.0 and contains over 750,000 lines of changes across over
3,000 files from over 200 authors and committers.

[...]

Notable changes in Perl 5.12 include:

* Perl now conforms much more closely to the Unicode standard.
  Additionally, this release includes an upgrade to version
  5.2 of the standard.

* New experimental APIs allow developers to extend Perl with
  "pluggable" keywords and syntax.

* Perl now has a better sense of time and will be able to keep
  accurate time well past the "Y2038" barrier.

* New syntax allows developers to specify package version numbers
  directly in "package" statements

* Perl now warns the user about the use of deprecated features
  by default.

- For a complete list of changes see included perl5120delta(1) and
perl5121delta(1) or http://perldoc.perl.org/perl5120delta.html and
http://perldoc.perl.org/perl5121delta.html
2010-08-19 20:47:09 +00:00
spz
597ac078b4 fix CVE-2010-1168 and CVE-2010-1447 by updating Safe.pm to the current,
not-affected version
2010-06-27 13:38:39 +00:00
morr
4f25071d92 Fix issue with PLIST generation by not reading existing .packlist. 2010-05-09 18:46:34 +00:00
fhajny
39101a14f2 Resolve building problem on SunOS and SPARC.
Fix PR 40560
2010-04-01 22:03:09 +00:00
wiz
5a532b436c Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
tron
5ae715f823 Use "PKG_PREFIX" if it is set and the compiled in path otherwise.
Based on a suggestion by Steven Drake.
2010-02-14 15:10:38 +00:00
tron
e0a5304f90 Don't use "${PKG_PREFIX}" which is not set when this script gets run.
This avoids error messages from "perllink" while deinstalling (or
updateing) a Perl module package.

Fixed based on an analysis provided by Steven Drake on "tech-pkg".
2010-02-03 13:29:37 +00:00
sno
bd9f8dc0af Reviewed patch from pkg/42709 and apply it. 2010-01-31 12:14:24 +00:00
sno
b78ad0dde7 Adding support to install via bundled Module::Install by allowing
PERL5_MODULE_TYPE set to Module::Install::Bundled.
2010-01-16 15:02:14 +00:00
dsainty
fe1fa35425 We intentionally wire down the 'libswanted' list in the package Makefile, so
don't let the hints file add new libraries that may be found outside Pkgsrc
control.

Fixes build on Gentoo system, and possibly other Linux systems too that might
have stray -lgdbm_compat libraries lying around.  This reverts hints/linux.sh
to look more like it did in 5.10.0.
2009-12-22 04:39:58 +00:00
seb
1804423e46 Fix fetch: adjust MASTER_SITES to CPAN's src/5.0/ directory. 2009-12-14 12:24:46 +00:00
seb
7b4f7b83b7 Update perl from version 5.10.0nb6 to version 5.10.1.
Pkgsrc changes:
- Adjust some patches
- Remove patches integrated upstream

Upstream changes:
"5.10.1 is a maintenance release for perl 5.10, incorporating various
minor bugfixes and optimisations."

Nonetheless some incompatibles changes are noteworthy and are related
to:
- flip-flop and defined-or operators behavior in switch statement
- type-based dispatch and overloading of the smart match operator
- 'use feature :5.10*' semantics
- Perl development switched to git
- internal structure of the ext/ perl source directory changed
- removal of the modules Test::Harness::Straps, ExtUtils::MakeMaker::bytes
and ExtUtils::MakeMaker::vmsish
- the Module::CoreList module no longer contains the %:patchlevel hash
- a bugfix related to the handling of the /m modifier and qr resulted
in a change of behaviour between 5.8.x and 5.10.0 (this was missing from
perl 5.10.0 perldelta).

For a complete list of changes see included perl5101delta(1) or
http://perldoc.perl.org/perl5101delta.html
2009-12-14 06:36:56 +00:00
tnn
ff2b89aad2 Drop MAKE_JOBS_SAFE=no. Was updated a while back; MAKE_JOBS=16 works. 2009-10-23 18:41:02 +00:00
hasso
0760b5deb6 Fix thread library detection on DragonFly. From corecode via PR 42170. 2009-10-13 10:38:31 +00:00
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
20927adaf8 adjust PERL5_LICENSE - enable both valid licenses 2009-07-17 06:44:46 +00:00
sno
6ca78edac7 allow dependent modules check build options of perl5 2009-07-17 06:43:27 +00:00