diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-15 07:53:19 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-15 07:53:19 +0700 |
commit | f269b8e5a745bb7429158d0f2f35eed94373ce33 (patch) | |
tree | 76be3d1e3cde238dc06b268ff41c12f7362782fb /system/nut/nut.SlackBuild | |
parent | 9767a1c6b0b0e363aeb0e9e6da44c32d5706d020 (diff) |
system/nut: Updated for version 2.7.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nut/nut.SlackBuild')
-rw-r--r-- | system/nut/nut.SlackBuild | 14 |
1 files changed, 7 insertions, 7 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 |