Date: Sun, 18 Jul 2004 17:51:05 +0400 (MSD) From: zhuravlev alexander <zaa@ulstu.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69239: [MAINTAINER UPDATE] security/drweb-postfix up to 4.31 Message-ID: <20040718135105.7DE967EB@orion.ulstu.ru> Resent-Message-ID: <200407181400.i6IE0XxE039273@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69239 >Category: ports >Synopsis: [MAINTAINER UPDATE] security/drweb-postfix up to 4.31 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jul 18 14:00:32 GMT 2004 >Closed-Date: >Last-Modified: >Originator: zhuravlev alexander >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: System: FreeBSD orion.ulstu.ru 4.10-STABLE FreeBSD 4.10-STABLE #11: Mon Jun 14 18:16:17 MSD 2004 root@orion.ulstu.ru:/usr/obj/usr/src/sys/ORION i386 >Description: Update of drweb-postfix up to 4.31 >How-To-Repeat: >Fix: --- drweb_postfix.diff begins here --- diff -urbBN drweb-postfix.orig/Makefile drweb-postfix/Makefile --- drweb-postfix.orig/Makefile Tue Jun 29 19:28:28 2004 +++ drweb-postfix/Makefile Sun Jul 18 17:35:40 2004 @@ -2,32 +2,32 @@ # Date created: 5 December 2002 # Whom: zhuravlev alexander <zaa@ulstu.ru> # -# $FreeBSD: ports/security/drweb-postfix/Makefile,v 1.8 2004/06/29 15:28:28 adamw Exp $ +# $FreeBSD$ # PORTNAME= drweb_postfix -PORTVERSION= 4.29.12f +PORTVERSION= 4.31 CATEGORIES= security mail MASTER_SITES= ftp://ftp.drweb.ru/pub/unix/ \ ftp://ftp.drweb.ru/pub/unix/archive/ \ - ftp://ftp.drweb.ru/pub/unix/archive/drweb-clients-4.29.12/ -DISTNAME= drweb-clients-4.29.12-F-sources + ftp://ftp.drweb.ru/pub/unix/archive/drweb-clients-${PORTVERSION}/ +DISTNAME= drweb-clients-${PORTVERSION}-sources MAINTAINER= zaa@ulstu.ru COMMENT= Postfix message filter for virus processing through DrWeb daemon +BUILD_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2 RUN_DEPENDS= ${LOCALBASE}/drweb/drwebd:${PORTSDIR}/security/drweb WRKSRC= ${WRKDIR}/${DISTNAME} INST_PREFIX= ${PREFIX}/${PORTNAME} -DOC_DIR= ${PREFIX}/share/doc/drweb-postfix LANGS=en-ru CONFS=drweb_postfix users viruses addresses TMPLS=archive-admin archive-sender error-admin error-sender skip-sender \ virus-admin virus-rcpts virus-sender rule-admin -DOCS=addresses_list.rus.txt addresses_list.txt conf_file.rus.txt \ +DOCS=FAQ.rus.txt addresses_list.rus.txt addresses_list.txt conf_file.rus.txt \ conf_file.txt notify.rus.txt notify.txt readme readme.rus \ users_list.rus.txt users_list.txt viruses_list.rus.txt viruses_list.txt @@ -56,7 +56,6 @@ } | ./configure do-install: - ${MKDIR} ${DOC_DIR} .for LANG in ${LANGS} ${MKDIR} ${PREFIX}/etc/drweb/templates/${LANG}/postfix .endfor @@ -81,14 +80,17 @@ .endfor ${INSTALL_PROGRAM} ${WRKSRC}/drweb-postfix ${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${WRKSRC}/drwebdc ${PREFIX}/sbin/ +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} cd ${WRKSRC}/doc/postfix && \ - ${INSTALL_DATA} ${DOCS} ${DOC_DIR} + ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif post-install: @${CAT} ${PKGMESSAGE} - @echo - @echo "Read documentation about additional Postfix tuning needed" - @echo "in ${DOC_DIR}." - @echo + @${ECHO} + @${ECHO} "Read documentation about additional Postfix tuning needed" + @${ECHO} "in ${DOC_DIR}." + @${ECHO} .include <bsd.port.mk> diff -urbBN drweb-postfix.orig/distinfo drweb-postfix/distinfo --- drweb-postfix.orig/distinfo Thu Mar 18 21:00:56 2004 +++ drweb-postfix/distinfo Sun Jul 18 17:01:26 2004 @@ -1,2 +1,2 @@ -MD5 (drweb-clients-4.29.12-F-sources.tar.gz) = 5736324a8aa3053f4848ec25783bd494 -SIZE (drweb-clients-4.29.12-F-sources.tar.gz) = 338133 +MD5 (drweb-clients-4.31-sources.tar.gz) = 7215ff50a75d088eab210bcdb257effe +SIZE (drweb-clients-4.31-sources.tar.gz) = 537926 diff -urbBN drweb-postfix.orig/files/patch-aa drweb-postfix/files/patch-aa --- drweb-postfix.orig/files/patch-aa Tue Mar 4 07:16:53 2003 +++ drweb-postfix/files/patch-aa Sun Jul 18 17:01:26 2004 @@ -1,10 +1,10 @@ ---- dw_options.c.orig Fri Feb 14 16:52:50 2003 -+++ dw_options.c Sat Mar 1 00:18: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 diff -urbBN drweb-postfix.orig/files/patch-ab drweb-postfix/files/patch-ab --- drweb-postfix.orig/files/patch-ab Mon Jul 14 09:17:29 2003 +++ drweb-postfix/files/patch-ab Sun Jul 18 17:01:26 2004 @@ -1,53 +1,46 @@ ---- etc/drweb_postfix.conf.orig Sat Jul 12 16:30:33 2003 -+++ etc/drweb_postfix.conf Sat Jul 12 16:40:30 2003 -@@ -17,14 +17,14 @@ +--- etc/drweb_postfix.conf.orig Sun Jul 18 14:55:55 2004 ++++ etc/drweb_postfix.conf Sun Jul 18 15:00:45 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@backup_server.example.com -Address = inet:3000@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 # -@@ -69,10 +69,10 @@ - DenyOnOne = yes +@@ -83,10 +83,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 -@@ -192,28 +192,28 @@ - # redirect - redirect to RedirectMail and reject message +@@ -237,7 +237,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@example.com -+AdminMail = postmaster - - # Mail address for redirect action (may be unix-local address) --RedirectMail = quarantine@example.com -+RedirectMail = postmaster - - # Filter address, that be used in From: (should be qualified) --FilterMail = DrWEB-DAEMON@example.com -+FilterMail = DrWEB-DAEMON@%HOSTNAME% + AdminMail = postmaster +@@ -249,16 +249,16 @@ + FilterMail = DrWEB-DAEMON # List of unnotificable viruses -UnnotificableVirusesList = /etc/drweb/viruses.conf @@ -59,23 +52,24 @@ # 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 -@@ -237,15 +237,15 @@ +@@ -282,15 +282,16 @@ RcptsNotify = yes # Files with notification templates -SenderTemplate = /etc/drweb/templates/en-ru/postfix/virus-sender.msg -AdminTemplate = /etc/drweb/templates/en-ru/postfix/virus-admin.msg -RcptsTemplate = /etc/drweb/templates/en-ru/postfix/virus-rcpts.msg -+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/virus-admin.msg -+RcptsTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/virus-rcpts.msg -+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/virus-sender.msg ++SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-sender.msg ++AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-admin.msg ++RcptsTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-rcpts.msg ++ [SkipNotifications] SenderNotify = yes @@ -86,7 +80,7 @@ AdminTemplate = RcptsTemplate = -@@ -253,16 +253,16 @@ +@@ -298,16 +299,16 @@ SenderNotify = yes AdminNotify = yes RcptsNotify = no @@ -107,7 +101,7 @@ RcptsTemplate = [RuleFilterNotifications] -@@ -270,7 +270,7 @@ +@@ -315,7 +316,7 @@ AdminNotify = yes RcptsNotify = no SenderTemplate = diff -urbBN drweb-postfix.orig/pkg-plist drweb-postfix/pkg-plist --- drweb-postfix.orig/pkg-plist Mon Jul 14 09:17:28 2003 +++ drweb-postfix/pkg-plist Sun Jul 18 17:28:37 2004 @@ -40,19 +40,20 @@ @exec [ -f %B/viruses.conf ] || cp %B/%f %B/viruses.conf sbin/drweb-postfix sbin/drwebdc -share/doc/drweb-postfix/addresses_list.rus.txt -share/doc/drweb-postfix/addresses_list.txt -share/doc/drweb-postfix/conf_file.rus.txt -share/doc/drweb-postfix/conf_file.txt -share/doc/drweb-postfix/notify.rus.txt -share/doc/drweb-postfix/notify.txt -share/doc/drweb-postfix/readme -share/doc/drweb-postfix/readme.rus -share/doc/drweb-postfix/users_list.rus.txt -share/doc/drweb-postfix/users_list.txt -share/doc/drweb-postfix/viruses_list.rus.txt -share/doc/drweb-postfix/viruses_list.txt -@dirrm share/doc/drweb-postfix +%%PORTDOCS%%%%DOCSDIR%%/FAQ.rus.txt +%%PORTDOCS%%%%DOCSDIR%%/addresses_list.rus.txt +%%PORTDOCS%%%%DOCSDIR%%/addresses_list.txt +%%PORTDOCS%%%%DOCSDIR%%/conf_file.rus.txt +%%PORTDOCS%%%%DOCSDIR%%/conf_file.txt +%%PORTDOCS%%%%DOCSDIR%%/notify.rus.txt +%%PORTDOCS%%%%DOCSDIR%%/notify.txt +%%PORTDOCS%%%%DOCSDIR%%/readme +%%PORTDOCS%%%%DOCSDIR%%/readme.rus +%%PORTDOCS%%%%DOCSDIR%%/users_list.rus.txt +%%PORTDOCS%%%%DOCSDIR%%/users_list.txt +%%PORTDOCS%%%%DOCSDIR%%/viruses_list.rus.txt +%%PORTDOCS%%%%DOCSDIR%%/viruses_list.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm etc/drweb/templates/en-ru/postfix @dirrm etc/drweb/templates/en-ru @dirrm etc/drweb/templates --- drweb_postfix.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040718135105.7DE967EB>