diff options
author | Kim <khagen@jessiedevel> | 2018-05-24 15:13:30 +0200 |
---|---|---|
committer | Kim <khagen@jessiedevel> | 2018-05-24 15:13:30 +0200 |
commit | 1e0bffc41d6f1c99f99bb8c5f341422723b9f651 (patch) | |
tree | af5eb4664e13097b4607b30ef31bee2fdbe7661b /debian/rules | |
parent | 75636a5cc56e8ceb6b0ad4aaa03bd510cde160a9 (diff) | |
download | libpam-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-x | debian/rules | 5 |
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 |