summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/libpam-radius-auth.dirs2
-rw-r--r--debian/libpam-radius-auth.install2
-rwxr-xr-xdebian/rules4
3 files changed, 6 insertions, 2 deletions
diff --git a/debian/libpam-radius-auth.dirs b/debian/libpam-radius-auth.dirs
index 8db6b07..b3af060 100644
--- a/debian/libpam-radius-auth.dirs
+++ b/debian/libpam-radius-auth.dirs
@@ -1,4 +1,4 @@
-lib/security
+lib
etc
usr/share/doc/libpam-radius-auth/html
usr/share/pam-configs
diff --git a/debian/libpam-radius-auth.install b/debian/libpam-radius-auth.install
index 97fed99..591932c 100644
--- a/debian/libpam-radius-auth.install
+++ b/debian/libpam-radius-auth.install
@@ -1,3 +1,3 @@
-pam_radius_auth.so lib/security
+lib
index.html usr/share/doc/libpam-radius-auth/html
debian/radius usr/share/pam-configs
diff --git a/debian/rules b/debian/rules
index 6cb6603..d48d9e3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,5 +24,9 @@ override_dh_install:
dh_install -v --sourcedir=. --package=radius-shell
chmod 750 debian/*/sbin/radius_shell
+override_dh_auto_install:
+ mkdir -p lib/$(DEB_HOST_MULTIARCH)/security
+ cp pam_radius_auth.so lib/$(DEB_HOST_MULTIARCH)/security
+
override_dh_installchangelogs:
dh_installchangelogs Changelog