ports/63838: Update serurity/drweb-sendmail to 4.31
Dima Panov
redfox at Fluffy.Khv.RU
Sat Mar 6 14:00:40 UTC 2004
>Number: 63838
>Category: ports
>Synopsis: Update serurity/drweb-sendmail to 4.31
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 06 06:00:39 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Dima Panov
>Release: FreeBSD 4.9-STABLE i386
>Organization:
Twilight Zone
>Environment:
System: FreeBSD Fluffy.Khv.RU 4.9-STABLE FreeBSD 4.9-STABLE #0: Sun Feb 29 10:53:30 VLAT 2004 root at Fluffy.Khv.RU:/usr/obj/usr/src4/sys/FLUFFY i386
>Description:
Update security/drweb-sendmail to 4.31, which corresponds to
current drweb release.
Add pure english templates to install base.
Correct pkg-list.
>How-To-Repeat:
>Fix:
Index: security/drweb-sendmail/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/drweb-sendmail/Makefile,v
retrieving revision 1.61
diff -u -r1.61 Makefile
--- security/drweb-sendmail/Makefile 31 Jul 2003 17:55:04 -0000 1.61
+++ security/drweb-sendmail/Makefile 6 Mar 2004 13:19:41 -0000
@@ -6,16 +6,16 @@
#
PORTNAME= drweb_sendmail
-PORTVERSION= 4.29.12f
+PORTVERSION= 4.31
CATEGORIES= security mail
MASTER_SITES= ftp://ftp.drweb.ru/pub/unix/
-DISTNAME= drweb-clients-4.29.12-F-sources
+DISTNAME= drweb-clients-4.31-sources
MAINTAINER= anton at chelcom.ru
COMMENT= Sendmail message filter for virus processing through DrWeb daemon
BUILD_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2
-RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/drweb-0.sh:${PORTSDIR}/security/drwebd
+RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/00drwebd.sh:${PORTSDIR}/security/drweb
WRKSRC= ${WRKDIR}/${DISTNAME}
@@ -40,7 +40,7 @@
RANDOM_NUMBER!=dd if=/dev/random count=1 2> /dev/null | /sbin/md5
.endif
-LANGS=en-ru en-pl
+LANGS=en en-ru en-pl
CONFS=drweb_smf users viruses addresses
TMPLS=error-admin error-sender archive-admin archive-sender skip-sender \
virus-admin virus-rcpts virus-sender rule-admin
Index: security/drweb-sendmail/distinfo
===================================================================
RCS file: /home/ncvs/ports/security/drweb-sendmail/distinfo,v
retrieving revision 1.19
diff -u -r1.19 distinfo
--- security/drweb-sendmail/distinfo 31 Jul 2003 17:55:05 -0000 1.19
+++ security/drweb-sendmail/distinfo 6 Mar 2004 13:03:14 -0000
@@ -1 +1,2 @@
-MD5 (drweb-clients-4.29.12-F-sources.tar.gz) = 5736324a8aa3053f4848ec25783bd494
+MD5 (drweb-clients-4.31-sources.tar.gz) = 7215ff50a75d088eab210bcdb257effe
+SIZE (drweb-clients-4.31-sources.tar.gz) = 537926
Index: security/drweb-sendmail/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/drweb-sendmail/pkg-plist,v
retrieving revision 1.14
diff -u -r1.14 pkg-plist
--- security/drweb-sendmail/pkg-plist 1 Jul 2003 06:51:41 -0000 1.14
+++ security/drweb-sendmail/pkg-plist 6 Mar 2004 13:24:37 -0000
@@ -5,6 +5,33 @@
@unexec if [ -f %D/etc/drweb/drweb_smf.conf ] && cmp -s %D/etc/drweb/drweb_smf.conf %D/etc/drweb/drweb_smf.conf-dist; then rm -f %D/etc/drweb/drweb_smf.conf; fi
etc/drweb/drweb_smf.conf-dist
@exec [ -f %B/drweb_smf.conf ] || cp %B/%f %B/drweb_smf.conf
+ at unexec if [ -f %D/etc/drweb/templates/en/sendmail/error-admin.msg ] && cmp -s %D/etc/drweb/templates/en/sendmail/error-admin.msg %D/etc/drweb/templates/en/sendmail/error-admin.msg-dist; then rm -f %D/etc/drweb/templates/en/sendmail/error-admin.msg; fi
+etc/drweb/templates/en/sendmail/error-admin.msg-dist
+ at exec [ -f %B/error-admin.msg ] || cp %B/%f %B/error-admin.msg
+ at unexec if [ -f %D/etc/drweb/templates/en/sendmail/rule-admin.msg ] && cmp -s %D/etc/drweb/templates/en/sendmail/rule-admin.msg %D/etc/drweb/templates/en/sendmail/rule-admin.msg-dist; then rm -f %D/etc/drweb/templates/en/sendmail/rule-admin.msg; fi
+etc/drweb/templates/en/sendmail/rule-admin.msg-dist
+ at exec [ -f %B/rule-admin.msg ] || cp %B/%f %B/rule-admin.msg
+ at unexec if [ -f %D/etc/drweb/templates/en/sendmail/error-sender.msg ] && cmp -s %D/etc/drweb/templates/en/sendmail/error-sender.msg %D/etc/drweb/templates/en/sendmail/error-sender.msg-dist; then rm -f %D/etc/drweb/templates/en/sendmail/error-sender.msg; fi
+etc/drweb/templates/en/sendmail/error-sender.msg-dist
+ at exec [ -f %B/error-sender.msg ] || cp %B/%f %B/error-sender.msg
+ at unexec if [ -f %D/etc/drweb/templates/en/sendmail/archive-admin.msg ] && cmp -s %D/etc/drweb/templates/en/sendmail/archive-admin.msg %D/etc/drweb/templates/en/sendmail/archive-admin.msg-dist; then rm -f %D/etc/drweb/templates/en/sendmail/archive-admin.msg; fi
+etc/drweb/templates/en/sendmail/archive-admin.msg-dist
+ at exec [ -f %B/archive-admin.msg ] || cp %B/%f %B/archive-admin.msg
+ at unexec if [ -f %D/etc/drweb/templates/en/sendmail/archive-sender.msg ] && cmp -s %D/etc/drweb/templates/en/sendmail/archive-sender.msg %D/etc/drweb/templates/en/sendmail/archive-sender.msg-dist; then rm -f %D/etc/drweb/templates/en/sendmail/archive-sender.msg; fi
+etc/drweb/templates/en/sendmail/archive-sender.msg-dist
+ at exec [ -f %B/archive-sender.msg ] || cp %B/%f %B/archive-sender.msg
+ at unexec if [ -f %D/etc/drweb/templates/en/sendmail/skip-sender.msg ] && cmp -s %D/etc/drweb/templates/en/sendmail/skip-sender.msg %D/etc/drweb/templates/en/sendmail/skip-sender.msg-dist; then rm -f %D/etc/drweb/templates/en/sendmail/skip-sender.msg; fi
+etc/drweb/templates/en/sendmail/skip-sender.msg-dist
+ at exec [ -f %B/skip-sender.msg ] || cp %B/%f %B/skip-sender.msg
+ at unexec if [ -f %D/etc/drweb/templates/en/sendmail/virus-admin.msg ] && cmp -s %D/etc/drweb/templates/en/sendmail/virus-admin.msg %D/etc/drweb/templates/en/sendmail/virus-admin.msg-dist; then rm -f %D/etc/drweb/templates/en/sendmail/virus-admin.msg; fi
+etc/drweb/templates/en/sendmail/virus-admin.msg-dist
+ at exec [ -f %B/virus-admin.msg ] || cp %B/%f %B/virus-admin.msg
+ at unexec if [ -f %D/etc/drweb/templates/en/sendmail/virus-rcpts.msg ] && cmp -s %D/etc/drweb/templates/en/sendmail/virus-rcpts.msg %D/etc/drweb/templates/en/sendmail/virus-rcpts.msg-dist; then rm -f %D/etc/drweb/templates/en/sendmail/virus-rcpts.msg; fi
+etc/drweb/templates/en/sendmail/virus-rcpts.msg-dist
+ at exec [ -f %B/virus-rcpts.msg ] || cp %B/%f %B/virus-rcpts.msg
+ at unexec if [ -f %D/etc/drweb/templates/en/sendmail/virus-sender.msg ] && cmp -s %D/etc/drweb/templates/en/sendmail/virus-sender.msg %D/etc/drweb/templates/en/sendmail/virus-sender.msg-dist; then rm -f %D/etc/drweb/templates/en/sendmail/virus-sender.msg; fi
+etc/drweb/templates/en/sendmail/virus-sender.msg-dist
+ at exec [ -f %B/virus-sender.msg ] || cp %B/%f %B/virus-sender.msg
@unexec if [ -f %D/etc/drweb/templates/en-ru/sendmail/error-admin.msg ] && cmp -s %D/etc/drweb/templates/en-ru/sendmail/error-admin.msg %D/etc/drweb/templates/en-ru/sendmail/error-admin.msg-dist; then rm -f %D/etc/drweb/templates/en-ru/sendmail/error-admin.msg; fi
etc/drweb/templates/en-ru/sendmail/error-admin.msg-dist
@exec [ -f %B/error-admin.msg ] || cp %B/%f %B/error-admin.msg
@@ -70,6 +97,7 @@
@exec if [ ! -f %D/etc/rc.d/drweb-sendmail.sh ] ; then cp -p %D/%F %B/drweb-sendmail.sh; chmod 555 %B/drweb-sendmail.sh; fi
sbin/drweb-smf
sbin/drwebdc
+share/doc/drweb-sendmail/FAQ.rus.txt
share/doc/drweb-sendmail/addresses_list.rus.txt
share/doc/drweb-sendmail/addresses_list.txt
share/doc/drweb-sendmail/conf_file.rus.txt
@@ -84,6 +112,10 @@
share/doc/drweb-sendmail/users_list.txt
share/doc/drweb-sendmail/viruses_list.rus.txt
share/doc/drweb-sendmail/viruses_list.txt
+ at dirrm etc/drweb/templates/en/sendmail
+ at dirrm etc/drweb/templates/en
+ at dirrm etc/drweb/templates/en-pl/sendmail
+ at dirrm etc/drweb/templates/en-pl
@dirrm etc/drweb/templates/en-ru/sendmail
@dirrm etc/drweb/templates/en-ru
@dirrm etc/drweb/templates
Index: security/drweb-sendmail/files/patch-ae
===================================================================
RCS file: /home/ncvs/ports/security/drweb-sendmail/files/patch-ae,v
retrieving revision 1.5
diff -u -r1.5 patch-ae
--- security/drweb-sendmail/files/patch-ae 18 Feb 2003 04:45:26 -0000 1.5
+++ security/drweb-sendmail/files/patch-ae 6 Mar 2004 13:03:14 -0000
@@ -1,10 +1,10 @@
---- dw_options.c.orig Fri Feb 14 16:52:50 2003
-+++ dw_options.c Tue Feb 18 04:58:04 2003
-@@ -113,7 +113,7 @@
+--- dw_options.c.orig Tue Dec 9 01:23:55 2003
++++ dw_options.c Tue Mar 2 20:54:56 2004
+@@ -117,7 +117,7 @@
#if defined(__UNIX_DW)
#if !defined(EMX_DW)
#if defined(FreeBSD_DW)
--#define OS_SPEC_CONFNAME "/usr/local/drweb/"CONF_FNAME
+-#define OS_SPEC_CONFNAME "/usr/local/etc/drweb/"CONF_FNAME
+#define OS_SPEC_CONFNAME "%PREFIX%/etc/drweb/"CONF_FNAME
#else /* FreeBSD */
#define OS_SPEC_CONFNAME "/opt/drweb/"CONF_FNAME
Index: security/drweb-sendmail/files/patch-af
===================================================================
RCS file: /home/ncvs/ports/security/drweb-sendmail/files/patch-af,v
retrieving revision 1.9
diff -u -r1.9 patch-af
--- security/drweb-sendmail/files/patch-af 1 Jul 2003 06:51:41 -0000 1.9
+++ security/drweb-sendmail/files/patch-af 6 Mar 2004 13:11:06 -0000
@@ -1,53 +1,46 @@
---- etc/drweb_smf.conf.orig Wed Jun 4 16:46:57 2003
-+++ etc/drweb_smf.conf Tue Jul 1 10:12:55 2003
-@@ -17,14 +17,14 @@
+--- etc/drweb_smf.conf.orig Fri Feb 27 23:21:37 2004
++++ etc/drweb_smf.conf Sat Mar 6 23:10:40 2004
+@@ -18,14 +18,14 @@
# Address = local:/usr/local/drweb/run/drwebd.skt
# Address = pid:/usr/local/drweb/run/drwebd.pid
# Address = pid:/var/drweb/run/drwebd.pid, inet:3000 at backup_server.example.com
-Address = inet:3000 at localhost
+Address = local:%PREFIX%/drweb/run/drwebd.sock
- # Enable/disable caching resolved daemon host
+ # Enable/disable caching of the resolved daemon host
# (useful only if daemon uses TCP/IP communications)
Cache = yes
- # Timeout for whole scanning session (in seconds)
+ # Timeout for the whole scanning session (seconds)
-Timeout = 120
+Timeout = 160
########################
# Scan options section #
-@@ -72,10 +72,10 @@
- DenyOnOne = yes
+@@ -91,10 +91,10 @@
+ DenyByDefault = no
# List with rules for users or domains to block scanning
-DenyList = /etc/drweb/users.conf
+DenyList = %PREFIX%/etc/drweb/users.conf
- # Directory used for story temporary files
+ # Directory used to store temporary files
-Spool = /var/drweb/spool
+Spool = /tmp
# Permissions for created spool files
SpoolFilesMode = 0600
-@@ -195,28 +195,28 @@
- # redirect - redirect to RedirectMail and reject message
+@@ -245,7 +245,7 @@
+ # pass - pass such messages
# reject - reject such messages with permanent error
# tempfail - reject such message with temporary error
--ProcessingErrors = quarantine
+-ProcessingErrors = reject
+ProcessingErrors = tempfail
- # Admin mail address (may be unix-local address)
--AdminMail = av-master at example.com
-+AdminMail = postmaster
-
- # Mail address for redirect action (may be unix-local address)
--RedirectMail = quarantine at example.com
-+RedirectMail = postmaster
-
- # Filter address, that be used in From: (should be qualified)
--FilterMail = DrWEB-DAEMON at example.com
-+FilterMail = DrWeb-DAEMON@%HOSTNAME%
+ # These reply strings will be used as SMTP reply if message has been rejected.
+ # You can specify only text part of reply: 550 5.7.0 Text part of reply.
+@@ -269,16 +269,16 @@
+ FilterMail = DrWEB-DAEMON
# List of unnotificable viruses
-UnnotificableVirusesList = /etc/drweb/viruses.conf
@@ -59,14 +52,14 @@
# Quarantine directory.
# The infected files could be moved in that dir
- # if you stay this field empty or commented then
- # infected messages would not been storied
+ # if you leave this field empty or commented out then
+ # infected messages will not be stored
-Quarantine = /var/drweb/infected
+Quarantine = %PREFIX%/drweb/infected
# Permissions for quarantined files
QuarantineFilesMode = 0660
-@@ -254,15 +254,15 @@
+@@ -317,15 +317,15 @@
RcptsNotify = yes
# Files with notification templates
@@ -86,7 +79,7 @@
AdminTemplate =
RcptsTemplate =
-@@ -270,16 +270,16 @@
+@@ -333,16 +333,16 @@
SenderNotify = yes
AdminNotify = yes
RcptsNotify = no
@@ -107,7 +100,7 @@
RcptsTemplate =
[RuleFilterNotifications]
-@@ -287,7 +287,7 @@
+@@ -350,7 +350,7 @@
AdminNotify = yes
RcptsNotify = no
SenderTemplate =
@@ -116,7 +109,7 @@
RcptsTemplate =
###################
-@@ -316,7 +316,7 @@
+@@ -391,7 +391,7 @@
# Definition of Sendmail Milter Address according to sendmail.cf
# Note: FAMILY pid is not valid
# MilterAddress = local:/usr/local/drweb/run/drweb-smf.skt
@@ -124,4 +117,4 @@
+MilterAddress = local:%PREFIX%/drweb/run/drweb-smf.sock
# Timeout for drweb-smf to sendmail connection
- # (Must be greater that any Timeout. parameter in sendmail.cf)
+ # (Must be greater than any Timeout. parameter in sendmail.cf)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list