summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fritz <fritz.kent@gmail.com>2016-11-24 21:36:14 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-26 11:47:24 +0700
commit5edd9a424922da98b2cc98c23c5ddc1d68a299d1 (patch)
tree233bb3aaacac2c114e9e4756eeff542b0a1a0124
parent421864d2280c56ea18560c0c78434ccb0f416329 (diff)
downloadslackbuilds-5edd9a424922da98b2cc98c23c5ddc1d68a299d1.tar.gz
libraries/c-ares: Updated for version 1.12.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--libraries/c-ares/c-ares.SlackBuild9
-rw-r--r--libraries/c-ares/c-ares.info8
-rw-r--r--libraries/c-ares/slack-desc2
3 files changed, 9 insertions, 10 deletions
diff --git a/libraries/c-ares/c-ares.SlackBuild b/libraries/c-ares/c-ares.SlackBuild
index 4e69752b2c..9a634e9d02 100644
--- a/libraries/c-ares/c-ares.SlackBuild
+++ b/libraries/c-ares/c-ares.SlackBuild
@@ -6,13 +6,13 @@
# Currently Maintained by Kent Fritz <fritz.kent@gmail.com>
PRGNAM=c-ares
-VERSION=${VERSION:-1.11.0}
+VERSION=${VERSION:-1.12.0}
BUILD=${BUILD:-1}
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
@@ -23,8 +23,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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"
@@ -71,7 +71,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
-
cat ares.h | head -15 | tail -14 | sed -e 's|^.\*.||' -e 's| \*||' > LICENSE
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CHANGES LICENSE NEWS README.md RELEASE-NOTES TODO $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/c-ares/c-ares.info b/libraries/c-ares/c-ares.info
index 0b07bf0a71..55e13aae2a 100644
--- a/libraries/c-ares/c-ares.info
+++ b/libraries/c-ares/c-ares.info
@@ -1,8 +1,8 @@
PRGNAM="c-ares"
-VERSION="1.11.0"
-HOMEPAGE="http://c-ares.haxx.se/"
-DOWNLOAD="http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz"
-MD5SUM="d5c6d522cfc54bb6f215a0b7912d46be"
+VERSION="1.12.0"
+HOMEPAGE="https://c-ares.haxx.se/"
+DOWNLOAD="https://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz"
+MD5SUM="2ca44be1715cd2c5666a165d35788424"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/c-ares/slack-desc b/libraries/c-ares/slack-desc
index c8f783b138..4a25e59c02 100644
--- a/libraries/c-ares/slack-desc
+++ b/libraries/c-ares/slack-desc
@@ -12,7 +12,7 @@ c-ares: c-ares is a C library that performs DNS requests and name resolves
c-ares: asynchronously. c-ares is a fork of the original library named 'ares',
c-ares: written by Greg Hudson at MIT.
c-ares:
-c-ares: Homepage: http://c-ares.haxx.se/
+c-ares: Homepage: https://c-ares.haxx.se/
c-ares:
c-ares:
c-ares: