summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-22 18:36:19 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-22 18:36:19 +0200
commitf641d36d2acf8c0754c3bf70acedf537cae10d09 (patch)
tree1d15e9fd43b976c101fba0c83899cb9e1bfc1a00 /debian
parente5f3d4c4d895ab7f40acd697c56a7c351b889bd3 (diff)
downloadlibpam-radius-auth-f641d36d2acf8c0754c3bf70acedf537cae10d09.tar.gz
libpam-radius-auth-f641d36d2acf8c0754c3bf70acedf537cae10d09.zip
T3641: Debian Bullseye expects PAM security modules in multiarch lib dir
e.g. for amd64 hosts: /lib/x86_64-linux-gnu/security
Diffstat (limited to 'debian')
-rw-r--r--debian/compat2
-rw-r--r--debian/control2
-rw-r--r--debian/libpam-radius-auth.install5
-rwxr-xr-xdebian/rules14
4 files changed, 4 insertions, 19 deletions
diff --git a/debian/compat b/debian/compat
index ec63514..48082f7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+12
diff --git a/debian/control b/debian/control
index ce22bf9..ab7fa1c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: dev-support <dev-support@cumulusnetworks.com>
Section: libs
Priority: extra
Standards-Version: 3.9.6
-Build-Depends: libpam0g-dev | libpam-dev, debhelper (>= 9~), libaudit-dev, libcap-dev
+Build-Depends: libpam0g-dev | libpam-dev, debhelper (>= 12), libaudit-dev, libcap-dev
Package: libpam-radius-auth
Architecture: any
diff --git a/debian/libpam-radius-auth.install b/debian/libpam-radius-auth.install
index 128092b..4bffe5e 100644
--- a/debian/libpam-radius-auth.install
+++ b/debian/libpam-radius-auth.install
@@ -1,3 +1,2 @@
-pam_radius_auth.so lib/security
-pam_radius_auth.conf etc
-index.html usr/share/doc/libpam-radius-auth/html
+lib
+etc
diff --git a/debian/rules b/debian/rules
index 7066806..45209fb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,17 +17,3 @@ export CFLAGS
%:
dh $@ --with autoreconf
-
-# all the installing is here, not in Makefile.
-# The configuration file with the share secrets needs to be 600
-override_dh_install:
- dh_install -v --sourcedir=. --package=libpam-radius-auth
- dh_install -v --sourcedir=. --package=radius-shell
- chmod 600 debian/*/${PAM_CONF_FILE}
- chmod 750 debian/*/sbin/radius_shell
-
-override_dh_fixperms:
- dh_fixperms --exclude ${PAM_CONF_FILE}
-
-override_dh_installchangelogs:
- dh_installchangelogs Changelog