Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a97e741aa77851c336afde1a9b415f348a8655b9

commit a97e741aa77851c336afde1a9b415f348a8655b9
Author: Miklos Vajna <[email protected]>
Date:   Thu Nov 15 21:58:52 2012 +0100

amavisd-new-2.7.2-3-x86_64

- drop obsolete amavisconf
- don't refer to dead unarj

diff --git a/source/network-extra/amavisd-new/20-userconf 
b/source/network-extra/amavisd-new/20-userconf
index 715db4f..3d953ff 100644
--- a/source/network-extra/amavisd-new/20-userconf
+++ b/source/network-extra/amavisd-new/20-userconf
@@ -1480,7 +1480,6 @@ $dspam  = 'dspam';
# ['a',    \&do_ar,          'ar'],  # unpacking .a seems an overkill
['zip',  \&do_unzip],
['rar',  \&do_unrar,      ['rar','unrar'] ],
-  ['arj',  \&do_unarj,      ['arj','unarj'] ],
['arc',  \&do_arc,        ['nomarch','arc'] ],
['zoo',  \&do_zoo,         'zoo'],
['lha',  \&do_lha,         'lha'],
@@ -1488,7 +1487,7 @@ $dspam  = 'dspam';
['cab',  \&do_cabextract,  'cabextract'],
['tnef', \&do_tnef_ext,    'tnef'],
['tnef', \&do_tnef],
-  ['exe',  \&do_executable, ['rar','unrar'], 'lha', ['arj','unarj'] ],
+  ['exe',  \&do_executable, ['rar','unrar'], 'lha' ],
);


