summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/at/at_3.1.12.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/at/at_3.1.12.bb')
-rw-r--r--meta/recipes-extended/at/at_3.1.12.bb21
1 files changed, 17 insertions, 4 deletions
diff --git a/meta/recipes-extended/at/at_3.1.12.bb b/meta/recipes-extended/at/at_3.1.12.bb
index 3a9449773e..c76b50e215 100644
--- a/meta/recipes-extended/at/at_3.1.12.bb
+++ b/meta/recipes-extended/at/at_3.1.12.bb
@@ -4,10 +4,11 @@ the system load levels drop to a particular level."
4SECTION = "base" 4SECTION = "base"
5LICENSE="GPLv2+" 5LICENSE="GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" 6LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
7DEPENDS = "flex libpam initscripts" 7DEPENDS = "flex libpam initscripts \
8 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
8RCONFLICTS_${PN} = "atd" 9RCONFLICTS_${PN} = "atd"
9RREPLACES_${PN} = "atd" 10RREPLACES_${PN} = "atd"
10PR = "r4" 11PR = "r5"
11 12
12SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \ 13SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
13 file://configure.patch \ 14 file://configure.patch \
@@ -17,7 +18,11 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
17 file://posixtm.c \ 18 file://posixtm.c \
18 file://posixtm.h \ 19 file://posixtm.h \
19 file://file_replacement_with_gplv2.patch \ 20 file://file_replacement_with_gplv2.patch \
20 file://S99at" 21 file://S99at \
22 ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}"
23
24PAM_SRC_URI = "file://pam.conf.patch \
25 file://configure-add-enable-pam.patch"
21 26
22SRC_URI[md5sum] = "1e67991776148fb319fd77a2e599a765" 27SRC_URI[md5sum] = "1e67991776148fb319fd77a2e599a765"
23SRC_URI[sha256sum] = "7c55c6ab4fbe8add9e68f31b2b0ebf3fe805c9a4e7cfb2623a3d8a4789cc18f3" 28SRC_URI[sha256sum] = "7c55c6ab4fbe8add9e68f31b2b0ebf3fe805c9a4e7cfb2623a3d8a4789cc18f3"
@@ -26,7 +31,8 @@ EXTRA_OECONF += "ac_cv_path_SENDMAIL=/bin/true \
26 --with-daemon_username=root \ 31 --with-daemon_username=root \
27 --with-daemon_groupname=root \ 32 --with-daemon_groupname=root \
28 --with-jobdir=/var/spool/at/jobs \ 33 --with-jobdir=/var/spool/at/jobs \
29 --with-atspool=/var/spool/at/spool" 34 --with-atspool=/var/spool/at/spool \
35 ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} "
30 36
31inherit autotools 37inherit autotools
32 38
@@ -41,6 +47,13 @@ do_install () {
41 install -d ${D}${sysconfdir}/rcS.d 47 install -d ${D}${sysconfdir}/rcS.d
42 install -m 0755 ${WORKDIR}/S99at ${D}${sysconfdir}/init.d/atd 48 install -m 0755 ${WORKDIR}/S99at ${D}${sysconfdir}/init.d/atd
43 ln -sf ../init.d/atd ${D}${sysconfdir}/rcS.d/S99at 49 ln -sf ../init.d/atd ${D}${sysconfdir}/rcS.d/S99at
50
51 for feature in ${DISTRO_FEATURES}; do
52 if [ "$feature" = "pam" ]; then
53 install -D -m 0644 ${WORKDIR}/${P}/pam.conf ${D}${sysconfdir}/pam.d/atd
54 break
55 fi
56 done
44} 57}
45 58
46pkg_postinst_${PN} () { 59pkg_postinst_${PN} () {