system/nut: Updated for version 2.7.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-06-15 07:53:19 +07:00
parent 9767a1c6b0
commit f269b8e5a7
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 10 additions and 10 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nut
VERSION=${VERSION:-2.6.5}
VERSION=${VERSION:-2.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -80,10 +80,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$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" \
@ -97,13 +97,13 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
--enable-strip \
--disable-static \
--with-dev \
--with-serial \
--with-usb \
--with-snmp \
--with-neon \
--with-wrap \
--with-ipv6 \
--with-cgi\
--with-cgipath=/var/www/cgi-bin/nut \
--with-htmlpath=/var/www/htdocs/ups \
@ -125,7 +125,7 @@ install -m 755 scripts/misc/nut.bash_completion $PKG/etc/bash_completion.d/nut
# Install the startup script
install -d $PKG/etc/rc.d
install -m 755 $CWD/rc.ups $PKG/etc/rc.d/rc.ups.new
install -m 644 $CWD/rc.ups $PKG/etc/rc.d/rc.ups.new
# Create the state and run dirs
install -d -o root -g $NUTGROUP -m 770 $PKG/var/state/ups

View file

@ -1,8 +1,8 @@
PRGNAM="nut"
VERSION="2.6.5"
VERSION="2.7.4"
HOMEPAGE="http://www.networkupstools.org/"
DOWNLOAD="http://www.networkupstools.org/source/2.6/nut-2.6.5.tar.gz"
MD5SUM="e6eac4fa04baff0d0a827d64efe81a7e"
DOWNLOAD="http://www.networkupstools.org/source/2.7/nut-2.7.4.tar.gz"
MD5SUM="3ba53656933d7471f95140b32a5b8d5c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""