diff --git a/source/network-extra/amavisd-new/FrugalBuild 
b/source/network-extra/amavisd-new/FrugalBuild
index 61dfe43..d2afefe 100644
--- a/source/network-extra/amavisd-new/FrugalBuild
+++ b/source/network-extra/amavisd-new/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=amavisd-new
pkgver=2.7.2
-pkgrel=2
+pkgrel=3
pkgdesc="Amavisd-new is a high-performance interface between mailer (MTA) and 
content checkers"
url="http://www.ijs.si/software/amavisd/";
depends=('perl-archive-zip' 'perl-berkeleydb' 'perl-convert-tnef'\
@@ -16,14 +16,13 @@ groups=('network-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump $url |grep -A 2 'Most recent versions'|grep 'amavis' |sed 
's/.*amavisd-new-\(.*\)\.tar.*/\1/;q'"
source=($url/amavisd-new-$pkgver.tar.gz 10-amavisconf 20-userconf \
-       amavisd-new.service amavisd-wrapper amavisconf \
+       amavisd-new.service amavisd-wrapper \
README.Frugalware)
sha1sums=('560096c85babb3b01ecb1d08090a28b67c857044' \
'648421546adab952f6ace5834c269f8a80256b84' \
-          'b6a010cab23334eb81371d69c0e4e3cb5eae8549' \
+          'add9816aa6d42e38f05d5d38f5cbc0d9a1a2551c' \
'1cb9096a105e4c175a0add19b3746d149ee5efea' \
'91105ae03fbb42b266c5e0b286db92d8c03ea0b5' \
-          '1ce2638dd70dbdc3262e6233c1b081d1d6962c96' \
'3a89c9bc33ef4d9b7c91dfc42cd7b82634f46805')
_F_systemd_scriptlet="$pkgname.install"
_F_sysvinit_units=($pkgname)
@@ -52,11 +51,6 @@ build() {
Ffile etc/amavis/10-amavisconf
Ffile etc/amavis/20-userconf

-       # config tool
-       Fexe /var/lib/frugalware/system/amavisconf
-       Ffile ../messages/amavisconf.* /var/lib/frugalware/messages/
-       Fmkdir /usr/sbin
-       Fln ../../var/lib/frugalware/system/amavisconf /usr/sbin/amavisconf
Frm /var/lock
Fdirschown /var/lib/amavis 40 40
Fmkdir /etc/tmpfiles.d
diff --git a/source/network-extra/amavisd-new/amavisconf 
b/source/network-extra/amavisd-new/amavisconf
deleted file mode 100644
index 4005571..0000000
--- a/source/network-extra/amavisd-new/amavisconf
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-. /var/lib/frugalware/messages/rc.messages
-
-AMAVISCONF_FILE="/etc/amavis/10-amavisconf"
-
-conf_master()
-{
-    domaintmp=`mktemp /tmp/tmp.XXXXXX`
-    hostnametmp=`mktemp /tmp/tmp.XXXXXX`
-    dialog --backtitle "$amavisconf" --title "$domain" --inputbox "$domaind" 0 
0 `/bin/dnsdomainname` 2>$domaintmp|| ext
-    dialog --backtitle "$amavisconf" --title "$hostname" --inputbox 
"$hostnamed" 0 0 `cat $domaintmp` 2>$hostnametmp|| ext
-    echo "\$mydomain='"`cat $domaintmp`"';" > $AMAVISCONF_FILE
-    echo "\$myhostname='"`cat $hostnametmp`"';" >> $AMAVISCONF_FILE
-    echo "@local_domains_maps = ( [\".\$mydomain\"] );" >> $AMAVISCONF_FILE
-    rm $domaintmp
-    rm $hostnametmp
-}
-
-conf_startup()
-{
-    starttmp=`mktemp /tmp/tmp.XXXXXX`
-    dialog --backtitle "$amavisconf" --default-item "$yes" --title 
"$startupmenu" --menu "$startupdesc" 0 0 0 \
-    "$yes" "" \
-    "$no" "" \
-    2>$starttmp
-    if [ `cat $starttmp` = $yes ]; then
-       systemctl enable amavisd-new.service
-       systemctl start amavisd-new.service
-    else
-       systemctl disable amavisd-new.service
-    fi
-    rm $starttmp
-}
-
-ext() # wrapper script
-{
-        dialog --backtitle "$netbacktitle" --msgbox "$extd" 0 0
-        exit 1
-}
-
-conf_master
-conf_startup
diff --git a/source/network-extra/amavisd-new/messages/amavisconf.en 
b/source/network-extra/amavisd-new/messages/amavisconf.en
deleted file mode 100644
index 129b411..0000000
--- a/source/network-extra/amavisd-new/messages/amavisconf.en
+++ /dev/null
@@ -1,13 +0,0 @@
-amavisconf="Amavis filter configuration"
-hostname="Hostname (FQDN)"
-hostnamed="Your fully qualified domain name. (sa.: server1.example.com)"
-domain="Domain name"
-domaind="Your domain name. (sa.: example.com)"
-
-startupmenu="Startup"
-startupdesc="Start amavisd at boot time?"
-
-yes="Yes"
-no="No"
-
-extd="Settings discarded.  Run the 'amavisconf' command again if you need to 
reconfigure your amavisd basic settings."
\ No newline at end of file
diff --git a/source/network-extra/amavisd-new/messages/amavisconf.hu 
b/source/network-extra/amavisd-new/messages/amavisconf.hu
deleted file mode 100644
index 35d929d..0000000
--- a/source/network-extra/amavisd-new/messages/amavisconf.hu
+++ /dev/null
@@ -1,13 +0,0 @@
-amavisconf="Amavis filter konfiguráció"
-hostname="Gépnév (FQDN)"
-hostnamed="A gép teljes host neve. (pl. szerver1.pelda.hu)"
-domain="Domainnév"
-domaind="A domainnév amit a rendszer címzéshez, illetve egyéb beállításokhoz 
használ. (pl. pelda.hu)"
-
-startupmenu="Automatikus indítás"
-startupdesc="Szeretné hogy az amavisd automatikusan elinduljon a gép 
indulásakor?"
-
-yes="Igen"
-no="Nem"
-
-extd="A beállításokat elvetette, amennyiben be szeretné állitani az amavisd-t 
indítsa újra az amavisconf-ot."
\ No newline at end of file
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to