From 1e0bffc41d6f1c99f99bb8c5f341422723b9f651 Mon Sep 17 00:00:00 2001 From: Kim Date: Thu, 24 May 2018 15:13:30 +0200 Subject: Revert "Remove refs to config file" This reverts commit 2e79be64738818b82cb9a9fec709313093212bc4. --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3