aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/nut/nut.SlackBuild14
-rw-r--r--system/nut/nut.info6
2 files changed, 10 insertions, 10 deletions
diff --git a/system/nut/nut.SlackBuild b/system/nut/nut.SlackBuild
index bef9c3e701bf0..53ae8f2dfc517 100644
--- a/system/nut/nut.SlackBuild
+++ b/system/nut/nut.SlackBuild
@@ -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
diff --git a/system/nut/nut.info b/system/nut/nut.info
index 8e891ff414458..b6e4db3b0c841 100644
--- a/system/nut/nut.info
+++ b/system/nut/nut.info
@@ -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=""