summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/cron/cron_3.0pl1.bb4
-rw-r--r--packages/openntpd/openntpd_3.7p1.bb6
-rw-r--r--packages/samba/samba_3.0.14a.bb8
-rw-r--r--packages/thttpd/thttpd_2.25b.bb9
4 files changed, 9 insertions, 18 deletions
diff --git a/packages/cron/cron_3.0pl1.bb b/packages/cron/cron_3.0pl1.bb
index 31137d07af..aec1957e7f 100644
--- a/packages/cron/cron_3.0pl1.bb
+++ b/packages/cron/cron_3.0pl1.bb
@@ -10,6 +10,10 @@ SRC_URI = "http://ibiblio.org/pub/Linux/system/daemons/cron/cron${PV}.tar.gz \
file://init"
S = "${WORKDIR}/cron${PV}"
+INITSCRIPT_NAME = "cron"
+INITSCRIPT_PARAMS = "defaults"
+
+
CFLAGS_append = " -I${S} -DSYS_TIME_H=0"
do_install () {
install -d ${D}${sbindir} ${D}${bindir}
diff --git a/packages/openntpd/openntpd_3.7p1.bb b/packages/openntpd/openntpd_3.7p1.bb
index 35f587c74a..8f10ab4d0e 100644
--- a/packages/openntpd/openntpd_3.7p1.bb
+++ b/packages/openntpd/openntpd_3.7p1.bb
@@ -15,6 +15,10 @@ SRC_URI = "http://www.zip.com.au/~dtucker/openntpd/release/openntpd-${PV}.tar.gz
file://init"
S = "${WORKDIR}/openntpd-${PV}"
+INITSCRIPT_NAME = "openntpd"
+INITSCRIPT_PARAMS = "defaults"
+
+
inherit autotools
EXTRA_OECONF += "CFLAGS=-DUSE_ADJTIMEX --disable-strip --prefix=/usr \
@@ -31,12 +35,10 @@ do_install_append() {
pkg_postrm () {
grep ntpd /etc/passwd && deluser ntpd
- update-rc.d openntpd remove
}
pkg_postinst () {
grep ntpd /etc/passwd || adduser --disabled-password --home=/var/shared/empty --ingroup nogroup ntpd
chown root:root /var/shared/empty
- update-rc.d openntpd defaults 66
}
diff --git a/packages/samba/samba_3.0.14a.bb b/packages/samba/samba_3.0.14a.bb
index 90bf05a608..e814102613 100644
--- a/packages/samba/samba_3.0.14a.bb
+++ b/packages/samba/samba_3.0.14a.bb
@@ -43,14 +43,6 @@ do_install_append() {
install -c -m 644 ../examples/smb.conf.default ${D}${sysconfdir}/samba/smb.conf
}
-pkg_postinst() {
- update-rc.d samba defaults 60
-}
-
-pkg_postrm() {
- update-rc.d samba remove
-}
-
PACKAGES =+ "swat"
FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg"
diff --git a/packages/thttpd/thttpd_2.25b.bb b/packages/thttpd/thttpd_2.25b.bb
index f33ff5924e..e6e15455c0 100644
--- a/packages/thttpd/thttpd_2.25b.bb
+++ b/packages/thttpd/thttpd_2.25b.bb
@@ -9,6 +9,7 @@ SRC_URI = "http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz \
file://acinclude.m4 \
file://init"
S = "${WORKDIR}/thttpd-${PV}"
+
INITSCRIPT_NAME = "thttpd"
INITSCRIPT_PARAMS = "defaults"
@@ -28,11 +29,3 @@ do_install_append () {
install -c -m 755 ${WORKDIR}/thttpd ${D}${sysconfdir}/init.d/thttpd
}
-pkg_postinst() {
- update-rc.d thttpd defaults 67
-}
-
-pkg_postrm() {
- update-rc.d thttpd remove
-}
-