summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-12 16:09:39 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-12 18:03:42 -0500
commit7d275467dac567cbd87fb8ce64cb8f6aafba649b (patch)
tree74c7a9cb0dacab46c832e35256188e6e9fe03219
parent27e20a71f856792501244a84d127acc5c9b0d52e (diff)
downloadslackbuilds-7d275467dac567cbd87fb8ce64cb8f6aafba649b.tar.gz
network/quagga: Fixed logrotate script (added "su" directive)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--network/quagga/README3
-rw-r--r--network/quagga/quagga.SlackBuild2
-rw-r--r--network/quagga/quagga.info2
-rw-r--r--network/quagga/quagga.logrotate1
4 files changed, 6 insertions, 2 deletions
diff --git a/network/quagga/README b/network/quagga/README
index 401d4f80f7..b8f5d5a934 100644
--- a/network/quagga/README
+++ b/network/quagga/README
@@ -4,3 +4,6 @@ FreeBSD, Linux, Solaris and NetBSD. Quagga is a fork of GNU Zebra which
was developed by Kunihiro Ishiguro. The Quagga tree aims to build a more
involved community around Quagga than the current centralised model of
GNU Zebra.
+
+You need a "quagga" user and group; we suggest uid=245 and gid=245.
+You also need a "quaggavt" group; we suggest uid=246.
diff --git a/network/quagga/quagga.SlackBuild b/network/quagga/quagga.SlackBuild
index fdd853edd3..421ace1bf7 100644
--- a/network/quagga/quagga.SlackBuild
+++ b/network/quagga/quagga.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=quagga
VERSION=${VERSION:-0.99.17}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
diff --git a/network/quagga/quagga.info b/network/quagga/quagga.info
index 9dc982ccd7..94a3db84b3 100644
--- a/network/quagga/quagga.info
+++ b/network/quagga/quagga.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://www.quagga.net/download/quagga-0.99.17.tar.gz"
MD5SUM="37b9022adca04b03863d2d79787e643f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="%README%"
MAINTAINER="Marin Glibic"
EMAIL="zhilla2@gmail.com"
diff --git a/network/quagga/quagga.logrotate b/network/quagga/quagga.logrotate
index 9a213de3ca..d4ea4c3937 100644
--- a/network/quagga/quagga.logrotate
+++ b/network/quagga/quagga.logrotate
@@ -1,4 +1,5 @@
/var/log/quagga/*.log {
+ su quagga quagga
daily
sharedscripts
missingok