From cb38f8ade927d8a1ef9214479a2a94ba72f9c412 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 18 Mar 2022 11:48:08 -0400 Subject: system/ksh-openbsd: Use correct github URL. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- system/ksh-openbsd/ksh-openbsd.SlackBuild | 16 ++++++---------- system/ksh-openbsd/ksh-openbsd.info | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) (limited to 'system/ksh-openbsd') diff --git a/system/ksh-openbsd/ksh-openbsd.SlackBuild b/system/ksh-openbsd/ksh-openbsd.SlackBuild index db0480949b..14ff80f834 100644 --- a/system/ksh-openbsd/ksh-openbsd.SlackBuild +++ b/system/ksh-openbsd/ksh-openbsd.SlackBuild @@ -43,9 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -75,24 +72,23 @@ rm -Rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -Rf $PRGNAM-$VERSION -[ -e $CWD/$VERSION.tar.gz ] && tar xvf $CWD/$VERSION.tar.gz -[ -e $CWD/$PRGNAM-$VERSION.tar.gz ] && tar xf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS $(getconf LFS_CFLAGS)" make make check make install DESTDIR=$PKG if [ -n "${PDKSH_BINNAME}" ];then - mv $PKG/bin/pdksh $PKG/bin/"${PDKSH_BINNAME}" - mv $PKG/usr/man/man1/pdksh.1 $PKG/usr/man/man1/"${PDKSH_BINNAME}".1 - mv $PKG/usr/man/man1/pdksh-sh.1 $PKG/usr/man/man1/"${PDKSH_BINNAME}"-sh.1 + mv $PKG/bin/pdksh $PKG/bin/"${PDKSH_BINNAME}" + mv $PKG/usr/man/man1/pdksh.1 $PKG/usr/man/man1/"${PDKSH_BINNAME}".1 + mv $PKG/usr/man/man1/pdksh-sh.1 $PKG/usr/man/man1/"${PDKSH_BINNAME}"-sh.1 fi BINNAME=${PDKSH_BINNAME:-pdksh} diff --git a/system/ksh-openbsd/ksh-openbsd.info b/system/ksh-openbsd/ksh-openbsd.info index 0430f276b5..13f3ae15ae 100644 --- a/system/ksh-openbsd/ksh-openbsd.info +++ b/system/ksh-openbsd/ksh-openbsd.info @@ -1,7 +1,7 @@ PRGNAM="ksh-openbsd" VERSION="20190804" HOMEPAGE="https://github.com/levaidaniel/ksh-openbsd" -DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/20190804.tar.gz" +DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/ksh-openbsd-20190804.tar.gz" MD5SUM="e9f4502ecfa0bc61618ecfd819d1b9f0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3-65-gdbad