summaryrefslogtreecommitdiff
path: root/lang/perl5
AgeCommit message (Collapse)AuthorFilesLines
2006-03-14Modify the pkginstall framework so that it manages all aspects ofjlam2-5/+5
INSTALL/DEINSTALL script creation within pkgsrc. If an INSTALL or DEINSTALL script is found in the package directory, it is automatically used as a template for the pkginstall-generated scripts. If instead, they should be used simply as the full scripts, then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC explicitly, e.g.: INSTALL_SRC= ${PKGDIR}/INSTALL DEINSTALL_SRC= # emtpy As part of the restructuring of the pkginstall framework internals, we now *always* generate temporary INSTALL or DEINSTALL scripts. By comparing these temporary scripts with minimal INSTALL/DEINSTALL scripts formed from only the base templates, we determine whether or not the INSTALL/DEINSTALL scripts are actually needed by the package (see the generate-install-scripts target in bsd.pkginstall.mk). In addition, more variables in the framework have been made private. The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are more sensible names given the very few exported variables in this framework. The only public variables relating to the templates are: INSTALL_SRC INSTALL_TEMPLATE DEINSTALL_SRC DEINSTALL_TEMPLATE HEADER_TEMPLATE The packages in pkgsrc have been modified to reflect the changes in the pkginstall framework.
2006-03-09Make perl5 modules build with pthread library from pkgsrc.itohy1-1/+3
2006-01-19Use SUBST framework instead of FILES_SUBST_SED.joerg1-5/+8
2006-01-15Restore binary compatibility with previous versions of perl-5.8.x thatjlam1-10/+11
were lost in PKGREVISION nb7. We do this by avoiding inspecting the value of ${WRKSRC} within the package Makefile and instead deferring using ${WRKSRC} until we actually need the value (after extraction). This is necessary because WRKSRC is defined in bsd.pkg.mk, which is too late. Bump the PKGREVISION to 8.
2006-01-13Use the vendor-supplied set of fixes for the following security advisories:jlam3-20/+29
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-13Finish removing extraneous code only useful for snapshots missed in thejlam1-8/+4
previous commit.
2006-01-13Remove snapshot and release-candidate code since they're outdated and arejlam1-24/+2
no longer applicable to the current "stable" development branch. Also, fix the HOMEPAGE to point to perl.org instead of perl.com.
2005-12-30Ensure that the hints files are always writable before modifying them.jlam1-1/+4
Fixes build problems on platforms without threads.
2005-12-29Perl has no dependencies, so force patch the Configure script to makejlam3-15/+15
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-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam2-4/+2
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-22Tell the Configure script the correct LDFLAGS needed to link threadedjlam1-14/+35
applications much sooner. We do this by making every hints file create a usethreads.cbu script that prepends the correct LDFLAGS to the ldflags and lddlflags Perl variables. This should fix PR pkg/31091, which detailed a problem with building threaded perl on a platform withat native pthreads that used GNU Pth as its pthread library. While we're here, also fix some minor variable quoting issues. Bump the PKGREVISION to 6.
2005-12-18Fix for Perl format string vulnerability noted in CVE-2005-3962:jlam3-3/+21
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-17Change my MAINTAINER email address to the one I've been using forjlam1-2/+2
pkgsrc work.
2005-12-05Ran "pkglint --autofix", which corrected some of the quoting issues inrillig1-2/+2
CONFIGURE_ARGS.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-10-19Teach pkgsrc to modify the installed .packlist files so that if MANZ isjlam1-1/+34
"yes", then they list the compressed manpages. Implementation stolen from the PLIST MANZ-handling code in bsd.pkg.mk added by Stoned Elipot. This should fix pkg/31499.
2005-10-19Split out the packlist-handling code from modules.mk into a separatejlam3-68/+83
packlist.mk file, and replace the custom code in perl5/Makefile that duplicated the same packlist handling to just use the routines in packlist.mk.
2005-10-10Bump revision since the linking changed on DragonFly. Suggested byjoerg1-2/+2
jlam@.
2005-10-10Nuke last chunk of patch, it got appended by configure.joerg2-15/+4
2005-10-10Just use -pthread on DragonFly for thread linkage.joerg2-18/+16
2005-10-05Remove some more *LEGACY* settings that are over a month old andwiz1-2/+1
thus were before 2005Q3.
2005-08-22Set LIBSWANTED and SYSLIBPATH for DragonFly.reed1-1/+3
Tests that failed are: ../ext/POSIX/t/posix.t not ok 3 - read to array element # TODO read to array element not working # Failed at /home/reed/pkgsrc/lang/perl5/work/perl-5.8.7/ext/POSIX/t/posix.t lin e 40 # got undef # expected 'perl # ' not ok 11 - masked SIGINT received
2005-08-18Remove the empty $sitearch directory even if it's outside of ${PREFIX} --jlam1-6/+2
the perl installation will always create it and it's surprising when it suddenly appears on your filesystem.
2005-08-12Restore perllocal.pod-generating behavior of ExtUtils::MakeMakerjlam11-128/+54
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-08Alter the configuration so that:jlam3-6/+58
$(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-07Fix an error in ExtUtils::MakeMaker that didn't output the definitionsjlam3-8/+43
for INSTALLSITESCRIPT and INSTALLVENDORSCRIPT in MakeMaker-generated Makefiles. Bump the PKGREVISION to 1.
2005-08-07Remove redundant patch.jlam2-34/+1
2005-08-06Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updatesjlam26-438/+893
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-07-16Get rid of USE_PERL5. The new way to express needing the Perl executablejlam1-5/+1
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
2005-07-15Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify ajlam1-4/+1
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier to the tool name, e.g., USE_TOOLS+= perl:run Tools without modifiers or with an explicit ":build" modifier will cause build dependencies (BUILD_DEPENDS) on those tools to be added. This makes the notation a bit more compact.
2005-07-13Turn PERL5_PACKLIST into a relative path instead of an absolute path.jlam1-3/+5
These paths are now relative to PERL5_PACKLIST_DIR, which currently defaults to ${PERL5_SITEARCH}. There is no change to the binary packages.
2005-07-13sort out 32- and 64bit flags for IRIXjschauma1-2/+6
2005-06-30Use "test -h", instead of "test", to test symlinks. This should haveminskim1-3/+3
been committed with the previous change. Noted by jlam@. Bump PKGREVISION.
2005-06-30Make sure that the path to "test" in ${TOOLS_DIR} is not embedded inminskim1-3/+4
Config.pm. Bump PKGREVISION.
2005-06-24Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and updatejlam36-714/+893
lang/perl5 to perl-5.8.6nb4. Modify packages that referred to lang/perl58 to point to lang/perl5 instead.
2005-05-27Quoting fix.jlam1-2/+2
2005-05-27.undef is unnecessary since the temporary variable used in the for loopjlam1-4/+1
goes away by itself.
2005-05-25Add RMD160 checksum.wiz1-1/+2
2005-05-22Remove the old tools framework and references to _USE_NEW_TOOLS.jlam1-7/+2
2005-05-20Move the PLIST_SUBST lines that substitute for PERL5_* variables fromjlam1-5/+1
perl5/module.mk into tools/perl.mk so that the substitution occurs for all packages that use perl.
2005-05-19Split the conditional which seems to occasionally be malformed. Thisjlam1-3/+5
probably has something to do with how make deals with short-circuit evaluation of conditionals, but it's a simple matter to split the conditional since USE_PERL5 is eventually going away.
2005-05-19When perl5/buildlink3.mk is included by a package Makefile, the buildlinkjlam1-3/+2
framework will handle adding the correct dependency.
2005-05-18Goal: Remove USE_PERL5 from pkgsrc.jlam3-6/+54
Plan: (1) Change USE_PERL5=build into USE_TOOLS+=perl. (2) Change all other USE_PERL5 into including perl5/buildlink3.mk. Possibly, for packages that don't actually build anything with perl, but merely require it for the perl interpreter, we can instead do: USE_TOOLS+= perl TOOLS_DEPMETHOD.perl= DEPENDS but this is more verbose than simply including the perl5/buildlink3.mk file. Move the PERL5_REQD computation into a lang/perl5/version.mk file, and only do the USE_PERL5 logic in bsd.pkg.use.mk if we're not using the new tools framework. This consolidates all of the perl-handling into two places -- lang/perl5 and mk/tools/perl.mk.
2005-05-12We don't need to check for whether the variables are defined beforejlam1-5/+1
using them, as these values are referenced till later when the variables will definitely have the correct value. This removes the need to include vars.mk here.
2005-05-12Allow vars.mk to be included multiple times. We avoid excessivejlam1-35/+34
computation by caching the variables using MAKEVARS.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-04-01BUILDING_PERL5 is _always_ defined now, so test for a specific value.heinz1-2/+2
This fixes (at least) the build of mail/p5-razor-agents on NetBSD 1.6.2. Ok'ed by jlam.
2005-03-24Don't check USE_BUILDLINK3 any more.tv1-6/+2
2005-03-24Perl's Configure needs to be restricted from finding libraries thatjlam1-3/+5
we don't want it to find. The usual buildlink techniques don't work here since the Configure script uses a file existence test instead of a linker test to see if the library exists. For each operating system that we support in pkgsrc, there should be corresponding LIBSWANTED.${OPSYS} and SYSLIBPATH.${OPSYS} definitions in the Perl package Makefiles to ensure we only get what we ask for. In this particular case, add the appropriate definitions for OpenBSD so that we don't pick up random libraries that may also be installed on the system.
2005-03-23Forcibly set the locations for the version-specific directories.jlam1-5/+5
Before, we were possibly using the values gleaned from a pre-existing perl binary via perl5/vars.mk (pulled in by bsd.pkg.use.mk), which would lead to the new perl using the pre-existing perl's version-specific libraries. Bump the PKGREVISION of lang/perl5 to 11 and lang/perl58 to 4.