aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-11 20:32:19 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-11 23:53:42 -0500
commit8ed760477b9475d7001944adf09252e9614fa3b2 (patch)
treef88acb25124cc86669188770faadbdd9e757627b /network
parent3a254761497446dfa23daf1af1559b66a172e1ba (diff)
network/amavisd-new: Fixed logrotate script (added "su" directive)
This also fixes REQUIRES in the .info file (%README%) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/amavisd-new/amavisd-new.SlackBuild2
-rw-r--r--network/amavisd-new/amavisd-new.info2
-rw-r--r--network/amavisd-new/amavisd-new.logrotate1
3 files changed, 3 insertions, 2 deletions
diff --git a/network/amavisd-new/amavisd-new.SlackBuild b/network/amavisd-new/amavisd-new.SlackBuild
index 7a8665d168ab3..692b283c56a80 100644
--- a/network/amavisd-new/amavisd-new.SlackBuild
+++ b/network/amavisd-new/amavisd-new.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM="amavisd-new"
VERSION=${VERSION:-2.7.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH="noarch"
diff --git a/network/amavisd-new/amavisd-new.info b/network/amavisd-new/amavisd-new.info
index a4646f71495a5..41b8905c6b823 100644
--- a/network/amavisd-new/amavisd-new.info
+++ b/network/amavisd-new/amavisd-new.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://www.ijs.si/software/amavisd/amavisd-new-2.7.1.tar.gz"
MD5SUM="87cd516d1c6349a4389947fb949ff1a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-Archive-Zip perl-BerkeleyDB perl-Convert-TNEF perl-Convert-UUlib perl-IO-Multiplex perl-MIME-tools perl-Unix-Syslog"
+REQUIRES="%README%"
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
diff --git a/network/amavisd-new/amavisd-new.logrotate b/network/amavisd-new/amavisd-new.logrotate
index 8db443ff19509..79bf516a74b74 100644
--- a/network/amavisd-new/amavisd-new.logrotate
+++ b/network/amavisd-new/amavisd-new.logrotate
@@ -1,4 +1,5 @@
/var/log/amavisd-new.log {
+ su amavis amavis
rotate 5
notifempty
missingok