aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2008-03-13 01:29:27 +0000
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2008-03-13 01:29:27 +0000
commitd10b0d09cbcdefb8a41bec63f9a880f6acd3f649 (patch)
tree22d221797b2d81d6eac5b7e8e7af920b886d253e /net
parente6495e895e5c91af258d8e8cc1423d2b8fc4c411 (diff)
downloadslackbuilds-d10b0d09cbcdefb8a41bec63f9a880f6acd3f649.tar.gz
slackbuilds-d10b0d09cbcdefb8a41bec63f9a880f6acd3f649.tar.bz2
Updated: nagios-2.11
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1648 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net')
-rwxr-xr-xnet/analyzer/nagios/nagios.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/analyzer/nagios/nagios.SlackBuild b/net/analyzer/nagios/nagios.SlackBuild
index 551e35a8..6a6f00e0 100755
--- a/net/analyzer/nagios/nagios.SlackBuild
+++ b/net/analyzer/nagios/nagios.SlackBuild
@@ -32,7 +32,7 @@ CWD="$(pwd)"
SRC_NAME="nagios"
PKG_NAME="nagios"
ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=2.10}
+SRC_VERSION=${VERSION:=2.11}
PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
BUILD=${BUILD:=1ls}
SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
@@ -101,7 +101,8 @@ make install DESTDIR="$PKG" || exit $ERROR_INSTALL
make install-init DESTDIR="$PKG" || exit $ERROR_INSTALL
make install-commandmode DESTDIR="$PKG" || exit $ERROR_INSTALL
make install-config DESTDIR="$PKG" || exit $ERROR_INSTALL
-mv "$PKG/etc/rc.d/nagios" "$PKG/etc/rc.d/rc.nagios.new"
+mv "$PKG/etc/rc.d/init.d/nagios" "$PKG/etc/rc.d/rc.nagios.new"
+rmdir "$PKG/etc/rc.d/init.d"
for file in $(ls -1 "$PKG/$PREFIX"/etc/*); do
mv "$file" "$file".new
done
@@ -115,7 +116,7 @@ done
)
# Install documentation
-DOCS="Changelog INSTALLING LEGAL LICENSE README UPGRADING"
+DOCS="Changelog INSTALLING LEGAL LICENSE README THANKS UPGRADING"
mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR
cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" 2> /dev/null