diff options
Diffstat (limited to 'network/mailman/mailman.SlackBuild')
-rw-r--r-- | network/mailman/mailman.SlackBuild | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/network/mailman/mailman.SlackBuild b/network/mailman/mailman.SlackBuild index 216e06f207..51a7243c14 100644 --- a/network/mailman/mailman.SlackBuild +++ b/network/mailman/mailman.SlackBuild @@ -4,12 +4,20 @@ # Written by Eugene Suter (easuter@gmail.com) PRGNAM=mailman -VERSION=${VERSION:-2.1.12} +VERSION=${VERSION:-2.1.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -MAIL_UID=${MAIL_UID:-204} -MAIL_GID=${MAIL_GID:-204} +# This might not matter depending on your smtp server, but it may need +# to be changed to e.g. postfix's gid if you use postfix +MAIL_GID=${MAIL_GID:-25} + +# Slackware's group name for apache. For some reason other distros +# will use www or www-data (and mailman assumes this by default) +CGI_GID=${CGI_GID:-apache} + +MAILMAN_UID=${MAILMAN_UID:-204} +MAILMAN_GID=${MAILMAN_GID:-204} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -29,8 +37,8 @@ OUTPUT=${OUTPUT:-/tmp} # Bail if user or group isn't valid on your system if ! grep -q ^mailman: /etc/passwd 2>/dev/null; then printf "\n\tYou must have a \"mailman\" user and group to run this script:\n" - printf "\t# groupadd -g $MAIL_GID mailman\n" - printf "\t# useradd -u $MAIL_UID -d /dev/null -s /bin/false -g mailman mailman\n\n" + printf "\t# groupadd -g $MAILMAN_GID mailman\n" + printf "\t# useradd -u $MAILMAN_UID -d /dev/null -s /bin/false -g mailman mailman\n\n" exit 1 fi @@ -60,10 +68,6 @@ mkdir -p $PKG install -d $PKG/$PREFIX -g mailman -o root -m 2775 install -d $PKG/$VAR_PREFIX -g mailman -o root -m 2775 -# Slackware's group name for apache. For some reason other distros -# will use www or www-data (and mailman assumes this by default) -CGI_GID=${CGI_GID:-apache} - set -e # Exit on most errors rm -rf $PKG |