From 0c0185487fe4f2c943606b9a9eec7fcc9a2ba80e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 3 Jan 2023 21:58:29 -0500 Subject: network/rhapsody: Fix homepage and doc dir. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- network/rhapsody/rhapsody.SlackBuild | 15 +++++++++++---- network/rhapsody/rhapsody.info | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/network/rhapsody/rhapsody.SlackBuild b/network/rhapsody/rhapsody.SlackBuild index 8c034dd4eb6d1..f23ad5dce9cbf 100644 --- a/network/rhapsody/rhapsody.SlackBuild +++ b/network/rhapsody/rhapsody.SlackBuild @@ -6,6 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230103 bkw: BUILD=3 +# - use https URL for homepage in info file. +# - remove useless INSTALL from doc dir. + # 20210923 bkw: fix build on -current, mitigate buffer overflow. # TODO: see if there's anything to these: @@ -22,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rhapsody VERSION=${VERSION:-0.28b} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -70,6 +74,8 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION + # This patch does: # - prevent input buffer overflow if user types/pastes > 1023 chars # into the input window. @@ -81,10 +87,11 @@ make LOCALFLAGS="$SLKCFLAGS -fcommon" strip $PRGNAM make install \ INSTALLPATH=$PKG/usr/bin \ - INSTDOCSPATH=$PKG/usr/doc/$PRGNAM-$VERSION + INSTDOCSPATH=$PKGDOC -cp README $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cp README $PKGDOC +rm -f $PKGDOC/INSTALL +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild # Man page borrowed from Ubuntu and modified a bit. # rhapsody doesn't really need a man page, diff --git a/network/rhapsody/rhapsody.info b/network/rhapsody/rhapsody.info index dc86708113917..ad0deab6f93e1 100644 --- a/network/rhapsody/rhapsody.info +++ b/network/rhapsody/rhapsody.info @@ -1,6 +1,6 @@ PRGNAM="rhapsody" VERSION="0.28b" -HOMEPAGE="http://rhapsody.sourceforge.net/" +HOMEPAGE="https://rhapsody.sourceforge.net/" DOWNLOAD="https://downloads.sourceforge.net/rhapsody/rhapsody_0.28b.tgz" MD5SUM="0792de636a2625a826491e387fcb1305" DOWNLOAD_x86_64="" -- cgit v1.2.3