summaryrefslogtreecommitdiff
path: root/package/pam
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-08 11:42:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-08 11:42:06 +0200
commit6bde5bd7302d9eeca63d55c8b57a6c544e56fe8c (patch)
tree6e81df59d768d51bbbff1e4f8de8c9ddfefa1213 /package/pam
parentb35c2c31271fbaa05c5839133f623c84324e34b7 (diff)
push pacemaker stuff in a usable state.
Diffstat (limited to 'package/pam')
-rw-r--r--package/pam/Makefile32
-rw-r--r--package/pam/patches/patch-Makefile_in24
-rw-r--r--package/pam/patches/patch-conf_Makefile_in11
3 files changed, 67 insertions, 0 deletions
diff --git a/package/pam/Makefile b/package/pam/Makefile
new file mode 100644
index 000000000..a9381495e
--- /dev/null
+++ b/package/pam/Makefile
@@ -0,0 +1,32 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= pam
+PKG_VERSION:= 1.1.4
+PKG_RELEASE:= 1
+PKG_MD5SUM:= ff8f3c4382b78ac211e11bcd56ab17bf
+PKG_DESCR:= Pluggable Authentication Modules
+PKG_BUILDDEP:= flex
+PKG_SECTION:= misc
+PKG_SITES:= http://openadk.org/distfiles/
+
+DISTFILES:= Linux-PAM-$(PKG_VERSION).tar.gz
+WRKDIST= ${WRKDIR}/Linux-PAM-${PKG_VERSION}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,PAM,pam,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+pam-install:
+ $(INSTALL_DIR) $(IDIR_PAM)/etc/security
+ $(CP) $(WRKINST)/etc/security/* $(IDIR_PAM)/etc/security
+ $(INSTALL_DIR) $(IDIR_PAM)/lib/security
+ $(CP) $(WRKINST)/lib/libpam*.so* $(IDIR_PAM)/lib
+ $(CP) $(WRKINST)/lib/security/*.so* $(IDIR_PAM)/lib/security
+ $(CP) $(WRKBUILD)/conf/pam.conf $(IDIR_PAM)/etc
+ # /lib is not automatically installed to staging area
+ $(CP) $(WRKINST)/lib/libpam*.so* $(STAGING_DIR)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pam/patches/patch-Makefile_in b/package/pam/patches/patch-Makefile_in
new file mode 100644
index 000000000..12574da06
--- /dev/null
+++ b/package/pam/patches/patch-Makefile_in
@@ -0,0 +1,24 @@
+--- Linux-PAM-1.1.4.orig/Makefile.in 2011-06-24 12:48:16.000000000 +0200
++++ Linux-PAM-1.1.4/Makefile.in 2011-10-07 11:42:21.000000000 +0200
+@@ -75,8 +75,8 @@ RECURSIVE_CLEAN_TARGETS = mostlyclean-re
+ distclean-recursive maintainer-clean-recursive
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = libpam tests libpamc libpam_misc modules po conf doc \
+- examples xtests
++DIST_SUBDIRS = libpam tests libpamc libpam_misc modules po conf \
++ examples
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
+@@ -258,8 +258,8 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = 1.9 gnu dist-bzip2 check-news
+-@STATIC_MODULES_FALSE@SUBDIRS = libpam tests libpamc libpam_misc modules po conf doc examples xtests
+-@STATIC_MODULES_TRUE@SUBDIRS = modules libpam libpamc libpam_misc tests po conf doc examples xtests
++@STATIC_MODULES_FALSE@SUBDIRS = libpam tests libpamc libpam_misc modules po conf examples
++@STATIC_MODULES_TRUE@SUBDIRS = modules libpam libpamc libpam_misc tests po conf examples
+ CLEANFILES = *~
+ M4_FILES = m4/gettext.m4 m4/iconv.m4 m4/intlmacosx.m4 \
+ m4/japhar_grep_cflags.m4 m4/jh_path_xml_catalog.m4 \
diff --git a/package/pam/patches/patch-conf_Makefile_in b/package/pam/patches/patch-conf_Makefile_in
new file mode 100644
index 000000000..b4a0d7afb
--- /dev/null
+++ b/package/pam/patches/patch-conf_Makefile_in
@@ -0,0 +1,11 @@
+--- Linux-PAM-1.1.4.orig/conf/Makefile.in 2011-06-24 12:48:02.000000000 +0200
++++ Linux-PAM-1.1.4/conf/Makefile.in 2011-10-07 11:32:37.000000000 +0200
+@@ -236,7 +236,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = pam_conv1
++SUBDIRS =
+ CLEANFILES = *~
+ EXTRA_DIST = install_conf md5itall pam.conf
+ all: all-recursive