diff options
Diffstat (limited to 'network/ssllabs-scan/ssllabs-scan.SlackBuild')
-rw-r--r-- | network/ssllabs-scan/ssllabs-scan.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/network/ssllabs-scan/ssllabs-scan.SlackBuild b/network/ssllabs-scan/ssllabs-scan.SlackBuild index 8c3c086417186..ce4ef7419d052 100644 --- a/network/ssllabs-scan/ssllabs-scan.SlackBuild +++ b/network/ssllabs-scan/ssllabs-scan.SlackBuild @@ -24,13 +24,12 @@ PRGNAM=ssllabs-scan VERSION=${VERSION:-1.3.0} -GOVER=1.6.2 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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 @@ -41,8 +40,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" @@ -70,7 +69,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -GOROOT=/usr/lib${LIBDIRSUFFIX}/go${GOVER}/go make +make mkdir -p $PKG/usr/bin cp ssllabs-scan $PKG/usr/bin |