summaryrefslogtreecommitdiffstats
path: root/package/perl
Commit message (Collapse)AuthorAgeFilesLines
* package/perl: bump to version 5.28.1Francois Perrad2018-12-034-56/+10
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* perl: fix the generated subdirectory MakefilesFrancois Perrad2018-10-201-0/+30
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* perl-cross: bump to version 1.2Francois Perrad2018-07-012-3/+3
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* perl: add upstream security fix for CVE-2018-12015Peter Korsgaard2018-06-131-0/+46
| | | | | | | | | | | | | | Fixes CVE-2018-12015 - In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite arbitrary files, via an archive file containing a symlink and a regular file with the same name. Patch from https://github.com/jib/archive-tar-new/commit/ae65651eab053fc6dc4590dbb863a268215c1fc5 with path rewritten to match perl tarball. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* perl: bump to version 5.26.2Francois Perrad2018-04-172-8/+8
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* packages: use new $($PKG)_DL_DIR) variableMaxime Hadjinlian2018-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | Instead of DL_DIR, the package should now use $(PKG)_DL_DIR to ease the transition into a new directory structure for DL_DIR. This commit has been generated with the following scripts: for i in $(find . -iname "*.mk"); do if ! grep -q "\$(DL_DIR)" ${i}; then continue fi pkg_name="$(basename $(dirname ${i}))" [ "${pkg_name}" = "package" ] && continue raw_pkg_name=$(echo ${pkg_name} | tr [a-z] [A-Z] | tr '-' '_') pkg_dl_dir="${raw_pkg_name}_DL_DIR" sed -i "s/\$(DL_DIR)/\$($pkg_dl_dir)/" ${i} done Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/*/Config.in: fix help text check-package warningsThomas Petazzoni2017-12-181-4/+4
| | | | | | | | | | | | | This commit fixes the warnings reported by check-package on the help text of all package Config.in files, related to the formatting of the help text: should start with a tab, then 2 spaces, then at most 62 characters. The vast majority of warnings fixed were caused by too long lines. A few warnings were related to spaces being used instead of a tab to indent the help text. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl-cross: bump to version 1.1.8Francois Perrad2017-10-312-3/+3
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: bump to version 5.26.1Francois Perrad2017-09-282-10/+10
| | | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: bump version 5.24.2Francois Perrad2017-07-312-8/+8
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* generic packages: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefixArnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | | Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. This is a mechanical change with git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\(prefix\|PREFIX\)=\("\?\)\$(HOST_DIR)/usr%\1=\2$(HOST_DIR)%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: remove libintl static linking handlingThomas Petazzoni2017-07-051-20/+0
| | | | | | | | We no longer support building the full-blown libintl in static linking scenarios, as it causes too many problems. Therefore, remove the patch that was handling this. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl-cross: bump to version 1.1.5Francois Perrad2017-06-062-3/+3
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: use SPDX short identifier for GPLv1/GPLv1+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | | We want to use SPDX identifier for licenses as much as possible. SPDX short identifier for GPLv1/GPLv1+ is GPL-1.0/GPL-1.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/GPLv1(\+)?/GPL-1.0\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl-cross: bump to version 1.1.4Francois Perrad2017-02-172-3/+3
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: bump to version 5.24.1Francois Perrad2017-01-232-8/+8
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: fix static build with gdbm + gettextFrancois Perrad2017-01-181-0/+20
| | | | | | | see http://autobuild.buildroot.org/results/d1f/d1f133ca3693b6653eed4fc513effc0bbdcfd9c9/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/perl: change tarball compression to xzJerzy Grzegorek2017-01-062-5/+5
| | | | | | | Also update hash file. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl-cross: bump to version 1.1.2Francois Perrad2017-01-042-7/+6
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: bump to version 5.24.0Francois Perrad2017-01-042-17/+9
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: use $(HOST_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias2016-10-291-3/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: use $(TARGET_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias2016-10-291-4/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: update cnf/config.{sub, guess} using autotools hookErico Nunes2016-10-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | perl may fail to build on newer host architectures such as aarch64 due to its inability to guess the host architecture to build 'miniperl', which is built during the process. An error message looks like this: Configuring build-time miniperl for unknown ERROR: No $target defined (?!) ERROR: configure --mode=buildmini failed This happens because the config.sub and config.guess files from perl are not modified and may become outdated. These files are normally updated automatically by a Buildroot hook for autotools packages, to avoid problems like these. Although perl uses the config.sub and config.guess files, it is not a strict autotools package, so it is not defined as an "autotools-package" in Buildroot and so it doesn't inherit the hook. This commit makes perl borrow the hook from the autotools infrastructure so that it can build on newer build architectures. This has been tested by building it on an aarch64 host machine. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Acked-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "package/perl: bump version to 5.24.0"Thomas Petazzoni2016-10-042-13/+15
| | | | | | | | | | | | | | | | | | | | | | | This reverts commit e1a4b820fff98cd5ba9ba12c4e7605496e7793b9. As explained by François Perrad: """ perl-cross 1.1.0 is not mature (11 issues opened on september), it is a full refactor, there are already 19 commits after this tag. I never bump a perl version 5.x.0, I always wait the version 5.x.1 If you really need a perl 5.24.0, cross-compiled it with perl-5.24.0-cross-1.0.3. When I bump a perl version, I run on target the full Perl test suite (~ 800 000 tests), and failures are not expected. With cross-perl 1.0.3 and 1.1.0 tags, there have failures described in https://github.com/arsv/perl-cross/issues/33 """ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/perl: bump version to 5.24.0Bernd Kuhls2016-10-032-15/+13
| | | | | | | | | | | | | perl-cross has a new version scheme since 1.1.0: https://github.com/arsv/perl-cross/releases perl does not contain a version-specific perldelta.pod anymore: https://rt.perl.org/Public/Bug/Display.html?id=129328#txn-1424561 Therefore PERL_CROSS_SET_POD was changed accordingly. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: use the <PKG>_TARGET_FINALIZE_HOOKSYann E. MORIN2016-07-051-3/+1
| | | | | | | | | | | | | | | | | | Register package-specific target-finalize hooks with the newly-introduced <PKG>_TARGET_FINALIZE_HOOKS. This incidentally fixes luarocks, which was registering target-finalize hooks even when it was not enabled. To be noted, the skeleton package is not converted, because it is not optional, we always have it; so its hooks would always be registered anyway. Besides, the followup patches would render this conversion moot anyway, since those hooks would be spread across the various skeleton packages. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/perl: use dummy hostnameYann E. MORIN2016-07-051-1/+1
| | | | | | | | | | | | | | | | | | | The hostname does not look like it serves any useful purpose, except maybe to set set perladmin email. Which is undoubtfully useless on the target. A followup commit will make the hostname depend on the default skeleton, so it won't always be available. We can not rely on it to be set. Besides, even today it is not guaranteed to be set; a user may well leave it empty. Use a dummy hostname. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* scancpan: improve message when bad host perl versionFrancois Perrad2016-07-041-0/+1
| | | | | | | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [Thomas: - add comment in scancpan about the version dependency, suggested by Yann E. Morin. - add comment in perl.mk about the need to sync any version change with scancpan, also suggested by Yann E. Morin.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: remove empty host dependencies definitionJulien Floret2016-07-031-4/+0
| | | | | Signed-off-by: Julien Floret <julien.floret@6wind.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: bump to version 5.22.2Francois Perrad2016-04-302-5/+5
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: bump to version 5.22.1Francois Perrad2016-01-122-9/+9
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl-cross: bump to version 1.0.1Francois Perrad2015-11-035-66/+2
| | | | | | | all patches merged Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* host-perl: fix patchingFrancois Perrad2015-10-301-0/+1
| | | | | | | | | | see http://autobuild.buildroot.net/results/c8e/c8e6bbe50ca71835bdde9503a9fe23ace8236a09/ the newest patches are against perl-cross, so we need to extract perl-cross in the host-perl case. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: fetch lastest upstream patches from perl-crossFrancois Perrad2015-10-274-18/+50
| | | | | | | | | my previous patch about static build (0001-fix-EUMM.patch) was not the good fix. see discussion: http://github.com/arsv/perl-cross/issues/18 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: Remove ccache handlingArnout Vandecappelle2015-10-041-3/+2
| | | | | | | | | Now the ccache handling has moved to the toolchain wrapper, it is no longer necessary to pass TARGET_CC_NOCCACHE. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: fix static buildFrancois Perrad2015-09-131-0/+18
| | | | | | | see http://autobuild.buildroot.net/results/502/502e6a6280451acc48e5f500e774b2bd04c7229e/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: bump to version 5.22.0Francois Perrad2015-09-062-9/+9
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: only run finalize hook when necessaryDanomi Manchego2015-07-211-2/+2
| | | | | | | | | | | | | | | | | The PERL_FINALIZE_TARGET always runs, even if perl is not installed. This results in errors from the find command when it fails to find anything, even when doing "make -s": >>> Finalizing target directory find: `...../output/target/usr/lib/perl5/': No such file or directory find: `...../output/target/usr/lib/perl5/': No such file or directory find: `...../output/target/usr/lib/perl5/': No such file or directory This is not helpful for projects that do not select Perl. Silence this by making the hook conditional on package selection. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: do not use TAR_STRIP_COMPONENTS, but directly --strip-componentsThomas Petazzoni2015-07-121-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl-cross: bump to version 0.9.7Francois Perrad2015-06-292-2/+2
| | | | | | | | fix some build failures, see https://github.com/arsv/perl-cross/issues/17 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/perl: Fix typos in HOSTCC specificationAlbert Lee2015-06-231-2/+2
| | | | | | Signed-off-by: Albert Lee <trisk@omniti.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove non-IPv6 enabler patchesGustavo Zacarias2015-04-221-61/+0
| | | | | | | These are no longer required so remove them. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-4/+0
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: use <pkg>_EXTRA_DOWNLOADSThomas Petazzoni2015-03-301-6/+2
| | | | | | | | | | | | | | Instead of manually using the DOWNLOAD macro (which should remain an internal macro), this commit converts the Perl package to use <pkg>_EXTRA_DOWNLOADS, now that it has been extended to allow full URLs. [Thomas: as suggested by Yann, keep comment explaining how we handle perl-cross.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* perl-cross: bump to version 0.9.6Francois Perrad2015-03-082-4/+3
| | | | | | | | this release contains a fix for yacc/bison issue, see http://github.com/arsv/perl-cross/issues/13 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: fix build caused by bison generated codeFrancois Perrad2015-03-041-0/+1
| | | | | | | | | | | | | | This commit makes sure the date of a C file is newer than the date of the corresponding Bison source file, so that the build process doesn't try to regenerate it. This avoids the need to have host-bison as a dependency for the perl build. Fixes: http://autobuild.buildroot.net/results/1c2/1c261b09f5a4a314d5dcbc1e5811af9c7d18658a/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: bump to version 5.20.2Francois Perrad2015-02-192-5/+5
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: remove poisoned path from dynaloader hintsAlex Suykov2015-02-081-0/+13
| | | | | | | | | Fixes http://autobuild.buildroot.net/results/323a82776cccf17afaa00ebe3483cfc06a06f264/ http://autobuild.buildroot.net/results/7d4cf7b63fda1a062263b7a4e758c699049105af/ Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-031-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: add hash for the perl-cross fileFabio Porcedda2015-01-311-0/+3
| | | | | | | | Fix: WARNING: No hash found for perl-5.20.1-cross-0.9.4.tar.gz Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud