Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37769631
en ru br
Репозитории ALT
S:1.2.5-alt2
5.1: 1.2.0-alt1
4.1: 1.1.5-alt1
4.0: 1.1.3-alt1
3.0: 0.95.2-alt1
www.altlinux.org/Changes

Другие репозитории
Upstream:1.1.6

Группа :: Сети/Почта
Пакет: bogofilter

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 0002-DEBIAN-Make-bf_tar-use-tar-instead-of-pax-to-drop-de.patch
Скачать


From e28afcbe91c60169adac93852d425d36f781180b Mon Sep 17 00:00:00 2001
From: Serafeim Zanikolas <serzan@hellug.gr>
Date: Mon, 3 Apr 2023 21:28:25 +0300
Subject: DEBIAN: Make bf_tar use tar instead of pax to drop dependency
---
 bogofilter/src/bf_tar.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/bogofilter/src/bf_tar.in b/bogofilter/src/bf_tar.in
index 775c20a..cf70ec6 100755
--- a/bogofilter/src/bf_tar.in
+++ b/bogofilter/src/bf_tar.in
@@ -59,12 +59,13 @@ fi
 # that state will not be recoverable!
 #
 # pax options: -w: write archive, -v: verbosely, -x ustar: pick tar format.
-(
+files=$(
   c="${BOGOHOME}/DB_CONFIG"
   if [ -f "$c" ] ; then echo "$c" ; fi
   $BOGOFILTER -QQ -d "$BOGOHOME" | grep '^wordlist ' | cut -f3 -d,
   $BOGOUTIL --db-list-logfiles="$BOGOHOME" all
-) | pax -w -v -x ustar
+)
+tar --create --to-stdout --verbose --format=ustar $files
 
 # remove if requested
 if [ $REMOVEAFT -eq 1 ] ; then nukelogs ; fi
-- 
2.25.4
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin