Fix an obsolete compat level and a dpkg-buildpackage error.

When running running "dpkg-buildpackage -us -uc" it reports:

  dh_usrlocal: debian/squidanalyzer/usr/local/bin/squid-analyzer is not a directory
  make: *** [debian/rules:4: binary] Error 25
  dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

I've changed Perl INSTALLDIRS to vendor instead of site so that it will
not be installed into /usr/local/

Thanks to Adrian Ban for the report.
This commit is contained in:
Darold Gilles 2019-04-26 18:41:44 +02:00
parent 1bfd73ce84
commit 616d742eb7
2 changed files with 2 additions and 1 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
7
9

1
debian/rules vendored
View File

@ -5,6 +5,7 @@
override_dh_auto_configure:
perl Makefile.PL \
INSTALLDIRS=vendor
LOGFILE=/var/log/squid3/access.log \
BINDIR=/usr/bin \
CONFDIR=/etc/squidanalyzer \