aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2007-12-23 22:41:59 +0000
committerrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2007-12-23 22:41:59 +0000
commitd701ecaa62743502d763eee39c451006ca2859bf (patch)
tree9fe23bb71f9cee92bb0276ad5d144ec743dad907 /mail
parent31c68b049a53990e651779a90ec1bee271bf98b0 (diff)
downloadmkbuilds-d701ecaa62743502d763eee39c451006ca2859bf.tar.gz
mkbuilds-d701ecaa62743502d763eee39c451006ca2859bf.tar.bz2
maildrop: forcing uid/gid 5000 on configure
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@53 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'mail')
-rw-r--r--mail/filter/maildrop/maildrop.mkbuild22
1 files changed, 20 insertions, 2 deletions
diff --git a/mail/filter/maildrop/maildrop.mkbuild b/mail/filter/maildrop/maildrop.mkbuild
index 6838e51..ba6ba19 100644
--- a/mail/filter/maildrop/maildrop.mkbuild
+++ b/mail/filter/maildrop/maildrop.mkbuild
@@ -25,17 +25,22 @@
# Construction Variables
#------------------------
#
+
+[[SLACK REQUIRED]]="courier-authlib"
+
# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
[[DOWNLOAD FOLDER URL]]="http://prdownloads.sourceforge.net/courier/maildrop-2.0.4.tar.bz2"
+[[BUILD NUMBER]]="3"
+
#
# Documentation files. Null ("") to auto-set commom doc-files:
# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
[[DOCUMENTATION FILES]]="AUTHORS COPYING COPYING.GPL ChangeLog INSTALL NEWS README UPGRADE"
-[[OTHER CONFIGURE ARGS]]="--enable-maildrop-uid=mail"
+[[OTHER CONFIGURE ARGS]]="--enable-maildrop-uid=5000 --enable-maildrop-gid=5000"
-[[SLACK REQUIRED]]="courier-authlib"
+#[[REST OF DOINST.SH]]="echo Trying to create user/group vmail with UID/GID 5000... ; groupadd vmail -g 5000 ; useradd vmail -u 5000 -g 5000"
# SlackBuild model
[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
@@ -93,3 +98,16 @@ maildrop:
maildrop:
maildrop:
#<slackdesc
+
+#>configure
+echo Creating user and group vmail, if they does not exist...
+groupadd vmail -g 5000
+useradd vmail -u 5000 -g 5000
+
+# Configure
+CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ ./configure \
+ --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF
+#<configure
+