From: Stefan Schantl Date: Thu, 6 Jan 2011 14:41:38 +0000 (+0100) Subject: pam: Activate support for selinux and audit. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16cc3e67627a9fe94f37b36388ce990738169792;p=ipfire-3.x.git pam: Activate support for selinux and audit. --- diff --git a/pkgs/core/pam/pam.nm b/pkgs/core/pam/pam.nm index a3df9b276..99e4bf999 100644 --- a/pkgs/core/pam/pam.nm +++ b/pkgs/core/pam/pam.nm @@ -26,7 +26,7 @@ include $(PKGROOT)/Include PKG_NAME = Linux-PAM PKG_VER = 1.1.0 -PKG_REL = 0 +PKG_REL = 1 PKG_MAINTAINER = PKG_GROUP = System/Base @@ -34,7 +34,7 @@ PKG_URL = http://www.us.kernel.org/pub/linux/libs/pam/index.html PKG_LICENSE = BSD and GPLv2+ and BSD with advertising PKG_SUMMARY = An extensible library which provides authentication for applications. -PKG_BUILD_DEPS+= bison cracklib-devel flex +PKG_BUILD_DEPS+= audit-devel bison cracklib-devel flex libselinux-devel define PKG_DESCRIPTION PAM (Pluggable Authentication Modules) is a system security tool that \ @@ -46,21 +46,14 @@ PKG_TARBALL = $(THISAPP).tar.bz2 PKG_PACKAGES += $(PKG_NAME_REAL)-devel -define STAGE_BUILD - cd $(DIR_APP) && \ - ./configure \ - --libdir=/lib \ - --sbindir=/lib/security \ - --enable-securedir=/lib/security \ - --docdir=/usr/share/doc/Linux-PAM-$(PKG_VER) \ - --enable-read-both-confs - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) -endef - -define STAGE_INSTALL - cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) +CONFIGURE_OPTIONS += \ + --libdir=/lib \ + --sbindir=/lib/security \ + --enable-securedir=/lib/security \ + --docdir=/usr/share/doc/Linux-PAM-$(PKG_VER) \ + --enable-read-both-confs +define STAGE_INSTALL_CMDS -mkdir -pv $(BUILDROOT)/sbin chmod -v 4755 $(BUILDROOT)/lib/security/unix_chkpwd mv -v $(BUILDROOT)/lib/security/pam_tally $(BUILDROOT)/sbin