From cde17657cf5376bada118c48e28e81679e706f06 Mon Sep 17 00:00:00 2001 From: ccsmart Date: Tue, 2 Aug 2005 20:04:06 +0000 Subject: Do not remove user when removing package. --- packages/cyrus-sasl/cyrus-sasl_2.1.19.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'packages') diff --git a/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb b/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb index 7d87661861..ebf892ab3e 100644 --- a/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb +++ b/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb @@ -2,7 +2,7 @@ SECTION = "console/network" DEPENDS = "db3 openssl" DESCRIPTION = "Generic client/server library for SASL authentication." LICENSE = "BSD" -PR = "r4" +PR = "r5" SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${PV}.tar.gz \ file://berkdb.m4.patch;patch=1" @@ -49,8 +49,3 @@ pkg_postinst () { echo "cyrus" | saslpasswd2 -p -c cyrus chgrp mail /etc/sasldb2 } - -pkg_postrm () { - grep cyrus /etc/passwd && deluser cyrus -} - -- cgit v1.2.3 From 42cdabf8dc7696f5c206abd3cd7f1fcaa53f563a Mon Sep 17 00:00:00 2001 From: ccsmart Date: Tue, 2 Aug 2005 20:04:46 +0000 Subject: Do not remove user when removing package. --- packages/postfix/postfix_2.0.20.bb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'packages') diff --git a/packages/postfix/postfix_2.0.20.bb b/packages/postfix/postfix_2.0.20.bb index c826dc5469..b9ef1fc2a5 100644 --- a/packages/postfix/postfix_2.0.20.bb +++ b/packages/postfix/postfix_2.0.20.bb @@ -26,7 +26,3 @@ pkg_postinst () { grep postfix /etc/passwd || adduser --disabled-password --home=/var/spool/mail --ingroup nogroup postfix } -pkg_postrm () { - grep postfix /etc/passwd && deluser postfix -} - -- cgit v1.2.3 From d1ac05b7fc66dd6daf77043cc209fbd880972d24 Mon Sep 17 00:00:00 2001 From: ccsmart Date: Tue, 2 Aug 2005 20:07:24 +0000 Subject: User update-rc bbclass instead of issuing commands in post_xx scripts. --- packages/cyrus-imapd/cyrus-imapd_2.2.12.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'packages') diff --git a/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb b/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb index 66c1c19079..f8f8202d10 100644 --- a/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb +++ b/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb @@ -1,7 +1,7 @@ SECTION = "console/network" DEPENDS = "cyrus-sasl db3" LICENSE = "BSD" -PR = "r3" +PR = "r4" DEPENDS += "install-native" SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz \ @@ -13,7 +13,10 @@ SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz \ file://volatiles \ " -inherit autotools +inherit autotools update-rc.d + +INITSCRIPT_NAME = "cyrus" +INITSCRIPT_PARAMS = "start 56 3 4 5 . stop 15 0 1 6 ." EXTRA_OECONF = "--with-auth=unix \ --without-perl \ @@ -38,7 +41,6 @@ do_install_append () { pkg_postinst () { /etc/init.d/populate-volatile.sh - update-rc.d cyrus start 56 3 4 5 . stop 15 0 1 6 . /etc/init.d/cyrus start } -- cgit v1.2.3