aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+