From 3a590cfd857ecd1ef39725fdf96f3f54013f74ee Mon Sep 17 00:00:00 2001 From: Nikos Yotis Date: Sat, 9 Sep 2017 14:10:23 +0100 Subject: [PATCH] system/rndaddentropy: Fix SlackBuild and .info. Signed-off-by: David Spencer --- system/rndaddentropy/rndaddentropy.SlackBuild | 19 ++++++++++--------- system/rndaddentropy/rndaddentropy.info | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/system/rndaddentropy/rndaddentropy.SlackBuild b/system/rndaddentropy/rndaddentropy.SlackBuild index 763f90ba44..98044b56bf 100644 --- a/system/rndaddentropy/rndaddentropy.SlackBuild +++ b/system/rndaddentropy/rndaddentropy.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PKGNAM=rndaddentropy +PRGNAM=rndaddentropy SRCNAM=twuewand VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-1} @@ -38,7 +38,8 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PKGNAM +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -57,16 +58,16 @@ fi set -e rm -rf $PKG -mkdir -p $TMP $PKG +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + \( -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 \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; cd rndaddentropy @@ -85,13 +86,13 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done # docs -mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $TMP/$SRCNAM-$VERSION/{README,COPYING} \ - $PKG/usr/doc/$PKGNAM-$VERSION -cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/rndaddentropy/rndaddentropy.info b/system/rndaddentropy/rndaddentropy.info index 571aa1049f..b558623a00 100644 --- a/system/rndaddentropy/rndaddentropy.info +++ b/system/rndaddentropy/rndaddentropy.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Nikos Yotis" -EMAIL="giotis.nikos@gmail.com" \ No newline at end of file +EMAIL="giotis.nikos@gmail.com"