diff options
author | LukenShiro <lukenshiro@ngi.it> | 2013-11-11 09:13:05 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-11 10:53:36 -0600 |
commit | 8a720b7565ebb622a1c75889a9266eb31f3f1305 (patch) | |
tree | dee479bddefca7ee732eac31503e5e512e5d34a5 | |
parent | 192892025092432f653c2c3c8f8ccbadc381d7ee (diff) |
various: fixes for new templates (find/fixperms)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
25 files changed, 117 insertions, 103 deletions
diff --git a/development/easygui/easygui.SlackBuild b/development/easygui/easygui.SlackBuild index 68d266800bf03..25dfad377aac9 100644 --- a/development/easygui/easygui.SlackBuild +++ b/development/easygui/easygui.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=easygui VERSION=${VERSION:-0.96} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,11 +67,11 @@ mkdir -p $PRGNAM-$VERSION cd $PRGNAM-$VERSION tar xvf $CWD/${PRGNAM}_${SRC_VERSION}.tar.gz chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # install .py source file and sample file python ./setup.py build install --root=$PKG diff --git a/development/pychecker/pychecker.SlackBuild b/development/pychecker/pychecker.SlackBuild index 31ebc7bf94bb2..b86455578647d 100644 --- a/development/pychecker/pychecker.SlackBuild +++ b/development/pychecker/pychecker.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pychecker -# Copyright 2010-2011 LukenShiro <lukenshiro@ngi.it> +# Copyright 2010-2011 LukenShiro, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=pychecker VERSION=${VERSION:-0.8.19} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -52,7 +52,11 @@ rm -rf $PRGNAM-$VERSION tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find -L . \ + \( -perm 777 -o -perm 775 -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 {} \; # setup.py modifications to avoid docfiles' installation in pythondir sed -i "s|'data_files'|#'data_files'|g" setup.py diff --git a/development/re2c/re2c.SlackBuild b/development/re2c/re2c.SlackBuild index 7b80b233ab3c5..bb235f5a2e3a8 100644 --- a/development/re2c/re2c.SlackBuild +++ b/development/re2c/re2c.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=re2c VERSION=${VERSION:-0.13.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -66,11 +66,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # --htmldir= is ignored CFLAGS="$SLKCFLAGS" \ diff --git a/graphics/unpaper/unpaper.SlackBuild b/graphics/unpaper/unpaper.SlackBuild index 6877385699e03..aa7c76fd13383 100644 --- a/graphics/unpaper/unpaper.SlackBuild +++ b/graphics/unpaper/unpaper.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=unpaper VERSION=${VERSION:-0.4.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -58,11 +58,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 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" \ diff --git a/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild b/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild index ef69f2bd5abf4..f47ac77aced76 100644 --- a/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild +++ b/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=c++-gtk-utils VERSION=${VERSION:-2.0.20} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -66,11 +66,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 {} \; + -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 {} \; # Used correct configure for gtk+2 CFLAGS="$SLKCFLAGS" \ diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild index 69b18f7310b1c..a0e106305b03a 100644 --- a/libraries/fltk/fltk.SlackBuild +++ b/libraries/fltk/fltk.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=fltk VERSION=1.1.10 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -67,7 +67,11 @@ rm -rf $PRGNAM-$VERSION tar xjf $CWD/$PRGNAM-$VERSION-source.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find -L . \ + \( -perm 777 -o -perm 775 -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 {} \; # Fix underlinking. patch -p1 -i $CWD/fltk-1.1.10-pkgconfig_xft.patch diff --git a/libraries/fltk13/fltk13.SlackBuild b/libraries/fltk13/fltk13.SlackBuild index 98911133ec6d2..13e042b6431ef 100644 --- a/libraries/fltk13/fltk13.SlackBuild +++ b/libraries/fltk13/fltk13.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=fltk13 VERSION=${VERSION:-1.3.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -68,11 +68,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION-source.tar.gz cd $SRCNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Fix linking when --libdir=/usr/lib64 sed -i \ diff --git a/libraries/hdf5/hdf5.SlackBuild b/libraries/hdf5/hdf5.SlackBuild index 48f82f4f807b2..b0b3546536f22 100644 --- a/libraries/hdf5/hdf5.SlackBuild +++ b/libraries/hdf5/hdf5.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=hdf5 VERSION=${VERSION:-1.8.11} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,11 +67,11 @@ rm -rf $PRGNAM-$SRCVERSION tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.?z* cd $PRGNAM-$SRCVERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # --with-ssl option removed CFLAGS="$SLKCFLAGS" \ diff --git a/libraries/reportlab/reportlab.SlackBuild b/libraries/reportlab/reportlab.SlackBuild index a4d6b9d70e86b..24c8296581910 100644 --- a/libraries/reportlab/reportlab.SlackBuild +++ b/libraries/reportlab/reportlab.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=reportlab VERSION=${VERSION:-2.7} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,11 +67,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Generate pdf documentation ( cd docs diff --git a/libraries/xforms/xforms.SlackBuild b/libraries/xforms/xforms.SlackBuild index f1c9fde82c55a..8102386b0a286 100644 --- a/libraries/xforms/xforms.SlackBuild +++ b/libraries/xforms/xforms.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=xforms VERSION=${VERSION:-1.0.93sp1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -70,11 +70,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 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" \ diff --git a/network/efax-gtk/efax-gtk.SlackBuild b/network/efax-gtk/efax-gtk.SlackBuild index 2e2ee778bedf9..2d901c4bdd1c9 100644 --- a/network/efax-gtk/efax-gtk.SlackBuild +++ b/network/efax-gtk/efax-gtk.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=efax-gtk VERSION=${VERSION:-3.2.12} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,11 +70,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.src.tgz cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 {} \; + -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" \ diff --git a/network/pyzor/pyzor.SlackBuild b/network/pyzor/pyzor.SlackBuild index b478931ba12ff..a962a9ec6f60b 100644 --- a/network/pyzor/pyzor.SlackBuild +++ b/network/pyzor/pyzor.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=pyzor VERSION=${VERSION:-0.5.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -56,11 +56,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 < $CWD/better-py27-compat.patch diff --git a/network/sniffjoke/sniffjoke.SlackBuild b/network/sniffjoke/sniffjoke.SlackBuild index 0e996c1485300..3210eccb5fe6a 100644 --- a/network/sniffjoke/sniffjoke.SlackBuild +++ b/network/sniffjoke/sniffjoke.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=sniffjoke VERSION=${VERSION:-0.4.2_aa2a003} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,11 +67,11 @@ rm -rf $SRCNAM-$GITSRCVERSION tar xvf $CWD/$SRCNAM-$GITSRCVERSION.tar.gz cd $SRCNAM-$GITSRCVERSION chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -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 {} \; +find -L . \ + \( -perm 777 -o -perm 775 -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 {} \; # Unfortunately most options for destination directories are not # available so we have to manually replace some values before cmake. diff --git a/office/flowkeeper/flowkeeper.SlackBuild b/office/flowkeeper/flowkeeper.SlackBuild index e4f413c1f0139..447ea7eddbe31 100644 --- a/office/flowkeeper/flowkeeper.SlackBuild +++ b/office/flowkeeper/flowkeeper.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=flowkeeper VERSION=${VERSION:-2010.12} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch @@ -42,11 +42,11 @@ rm -rf $PRGNAM-$VERSION mkdir $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Jar file mkdir -p $PKG/usr/share/$PRGNAM diff --git a/office/htmldoc/htmldoc.SlackBuild b/office/htmldoc/htmldoc.SlackBuild index 42ba6aed6b525..432d19fc8fdca 100644 --- a/office/htmldoc/htmldoc.SlackBuild +++ b/office/htmldoc/htmldoc.SlackBuild @@ -27,7 +27,7 @@ PRGNAM=htmldoc VERSION=1.8.27 -BUILD=${BUILD:-4} +BUILD=${BUILD:-5} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -68,11 +68,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION-source.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # workaround to avoid /usr/share/doc/htmldoc's use for help function sed -i 's|^#define DOCUMENTATION "$prefix/share/doc/htmldoc"|\ diff --git a/python/Pygments/Pygments.SlackBuild b/python/Pygments/Pygments.SlackBuild index 90ddea2669d61..a082f9e38d53e 100644 --- a/python/Pygments/Pygments.SlackBuild +++ b/python/Pygments/Pygments.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=Pygments VERSION=${VERSION:-1.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -52,11 +52,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --prefix=/usr --root=$PKG diff --git a/python/pydblite/pydblite.SlackBuild b/python/pydblite/pydblite.SlackBuild index ea657bb32cfb3..7686037e453be 100644 --- a/python/pydblite/pydblite.SlackBuild +++ b/python/pydblite/pydblite.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=pydblite VERSION=${VERSION:-2.7} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -54,11 +54,11 @@ rm -rf $SRCNAM-$VERSION unzip $CWD/$SRCNAM-$VERSION.zip cd $SRCNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py build install --root=$PKG diff --git a/python/pyflakes/pyflakes.SlackBuild b/python/pyflakes/pyflakes.SlackBuild index c23a589577b8f..07740d4781d88 100644 --- a/python/pyflakes/pyflakes.SlackBuild +++ b/python/pyflakes/pyflakes.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=pyflakes VERSION=${VERSION:-0.7.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -51,11 +51,11 @@ rm -rf $PRGNAM-$VERSION tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --prefix=/usr/ --root=$PKG diff --git a/python/pyfltk/pyfltk.SlackBuild b/python/pyfltk/pyfltk.SlackBuild index b6223fec461c2..f1f5dbff742e8 100644 --- a/python/pyfltk/pyfltk.SlackBuild +++ b/python/pyfltk/pyfltk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyfltk -# Copyright 2006-2010 LukenShiro <lukenshiro@ngi.it> +# Copyright 2006-2010 LukenShiro, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,15 +24,13 @@ PRGNAM=pyfltk VERSION=${VERSION:-1.1.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -59,7 +57,11 @@ rm -rf $SRC_PRGNAM-$VERSION tar -xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz cd $SRC_PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find -L . \ + \( -perm 777 -o -perm 775 -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 {} \; # Copy documentation files mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/pytables/pytables.SlackBuild b/python/pytables/pytables.SlackBuild index 9cae7b71d9836..51c0e3d9d3838 100644 --- a/python/pytables/pytables.SlackBuild +++ b/python/pytables/pytables.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pytables -# Copyright 2007-2013 LukenShiro <lukenshiro@ngi.it> +# Copyright 2007-2013 LukenShiro, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=pytables VERSION=${VERSION:-3.0.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,11 +67,11 @@ rm -rf $SRC_PRGNAM-$VERSION tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz cd $SRC_PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 {} \; + -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 {} \; python setup.py build install --prefix=/usr --root=$PKG diff --git a/python/python-pmw/python-pmw.SlackBuild b/python/python-pmw/python-pmw.SlackBuild index dc132098c9798..cb8ddcc317a0c 100644 --- a/python/python-pmw/python-pmw.SlackBuild +++ b/python/python-pmw/python-pmw.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=python-pmw VERSION=${VERSION:-1.3.3a} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -66,11 +66,11 @@ cd $PRGNAM-$VERSION tar xvf $CWD/${SRCPRGNAM}_${SRCVERSION}.tar.gz cd $SRCPRGNAM/$SRCPRGNAM chown -R root:root . || true -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Move documentation files mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/system/ecofont-ttf/ecofont-ttf.SlackBuild b/system/ecofont-ttf/ecofont-ttf.SlackBuild index 2ac2e565a03a9..bef0e17942ace 100644 --- a/system/ecofont-ttf/ecofont-ttf.SlackBuild +++ b/system/ecofont-ttf/ecofont-ttf.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ecofont-ttf -# Copyright 2009 LukenShiro <lukenshiro@ngi.it> +# Copyright 2009 LukenShiro, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=ecofont-ttf VERSION=2.02 ARCH=noarch -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -45,7 +45,11 @@ mkdir -p $TMP/$PRGNAM-$VERSION cd $PRGNAM-$VERSION unzip $CWD/$SRC_PRGNAM.zip chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find -L . \ + \( -perm 777 -o -perm 775 -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 {} \; # Installing font mkdir -p $PKG/usr/share/fonts/TTF diff --git a/system/irqbalance/irqbalance.SlackBuild b/system/irqbalance/irqbalance.SlackBuild index 2113b37f6dfc9..2743aeab109be 100644 --- a/system/irqbalance/irqbalance.SlackBuild +++ b/system/irqbalance/irqbalance.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=irqbalance VERSION=${VERSION:-1.0.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -66,11 +66,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root.root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 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" \ diff --git a/system/openct/openct.SlackBuild b/system/openct/openct.SlackBuild index 63544bd091828..7bf7fb014aeb9 100644 --- a/system/openct/openct.SlackBuild +++ b/system/openct/openct.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=openct VERSION=${VERSION:-0.6.20} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -68,11 +68,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # building API doc case "$APIDOC" in diff --git a/system/pcsc-perl/pcsc-perl.SlackBuild b/system/pcsc-perl/pcsc-perl.SlackBuild index 1dd55d9f0b660..dbbab92934e27 100644 --- a/system/pcsc-perl/pcsc-perl.SlackBuild +++ b/system/pcsc-perl/pcsc-perl.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=pcsc-perl VERSION=${VERSION:-1.4.13} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -66,11 +66,11 @@ cd $TMP tar xfv $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root.root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; perl Makefile.PL \ PREFIX=/usr \ |