summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-04-26 10:25:16 -0500
committerJohn Klug <john.klug@multitech.com>2018-04-26 10:25:16 -0500
commit1a4afbb7cb136e15b4cdf11590a866565f176991 (patch)
tree91ae2ce38bed4d95fed9526ee66660161ce28b02
parentc1989e275c696d16096722a5cc925041ae5b5817 (diff)
downloadmeta-mlinux-1a4afbb7cb136e15b4cdf11590a866565f176991.tar.gz
meta-mlinux-1a4afbb7cb136e15b4cdf11590a866565f176991.tar.bz2
meta-mlinux-1a4afbb7cb136e15b4cdf11590a866565f176991.zip
Only one pam-script.d now
-rw-r--r--recipes-support/pam-script/pam-script_1.1.9.bb14
1 files changed, 11 insertions, 3 deletions
diff --git a/recipes-support/pam-script/pam-script_1.1.9.bb b/recipes-support/pam-script/pam-script_1.1.9.bb
index 7935cd2..3b9347c 100644
--- a/recipes-support/pam-script/pam-script_1.1.9.bb
+++ b/recipes-support/pam-script/pam-script_1.1.9.bb
@@ -4,16 +4,24 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
inherit autotools-brokensep pkgconfig
-RDEPENDS_${PN} = "libpam-runtime"
+RDEPENDS_${PN} = "libpam-runtime perl"
SRC_URI = "git://github.com/jeroennijhof/pam_script.git;protocol=git"
SRCREV = "${PV}"
S = "${WORKDIR}/git"
+PR="r2"
EXTRA_OECONF = " \
- --sysconfdir=${sysconfdir}/pam-script.d \
+ --sysconfdir=${sysconfdir}/pam-script \
--libdir=${base_libdir}/security \
"
+
+
FILES_${PN} += "${base_libdir}"
-FILES_${PN}-doc += "${datadir_native}/man" \ No newline at end of file
+FILES_${PN}-doc += "${datadir_native}/man"
+
+do_install_append() {
+ oe_runmake DESTDIR=${D} install-data-hook install-exec-hook install-examples install-logger install-tally
+ install -m 0644 ${S}/etc/README.pam_script ${D}/${sysconfdir}/pam-script
+}