summaryrefslogtreecommitdiff
path: root/network/corkscrew
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2016-12-16 18:06:04 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-17 06:55:51 +0700
commit6379c0fda50fe2d8a97d1afd6dd1913b2e914a45 (patch)
tree9d5120b05b83f30b7497d19e187a5394680f0997 /network/corkscrew
parent00da3b1d25a67905489415a08acf9092f70322c8 (diff)
downloadslackbuilds-6379c0fda50fe2d8a97d1afd6dd1913b2e914a45.tar.gz
network/corkscrew: Switch to i586, fix download.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/corkscrew')
-rw-r--r--network/corkscrew/corkscrew.SlackBuild24
-rw-r--r--network/corkscrew/corkscrew.info2
2 files changed, 12 insertions, 14 deletions
diff --git a/network/corkscrew/corkscrew.SlackBuild b/network/corkscrew/corkscrew.SlackBuild
index 7991117d52..fccad559bf 100644
--- a/network/corkscrew/corkscrew.SlackBuild
+++ b/network/corkscrew/corkscrew.SlackBuild
@@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,10 +40,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="COPYING README"
+DOCS="COPYING README ChangeLog"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -67,10 +67,10 @@ cd $PRGNAM-$VERSION
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 \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,15 +82,13 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-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
# No man pages :-/
# I leave this section for future use (hopefully)
-#( cd $PKG/usr/man
-# find . -type f -exec gzip -9 {} \;
-# for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-#)
+#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/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/network/corkscrew/corkscrew.info b/network/corkscrew/corkscrew.info
index b26df48b64..405af740cb 100644
--- a/network/corkscrew/corkscrew.info
+++ b/network/corkscrew/corkscrew.info
@@ -1,7 +1,7 @@
PRGNAM="corkscrew"
VERSION="2.0"
HOMEPAGE="http://www.agroman.net/corkscrew/"
-DOWNLOAD="http://www.agroman.net/corkscrew/corkscrew-2.0.tar.gz"
+DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/corkscrew/corkscrew-2.0.tar.gz/35df77e7f0e59c0ec4f80313be52c10a/corkscrew-2.0.tar.gz"
MD5SUM="35df77e7f0e59c0ec4f80313be52c10a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""