From 89e42ea19bca2b72f5801afc60a131b9d3aa140f Mon Sep 17 00:00:00 2001 From: Muhammad Mahendra Subrata Date: Fri, 10 Apr 2020 00:53:48 +0700 Subject: libraries/skalibs: Updated for version 2.9.2.1. Signed-off-by: Willy Sudiarto Raharjo --- libraries/skalibs/README | 6 ++++++ libraries/skalibs/skalibs.SlackBuild | 9 ++++++++- libraries/skalibs/skalibs.info | 6 +++--- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/libraries/skalibs/README b/libraries/skalibs/README index c601481353..b8dedd2f85 100644 --- a/libraries/skalibs/README +++ b/libraries/skalibs/README @@ -30,3 +30,9 @@ libraries and not the static ones, you can do something like If you just want to build and use skarnet.org softwares, building only the static libraries should be sufficient. + +Also, skalibs has a default executable search path that will be used by +skarnet.org softwares if the PATH environment variable is undefined. The +upstream default is "/usr/bin:/bin" but the script by default will use +"/usr/bin:/usr/sbin:/bin:/sbin" instead. Pass DEF_PATH=some:path:list +to the script if you want to change it to something else. diff --git a/libraries/skalibs/skalibs.SlackBuild b/libraries/skalibs/skalibs.SlackBuild index 125d6212fc..93a7e794ea 100644 --- a/libraries/skalibs/skalibs.SlackBuild +++ b/libraries/skalibs/skalibs.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=skalibs -VERSION=${VERSION:-2.9.2.0} +VERSION=${VERSION:-2.9.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,12 @@ if [ "$BUILD_SHARED" = "no" ]; then LIBS_CONF="--disable-shared $LIBS_CONF" fi +# skalibs has a default executable search path that will be used by skarnet.org softwares +# if the PATH environment variable is undefined. The upstream default is /usr/bin:/bin but +# we will use /usr/bin:/usr/sbin:/bin:/sbin here instead. You can pass DEF_PATH=some:path:list +# to this script if you want to change it to something else. +DEF_PATH=${DEF_PATH:-/usr/bin:/usr/sbin:/bin:/sbin} + set -e rm -rf $PKG @@ -92,6 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \ --includedir=/usr/include \ --sysdepdir=/usr/lib${LIBDIRSUFFIX}/skalibs/sysdeps \ --datadir=/etc \ + --with-default-path=${DEF_PATH} \ $LIBS_CONF make diff --git a/libraries/skalibs/skalibs.info b/libraries/skalibs/skalibs.info index bae29cfa67..14f4aa7b03 100644 --- a/libraries/skalibs/skalibs.info +++ b/libraries/skalibs/skalibs.info @@ -1,8 +1,8 @@ PRGNAM="skalibs" -VERSION="2.9.2.0" +VERSION="2.9.2.1" HOMEPAGE="https://skarnet.org/software/skalibs/" -DOWNLOAD="https://skarnet.org/software/skalibs/skalibs-2.9.2.0.tar.gz" -MD5SUM="1c2aabd584412ce17e43860a7776053a" +DOWNLOAD="https://skarnet.org/software/skalibs/skalibs-2.9.2.1.tar.gz" +MD5SUM="da4c3f1adcd8a204ae9c5fcff4ce4a9a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3