diff options
Diffstat (limited to 'network/zabbix_server/zabbix_server.SlackBuild')
-rw-r--r-- | network/zabbix_server/zabbix_server.SlackBuild | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/network/zabbix_server/zabbix_server.SlackBuild b/network/zabbix_server/zabbix_server.SlackBuild index c24e2de3a5..bc8d5da780 100644 --- a/network/zabbix_server/zabbix_server.SlackBuild +++ b/network/zabbix_server/zabbix_server.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for zabbix_server -# Copyright 2013 Michal Bialozor, Gdansk, Pomorskie, POLAND +# Copyright 2013-2014 Michal Bialozor, Gdansk, Pomorskie, POLAND # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=zabbix_server -VERSION=${VERSION:-2.0.11} +VERSION=${VERSION:-2.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -86,10 +86,10 @@ cd $PRGSHORT-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -122,16 +122,13 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r # Install "frontend" to $DOCROOT/zabbix mkdir -p $PKG/$DOCROOT/$PRGSHORT -cp -a frontends/php/* \ - $PKG/$DOCROOT/$PRGSHORT/ +cp -a frontends/php/* $PKG/$DOCROOT/$PRGSHORT/ chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGSHORT # Database scripts mkdir -p $PKG/usr/share/$PRGNAM/database/mysql -cp -a database/mysql \ - $PKG/usr/share/$PRGNAM/database/ -cp -a upgrades/dbpatches \ - $PKG/usr/share/$PRGNAM/upgrades/ +cp -a database/mysql $PKG/usr/share/$PRGNAM/database/ +cp -a upgrades/dbpatches $PKG/usr/share/$PRGNAM/upgrades/ # Initial log file mkdir -p $PKG/var/log/$PRGSHORT @@ -157,8 +154,7 @@ cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new # Documentation mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE |