summaryrefslogtreecommitdiff
path: root/network/yadifa
diff options
context:
space:
mode:
authorSergei Fedosoff <eleksir@gmail.com>2020-11-07 08:41:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-07 08:41:46 +0700
commit0f0341de671de14286925ee764c477ff0f5a3526 (patch)
tree07c22bcbf57960a0280a9e919e10778a3a6595fa /network/yadifa
parent5cf47f8b42c119058d1ffbd2cfd2a8b33937ba39 (diff)
downloadslackbuilds-0f0341de671de14286925ee764c477ff0f5a3526.tar.gz
network/yadifa: Updated for version 2.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/yadifa')
-rw-r--r--network/yadifa/yadifa.SlackBuild6
-rw-r--r--network/yadifa/yadifa.info8
2 files changed, 8 insertions, 6 deletions
diff --git a/network/yadifa/yadifa.SlackBuild b/network/yadifa/yadifa.SlackBuild
index 483f9709d4..717dea1e5e 100644
--- a/network/yadifa/yadifa.SlackBuild
+++ b/network/yadifa/yadifa.SlackBuild
@@ -23,11 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yadifa
-VERSION=${VERSION:-2.3.9_8497}
+VERSION=${VERSION:-2.4.0}
+VSUFFIX=${VSUFFIX:-9809}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION=$(echo $VERSION | tr _ -)
+SRCVERSION=$(echo $VERSION-$VSUFFIX | tr _ -)
if ! grep -q "^yadifa:" /etc/group; then
echo "$0: Error: $PRGNAM group (yadifa) doesn't exist."
@@ -116,6 +117,7 @@ make install DESTDIR=$PKG
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
+find $PKG/usr/man -type f -exec gzip -9 {} \+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
install --mode=644 $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/network/yadifa/yadifa.info b/network/yadifa/yadifa.info
index 123e39a495..a160056cfe 100644
--- a/network/yadifa/yadifa.info
+++ b/network/yadifa/yadifa.info
@@ -1,8 +1,8 @@
PRGNAM="yadifa"
-VERSION="2.3.9_8497"
-HOMEPAGE="https://www.yadifa.eu/home"
-DOWNLOAD="https://cdn.yadifa.eu/sites/default/files/releases/yadifa-2.3.9-8497.tar.gz"
-MD5SUM="cde0cccb6bb56e4d3afdacc0591e38f7"
+VERSION="2.4.0"
+HOMEPAGE="https://www.yadifa.eu"
+DOWNLOAD="https://www.yadifa.eu/sites/default/files/releases/yadifa-2.4.0-9809.tar.gz"
+MD5SUM="af12001a6169533bc546aa7bfdac9c29"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""