From 6707132eeab1c57c10f11dd5b24ad11e13728c7a Mon Sep 17 00:00:00 2001 From: Zeljko Boros Date: Wed, 19 Jan 2022 14:16:00 +0100 Subject: [PATCH] Patchiranje amavisd-new zbog ripOLE buga --- debian/changelog | 8 ++++++-- debian/postinst | 8 ++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 22ea2c0..9782193 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +amavisd-cn (3:2.11.0+cn10u3) stable; urgency=low + + * Patchiranje /usr/sbin/amavisd-new zbog upozorenja od ripOLE "File is not OLE2 format" + + -- Zeljko Boros Wed, 19 Jan 2022 13:52:28 +0100 + amavisd-cn (3:2.11.0+cn10u2) stable; urgency=low * Maknuta ovisnost o paketu 'zoo', jer je paket izbačen iz Debiana zbog buga @@ -8,8 +14,6 @@ amavisd-cn (3:2.11.0+cn10u2) stable; urgency=low amavisd-cn (3:2.11.0+cn10u1) stable; urgency=low * Prva verzija za buster - * Maknuta ovisnost o paketu zoo, jer je paket izbačen iz Debiana zbog buga - #774453 -- Ivan Rako Tue, 25 Aug 2020 16:35:40 +0200 diff --git a/debian/postinst b/debian/postinst index 4231a3d..6bcb890 100755 --- a/debian/postinst +++ b/debian/postinst @@ -51,6 +51,14 @@ domain=$RET update_postfix $* +# Patchiramo /usr/sbin/amavisd-new zbog warninga: +# (!!)collect_results from (/usr/bin/ripole): exit 102 File <> is not OLE2 format\n + +if ! grep -q '\[0,102\]);' /usr/sbin/amavisd-new; then + sed -i.BAK '33055s/\[0\]/[0,102]/' /usr/sbin/amavisd-new + echo "CN: Patchiram /usr/sbin/amavisd-new" +fi + # amavisd.conf if [ -f "$ACONFOLD" ]; then cp_echo "CN: Amavisd configuration is now in $ACONF." -- 1.7.10.4