From c63ce3e63134e9b9621edfd34c9db5f945c9ce3c Mon Sep 17 00:00:00 2001 From: Gene Carlson Date: Thu, 5 Dec 2024 22:05:54 +0900 Subject: [PATCH] system/sbotools: Updated for version 3.1. --- system/sbotools/README | 3 +++ system/sbotools/doinst.sh | 1 + system/sbotools/sbotools.SlackBuild | 26 ++++++++++++++++++++++---- system/sbotools/sbotools.info | 6 +++--- 4 files changed, 29 insertions(+), 7 deletions(-) diff --git a/system/sbotools/README b/system/sbotools/README index e2f3b7081bb..925c91616a1 100644 --- a/system/sbotools/README +++ b/system/sbotools/README @@ -18,6 +18,9 @@ are compatible, but some of the options are new. It may be convenient to examine the new file for added options and annotation when upgrading from version 2.7. +To blacklist scripts and notify sbotools of optional dependencies, see +/etc/sbotools/sbotools.hints. + Please note that sbotools-3.x is based on an actively-maintained fork of the repository used for versions 1.9 through 2.7. A debt of gratitude is owed to the original author, Jacob Pipkin, longtime maintainer diff --git a/system/sbotools/doinst.sh b/system/sbotools/doinst.sh index 0df078988a6..03e84b9ba6e 100644 --- a/system/sbotools/doinst.sh +++ b/system/sbotools/doinst.sh @@ -12,3 +12,4 @@ config() { } config etc/sbotools/sbotools.conf.new +config etc/sbotools/sbotools.hints.new diff --git a/system/sbotools/sbotools.SlackBuild b/system/sbotools/sbotools.SlackBuild index b3ae18a3440..ec8a7966b20 100644 --- a/system/sbotools/sbotools.SlackBuild +++ b/system/sbotools/sbotools.SlackBuild @@ -3,13 +3,30 @@ # Slackware build script for sbotools # # Written by Jacob Pipkin -# Altered by K. Eugene Carlson -# Licensed under the WTFPL +# Copyright 2024 K. Eugene Carlson +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sbotools -VERSION=${VERSION:-3.0} +VERSION=${VERSION:-3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -73,7 +90,8 @@ for i in $MANS; do done mkdir -p $PKG/etc/sbotools -cp sbotools.conf $PKG/etc/sbotools/sbotools.conf.new +cp etc/sbotools.conf $PKG/etc/sbotools/sbotools.conf.new +cp etc/sbotools.hints $PKG/etc/sbotools/sbotools.hints.new find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz; rm $i ; done diff --git a/system/sbotools/sbotools.info b/system/sbotools/sbotools.info index e2ade14777a..d968776a34b 100644 --- a/system/sbotools/sbotools.info +++ b/system/sbotools/sbotools.info @@ -1,8 +1,8 @@ PRGNAM="sbotools" -VERSION="3.0" +VERSION="3.1" HOMEPAGE="https://pghvlaans.github.io/sbotools/" -DOWNLOAD="https://pghvlaans.github.io/sbotools/downloads/sbotools-3.0.tar.gz" -MD5SUM="11a00ee87396bcd993c3cd1be8299f87" +DOWNLOAD="https://pghvlaans.github.io/sbotools/downloads/sbotools-3.1.tar.gz" +MD5SUM="49222b05184c7e9e0a9d5c53e715e0bd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""