diff options
-rw-r--r-- | debian/changelog | 1 | ||||
-rwxr-xr-x | debian/rules | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog index 2ccabb6..65d3155 100644 --- a/debian/changelog +++ b/debian/changelog @@ -29,6 +29,7 @@ wallet (1.1-1) UNRELEASED; urgency=medium isn't a way to fully represent the required dependency.) * Rebuild Autoconf and Automake files during the build. * Define AUTOMATED_TESTING to enable some additional Perl tests. + * Adjust debian/rules for the new Module::Build Perl build system. * Update standards version to 3.9.5 (no changes required). -- Russ Allbery <rra@debian.org> Wed, 16 Jul 2014 13:51:23 -0700 diff --git a/debian/rules b/debian/rules index 0471054..ce5ad97 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,10 @@ # Add hardening build flags. export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+pie +# The additional flags to pass to Build.PL, picked up by the upstream build +# system. +export WALLET_PERL_FLAGS := --installdirs vendor --create_packlist 0 + # Enable some additional Perl tests. export AUTOMATED_TESTING = 1 @@ -12,10 +16,8 @@ export AUTOMATED_TESTING = 1 override_dh_auto_configure: dh_auto_configure --parallel -- --enable-reduced-depends -# We rebuild the perl directory Makefile to encode the correct installation -# paths, since otherwise it defaults to using the local site module path. +# Install the remctl configuration as part of the build. override_dh_auto_install: - cd perl && perl Makefile.PL INSTALLDIRS=vendor dh_auto_install install -d debian/tmp/etc/remctl/acl install -m 0644 config/keytab.acl debian/tmp/etc/remctl/acl/keytab |