summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorKim <khagen@jessiedevel>2018-05-24 15:13:30 +0200
committerKim <khagen@jessiedevel>2018-05-24 15:13:30 +0200
commit1e0bffc41d6f1c99f99bb8c5f341422723b9f651 (patch)
treeaf5eb4664e13097b4607b30ef31bee2fdbe7661b /debian/rules
parent75636a5cc56e8ceb6b0ad4aaa03bd510cde160a9 (diff)
downloadlibpam-radius-auth-1e0bffc41d6f1c99f99bb8c5f341422723b9f651.tar.gz
libpam-radius-auth-1e0bffc41d6f1c99f99bb8c5f341422723b9f651.zip
Revert "Remove refs to config file"
This reverts commit 2e79be64738818b82cb9a9fec709313093212bc4.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 6cb6603..3039568 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@ ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
else
CFLAGS += -O2
endif
+PAM_CONF_FILE=/etc/pam_radius_auth.conf
CFLAGS+=-g3 -Wno-strict-aliasing -DCONF_FILE=\"${PAM_CONF_FILE}\"
ifeq ($(DEB_HOST_GNU_CPU),(hppa|m68k|mips|powerpc|s390|sparc|sparc64|sheb))
@@ -22,7 +23,11 @@ export CFLAGS
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