aboutsummaryrefslogtreecommitdiff
path: root/lang/perl/Makefile
Commit message (Collapse)AuthorAge
* perl: fix build errors on macOSGeorgi Valkov2021-02-09
| | | | | | | | | | | | Added a check for macOS 11 and newer to resolve a compile error: *** Unexpected product version 11.2. Added Internals::getcwd. Fallback to the built-in getcwd to resolve compile errors on macOS: Can't locate Errno.pm in @INC /miniperl not found Signed-off-by: Georgi Valkov <gvalkov@abv.bg>
* Revert "perl: fix compilation on x86_64 with glibc and ssp"Rosen Penev2020-06-17
| | | | | | | | This reverts commit 3d5ba0f094709c1ca98a39d1f080aa414c40d530. As of b933f9cf0cb254e368027cad6d5799e45b237df5 , this is not needed. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* perl: fix compilation on x86_64 with glibc and sspIan Cooper2020-04-29
| | | | | | | | perl fails to compile on x86_64 with glibc and stack smashing protection enabled due to libssp not being specified in the ldflags. Signed-off-by: Ian Cooper <iancooper@hotmail.com>
* perl: define $sysroot for extensionsAlexander Ryzhov2020-02-08
| | | | | Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru> Signed-off-by: Rosen Penev <rosenp@gmail.com>
* perl: Don't build InstallDev under ARCRosen Penev2020-01-03
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* perl: fixed host compilation of static perl on MacOSJakub Piotr Cłapa2019-11-10
| | | | | | | | All symbols on MacOS are prefixed with an underscore which interfered with the filtering mechanism (added in perl 5.28) for extension libraries to be linked into static perl. Signed-off-by: Jakub Piotr Cłapa <jpc@loee.pl>
* treewide: add PKG_CPE_ID for better cvescanner coverageJan Pavlinec2019-09-17
| | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* treewide: Change .*GPL.*+ licenses to SPDX compatible identifierSven Eckelmann2019-09-10
| | | | | | | | The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL licenses. But a lot of packages did use a different, non-SPDX style with a "+" at the end instead of "-or-later". Signed-off-by: Sven Eckelmann <sven@narfation.org>
* perl: Do not build on ARCRosen Penev2019-06-02
| | | | | | Not supported. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* perl: update to 5.28.1Philip Prindeville2018-12-03
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* perlmod: fix ability to build module out-of-feedPhilip Prindeville2018-09-23
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* perl: version modules and non-base packagesPhilip Prindeville2018-08-13
| | | | | | | | | | | | Currently external modules and non-base packages are numbered from their own internal number space, and even though the Perl ABI number is embedded into them this isn't externally visible. For example, perl-html-parser-3.72.1 could be built for ABI 5.26 or for 5.28, we can't easily tell. This changes all of that by embedding the ABI number into the filename. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* perl: update to 5.28Philip Prindeville2018-07-31
| | | | | | | | | | Refresh patches 900 and 910. Add fix (920) for improperly gated variable. Add workaround (020) for Storable's run-time check for stacksize. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* perl: update to 5.26.2Philip Prindeville2018-04-29
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* perlmod: avoid 'do' semantics and just concatenatePhilip Prindeville2018-01-25
| | | | | | | | | | | In Perl the 'do' construct has some odd side-effects regarding $@, $!, and return values (i.e. 'do'ing a file which evaluates to undef can be a little ambiguous). Instead, generate a preamble to the Makefile.PL and execute it as stdin. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* perl: remove build timestampAlexander Couzens2017-12-14
| | | | | | | | Build timestamp prevents reproducible builds [0]. [0] https://reproducible-builds.org/docs/timestamps/ Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* perl: update to 5.26.1Philip Prindeville2017-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Required changes: * Add qualifying '.' to scripts or to @INC, as appropriate since we're enabling default_inc_excludes_dot; * Add new platform/library definitions like double-double format and locale library functions/headers; * Delete patch 020 as it's been upstreamed; Optional changes: * Instead of using -@rm and having that fail, emit an error message, and be ignored, just use @rm -f instead which will always succeed. Security [CVE-2017-12837] Heap buffer overflow in regular expression compiler Compiling certain regular expression patterns with the case-insensitive modifier could cause a heap buffer overflow and crash perl. This has now been fixed. [perl #131582] [CVE-2017-12883] Buffer over-read in regular expression parser For certain types of syntax error in a regular expression pattern, the error message could either contain the contents of a random, possibly large, chunk of memory, or could crash perl. This has now been fixed. [perl #131598] [CVE-2017-12814] $ENV{$key} stack buffer overflow on Windows A possible stack buffer overflow in the %ENV code on Windows has been fixed by removing the buffer completely since it was superfluous anyway. [perl #131665] Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* perl: put -rdynamic in proper build variablePhilip Prindeville2017-10-16
| | | | | | | The standard way to pass -rdynamic (or -Wl,--dynamic-export) is via the $ccdlflags variable. Do what is best practice. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* treewide: run "make check FIXUP=1"Etienne Champetier2017-08-29
| | | | | | | | | | fix Makefile chmod (644) replace MD5SUM with HASH add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git (PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now) Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
* lang/perl: Upgraded to Perl 5.24.1Michail Frolov2017-05-10
| | | | Signed-off-by: Michail Frolov <frolovm@pobox.com>
* Merge pull request #3740 from pprindeville/fix-perlmod-strippingHannu Nyman2017-01-11
|\ | | | | perlmod: global knob to disable comment stripping modules
| * perlmod: global knob to disable comment stripping modulesPhilip Prindeville2017-01-11
| | | | | | | | | | | | | | | | | | | | | | | | Certain strings are misinterpreted as comments by perlmod.mk and removed when they shouldn't be (in particular, perl-cgi). Enable this whenever you have sufficient flash space. Globally, CONFIG_PERL_NOCOMMENT=y (default) causes comments to be stripped as before. However, a package (like perl-cgi) can override this with PKG_LEAVE_COMMENTS=1. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* | treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with ↵Matthias Schiffer2017-01-10
|/ | | | | | | | | | | | | | | | | | $(STAGING_DIR_HOSTPKG) As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely on it. See 73b7f55424de52d8179a9ad808252fe3bf8dcc9d for more information on STAGING_DIR_HOSTPKG. STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release (it is equivalent to $(STAGING_DIR)/host), so this simple search/replace cleanup is safe to apply. Doing this cleanup now will be useful for the Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream. Also fixes a typo in the dbus Makefile ("STAGIND_DIR"). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* perl: securely handle duplicate environment variables [CVE-2016-2381]Jo-Philipp Wich2016-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | Stephane Chazelas discovered a bug in the environment handling in Perl. Perl provides a Perl-space hash variable, %ENV, in which environment variables can be looked up. If a variable appears twice in envp, only the last value would appear in %ENV, but getenv would return the first. Perl's taint security mechanism would be applied to the value in %ENV, but not to the other rest of the environment. This could result in an ambiguous environment causing environment variables to be propagated to subprocesses, despite the protections supposedly offered by taint checking. With this update Perl changes the behavior to match the following: a) %ENV is populated with the first environment variable, as getenv would return. b) Duplicate environment entries are removed. References: * http://perl5.git.perl.org/perl.git/commit/ae37b791a73a9e78dedb89fb2429d2628cf58076 * https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2381 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* Merge pull request #2267 from jow-/CVE-2015-8607Naoir2016-01-23
|\ | | | | perl: ensure File::Spec::canonpath() preserves taint [CVE-2015-8607]
| * perl: ensure File::Spec::canonpath() preserves taint [CVE-2015-8607]Jo-Philipp Wich2016-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Beginning in PathTools 3.47 and/or perl 5.20.0, the File::Spec::canonpath() routine returned untained strings even if passed tainted input. This defect undermines the guarantee of taint propagation, which is sometimes used to ensure that unvalidated user input does not reach sensitive code. This defect was found and reported by David Golden of MongoDB, and a patch was provided by Tony Cook. References: * https://rt.perl.org/Public/Bug/Display.html?id=126862 * https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8607 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* | treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with ↵Felix Fietkau2016-01-20
|/ | | | | | changes in trunk Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* perl: Update to 5.22.1Marcel Denia2015-12-21
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Fix uClibc handlingMarcel Denia2015-11-30
| | | | | | | Configuration scripts expect the libc identifier to be "uclibc" in case we're using it, OpenWrt provides "uClibc". Oh well... Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Set gccversion configuration symbol correctlyMarcel Denia2015-11-29
| | | | | | | | | This was previously manually set to '4.8.0'. Aside from just being incorrect, it also breaks Errno's GCC5 detection. Fixes #2044. Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Bump PKG_RELEASEMarcel Denia2015-11-20
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Bump PKG_RELEASEMarcel Denia2015-09-25
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Bump PKG_RELEASEMarcel Denia2015-09-01
| | | | | | | | | | | | | | | | | | | | Despite being just a packaging update, this update packs quite a few changes. To start things off, we're finally passing perl's testsuite on at least x86/musl. There are a lot of skipped tests left, as well as some oddities. Nothing too heavy though. Making this happen was an ongoing effort since the perl-5.20.1 release. We still can't run module testsuites and I don't expect all target/libc combinations to pass yet. So we'll leave test suite support marked as experimental. We've also switched from the old collection of target-specific configuration files to a new, more flexible and easier-to-maintain system based on perlconfig.pl. It'll generate a suitable configuration file using information found in it's *.config files as well as command-line parameters passed. See the POD and files/README.config for details. Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Include vmsish.t and Internals.t in perl-tests-commonMarcel Denia2015-09-01
| | | | | | There is no other place for them really. Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Disable OS/2 testsMarcel Denia2015-09-01
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Switch to split configuration filesMarcel Denia2015-09-01
| | | | | | | | | | | | This replaces the previously used collection of configuration files for every single architecture in conjunction with hacky overrides, which became an increasing burden to maintain. Fixes a number of outstanding bugs and oddities, with the most important one being the previously wrong signal order(as shown by ext/POSIX/t/sigaction.t). See files/perlconfig.pl's POD and files/README.config for details. Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Update to 5.22.0Marcel Denia2015-06-18
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Disable strerror_r usage with muslMarcel Denia2015-06-18
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Have perl's major version number in one central placeMarcel Denia2015-06-18
| | | | | | This will simplify updating the package in the future. Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: fix musl compatibilityJo-Philipp Wich2015-06-17
| | | | | | | | | | | | | | - Add patch to inhibit the libm IEEE math switch on musl - Add postprocessing for config.sh to the Makefile to fixup defines for musl, idea taken from http://patchwork.openembedded.org/patch/91707/ This is the least invasive approach I could come up to fix the build failure asap. Another possibility is maintaining yet another set of musl specific architecture config files, but I think that this introduces a lot of maintenance overhead. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* perl: Bump PKG_RELEASEMarcel Denia2015-05-27
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Enable threading in host-perl as well if threading is selectedMarcel Denia2015-05-27
| | | | | | | | | | | | | | While host-perl only exists to run build scripts(and thus, should have no influence on built packages at all), most packages depend heavily on the feature set of the perl installation that ran their configuration scripts. This change makes them see that threading support is enabled(if it actually is selected). We can't use configuration symbol overrides for this one, as they are visible to host-perl as well. Using overrides would make it act as if it had threading support enabled without actually having it. Signed-off-by: Marcel Denia <naoir@gmx.net>
* global: change all instances of USE_EGLIBC to USE_GLIBCJohn Crispin2015-03-12
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* perl: Update to 5.20.2Marcel Denia2015-02-16
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Bump PKG_RELEASEMarcel Denia2015-02-07
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Bump PKG_RELEASEMarcel Denia2015-02-04
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: CleanupMarcel Denia2015-02-04
| | | | | | | | - Update copyright notice - Make perlbase-experimental's TITLE show up in menuconfig again - Formatting changes Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Add new CONFIG_PERL_THREADS option for enabling threading supportMarcel Denia2015-02-04
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Bump PKG_RELEASEMarcel Denia2015-01-10
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>
* perl: Update to 5.20.1Marcel Denia2014-11-06
| | | | Signed-off-by: Marcel Denia <naoir@gmx.net>