From ea7aad4d20a12a2ff240cae42795d888cac4a511 Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Tue, 2 Aug 2005 22:24:14 +0000 Subject: Update to working update-rc.d stuff --- packages/cron/cron_3.0pl1.bb | 4 ++-- packages/openntpd/openntpd_3.7p1.bb | 4 ++-- packages/samba/samba_3.0.14a.bb | 3 ++- packages/thttpd/thttpd_2.25b.bb | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/cron/cron_3.0pl1.bb b/packages/cron/cron_3.0pl1.bb index cb4d4f18f2..36bfe5d89d 100644 --- a/packages/cron/cron_3.0pl1.bb +++ b/packages/cron/cron_3.0pl1.bb @@ -1,7 +1,7 @@ SECTION = "base" DESCRIPTION = "Vixie cron." LICENSE = "cron" -PR="r6" +PR="r7" DEPENDS += "install-native" SRC_URI = "http://ibiblio.org/pub/Linux/system/daemons/cron/cron${PV}.tar.gz \ @@ -12,7 +12,7 @@ S = "${WORKDIR}/cron${PV}" INITSCRIPT_NAME = "cron" INITSCRIPT_PARAMS = "defaults" - +inherit update-rc.d CFLAGS_append = " -I${S} -DSYS_TIME_H=0" do_install () { diff --git a/packages/openntpd/openntpd_3.7p1.bb b/packages/openntpd/openntpd_3.7p1.bb index bb2997eb0b..3ca809f002 100644 --- a/packages/openntpd/openntpd_3.7p1.bb +++ b/packages/openntpd/openntpd_3.7p1.bb @@ -6,7 +6,7 @@ LICENSE = "BSD" SECTION = "console/network" MAINTAINER = "Oyvind Repvik " DEPENDS = "timezones" -PR="r6" +PR="r7" SRC_URI = "http://www.zip.com.au/~dtucker/openntpd/release/openntpd-${PV}.tar.gz \ file://autofoo.patch;patch=1 \ @@ -19,7 +19,7 @@ INITSCRIPT_NAME = "openntpd" INITSCRIPT_PARAMS = "defaults" -inherit autotools +inherit autotools update-rc.d EXTRA_OECONF += "CFLAGS=-DUSE_ADJTIMEX --disable-strip --prefix=/usr \ --sysconfdir=/etc --with-privsep-path=/var/shared/empty \ diff --git a/packages/samba/samba_3.0.14a.bb b/packages/samba/samba_3.0.14a.bb index dbc85efb44..3c660ed5c1 100644 --- a/packages/samba/samba_3.0.14a.bb +++ b/packages/samba/samba_3.0.14a.bb @@ -1,4 +1,4 @@ -PR = "r10" +PR = "r11" SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \ file://configure.patch;patch=1 \ @@ -10,6 +10,7 @@ SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \ S := ${WORKDIR}/${P}/source include samba.inc +inherit update-rc.d INITSCRIPT_NAME = "samba" # No dependencies, goes in at level 20 (NOTE: take care with the diff --git a/packages/thttpd/thttpd_2.25b.bb b/packages/thttpd/thttpd_2.25b.bb index b53e1b3127..bbb02199a7 100644 --- a/packages/thttpd/thttpd_2.25b.bb +++ b/packages/thttpd/thttpd_2.25b.bb @@ -2,7 +2,7 @@ DESCRIPTION = "A simple, small, portable, fast, and secure HTTP server." LICENSE = "BSD" MAINTAINER = "Chris Larson " HOMEPAGE = "http://www.acme.com/software/thttpd/" -PR="r4" +PR="r5" SRC_URI = "http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz \ file://install.patch;patch=1 \ @@ -13,7 +13,7 @@ S = "${WORKDIR}/thttpd-${PV}" INITSCRIPT_NAME = "thttpd" INITSCRIPT_PARAMS = "defaults" -inherit autotools +inherit autotools update-rc.d EXTRA_OEMAKE += "'WEBDIR=${servicedir}/www'" FILES_${PN}_append = " ${servicedir}" -- cgit v1.2.3