summaryrefslogtreecommitdiffstats
path: root/system/flexbackup/flexbackup.SlackBuild
diff options
context:
space:
mode:
author Klaatu <klaatu@member.fsf.org>2022-03-06 09:20:15 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-06 11:43:33 +0700
commit598e689369880f8d2961cea1122c11e66318d3db (patch)
tree761079fd267fa0ae451d1104aa9063dccf5b5ca9 /system/flexbackup/flexbackup.SlackBuild
parent345373a8061694eeb154247e23504ddf0fbca0a1 (diff)
downloadslackbuilds-598e689369880f8d2961cea1122c11e66318d3db.tar.gz
slackbuilds-598e689369880f8d2961cea1122c11e66318d3db.tar.xz
system/flexbackup: Add patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/flexbackup/flexbackup.SlackBuild')
-rw-r--r--system/flexbackup/flexbackup.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/flexbackup/flexbackup.SlackBuild b/system/flexbackup/flexbackup.SlackBuild
index a3c9aa568b..9ef081cac6 100644
--- a/system/flexbackup/flexbackup.SlackBuild
+++ b/system/flexbackup/flexbackup.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Slackware build script for flexbackup
#
-# Copyright 2013 klaatu at member.fsf.org
+# Copyright 2013-22 klaatu at member.fsf.org
#
# GNU All-Permissive License
# Copying and distribution of this file, with or without modification,
@@ -51,6 +51,10 @@ find -L . \
#sed -i "s%/share/man%/man%" $TMP/$PRGNAM-$VERSION/Makefile
#make install
+# patch to account for ancient version of tar
+# https://packages.debian.org/bullseye/all/flexbackup/download
+patch -p0 < $CWD/flexbackup-debian.patch
+
# mkdir $PKG/etc $PKG/usr/bin/ $PKG/usr/man/man{1,5}
install -m 0644 flexbackup.conf -D $PKG/etc/flexbackup.conf.new
install -m 0755 flexbackup -D $PKG/usr/bin/flexbackup