From 0ba8368d870a8f6e345aac490be37b853133b914 Mon Sep 17 00:00:00 2001 From: Dmitrii Sosedov Date: Sat, 19 Sep 2020 01:08:15 +0700 Subject: development/cf-cli: Updated for version 7.1.0. Signed-off-by: Willy Sudiarto Raharjo --- development/cf-cli/cf-cli.SlackBuild | 9 ++++++--- development/cf-cli/cf-cli.info | 10 +++++----- development/cf-cli/slack-desc | 2 +- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/development/cf-cli/cf-cli.SlackBuild b/development/cf-cli/cf-cli.SlackBuild index 0d1aa78381..322d920f32 100644 --- a/development/cf-cli/cf-cli.SlackBuild +++ b/development/cf-cli/cf-cli.SlackBuild @@ -24,7 +24,7 @@ BIN=cf PRGNAM=$BIN-cli -VERSION=${VERSION:-6.51.0} +VERSION=${VERSION:-7.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,10 +46,11 @@ if [ "$ARCH" = "i486" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" + mv $CWD/${BIN}7-cli\_$VERSION\_linux\_$ARCH.tgz $CWD/$PRGNAM\_$VERSION\_linux\_$ARCH.tgz elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" - mv $CWD/$PRGNAM\_$VERSION\_linux\_x86-64.tgz $CWD/$PRGNAM\_$VERSION\_linux\_$ARCH.tgz + mv $CWD/${BIN}7-cli\_$VERSION\_linux\_x86-64.tgz $CWD/$PRGNAM\_$VERSION\_linux\_$ARCH.tgz else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -71,10 +72,12 @@ 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 {} \; +mv ${BIN}7 $PKG/usr/bin/. mv $BIN $PKG/usr/bin/. find -L $PKG -type d -exec chmod 755 {} \; -chmod 755 $PKG/usr/bin/* +chmod 755 $PKG/usr/bin/${BIN}7 +chmod 755 $PKG/usr/bin/$BIN 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 diff --git a/development/cf-cli/cf-cli.info b/development/cf-cli/cf-cli.info index 1ff01ca6b1..74c32a232c 100644 --- a/development/cf-cli/cf-cli.info +++ b/development/cf-cli/cf-cli.info @@ -1,10 +1,10 @@ PRGNAM="cf-cli" -VERSION="6.51.0" +VERSION="7.1.0" HOMEPAGE="https://docs.cloudfoundry.org/cf-cli" -DOWNLOAD="https://s3-us-west-1.amazonaws.com/cf-cli-releases/releases/v6.51.0/cf-cli_6.51.0_linux_i686.tgz" -MD5SUM="a2b31865510a8b20ffd182de0a298452" -DOWNLOAD_x86_64="https://s3-us-west-1.amazonaws.com/cf-cli-releases/releases/v6.51.0/cf-cli_6.51.0_linux_x86-64.tgz" -MD5SUM_x86_64="2937d7ff330f941b1578766dca1b9c1d" +DOWNLOAD="https://s3-us-west-1.amazonaws.com/v7-cf-cli-releases/releases/v7.1.0/cf7-cli_7.1.0_linux_i686.tgz" +MD5SUM="7a04d791161f6cd5e8565dae64f8ef6c" +DOWNLOAD_x86_64="https://s3-us-west-1.amazonaws.com/v7-cf-cli-releases/releases/v7.1.0/cf7-cli_7.1.0_linux_x86-64.tgz" +MD5SUM_x86_64="05b5a4e37f347556be97444e27ad01ac" REQUIRES="" MAINTAINER="Dmitrii Sosedov" EMAIL="d.sosedov@gmail.com" diff --git a/development/cf-cli/slack-desc b/development/cf-cli/slack-desc index ecee5c4aba..6c3425b673 100644 --- a/development/cf-cli/slack-desc +++ b/development/cf-cli/slack-desc @@ -15,5 +15,5 @@ cf-cli: deploy network apps or services and make them available to the world cf-cli: in a few minutes. cf-cli: cf-cli: Homepage: https://docs.cloudfoundry.org/cf-cli -cf-cli: Release date: Apr 7, 2020 +cf-cli: Release date: Sep 9, 2020 cf-cli: -- cgit v1.2.3