mirror of
git://slackware.nl/current.git
synced 2024-12-26 09:58:59 +01:00
Mon Sep 30 21:08:32 UTC 2019
d/llvm-9.0.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. Thanks to orbea for getting this working and cleaning up the build script. d/vala-0.46.2-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_67-x86_64-1.txz: Upgraded. Fixed --disable-opencl configure option. Thanks to Markus Wiesner for the bug report and to upstream for the quick fix. n/NetworkManager-1.20.4-x86_64-1.txz: Upgraded. n/gnutls-3.6.10-x86_64-1.txz: Upgraded. x/freeglut-3.2.1-x86_64-1.txz: Upgraded. x/libglvnd-1.1.1-x86_64-2.txz: Upgraded. Reverted to this version since I'm seeing some errors linking with Mesa libraries with the newer one. Thanks to nobodino for the bug report. x/mesa-19.2.0-x86_64-2.txz: Rebuilt. Recompiled against llvm-9.0.0 and libglvnd-1.1.1. x/xf86-video-vmware-13.3.0-x86_64-3.txz: Rebuilt. Recompiled against llvm-9.0.0.
This commit is contained in:
parent
8a7ca20f48
commit
0857ff7f63
809 changed files with 3762 additions and 3818 deletions
|
@ -11,9 +11,36 @@
|
|||
<description>Tracking Slackware development in git.</description>
|
||||
<language>en-us</language>
|
||||
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id>
|
||||
<pubDate>Sat, 28 Sep 2019 19:23:35 GMT</pubDate>
|
||||
<lastBuildDate>Sun, 29 Sep 2019 06:59:43 GMT</lastBuildDate>
|
||||
<pubDate>Mon, 30 Sep 2019 21:08:32 GMT</pubDate>
|
||||
<lastBuildDate>Tue, 1 Oct 2019 06:59:45 GMT</lastBuildDate>
|
||||
<generator>maintain_current_git.sh v 1.11</generator>
|
||||
<item>
|
||||
<title>Mon, 30 Sep 2019 21:08:32 GMT</title>
|
||||
<pubDate>Mon, 30 Sep 2019 21:08:32 GMT</pubDate>
|
||||
<link>https://git.slackware.nl/current/tag/?h=20190930210832</link>
|
||||
<guid isPermaLink="false">20190930210832</guid>
|
||||
<description>
|
||||
<![CDATA[<pre>
|
||||
d/llvm-9.0.0-x86_64-1.txz: Upgraded.
|
||||
Shared library .so-version bump.
|
||||
Thanks to orbea for getting this working and cleaning up the build script.
|
||||
d/vala-0.46.2-x86_64-1.txz: Upgraded.
|
||||
l/imagemagick-6.9.10_67-x86_64-1.txz: Upgraded.
|
||||
Fixed --disable-opencl configure option. Thanks to Markus Wiesner for the
|
||||
bug report and to upstream for the quick fix.
|
||||
n/NetworkManager-1.20.4-x86_64-1.txz: Upgraded.
|
||||
n/gnutls-3.6.10-x86_64-1.txz: Upgraded.
|
||||
x/freeglut-3.2.1-x86_64-1.txz: Upgraded.
|
||||
x/libglvnd-1.1.1-x86_64-2.txz: Upgraded.
|
||||
Reverted to this version since I'm seeing some errors linking with Mesa
|
||||
libraries with the newer one. Thanks to nobodino for the bug report.
|
||||
x/mesa-19.2.0-x86_64-2.txz: Rebuilt.
|
||||
Recompiled against llvm-9.0.0 and libglvnd-1.1.1.
|
||||
x/xf86-video-vmware-13.3.0-x86_64-3.txz: Rebuilt.
|
||||
Recompiled against llvm-9.0.0.
|
||||
</pre>]]>
|
||||
</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Sat, 28 Sep 2019 19:23:35 GMT</title>
|
||||
<pubDate>Sat, 28 Sep 2019 19:23:35 GMT</pubDate>
|
||||
|
|
|
@ -1,3 +1,22 @@
|
|||
Mon Sep 30 21:08:32 UTC 2019
|
||||
d/llvm-9.0.0-x86_64-1.txz: Upgraded.
|
||||
Shared library .so-version bump.
|
||||
Thanks to orbea for getting this working and cleaning up the build script.
|
||||
d/vala-0.46.2-x86_64-1.txz: Upgraded.
|
||||
l/imagemagick-6.9.10_67-x86_64-1.txz: Upgraded.
|
||||
Fixed --disable-opencl configure option. Thanks to Markus Wiesner for the
|
||||
bug report and to upstream for the quick fix.
|
||||
n/NetworkManager-1.20.4-x86_64-1.txz: Upgraded.
|
||||
n/gnutls-3.6.10-x86_64-1.txz: Upgraded.
|
||||
x/freeglut-3.2.1-x86_64-1.txz: Upgraded.
|
||||
x/libglvnd-1.1.1-x86_64-2.txz: Upgraded.
|
||||
Reverted to this version since I'm seeing some errors linking with Mesa
|
||||
libraries with the newer one. Thanks to nobodino for the bug report.
|
||||
x/mesa-19.2.0-x86_64-2.txz: Rebuilt.
|
||||
Recompiled against llvm-9.0.0 and libglvnd-1.1.1.
|
||||
x/xf86-video-vmware-13.3.0-x86_64-3.txz: Rebuilt.
|
||||
Recompiled against llvm-9.0.0.
|
||||
+--------------------------+
|
||||
Sat Sep 28 19:23:35 UTC 2019
|
||||
a/f2fs-tools-1.13.0-x86_64-1.txz: Upgraded.
|
||||
Shared library .so-version bump.
|
||||
|
|
3384
FILELIST.TXT
3384
FILELIST.TXT
File diff suppressed because it is too large
Load diff
|
@ -39,9 +39,9 @@ cd bash-completion-$VERSION || 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 {} \+
|
||||
|
||||
# Add some patches from git
|
||||
for file in $CWD/patches/*.patch.gz ; do
|
||||
|
|
|
@ -14,8 +14,8 @@ rm -rf BitTornado-CVS
|
|||
tar xjvf $CWD/BitTornado-$VERSION.tar.bz2
|
||||
cd BitTornado-CVS
|
||||
chown -R root.root .
|
||||
find . -perm 775 -exec chmod 755 {} \;
|
||||
find . -perm 664 -exec chmod 644 {} \;
|
||||
find . -perm 775 -exec chmod 755 {} \+
|
||||
find . -perm 664 -exec chmod 644 {} \+
|
||||
python setup.py build install --root=$PKG
|
||||
# Add btdownloadxterm.sh (this just opens an xterm for btdownloadcurses.py so
|
||||
# that it can work as a MIME handler from mailcap):
|
||||
|
|
|
@ -72,11 +72,11 @@ zcat $CWD/brltty.brlapi.pyx.diff.gz | patch -p1 --verbose || exit 1
|
|||
sh autogen
|
||||
|
||||
chown -R root:root .
|
||||
find . -perm 775 -exec chmod 755 {} \;
|
||||
find . -perm 700 -exec chmod 755 {} \;
|
||||
find . -perm 744 -exec chmod 755 {} \;
|
||||
find . -perm 664 -exec chmod 644 {} \;
|
||||
find . -perm 600 -exec chmod 644 {} \;
|
||||
find . -perm 775 -exec chmod 755 {} \+
|
||||
find . -perm 700 -exec chmod 755 {} \+
|
||||
find . -perm 744 -exec chmod 755 {} \+
|
||||
find . -perm 664 -exec chmod 644 {} \+
|
||||
find . -perm 600 -exec chmod 644 {} \+
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
@ -109,9 +109,9 @@ cp -a \
|
|||
Documents/{ChangeLog,Manual-*,TODO,CONTRIBUTORS,HISTORY,README.*} \
|
||||
$PKG/usr/doc/brltty-$VERSION
|
||||
( cd $PKG/usr/doc/brltty-$VERSION
|
||||
find . -name "Makefile*" -exec rm -f {} \;
|
||||
find . -name "*.sgml" -exec rm -f {} \;
|
||||
find . -size 0 -type f -exec rm -f {} \;
|
||||
find . -name "Makefile*" -exec rm -f {} \+
|
||||
find . -name "*.sgml" -exec rm -f {} \+
|
||||
find . -size 0 -type f -exec rm -f {} \+
|
||||
)
|
||||
|
||||
# If there's a ChangeLog, installing at least part of the recent history
|
||||
|
|
|
@ -62,17 +62,17 @@ cd ${PKGNAM}-$VERSION || exit 1
|
|||
|
||||
# Make sure ownerships and permissions are sane:
|
||||
chown -R root:root .
|
||||
find . -perm 666 -exec chmod 644 {} \;
|
||||
find . -perm 664 -exec chmod 644 {} \;
|
||||
find . -perm 600 -exec chmod 644 {} \;
|
||||
find . -perm 444 -exec chmod 644 {} \;
|
||||
find . -perm 400 -exec chmod 644 {} \;
|
||||
find . -perm 440 -exec chmod 644 {} \;
|
||||
find . -perm 777 -exec chmod 755 {} \;
|
||||
find . -perm 775 -exec chmod 755 {} \;
|
||||
find . -perm 511 -exec chmod 755 {} \;
|
||||
find . -perm 711 -exec chmod 755 {} \;
|
||||
find . -perm 555 -exec chmod 755 {} \;
|
||||
find . -perm 666 -exec chmod 644 {} \+
|
||||
find . -perm 664 -exec chmod 644 {} \+
|
||||
find . -perm 600 -exec chmod 644 {} \+
|
||||
find . -perm 444 -exec chmod 644 {} \+
|
||||
find . -perm 400 -exec chmod 644 {} \+
|
||||
find . -perm 440 -exec chmod 644 {} \+
|
||||
find . -perm 777 -exec chmod 755 {} \+
|
||||
find . -perm 775 -exec chmod 755 {} \+
|
||||
find . -perm 511 -exec chmod 755 {} \+
|
||||
find . -perm 711 -exec chmod 755 {} \+
|
||||
find . -perm 555 -exec chmod 755 {} \+
|
||||
|
||||
# Patch to use Tcl 8.6:
|
||||
zcat $CWD/emacspeak.tcl8.6.diff.gz | patch -p1 || exit 1
|
||||
|
|
|
@ -158,7 +158,7 @@ esac
|
|||
# Install the plugin to the mozilla plugins dir and fix library file attributes:
|
||||
mkdir -p usr/lib${LIBDIRSUFFIX}/mozilla/plugins
|
||||
mv libflashplayer.so usr/lib${LIBDIRSUFFIX}/mozilla/plugins/
|
||||
find usr/lib${LIBDIRSUFFIX} -name "*.so" -exec chmod 755 {} \;
|
||||
find usr/lib${LIBDIRSUFFIX} -name "*.so" -exec chmod 755 {} \+
|
||||
|
||||
# Add this to the doinst.sh:
|
||||
mkdir -p $PKG/install
|
||||
|
@ -175,7 +175,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
|||
mv LGPL *.txt $PKG/usr/doc/$PRGNAM-$VERSION/ || true
|
||||
cp -a $SRCDIR/$(basename $0) $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
find $PKG/usr/doc -type f -exec chmod 644 {} \;
|
||||
find $PKG/usr/doc -type f -exec chmod 644 {} \+
|
||||
|
||||
# Add a package description:
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -89,9 +89,9 @@ zcat $CWD/fltk.fltk-config.in.diff.gz | patch -p1 --verbose || 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 {} \+
|
||||
|
||||
# Configure:
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -70,9 +70,9 @@ done
|
|||
chown -R root.root $PKG
|
||||
find $PKG \
|
||||
\( -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 {} \+
|
||||
chmod 755 $PKG/etc/profile.d/*
|
||||
( cd $PKG/usr/lib${LIBDIRSUFFIX}
|
||||
mv ${PKGNAM}${DVER} java || exit 1
|
||||
|
|
|
@ -73,9 +73,9 @@ cd $PKGNAM-$VERSION || 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/0001-Make-Unique-support-optional.patch | patch -p1 --verbose || exit 1
|
||||
zcat $CWD/0001-Use-datadir-xfce4-mixer-as-MIXER_DATADIR.patch | patch -p1 --verbose || exit 1
|
||||
|
|
|
@ -74,9 +74,9 @@ cd $PKGNAM-$VERSION || 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/0001-Removed-deprecated-Encoding-entry-in-.desktop-file-t.patch | patch -p1 --verbose || exit 1
|
||||
zcat $CWD/0003-Removing-edge-case-memleaks.patch | patch -p1 --verbose || exit 1
|
||||
|
|
|
@ -235,11 +235,11 @@ mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/qt-${PKGNAM}
|
|||
)
|
||||
cp -a $SRCDIR/$(basename $0) $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild
|
||||
chown -R root:root $PKG/usr/doc/$PKGNAM-$VERSION
|
||||
find $PKG/usr/doc -type f -exec chmod 644 {} \;
|
||||
find $PKG/usr/doc -type f -exec chmod 644 {} \+
|
||||
|
||||
# Compress the man page(s):
|
||||
if [ -d $PKG/usr/man ]; then
|
||||
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \+
|
||||
for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
fi
|
||||
|
||||
|
|
|
@ -167,9 +167,9 @@ tar --owner=root --group=root -xvf $CWD/sources/xorg-server-${XORG}.tar.?z* || e
|
|||
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 {} \+
|
||||
|
||||
export LDFLAGS="$SLKLDFLAGS"
|
||||
export CXXFLAGS="$SLKCFLAGS"
|
||||
|
@ -360,11 +360,11 @@ cp -a $DOCS $PKG/usr/doc/$PKGNAM-$VERSION || true
|
|||
for FIL in $(echo $DOCS_XORG); do cp -a build/unix/xserver/$FIL $PKG/usr/doc/$PKGNAM-$VERSION/${FIL}.xorg ; done || true
|
||||
#cat $CWD/$(basename $0) > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild
|
||||
chown -R root:root $PKG/usr/doc/$PKGNAM-$VERSION
|
||||
find $PKG/usr/doc -type f -exec chmod 644 {} \;
|
||||
find $PKG/usr/doc -type f -exec chmod 644 {} \+
|
||||
|
||||
# Compress the man page(s):
|
||||
if [ -d $PKG/usr/man ]; then
|
||||
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \+
|
||||
for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
fi
|
||||
|
||||
|
|
|
@ -57,9 +57,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Bypass the need for pybabel (thanks, dapal!)
|
||||
zcat $CWD/manually-compile-translations.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
@ -108,7 +108,7 @@ mv $PKG/etc/rc.d/rc.wicd $PKG/etc/rc.d/rc.wicd.new
|
|||
|
||||
# Compress the man pages and add a bit to the package docs
|
||||
( cd $PKG/usr/man || exit 1
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
find . -type f -exec gzip -9 {} \+
|
||||
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PKGNAM-$VERSION/README.SLACKWARE
|
||||
|
|
|
@ -76,9 +76,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Configure:
|
||||
CFLAGS=$SLKCFLAGS \
|
||||
|
|
|
@ -35,9 +35,7 @@ gzip ./source/d/pmake/pmake.txt
|
|||
gzip ./source/d/pmake/pmake.strerror.strdup.diff
|
||||
gzip ./source/d/cvs/cvs.crypt-2.diff
|
||||
gzip ./source/d/cvs/cvs.getline64.diff
|
||||
gzip ./source/d/llvm/n_clang_allow_BUILD_SHARED_LIBRARY.patch
|
||||
gzip ./source/d/llvm/clang.toolchains.i586.triple.diff
|
||||
gzip ./source/d/llvm/clang-tools-extra.no.clangd.diff
|
||||
gzip ./source/d/opencl-headers/cl.hpp
|
||||
gzip ./source/d/opencl-headers/cl2.hpp
|
||||
gzip ./source/d/opencl-headers/opencl.no.pragma.for.default.version.diff
|
||||
|
|
|
@ -124,7 +124,7 @@ chmod 755 $PKG/lib${LIBDIRSUFFIX}/lib*.so.* $PKG/usr/lib${LIBDIRSUFFIX}/lib*.so.
|
|||
|
||||
# Don't ship symlinks in aaa_elflibs... it's just asking for trouble.
|
||||
# installpkg will create them if needed by running ldconfig.
|
||||
find $PKG -type l -exec rm --verbose "{}" \;
|
||||
find $PKG -type l -exec rm --verbose "{}" \+
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -67,9 +67,9 @@ cd acl-$(echo $VERSION | cut -f 1 -d '-') || 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 {} \+
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
|
|
@ -74,9 +74,9 @@ cd acpid-$VERSION || 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 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -96,7 +96,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
|
|||
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -65,9 +65,9 @@ cd attr-$(echo $VERSION | cut -f 1 -d '-') || 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 {} \+
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
|
|
@ -89,17 +89,17 @@ cd btrfs-progs-$VERSION || cd btrfs-progs || exit 1
|
|||
|
||||
# Make sure ownerships and permissions are sane:
|
||||
chown -R root:root .
|
||||
find . -perm 666 -exec chmod 644 {} \;
|
||||
find . -perm 664 -exec chmod 644 {} \;
|
||||
find . -perm 600 -exec chmod 644 {} \;
|
||||
find . -perm 444 -exec chmod 644 {} \;
|
||||
find . -perm 400 -exec chmod 644 {} \;
|
||||
find . -perm 440 -exec chmod 644 {} \;
|
||||
find . -perm 777 -exec chmod 755 {} \;
|
||||
find . -perm 775 -exec chmod 755 {} \;
|
||||
find . -perm 511 -exec chmod 755 {} \;
|
||||
find . -perm 711 -exec chmod 755 {} \;
|
||||
find . -perm 555 -exec chmod 755 {} \;
|
||||
find . -perm 666 -exec chmod 644 {} \+
|
||||
find . -perm 664 -exec chmod 644 {} \+
|
||||
find . -perm 600 -exec chmod 644 {} \+
|
||||
find . -perm 444 -exec chmod 644 {} \+
|
||||
find . -perm 400 -exec chmod 644 {} \+
|
||||
find . -perm 440 -exec chmod 644 {} \+
|
||||
find . -perm 777 -exec chmod 755 {} \+
|
||||
find . -perm 775 -exec chmod 755 {} \+
|
||||
find . -perm 511 -exec chmod 755 {} \+
|
||||
find . -perm 711 -exec chmod 755 {} \+
|
||||
find . -perm 555 -exec chmod 755 {} \+
|
||||
|
||||
# Configure:
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -83,9 +83,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Patch uname to correctly display CPU information:
|
||||
zcat $CWD/$PKGNAM.uname.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1
|
||||
|
|
|
@ -75,9 +75,9 @@ cd ${PKGNAM}-$VERSION || 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 {} \+
|
||||
|
||||
# Use the rmt provided by the tar package
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -72,9 +72,9 @@ cd ${PKGNAM}-$VERSION || 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 {} \+
|
||||
|
||||
# Build and install:
|
||||
make libdir=/usr/lib${LIBDIRSUFFIX} || exit 1
|
||||
|
|
|
@ -83,9 +83,9 @@ cd cryptsetup-$VERSION || 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 {} \+
|
||||
|
||||
LDFLAGS="$SLKLDFLAGS" \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -73,9 +73,9 @@ cd $PKGNAM-$VERSION || 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/dbus-1.12.x-allow_root_globally.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
||||
|
@ -137,7 +137,7 @@ mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
|
|||
cp -a \
|
||||
AUTHORS COPYING* HACKING INSTALL NEWS README* doc/*.{txt,html,dtd} \
|
||||
$PKG/usr/doc/$PKGNAM-$VERSION
|
||||
find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \;
|
||||
find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \+
|
||||
|
||||
# If there's a ChangeLog, installing at least part of the recent history
|
||||
# is useful, but don't let it get totally out of control:
|
||||
|
|
|
@ -70,9 +70,9 @@ tar xvf $CWD/dcron-$VERSION.tar.?z* || exit 1
|
|||
cd dcron-$VERSION
|
||||
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 {} \+
|
||||
|
||||
# Apply patches from git:
|
||||
zcat $CWD/patches/0002-README-var-spool-cron-crontabs-root.patch.gz | patch -p1 --verbose || exit 1
|
||||
|
|
|
@ -94,9 +94,9 @@ zcat $CWD/dialog.smaller.min.height.diff.gz | patch -p1 --verbose || 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 {} \+
|
||||
|
||||
# Configure:
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -74,9 +74,9 @@ cd $PKGNAM-$VERSION
|
|||
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="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -84,9 +84,9 @@ cd e2fsprogs-$VERSION || 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 {} \+
|
||||
|
||||
# Do not use 64-bit by default on ext4, since some bootloaders cannot handle
|
||||
# it yet. But use "auto_64-bit_support = 1", which will enable 64-bit if the
|
||||
|
@ -187,7 +187,7 @@ EOF
|
|||
)
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -60,9 +60,9 @@ cd ${PKGNAM}-$VERSION || 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 {} \+
|
||||
|
||||
# Configure:
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -82,9 +82,9 @@ cd $PKGNAM-$VERSION
|
|||
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 {} \+
|
||||
|
||||
# Set default EFI System Partition directory:
|
||||
export EFIDIR=/boot/efi
|
||||
|
@ -101,7 +101,7 @@ make install mandir=/usr/man DESTDIR=$PKG || exit 1
|
|||
)
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -81,9 +81,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS -Wformat=0" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -94,7 +94,7 @@ make $NUMJOBS install DESTDIR=${PKG}/ libdir=/usr/lib$LIBDIRSUFFIX/ mandir=/usr/
|
|||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -64,9 +64,9 @@ cd eudev-$VERSION || 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 {} \+
|
||||
|
||||
# Patch 60-cdrom_id.rules to create a full set of symlinks:
|
||||
zcat $CWD/60-cdrom_id.rules.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
@ -135,8 +135,8 @@ cp -a $CWD/config/modprobe.d/*.conf $PKG/lib/modprobe.d/
|
|||
cp -a $CWD/config/modprobe.d/README $PKG/etc/modprobe.d/
|
||||
|
||||
chown -R root:root $PKG/etc $PKG/lib/modprobe.d
|
||||
find $PKG/etc $PKG/lib/modprobe.d -type f -exec chmod 644 {} \;
|
||||
find $PKG/etc -type d -exec chmod 755 {} \;
|
||||
find $PKG/etc $PKG/lib/modprobe.d -type f -exec chmod 644 {} \+
|
||||
find $PKG/etc -type d -exec chmod 755 {} \+
|
||||
chmod 0755 $PKG/etc/rc.d/rc.udev.new
|
||||
|
||||
# Add extra device nodes to the package that udev doesn't make:
|
||||
|
|
|
@ -81,9 +81,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
NOCONFIGURE=1 sh ./autogen.sh
|
||||
|
||||
|
@ -132,7 +132,7 @@ mkdir -p $PKG/sbin
|
|||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -72,9 +72,9 @@ cd file-$VERSION || 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 {} \+
|
||||
|
||||
# Make the default data directory /etc/file like it has always been:
|
||||
zcat $CWD/file.etc.file.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
@ -154,7 +154,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \
|
|||
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
|
||||
( cd $PKG/usr/man || exit 1
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
find . -type f -exec gzip -9 {} \+
|
||||
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
|
|
|
@ -70,9 +70,9 @@ cd findutils-$VERSION || 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 {} \+
|
||||
|
||||
# Don't output warnings by default. Let's make the crazy assumption that the
|
||||
# user actually does know what they are doing, and will use -warn if they'd
|
||||
|
|
|
@ -78,9 +78,9 @@ 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="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -125,7 +125,7 @@ mv $PKG/usr/bin/awk $PKG/bin
|
|||
)
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -58,11 +58,11 @@ cd genpower-$VERSION || 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 {} \+
|
||||
|
||||
find . -type d -name CVS -depth -exec rm -rf {} \;
|
||||
find . -type d -name CVS -depth -exec rm -rf {} \+
|
||||
|
||||
zcat $CWD/genpower.var.diff.gz | patch -p1 -E --verbose || exit 1
|
||||
zcat $CWD/genpower.halt.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
|
|
@ -78,9 +78,9 @@ cd gettext-$VERSION
|
|||
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="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -78,9 +78,9 @@ cd gettext-$VERSION || 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 {} \+
|
||||
|
||||
cd gettext-runtime
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -81,8 +81,8 @@ mkdir -p $PKG/usr/doc/getty-ps-$VERSION
|
|||
cp -a \
|
||||
ANNOUNCE ChangeLog README.* Examples *.lsm INSTALL \
|
||||
$PKG/usr/doc/getty-ps-$VERSION
|
||||
find $PKG/usr/doc/getty-ps-$VERSION -type d -exec chmod 755 {} \;
|
||||
find $PKG/usr/doc/getty-ps-$VERSION -type f -exec chmod 644 {} \;
|
||||
find $PKG/usr/doc/getty-ps-$VERSION -type d -exec chmod 755 {} \+
|
||||
find $PKG/usr/doc/getty-ps-$VERSION -type f -exec chmod 644 {} \+
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
|
|
|
@ -90,9 +90,9 @@ tar xzf $CWD/tzcode?????.tar.gz || 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 {} \+
|
||||
|
||||
sed -i "s,/usr/local,$(pwd),g" Makefile
|
||||
sed -i "s,/etc/zoneinfo,/zoneinfo,g" Makefile
|
||||
|
|
|
@ -71,9 +71,9 @@ cd gpm-$VERSION || exit 1
|
|||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 700 -o -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/gpm-1.20.1-lib-silent.patch.gz | patch -p1 --verbose || exit 1
|
||||
zcat $CWD/gpm-1.20.5-close-fds.patch.gz | patch -p1 --verbose || exit 1
|
||||
|
|
|
@ -75,9 +75,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
export LDFLAGS="$SLKLDFLAGS"
|
||||
export CXXFLAGS="$SLKCFLAGS"
|
||||
|
|
|
@ -76,9 +76,9 @@ cd grep-$VERSION || 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 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -99,9 +99,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Use /boot/initrd.gz as a valid initrd name:
|
||||
zcat $CWD/initrd_naming.patch | patch -p1 --verbose || exit 1
|
||||
|
|
|
@ -74,9 +74,9 @@ cd ${PKGNAM}-$VERSION
|
|||
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 {} \+
|
||||
|
||||
# Configure:
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -71,9 +71,9 @@ cd $PKGNAM-$VERSION || exit 1
|
|||
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 \
|
||||
-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 {} \;
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
|
||||
|
||||
# LDFLAGS="-static" to avoid introducing a shared library that would be used
|
||||
# by nothing else.
|
||||
|
@ -105,7 +105,7 @@ mkdir -p $PKG/etc/rc.d
|
|||
cat $CWD/rc.haveged > $PKG/etc/rc.d/rc.haveged.new
|
||||
chmod 755 $PKG/etc/rc.d/rc.haveged.new
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
|
||||
|
|
|
@ -81,9 +81,9 @@ cd $PKGNAM || 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 {} \+
|
||||
|
||||
# Build:
|
||||
make $NUMJOBS || make || exit 1
|
||||
|
|
|
@ -74,9 +74,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Grab latest copies of pci and usb ids:
|
||||
rm -f usb.ids pci.ids
|
||||
|
|
|
@ -72,9 +72,9 @@ cd ${PKGNAM}-$VERSION || 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 {} \+
|
||||
|
||||
if [ ! -r configure ]; then
|
||||
./autogen.sh
|
||||
|
|
|
@ -71,9 +71,9 @@ cd isapnptools-$VERSION || 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 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -64,9 +64,9 @@ cd jfsutils-$VERSION || 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 {} \+
|
||||
|
||||
# Fix build with recent glibc:
|
||||
sed "s@<unistd.h>@&\n#include <sys/types.h>@g" -i fscklog/extract.c
|
||||
|
|
|
@ -63,17 +63,17 @@ cd $PKGNAM-$VERSION || exit 1
|
|||
|
||||
# Make sure ownerships and permissions are sane:
|
||||
chown -R root:root .
|
||||
find . -perm 666 -exec chmod 644 {} \;
|
||||
find . -perm 664 -exec chmod 644 {} \;
|
||||
find . -perm 600 -exec chmod 644 {} \;
|
||||
find . -perm 444 -exec chmod 644 {} \;
|
||||
find . -perm 400 -exec chmod 644 {} \;
|
||||
find . -perm 440 -exec chmod 644 {} \;
|
||||
find . -perm 777 -exec chmod 755 {} \;
|
||||
find . -perm 775 -exec chmod 755 {} \;
|
||||
find . -perm 511 -exec chmod 755 {} \;
|
||||
find . -perm 711 -exec chmod 755 {} \;
|
||||
find . -perm 555 -exec chmod 755 {} \;
|
||||
find . -perm 666 -exec chmod 644 {} \+
|
||||
find . -perm 664 -exec chmod 644 {} \+
|
||||
find . -perm 600 -exec chmod 644 {} \+
|
||||
find . -perm 444 -exec chmod 644 {} \+
|
||||
find . -perm 400 -exec chmod 644 {} \+
|
||||
find . -perm 440 -exec chmod 644 {} \+
|
||||
find . -perm 777 -exec chmod 755 {} \+
|
||||
find . -perm 775 -exec chmod 755 {} \+
|
||||
find . -perm 511 -exec chmod 755 {} \+
|
||||
find . -perm 711 -exec chmod 755 {} \+
|
||||
find . -perm 555 -exec chmod 755 {} \+
|
||||
|
||||
# Apply patches:
|
||||
# These are taken from Fedora's SRPM:
|
||||
|
|
|
@ -54,7 +54,7 @@ git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.
|
|||
# Better determine these the same way as above.
|
||||
DATE="$(lynx -dump -width=256 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=HEAD | grep " committer " | head -n 1 | rev | cut -f 3 -d ' ' | rev | tr -d -)"
|
||||
HEADISAT="$(lynx -dump -width=256 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=HEAD | grep " commit " | head -n 1 | cut -f 2 -d ] | cut -b 1-7)"
|
||||
find . -name ".git*" -exec rm -rf "{}" \;
|
||||
find . -name ".git*" -exec rm -rf "{}" \+
|
||||
chown -R root:root .
|
||||
mkdir -p lib
|
||||
mv linux-firmware lib/firmware
|
||||
|
|
|
@ -71,9 +71,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Fix paths in manual pages
|
||||
sed -i "s,/usr/lib,/lib,g" man/*
|
||||
|
@ -106,9 +106,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Fix paths in manual pages
|
||||
sed -i "s,/usr/lib,/lib,g" man/*
|
||||
|
|
|
@ -86,9 +86,9 @@ zcat $CWD/lbzip2.glibc228.diff.gz | patch -p1 --verbose || 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 {} \+
|
||||
|
||||
# Configure, build, and install:
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
@ -112,7 +112,7 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
|||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -79,9 +79,9 @@ sed -i "s,/usr/local/etc,/etc,g" less.nro
|
|||
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="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -83,9 +83,9 @@ zcat $CWD/libcgroup.loop.diff.gz | patch -p1 --verbose || 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 {} \+
|
||||
|
||||
autoreconf -vif
|
||||
|
||||
|
|
|
@ -64,9 +64,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
LDFLAGS="$LDFLAGS -lrt" \
|
||||
./configure \
|
||||
|
|
|
@ -72,9 +72,9 @@ cd logrotate-$VERSION || 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 {} \+
|
||||
|
||||
# Fixup a few things:
|
||||
zcat $CWD/logrotate.slackware.diff.gz | patch -p1 || exit 1
|
||||
|
|
|
@ -73,9 +73,9 @@ cd $PKGNAM-$VERSION
|
|||
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="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -73,9 +73,9 @@ cd LVM2.$VERSION || 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/create-dm-run-dir.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
||||
|
|
|
@ -87,9 +87,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Configure:
|
||||
./configure \
|
||||
|
@ -119,7 +119,7 @@ cp -a \
|
|||
$PKG/usr/doc/${PKGNAM}-$VERSION
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -87,9 +87,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Configure:
|
||||
./configure \
|
||||
|
@ -120,7 +120,7 @@ cp -a \
|
|||
$PKG/usr/doc/${PKGNAM}-$VERSION
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -60,9 +60,9 @@ cd $PKGNAM-$VERSION || 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/mcelog.init.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
||||
|
|
|
@ -73,9 +73,9 @@ cd mdadm-$VERSION || 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 {} \+
|
||||
|
||||
# Treating all warnings as errors causes the build to fail.
|
||||
sed -i "s,-Werror,," Makefile
|
||||
|
|
|
@ -73,8 +73,8 @@ cd minicom-$VERSION
|
|||
#sed -i -e "s/getline/g_&/" $(grep -lr getline *)
|
||||
|
||||
chown -R root:root .
|
||||
find . -perm 777 -exec chmod 755 {} \;
|
||||
find . -perm 664 -exec chmod 644 {} \;
|
||||
find . -perm 777 -exec chmod 755 {} \+
|
||||
find . -perm 664 -exec chmod 644 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -158,7 +158,7 @@ cp -a \
|
|||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \+
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -81,9 +81,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Configure:
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -72,9 +72,9 @@ cd mt-st-$VERSION
|
|||
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 {} \+
|
||||
|
||||
make CFLAGS="-Wall $SLKCFLAGS" || exit 1
|
||||
|
||||
|
|
|
@ -65,9 +65,9 @@ cd $PACKAGE-$VERSION || 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 {} \+
|
||||
|
||||
# Configure:
|
||||
./configure \
|
||||
|
|
|
@ -70,9 +70,9 @@ cd ncompress-${VERSION}
|
|||
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 {} \+
|
||||
|
||||
make CFLAGS="$SLKCFLAGS" || exit 1
|
||||
|
||||
|
|
|
@ -79,9 +79,9 @@ cd $SRCNAM-$VERSION || 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 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -90,9 +90,9 @@ fi
|
|||
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 {} \+
|
||||
|
||||
make CFLAGS="$SLKCFLAGS" || exit 1
|
||||
|
||||
|
|
|
@ -71,9 +71,9 @@ cd patch-${VERSION} || 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 {} \+
|
||||
|
||||
# Patch CVE-2018-1000156, arbitrary shell command execution by (obsolete)
|
||||
# ed patch format:
|
||||
|
|
|
@ -70,9 +70,9 @@ cd pciutils-$VERSION || 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/pciutils.dontcompress.diff.gz | patch -p1 || exit 1
|
||||
|
||||
|
|
|
@ -75,9 +75,9 @@ cd pcmciautils-$VERSION
|
|||
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="$SLKCFLAGS" make $NUMJOBS || make || exit 1
|
||||
make install DESTDIR=$PKG || exit 1
|
||||
|
|
|
@ -87,9 +87,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Configure:
|
||||
./configure \
|
||||
|
@ -120,7 +120,7 @@ cp -a \
|
|||
$PKG/usr/doc/${PKGNAM}-$VERSION
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -77,9 +77,9 @@ 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 \
|
||||
-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 {} \;
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -91,9 +91,9 @@ autoreconf -vif
|
|||
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 {} \+
|
||||
|
||||
# Configure:
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -73,9 +73,9 @@ zcat $CWD/reiserfsprogs.glibc228.diff.gz | patch -p1 --backup --suffix=.orig ||
|
|||
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 {} \+
|
||||
|
||||
# Yes, --disable-shared is intentional
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
@ -119,7 +119,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
|||
|
||||
# Compress the man pages
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
find . -type f -exec gzip -9 {} \+
|
||||
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
|
|
|
@ -70,9 +70,9 @@ cd ${PKGNAM}-$VERSION || 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 {} \+
|
||||
|
||||
# Use --bindir=/usr/sbin, as that's where hdparm has always been...
|
||||
|
||||
|
|
|
@ -71,8 +71,8 @@ rm -rf sed-$VERSION
|
|||
tar xvf $CWD/sed-$VERSION.tar.xz || exit 1
|
||||
cd sed-$VERSION
|
||||
chown -R root:root .
|
||||
find . -perm 777 -exec chmod 755 {} \;
|
||||
find . -perm 664 -exec chmod 644 {} \;
|
||||
find . -perm 777 -exec chmod 755 {} \+
|
||||
find . -perm 664 -exec chmod 644 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -85,9 +85,9 @@ zcat $CWD/shadow.login.display.short.hostname.diff.gz | patch -p1 --verbose || e
|
|||
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 {} \+
|
||||
|
||||
if [ ! -r ./configure ]; then
|
||||
./autogen.sh
|
||||
|
@ -116,7 +116,7 @@ mv $PKG/etc/default/useradd $PKG/etc/default/useradd.new
|
|||
|
||||
# /bin/groups is provided by coreutils.
|
||||
rm -f $PKG/bin/groups
|
||||
find $PKG -name groups.1 -exec rm {} \;
|
||||
find $PKG -name groups.1 -exec rm {} \+
|
||||
|
||||
# Install a login.defs with unsurprising defaults:
|
||||
rm -f $PKG/etc/login.defs
|
||||
|
@ -149,7 +149,7 @@ touch $PKG/var/log/faillog.new
|
|||
)
|
||||
|
||||
# Use 4711 rather than 4755 permissions where setuid root is required:
|
||||
find $PKG -type f -perm 4755 -exec chmod 4711 "{}" \;
|
||||
find $PKG -type f -perm 4755 -exec chmod 4711 "{}" \+
|
||||
|
||||
# Compress and if needed symlink the man pages:
|
||||
if [ -d $PKG/usr/man ]; then
|
||||
|
|
|
@ -74,9 +74,9 @@ zcat $CWD/sharutils.glibc228.diff.gz | patch -p1 --verbose || 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 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -62,9 +62,9 @@ cd sysfsutils-$VERSION || 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 {} \+
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
|
|
@ -56,9 +56,9 @@ cd sysklogd-$VERSION
|
|||
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 {} \+
|
||||
|
||||
# Use memmove() instead of strcpy() in syslogd.c
|
||||
zcat $CWD/use_memmove_not_strcpy.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
|
|
@ -60,10 +60,10 @@ zcat $CWD/syslinux.glibc228.diff.gz | patch -p1 --verbose || exit 1
|
|||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 2777 -o -perm 2775 -o -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 {} \;
|
||||
find . -type d -exec chmod u-s,g-s {} \;
|
||||
-exec chmod 644 {} \+
|
||||
find . -type d -exec chmod u-s,g-s {} \+
|
||||
|
||||
# Clean, then build only the installer programs using the supplied assembled
|
||||
# ldlinux.asm:
|
||||
|
|
|
@ -58,9 +58,9 @@ cd sysvinit-$VERSION
|
|||
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 {} \+
|
||||
|
||||
# Fix paths for /etc/forcefsck and /etc/fastboot:
|
||||
zcat $CWD/sysvinit.paths.diff.gz | patch -p1 -E --verbose --backup --suffix=.orig || exit 1
|
||||
|
|
|
@ -107,9 +107,9 @@ cd tar-$VERSION || 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 {} \+
|
||||
|
||||
# The "A lone zero block at %s" messages also cause problems:
|
||||
zcat $CWD/tar.nolonezero.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
@ -147,7 +147,7 @@ mkdir -p $PKG/{etc,sbin}
|
|||
)
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -72,9 +72,9 @@ zcat $CWD/${PKGNAM}.nobuiltincolorls.diff.gz | patch -p1 --verbose || 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 {} \+
|
||||
|
||||
# Configure:
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
@ -101,7 +101,7 @@ mv $PKG/usr/share/man $PKG/usr
|
|||
)
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -81,9 +81,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Configure:
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
@ -112,7 +112,7 @@ cp -a \
|
|||
$PKG/usr/doc/${PKGNAM}-$VERSION
|
||||
|
||||
# Compress manual pages:
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
|
|
@ -72,9 +72,9 @@ cd tree-$VERSION || 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 {} \+
|
||||
|
||||
sed -i "s,CFLAGS=-ggdb,CFLAGS=\$(XCFLAGS) -ggdb,g" Makefile
|
||||
make XCFLAGS="$SLKCFLAGS" $NUMJOBS || make || exit 1
|
||||
|
|
|
@ -86,9 +86,9 @@ cd $PKGNAM-$VERSION || 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/udisks.no.pci-db.diff.gz | patch -p1 --verbose || exit 1
|
||||
zcat $CWD/udisks.glibc228.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
@ -117,7 +117,7 @@ mv $PKG/etc/profile.d/udisks-bash-completion.sh \
|
|||
$PKG/usr/share/bash-completion/completions/udisks
|
||||
rmdir --parents $PKG/etc/profile.d
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
|
||||
|
|
|
@ -87,9 +87,9 @@ cd $SRCNAM-$VERSION || 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 {} \+
|
||||
|
||||
# Temporarily omit LVM2 support since it uses a removed API. We'll upgrade
|
||||
# udisks2 soon (and add newly required deps) to handle this, but since it
|
||||
|
|
|
@ -86,9 +86,9 @@ cd $PKGNAM-$VERSION || 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/patches/upower-pm-utils-0.9.23-fix-segfault.patch.gz | patch -p1 --verbose || exit 1
|
||||
zcat $CWD/patches/linux-Properly-detect-bluetooth-mice-and-keyboards-t.patch.gz | patch -p1 --verbose || exit 1
|
||||
|
@ -128,7 +128,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
|||
# Don't clobber the config file on upgrades
|
||||
mv $PKG/etc/UPower/UPower.conf $PKG/etc/UPower/UPower.conf.new
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
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
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
|
||||
|
|
|
@ -77,9 +77,9 @@ cd $SRCPKGNAM-$VERSION || 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 {} \+
|
||||
|
||||
make clean || exit 1
|
||||
# "make static" uses the embedded "jim" Tcl interpreter
|
||||
|
@ -137,9 +137,9 @@ cd usb-modeswitch-data-${DATAVER} || 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 {} \+
|
||||
make install DESTDIR=$PKG || exit 1
|
||||
mkdir -p $PKG/usr/doc/usb-modeswitch-data-${DATAVER}
|
||||
cat ChangeLog | head -n 1000 > $PKG/usr/doc/usb-modeswitch-data-${DATAVER}/ChangeLog
|
||||
|
|
|
@ -73,9 +73,9 @@ cd usbutils-$VERSION || 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 {} \+
|
||||
|
||||
## Fetch the latest usb.ids:
|
||||
#rm -f usb.ids*
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue