diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-11-15 01:06:59 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-15 01:06:59 -0600 |
commit | 6208d04856dff7905e0a1862697d6a2079619775 (patch) | |
tree | ea2986ab9fd2ff13a5e22beb4ae52ffc0a4e1fd3 /network/mailman/mailman.SlackBuild | |
parent | 43de466294e8a908a73155a7c2f505a151e1ea2b (diff) | |
download | slackbuilds-6208d04856dff7905e0a1862697d6a2079619775.tar.gz |
network/mailman: Updated for version 2.1.16.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 |