aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/pam/libpam-base-files.bb
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2009-11-18 14:01:30 +0000
committerKoen Kooi <koen@openembedded.org>2009-11-24 11:08:35 +0100
commit7ed998436c39ff922f285fd73d87f0336973218f (patch)
tree5f34acd1d0939de090bc5a0cb804229b2ff666cb /recipes/pam/libpam-base-files.bb
parentafa230474855aa110c5b32492dcf8d2cdc1c07e9 (diff)
downloadopenembedded-7ed998436c39ff922f285fd73d87f0336973218f.tar.gz
openembedded-7ed998436c39ff922f285fd73d87f0336973218f.tar.bz2
openembedded-7ed998436c39ff922f285fd73d87f0336973218f.zip
libpam-base-files: Start to add default config files for libpam
* This will start to get Linux-PAM into a usable state. Default config files derived from Debian with tweaks. Some are not needed and will be dropped later and some should really be packaged elsewhere. * Also update libpam_1.0.2 to depend on this package and the meta package with auth systems as it is not a lot of use without them (it works but can't do anything). * Add 1.1.0 and tweaks to 1.0.2. * Update all the pam.d base config files to support the suggested upstream layout not patches legacy layouts used but some Linux distros. * Use the proper include layouts * Still package some 'suggested' files for common services that do not pack there own pam.d files (TODO: move these to the package recipies not this one).
Diffstat (limited to 'recipes/pam/libpam-base-files.bb')
-rw-r--r--recipes/pam/libpam-base-files.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/pam/libpam-base-files.bb b/recipes/pam/libpam-base-files.bb
new file mode 100644
index 0000000000..0fa11d8051
--- /dev/null
+++ b/recipes/pam/libpam-base-files.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Linux-PAM authentication library for Linux. Base configuration files"
+
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+DEPENDS = ""
+RDEPENDS = "libpam"
+
+PR = "r1"
+
+SRC_URI = " \
+ file://pam.d/* \
+"
+
+do_install() {
+ install -d ${D}${sysconfdir}/pam.d/
+ install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/
+}