diff options
author | Kevin Tian <kevin.tian@intel.com> | 2010-08-14 15:46:00 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-17 22:56:12 +0100 |
commit | 7025e6496e89e3a5750aae65b73118d2f6673884 (patch) | |
tree | bb381760d8f89f1edd8f3c57ecb16167c3059faf /meta/packages | |
parent | db5c145af18e01d4115ecb2187b56c29ea863114 (diff) | |
download | poky-7025e6496e89e3a5750aae65b73118d2f6673884.tar.gz |
pam: add missing bits from previous commit
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/pam/libpam_1.1.1.bb | 6 | ||||
-rw-r--r-- | meta/packages/pam/pam_1.1.1.bb | 39 |
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 |
7 | LICENSE = "GPLv2+ | BSD" | 7 | LICENSE = "GPLv2+ | BSD" |
8 | PR = "r0" | 8 | PR = "r1" |
9 | 9 | ||
10 | DEPENDS = "bison flex" | 10 | DEPENDS = "bison flex" |
11 | RDEPENDS_${PN}-runtime = "libpam pam-plugin-deny pam-plugin-permit pam-plugin-warn pam-plugin-unix" | 11 | RDEPENDS_${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 | |||
75 | pkg_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 @@ | |||
1 | DESCRIPTION = "Linux-PAM (Pluggable Authentication Modules for Linux), Basically, it is a flexible mechanism for authenticating users" | ||
2 | HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam/" | ||
3 | BUGTRACKER = "http://sourceforge.net/projects/pam/support" | ||
4 | # PAM allows dual licensed under GPL and BSD | ||
5 | LICENSE = "GPLv2+ | BSD" | ||
6 | PR = "r2" | ||
7 | |||
8 | SRC_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 | |||
12 | EXTRA_OECONF = "--with-db-uniquename=_pam \ | ||
13 | --includedir=${includedir}/security \ | ||
14 | --libdir=${base_libdir} \ | ||
15 | --disable-regenerate-docu" | ||
16 | DEPENDS = "bison flex" | ||
17 | CFLAGS_append = " -fPIC " | ||
18 | |||
19 | S = "${WORKDIR}/Linux-PAM-${PV}" | ||
20 | |||
21 | inherit autotools pkgconfig gettext | ||
22 | |||
23 | FILES_${PN}-dbg += "${base_libdir}/security/.debug" | ||
24 | FILES_${PN}-dbg += "${base_libdir}/security/pam_filter/.debug" | ||
25 | FILES_${PN} += "${base_libdir}/security/*.so" | ||
26 | FILES_${PN} += "${base_libdir}/security/pam_filter/upperLOWER" | ||
27 | FILES_${PN} += "${base_libdir}/security/*.so" | ||
28 | FILES_${PN}-dev += "${base_libdir}/security/*.la" | ||
29 | FILES_${PN}-dev += "${base_libdir}/*.la" | ||
30 | FILES_${PN} += "${base_libdir}/*.so*" | ||
31 | |||
32 | do_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 | } | ||