diff options
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 bef9c3e701..53ae8f2dfc 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 |