summaryrefslogtreecommitdiffstats
path: root/system/augeas
diff options
context:
space:
mode:
Diffstat (limited to 'system/augeas')
-rw-r--r--system/augeas/README6
-rw-r--r--system/augeas/augeas.SlackBuild30
-rw-r--r--system/augeas/augeas.info6
3 files changed, 27 insertions, 15 deletions
diff --git a/system/augeas/README b/system/augeas/README
index 986c5d5128..2214f24be4 100644
--- a/system/augeas/README
+++ b/system/augeas/README
@@ -1,6 +1,6 @@
-Augeas is a library and command line tool that focuses on the most basic
-problem in handling Linux configurations programmatically: editing actual
-configuration files in a controlled manner.
+Augeas is a library and command line tool that focuses on the most
+basic problem in handling Linux configurations programmatically:
+editing actual configuration files in a controlled manner.
To that end, Augeas exposes a tree of all configuration settings (well,
all the ones it knows about) and a simple local API for manipulating the
diff --git a/system/augeas/augeas.SlackBuild b/system/augeas/augeas.SlackBuild
index c738fdc115..8ccb7f3e51 100644
--- a/system/augeas/augeas.SlackBuild
+++ b/system/augeas/augeas.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for augeas
-# Copyright 2015 Nikos Giotis <nikos.giotis@gmail.com>
+# Copyright 2015-2023, Nikos Giotis, Athens, GR
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,26 +23,36 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=augeas
-VERSION=${VERSION:-1.4.0}
+VERSION=${VERSION:-1.14.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -85,6 +95,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -92,11 +104,11 @@ 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog HACKING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog HACKING.md NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/augeas/augeas.info b/system/augeas/augeas.info
index 03fe904222..86955be840 100644
--- a/system/augeas/augeas.info
+++ b/system/augeas/augeas.info
@@ -1,8 +1,8 @@
PRGNAM="augeas"
-VERSION="1.4.0"
+VERSION="1.14.1"
HOMEPAGE="http://augeas.net/"
-DOWNLOAD="http://download.augeas.net/augeas-1.4.0.tar.gz"
-MD5SUM="a2536a9c3d744dc09d234228fe4b0c93"
+DOWNLOAD="https://github.com/hercules-team/augeas/releases/download/release-1.14.1/augeas-1.14.1.tar.gz"
+MD5SUM="ac31216268b4b64809afd3a25f2515e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""