diff options
Diffstat (limited to 'network/rhapsody/rhapsody.SlackBuild')
-rw-r--r-- | network/rhapsody/rhapsody.SlackBuild | 15 |
1 files changed, 11 insertions, 4 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, |