diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/dietlibc/README.SLACKWARE | 6 | ||||
-rw-r--r-- | libraries/dietlibc/dietlibc.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/dietlibc/dietlibc.info | 8 | ||||
-rw-r--r-- | libraries/dietlibc/slack-desc | 10 |
4 files changed, 21 insertions, 19 deletions
diff --git a/libraries/dietlibc/README.SLACKWARE b/libraries/dietlibc/README.SLACKWARE index 83f4c6a72a60d..030a52bfe73bb 100644 --- a/libraries/dietlibc/README.SLACKWARE +++ b/libraries/dietlibc/README.SLACKWARE @@ -1,5 +1,5 @@ You can verify that dietlibc was successfully installed on your system -by entering the following on a bash prompt, f.e.: +by entering the following on a bash prompt (as non-root user), e.g.: printf '#include <unistd.h>\nint main(){write(1,"hello\\n",6);}\n' >_tmp.c diet gcc -O2 -s _tmp.c @@ -10,8 +10,8 @@ you should see "hello" printed on screen "size a.out" entered on prompt should print something like like this: text data bss dec hex filename -679 8 40 727 2d7 a.out +1292 12 72 1376 560 a.out -Please note: You may get strange results on Slackware 13-64 multilib systems, +Please note: You may get strange results on Slackware multilib systems, (like $ARCH being ignored by dietlibc's make itself). Therefore it is recommended to build only on clean (64/32bit) installs. diff --git a/libraries/dietlibc/dietlibc.SlackBuild b/libraries/dietlibc/dietlibc.SlackBuild index cef499b3eeee0..58c90cc2e2307 100644 --- a/libraries/dietlibc/dietlibc.SlackBuild +++ b/libraries/dietlibc/dietlibc.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dietlibc -# Copyright (c) 2010 Markus Reichelt, Aachen, DE +# Copyright (c) 2010-2013 Markus Reichelt, Aachen, DE # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -22,18 +22,16 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. - + PRGNAM=dietlibc -VERSION=${VERSION:-0.32} +VERSION=${VERSION:-0.33} BUILD=${BUILD:-1} 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 @@ -66,7 +64,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +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 {} \; make make install DESTDIR=$PKG @@ -76,7 +78,7 @@ cat $CWD/profile.d/dietlibc.sh > $PKG/etc/profile.d/dietlibc.sh cat $CWD/profile.d/dietlibc.csh > $PKG/etc/profile.d/dietlibc.csh chmod 0755 $PKG/etc/profile.d/* -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 find $PKG/opt/diet/man -type f -exec gzip -9 {} \; diff --git a/libraries/dietlibc/dietlibc.info b/libraries/dietlibc/dietlibc.info index 58259723ab75b..159b180c971ee 100644 --- a/libraries/dietlibc/dietlibc.info +++ b/libraries/dietlibc/dietlibc.info @@ -1,10 +1,10 @@ PRGNAM="dietlibc" -VERSION="0.32" +VERSION="0.33" HOMEPAGE="http://www.fefe.de/dietlibc/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/dietlibc-0.32.tar.bz2" -MD5SUM="0098761c17924c15e21d25acdda4a8b5" +DOWNLOAD="http://www.fefe.de/dietlibc/dietlibc-0.33.tar.bz2" +MD5SUM="9d541b9a6623b04ec12e5248b82db7c0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="markus reichelt" +MAINTAINER="Markus Reichelt" EMAIL="slackbuilds@mareichelt.de" diff --git a/libraries/dietlibc/slack-desc b/libraries/dietlibc/slack-desc index 5550d6b81a0b6..5ae1da211530a 100644 --- a/libraries/dietlibc/slack-desc +++ b/libraries/dietlibc/slack-desc @@ -1,9 +1,9 @@ # HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| dietlibc: diet libc (a libc optimized for small size) |