diff options
author | miwi <miwi@FreeBSD.org> | 2006-12-01 16:10:20 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-12-01 16:10:20 +0800 |
commit | 41f39c76bc8cd0556c839f632c932b11fc133ba1 (patch) | |
tree | cc93fd08c635ef5d4d9c049e153ab4cded306a33 /mail/assp/files | |
parent | 8a32a46bd76c78ca7d42486558a5bd722001de69 (diff) | |
download | freebsd-ports-gnome-41f39c76bc8cd0556c839f632c932b11fc133ba1.tar.gz freebsd-ports-gnome-41f39c76bc8cd0556c839f632c932b11fc133ba1.tar.zst freebsd-ports-gnome-41f39c76bc8cd0556c839f632c932b11fc133ba1.zip |
- Update to 1.2.5.2
PR: ports/106092
Submitted by: "J.R. Oldroyd" <fbsd@opal.com> (maintainer)
Diffstat (limited to 'mail/assp/files')
-rw-r--r-- | mail/assp/files/patch-assp.pl | 31 | ||||
-rw-r--r-- | mail/assp/files/pkg-install.in | 2 |
2 files changed, 21 insertions, 12 deletions
diff --git a/mail/assp/files/patch-assp.pl b/mail/assp/files/patch-assp.pl index d9685c23a202..3a39412c811a 100644 --- a/mail/assp/files/patch-assp.pl +++ b/mail/assp/files/patch-assp.pl @@ -1,24 +1,33 @@ ---- assp.pl.orig Sun Jun 25 15:35:15 2006 -+++ assp.pl Sun Jun 25 15:43:20 2006 -@@ -67,7 +67,7 @@ +--- assp.pl.orig Thu Nov 30 16:33:20 2006 ++++ assp.pl Thu Nov 30 16:34:18 2006 +@@ -69,7 +69,7 @@ loadConfig(); sub loadConfig { - print "loading config -- base='$base'\n"; + # print "loading config -- base='$base'\n"; @Config=( - [0,0,0,'heading','Network Setup'], - # except for the heading lines, all config lines have the following: -@@ -86,7 +86,7 @@ - 'The address:port of your message handling system\'s smtp server. For example: 127.0.0.1:125'], - [AsAService,'As a Service',0,checkbox,0,'(.*)',undef, + + +@@ -91,7 +91,7 @@ + 'The address:port of your message handling system\'s smtp server(s). Secondary servers possible, will try the next if the first doesn\'t respond.<br />If only the port is entered, or the keyword <b>__INBOUND__</b>:<i>port</i> is used, then the connection will be established to the same IP where the connection was received. This is usefull when you have several IPs with different domains/profiles in your MTA.<br /> Examples: "127.0.0.1:125","127.0.0.1:125|127.0.0.5:125", "10.0.1.3", "10.0.1.3:1025", "__INBOUND__:125", "125", etc.'], + [AsAService,'As a Service',0,checkbox,0,'(.*)',undef, 'In Windows 2000 / NT you can run it as a service; requires <a href="http://www.roth.net/perl/Daemon/" rel="external">win32::daemon</a>. Requires start from the service control panel.'], - [AsADaemon,'As a Daemon',0,checkbox,0,'(.*)',undef, + [AsADaemon,'As a Daemon',0,checkbox,1,'(.*)',undef, 'In Linux/BSD/Unix/OSX fork and close file handles, kinda like "perl assp.pl &" but better. Requires restart.'], [myName,'My Name',40,textinput,'ASSP.nospam','(\S+)',undef, 'What the program calls itself in the email "received by" header. Usually ASSP.nospam.'], -@@ -811,7 +811,7 @@ +@@ -666,7 +666,7 @@ + 'SMTP error message to reject attachments.'], + [UseAvClamd,'Use Av Clamd',0,checkbox,1,'(.*)',undef, + 'If activated, the message is checked by Av Clamd, this requires an installed <a href="http://search.cpan.org/~cfaber/File-Scan-ClamAV-1.06/lib/File/Scan/ClamAV.pm" rel="external">File::Scan::ClamAV</a> Perl module. '], +-[AvClamdPort,'Port or file socket for local Av Clamd',20,textinput,'3310','(\S+)',undef, ++[AvClamdPort,'Port or file socket for local Av Clamd',20,textinput,'/var/run/clamav/clamd','(\S+)',undef, + 'A port or socket to connect to. If the socket has been setup as a TCP/IP socket (see the TCPSocket option in the clamav.conf file), then specifying in a number will cause File::Scan::ClamAV to use a TCP socket. For example 3310 or /tmp/clamd '], + [AvClamdBufSize,'Size of buffer for Av Clamd',7,textinput,'512','(\d+)',undef, + 'Buffer size for stream check, must be more than max length of virus signature'], +@@ -839,7 +839,7 @@ '<span class="negative"> 0 = no report, 1 = to user, 2 = to TO address, 3 = both</span>'], [EmailRedlistTo,'To Address for Redlist-Reports',40,textinput,'','(.+)',undef, 'Email sent from ASSP acknowledging your submissions will be sent to this address. For example: admin@domain.com'], @@ -27,7 +36,7 @@ 'Email sent from ASSP acknowledging your submissions will be sent from this address.<br /> Some mailers don\'t like the default setting. For example: ASSP <> or Mail Administrator <mailadmin@mydomain.com> -@@ -913,9 +913,9 @@ +@@ -943,9 +943,9 @@ '], [0,0,0,'heading','Security'], @@ -39,7 +48,7 @@ 'The *nix group to assume after startup: assp or nogroup -- requires ASSP restart.'], [ChangeRoot,'Change Root',40,textinput,'','(.*)',undef, 'Non-blank means to run in chroot jail in *nix. You need an etc/protocols file to make this work<br /> -@@ -7865,6 +7865,7 @@ +@@ -8328,6 +8328,7 @@ @PossibleOptionFiles2=(); foreach (@Config) { if($_->[6] eq 'ConfigMakeRe') { diff --git a/mail/assp/files/pkg-install.in b/mail/assp/files/pkg-install.in index 82c5f2a988b6..517e5f2c2dd9 100644 --- a/mail/assp/files/pkg-install.in +++ b/mail/assp/files/pkg-install.in @@ -2,8 +2,8 @@ if [ "$2" = "POST-INSTALL" ]; then install -d -m 0700 -o %%ASSP_USER%% -g %%ASSP_GROUP%% %%ASSP_HOME%% - ln -s $PKG_PREFIX/lib/assp/*report.txt %%ASSP_HOME%% ln -s $PKG_PREFIX/lib/assp/nodelay.txt %%ASSP_HOME%% ln -s $PKG_PREFIX/lib/assp/redre.txt %%ASSP_HOME%% ln -s $PKG_PREFIX/lib/assp/images %%ASSP_HOME%% + ln -s $PKG_PREFIX/lib/assp/reports %%ASSP_HOME%% fi |