summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-08-14 15:46:00 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-17 22:56:12 +0100
commit7025e6496e89e3a5750aae65b73118d2f6673884 (patch)
treebb381760d8f89f1edd8f3c57ecb16167c3059faf /meta
parentdb5c145af18e01d4115ecb2187b56c29ea863114 (diff)
downloadpoky-7025e6496e89e3a5750aae65b73118d2f6673884.tar.gz
pam: add missing bits from previous commit
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/pam/libpam_1.1.1.bb6
-rw-r--r--meta/packages/pam/pam_1.1.1.bb39
2 files changed, 1 insertions, 44 deletions
diff --git a/meta/packages/pam/libpam_1.1.1.bb b/meta/packages/pam/libpam_1.1.1.bb
index 12c4172272..536a0f5ce9 100644
--- a/meta/packages/pam/libpam_1.1.1.bb
+++ b/meta/packages/pam/libpam_1.1.1.bb
@@ -5,7 +5,7 @@ BUGTRACKER = "http://sourceforge.net/projects/pam/support"
5# /etc/pam.d comes from Debian libpam-runtime in 2009-11 (at that time 5# /etc/pam.d comes from Debian libpam-runtime in 2009-11 (at that time
6# libpam-runtime-1.0.1 is GPLv2+), by openembedded 6# libpam-runtime-1.0.1 is GPLv2+), by openembedded
7LICENSE = "GPLv2+ | BSD" 7LICENSE = "GPLv2+ | BSD"
8PR = "r0" 8PR = "r1"
9 9
10DEPENDS = "bison flex" 10DEPENDS = "bison flex"
11RDEPENDS_${PN}-runtime = "libpam pam-plugin-deny pam-plugin-permit pam-plugin-warn pam-plugin-unix" 11RDEPENDS_${PN}-runtime = "libpam pam-plugin-deny pam-plugin-permit pam-plugin-warn pam-plugin-unix"
@@ -71,7 +71,3 @@ do_install() {
71 install -d ${D}${sysconfdir}/pam.d/ 71 install -d ${D}${sysconfdir}/pam.d/
72 install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/ 72 install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/
73} 73}
74
75pkg_postinst_${PN} () {
76 /etc/init.d/populate-volatile.sh update
77}
diff --git a/meta/packages/pam/pam_1.1.1.bb b/meta/packages/pam/pam_1.1.1.bb
deleted file mode 100644
index ad53a32f76..0000000000
--- a/meta/packages/pam/pam_1.1.1.bb
+++ /dev/null
@@ -1,39 +0,0 @@
1DESCRIPTION = "Linux-PAM (Pluggable Authentication Modules for Linux), Basically, it is a flexible mechanism for authenticating users"
2HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam/"
3BUGTRACKER = "http://sourceforge.net/projects/pam/support"
4# PAM allows dual licensed under GPL and BSD
5LICENSE = "GPLv2+ | BSD"
6PR = "r2"
7
8SRC_URI = "http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-${PV}.tar.bz2 \
9 file://disable_crossbinary.patch \
10 file://99_pam"
11
12EXTRA_OECONF = "--with-db-uniquename=_pam \
13 --includedir=${includedir}/security \
14 --libdir=${base_libdir} \
15 --disable-regenerate-docu"
16DEPENDS = "bison flex"
17CFLAGS_append = " -fPIC "
18
19S = "${WORKDIR}/Linux-PAM-${PV}"
20
21inherit autotools pkgconfig gettext
22
23FILES_${PN}-dbg += "${base_libdir}/security/.debug"
24FILES_${PN}-dbg += "${base_libdir}/security/pam_filter/.debug"
25FILES_${PN} += "${base_libdir}/security/*.so"
26FILES_${PN} += "${base_libdir}/security/pam_filter/upperLOWER"
27FILES_${PN} += "${base_libdir}/security/*.so"
28FILES_${PN}-dev += "${base_libdir}/security/*.la"
29FILES_${PN}-dev += "${base_libdir}/*.la"
30FILES_${PN} += "${base_libdir}/*.so*"
31
32do_install() {
33 autotools_do_install
34
35 # don't install /var/run when populating rootfs. Do it through volatile
36 rm -rf ${D}/var
37 install -d ${D}/etc/default/volatiles
38 install -m 0644 ${WORKDIR}/99_pam ${D}/etc/default/volatiles
39}