diff options
Diffstat (limited to 'source/ap/cdrtools/cdrtools.SlackBuild')
-rwxr-xr-x | source/ap/cdrtools/cdrtools.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/ap/cdrtools/cdrtools.SlackBuild b/source/ap/cdrtools/cdrtools.SlackBuild index 3cd44084..e87c1c63 100755 --- a/source/ap/cdrtools/cdrtools.SlackBuild +++ b/source/ap/cdrtools/cdrtools.SlackBuild @@ -60,9 +60,9 @@ cd cdrtools-$(echo $VERSION | cut -f 1 -d a) || exit 1 chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + -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 644 {} \+ zcat $CWD/cdrtools-3.01-fix-20151126-mkisofs-isoinfo.patch.gz | patch -p1 --verbose || exit 1 @@ -93,7 +93,7 @@ cp -a \ *GPL* INSTALL README* START \ $PKG/usr/doc/cdrtools-$VERSION chown -R root:root $PKG/usr/doc/cdrtools-$VERSION/* -find $PKG/usr/doc/cdrtools-$VERSION -type f -exec chmod 644 {} \; +find $PKG/usr/doc/cdrtools-$VERSION -type f -exec chmod 644 {} \+ ( cd mkisofs mkdir -p $PKG/usr/doc/cdrtools-$VERSION/mkisofs @@ -130,9 +130,9 @@ cd zisofs-tools-$ZISOFSTOOLS chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + -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 644 {} \+ CFLAGS="-O2" ./configure --prefix=/usr --build=$ARCH-slackware-linux make $NUMJOBS || make || exit 1 cat mkzftree > $PKG/usr/bin/mkzftree @@ -148,11 +148,11 @@ rm -rf $PKG/usr/man/man3 # Fix permissions: cd $PKG -find . -type d -exec chmod 755 {} \; +find . -type d -exec chmod 755 {} \+ chown root:root -R $PKG -find $PKG/usr/man -type f -exec chmod 644 {} \; -find $PKG/usr/man -type f -exec gzip -9 {} \; -find $PKG/usr/doc/cdrtools-$VERSION -type f -exec chmod 0644 {} \; +find $PKG/usr/man -type f -exec chmod 644 {} \+ +find $PKG/usr/man -type f -exec gzip -9 {} \+ +find $PKG/usr/doc/cdrtools-$VERSION -type f -exec chmod 0644 {} \+ chmod 0755 $PKG/usr/bin/* find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ |