From 2ac1af0a0d548061aee512100fa52bb49d148c60 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 26 Oct 2018 10:15:46 +0100 Subject: haskell/haskell-HTTP: Updated for version 4000.3.11. Signed-off-by: David Spencer --- haskell/haskell-HTTP/haskell-HTTP.SlackBuild | 21 +++++++++++---------- haskell/haskell-HTTP/haskell-HTTP.info | 14 +++++++------- haskell/haskell-HTTP/slack-desc | 2 +- 3 files changed, 19 insertions(+), 18 deletions(-) (limited to 'haskell') diff --git a/haskell/haskell-HTTP/haskell-HTTP.SlackBuild b/haskell/haskell-HTTP/haskell-HTTP.SlackBuild index 6dfd86ba5b36..57ee47cc0dba 100644 --- a/haskell/haskell-HTTP/haskell-HTTP.SlackBuild +++ b/haskell/haskell-HTTP/haskell-HTTP.SlackBuild @@ -1,8 +1,9 @@ #!/bin/sh -# Slackware build script for HTTP +# Slackware build script for haskell-HTTP # Copyright 2015 Mikko Värri, Finland +# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=haskell-HTTP -VERSION=${VERSION:-4000.3.3} +VERSION=${VERSION:-4000.3.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,7 +34,7 @@ GHC_VERSION=$(ghc --numeric-version) if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +45,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" @@ -68,10 +69,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$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" \ @@ -101,8 +102,8 @@ cp -a CHANGES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/haskell/haskell-HTTP/haskell-HTTP.info b/haskell/haskell-HTTP/haskell-HTTP.info index 718cfb9e5ee9..5937c09981fa 100644 --- a/haskell/haskell-HTTP/haskell-HTTP.info +++ b/haskell/haskell-HTTP/haskell-HTTP.info @@ -1,10 +1,10 @@ PRGNAM="haskell-HTTP" -VERSION="4000.3.3" -HOMEPAGE="http://hackage.haskell.org/package/HTTP" -DOWNLOAD="http://hackage.haskell.org/packages/archive/HTTP/4000.3.3/HTTP-4000.3.3.tar.gz" -MD5SUM="3f2d84d59e36476ca02c882419632d7d" +VERSION="4000.3.11" +HOMEPAGE="https://hackage.haskell.org/package/HTTP" +DOWNLOAD="https://hackage.haskell.org/packages/archive/HTTP/4000.3.11/HTTP-4000.3.11.tar.gz" +MD5SUM="393b74a683fb72136b1ea33bbdf2f981" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="ghc haskell-network haskell-network-uri" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" +REQUIRES="haskell-network haskell-network-uri" +MAINTAINER="David Spencer" +EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-HTTP/slack-desc b/haskell/haskell-HTTP/slack-desc index e20f1ca023e6..ef89a4de9f5b 100644 --- a/haskell/haskell-HTTP/slack-desc +++ b/haskell/haskell-HTTP/slack-desc @@ -13,7 +13,7 @@ haskell-HTTP: It lets you set up HTTP connections, transmitting requests and haskell-HTTP: processing the responses coming back, all from within the comforts haskell-HTTP: of Haskell. haskell-HTTP: -haskell-HTTP: http://hackage.haskell.org/package/HTTP +haskell-HTTP: https://hackage.haskell.org/package/HTTP haskell-HTTP: haskell-HTTP: haskell-HTTP: -- cgit v1.2.3