diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2012-09-12 16:49:12 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-12 18:06:32 -0500 |
commit | dbfd826b2eab4a2590964ee4babeb4baa3dd0ef4 (patch) | |
tree | 7d74685709b58a0121be0e4d88bb01988147f46a /network | |
parent | 09bf0257aa05ef1d8767bf9e83c310785fc0ccf4 (diff) | |
download | slackbuilds-dbfd826b2eab4a2590964ee4babeb4baa3dd0ef4.tar.gz |
network/murmur: Fixed logrotate script (added "su" directive)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/murmur/murmur.SlackBuild | 6 | ||||
-rw-r--r-- | network/murmur/murmur.info | 2 | ||||
-rw-r--r-- | network/murmur/murmur.logrotate | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/network/murmur/murmur.SlackBuild b/network/murmur/murmur.SlackBuild index a80ec32282..aa81fb890d 100644 --- a/network/murmur/murmur.SlackBuild +++ b/network/murmur/murmur.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=murmur SRCNAM=mumble VERSION=${VERSION:-1.2.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -100,8 +100,8 @@ sed \ sed \ -e "s,@LOGFILE@,/var/log/$PRGNAM/$PRGNAM.log," \ - -e "s,@USER@,$MURMUR_USER," \ - -e "s,@GROUP@,$MURMUR_GROUP," \ + -e "s,@USER@,$MURMUR_USER,g" \ + -e "s,@GROUP@,$MURMUR_GROUP,g" \ $CWD/$PRGNAM.logrotate > $PKG/etc/logrotate.d/$PRGNAM.new chown root:$MURMUR_GROUP $PKG/etc/$PRGNAM.ini.new diff --git a/network/murmur/murmur.info b/network/murmur/murmur.info index 6aad4f0ce4..e5ca7d73aa 100644 --- a/network/murmur/murmur.info +++ b/network/murmur/murmur.info @@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/mumble/mumble-1.2.3.tar.gz" MD5SUM="55804e3dfe98b16eeb40abca6c254625" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="%README%" MAINTAINER="James Geboski" EMAIL="jgeboski@gmail.com" diff --git a/network/murmur/murmur.logrotate b/network/murmur/murmur.logrotate index a74e6297fd..4d0c2f82bf 100644 --- a/network/murmur/murmur.logrotate +++ b/network/murmur/murmur.logrotate @@ -1,4 +1,5 @@ @LOGFILE@ { + su @USER@ @GROUP@ weekly rotate 7 compress |