From 66d0500da527d9df4d78622a140f62e0e8ce4345 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 3 Oct 2001 08:08:07 +0000 Subject: [PATCH] Move drweb-dependent configuration into pre-install section Fix one spelling mistake in diagnostic --- security/drweb-sendmail/Makefile | 4 ++-- security/drweb-sendmail/files/patch-ab | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/security/drweb-sendmail/Makefile b/security/drweb-sendmail/Makefile index f8803b90d780..ec9f6a22341a 100644 --- a/security/drweb-sendmail/Makefile +++ b/security/drweb-sendmail/Makefile @@ -7,7 +7,7 @@ PORTNAME= drweb_sendmail PORTVERSION= 4.26 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security mail MASTER_SITES= http://www.drweb.ru/ftp/web_pub/ DISTNAME= drwebd-${PORTVERSION}-freebsd4 @@ -80,7 +80,7 @@ post-configure: } | ./configure # Not fully used yet -post-build: +pre-install: cd ${WRKSRC}/../sendmail && { \ ${ECHO} y; \ ${ECHO} "${PREFIX}/sbin"; \ diff --git a/security/drweb-sendmail/files/patch-ab b/security/drweb-sendmail/files/patch-ab index 514b97517c3a..68ac41f64dcd 100644 --- a/security/drweb-sendmail/files/patch-ab +++ b/security/drweb-sendmail/files/patch-ab @@ -1,5 +1,5 @@ --- dw_filter.c.orig Thu Sep 27 01:00:46 2001 -+++ dw_filter.c Wed Oct 3 06:25:53 2001 ++++ dw_filter.c Wed Oct 3 11:56:41 2001 @@ -606,7 +606,7 @@ } else @@ -18,3 +18,12 @@ priv->fname_tmp = strdup( ShareTemplate ); if( !priv->fname_tmp ) { +@@ -983,7 +983,7 @@ + } + else + { +- wprintLib( "message sent by %s is okey.\n", priv->from ); ++ wprintLib( "message sent by %s is okay.\n", priv->from ); + exit_code = SMFIS_ACCEPT; + } + if( bLocal && (virus == 0) && (exit_code == SMFIS_ACCEPT) && (status & DERR_EVAL_KEY) && (priv->body_offset > 0) )