From: Michael Tremer Date: Sun, 21 Feb 2010 20:43:59 +0000 (+0100) Subject: naoki: Add support for pam.d directory as well. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fbce299396c622a22f96e67a168913cdf1deb83;p=ipfire-3.x.git naoki: Add support for pam.d directory as well. --- diff --git a/pkgs/Constants b/pkgs/Constants index 087330658..73c2be8be 100644 --- a/pkgs/Constants +++ b/pkgs/Constants @@ -66,6 +66,7 @@ endif PKG_INIT_FILES = $(wildcard *.init) PKG_PAM_FILES = $(wildcard *.pam) +PKG_PAM_FILES += $(wildcard pam.d/*) export CFLAGS CXXFLAGS BUILD_HOST diff --git a/pkgs/Functions b/pkgs/Functions index 8883a6713..5eed06232 100644 --- a/pkgs/Functions +++ b/pkgs/Functions @@ -15,6 +15,7 @@ endef define __INSTALL_INIT -mkdir -pv $(BUILDROOT)/etc/init cd $(DIR_APP) && cp -vf $(DIR_SOURCE)/$(1) $(BUILDROOT)/etc/init/$(subst .init,.conf,$(1)) + endef define DO_INSTALL_INIT @@ -23,7 +24,8 @@ endef define __INSTALL_PAM -mkdir -pv $(BUILDROOT)/etc/pam.d - cd $(DIR_APP) && cp -vf $(DIR_SOURCE)/$(1) $(BUILDROOT)/etc/pam.d/$(subst .pam,,$(1)) + cd $(DIR_APP) && cp -vf $(DIR_SOURCE)/$(1) $(BUILDROOT)/etc/pam.d/$(subst .pam,,$(notdir $(1))) + endef define DO_INSTALL_PAM