summaryrefslogtreecommitdiff
path: root/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb
diff options
context:
space:
mode:
authorccsmart <ccsmart@smartpal.de>2005-08-01 08:58:41 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-01 08:58:41 +0000
commit90ad4c6975400184f3bcafda69f18e54facdb7a8 (patch)
treeb5815f7d0060c629b1fd1914a24d53a0591b6c0c /packages/cyrus-sasl/cyrus-sasl_2.1.19.bb
parentd56e294e802bcbf85493a82ed7e73b9874ef7117 (diff)
Initial ready to use changes.
Diffstat (limited to 'packages/cyrus-sasl/cyrus-sasl_2.1.19.bb')
-rw-r--r--packages/cyrus-sasl/cyrus-sasl_2.1.19.bb15
1 files changed, 13 insertions, 2 deletions
diff --git a/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb b/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb
index 19f1206f18..4bb3738c9b 100644
--- a/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb
+++ b/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb
@@ -1,8 +1,8 @@
SECTION = "console/network"
-DEPENDS = "db openssl"
+DEPENDS = "db3 openssl"
DESCRIPTION = "Generic client/server library for SASL authentication."
LICENSE = "BSD"
-PR = "r2"
+PR = "r3"
SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${PV}.tar.gz \
file://berkdb.m4.patch;patch=1"
@@ -43,3 +43,14 @@ do_stage () {
install -m 0644 ${S}/include/saslutil.h ${STAGING_INCDIR}/sasl/
install -m 0644 ${S}/include/prop.h ${STAGING_INCDIR}/sasl/
}
+
+pkg_postinst () {
+ grep cyrus /etc/passwd || adduser --disabled-password --home=/var/spool/mail --ingroup mail cyrus
+ echo "cyrus" | saslpasswd2 -c cyrus
+ chgrp mail /etc/sasldb2
+}
+
+pkg_postrm () {
+ grep cyrus /etc/passwd && deluser cyrus
+}
+