Package Details: perl-autodie 2.29-1

Git Clone URL: https://aur.archlinux.org/perl-autodie.git (read-only)
Package Base: perl-autodie
Description: Replace functions with ones that succeed or die with lexical scope
Upstream URL: https://metacpan.org/release/autodie
Licenses: GPL, PerlArtistic
Submitter: xenoterracide
Maintainer: bunder
Last Packager: bunder
Votes: 1
Popularity: 0.000000
First Submitted: 2010-02-11 23:52
Last Updated: 2015-08-07 20:05

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

bunder commented on 2013-08-30 12:30

This module uses ExtUtils::MakeMaker for building. PERL_MB_OPT and MODULEBUILDRC are for Module::Build, so are useless for this module. I pass the same parameters as in PERL_MM_OPT explicitly to 'perl Makefile.PL' and 'make install'.
All should work the same way as in your hardened example. If it isn't, please, provide more detailed description of the situation.

elpasi commented on 2013-08-11 06:45

Please can you use the features from the hardened PKGBUILD from
https://wiki.archlinux.org/index.php/Perl_Package_Guidelines#Hardened_example

Changing the build to:

build() {
cd "$srcdir/autodie-2.20"
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
perl Makefile.PL
make
}

was enough to stop the package trying to install to /home/simon/perl5.