Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2001 17:00:42 +0600 (YEKST)
From:      Anton Voronin <anton@urc.ac.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31057: Update port: security/drweb-sendmail
Message-ID:  <200110051100.f95B0gU64443@belle.rnoc.urc.ac.ru>

next in thread | raw e-mail | index | archive | help

>Number:         31057
>Category:       ports
>Synopsis:       Update port: security/drweb-sendmail
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 05 04:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anton Voronin
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Soutern Ural State University
>Environment:

System: FreeBSD 4.3-STABLE

>Description:

Modifications to the port's Makefile:

1) Configure should be run after drweb-smf binary has been installed
2) -zACTION flag changed from d to c, because with -zd drweb-smf discards
   emails with empty reverse-path (MAIL FROM: SMTP command which corresponds
   to Return-Path: envelope header) rather than emails with empty From:
   message header. According to RFC 2821 MTAs use empty reverse-path for
   rejection notifications and many other mail robots also do that.

>How-To-Repeat:

	n/a

>Fix:

diff -ruN drweb-sendmail.old/Makefile drweb-sendmail/Makefile
--- drweb-sendmail.old/Makefile	Fri Oct  5 03:30:49 2001
+++ drweb-sendmail/Makefile	Fri Oct  5 16:51:18 2001
@@ -7,7 +7,7 @@
 
 PORTNAME=	drweb_sendmail
 PORTVERSION=    4.26
-PORTREVISION=   6
+PORTREVISION=   7
 CATEGORIES=	security mail
 MASTER_SITES=	http://www.drweb.ru/ftp/web_pub/
 DISTNAME=	drwebd-${PORTVERSION}-freebsd4
@@ -77,7 +77,10 @@
 		${ECHO} y; \
 	} | ./configure
 
-pre-install:
+do-install:
+	${MKDIR} ${DOC_DIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/drweb-smf ${PREFIX}/sbin/
+	${INSTALL_PROGRAM} ${WRKSRC}/drwebdc ${PREFIX}/drweb/
 	cd ${WRKSRC}/../sendmail && { \
 		${ECHO} y; \
 		${ECHO} "${PREFIX}/sbin"; \
@@ -93,7 +96,7 @@
 		${ECHO} postmaster@${WITH_DRWEBSMF_HOSTNAME}; \
 		${ECHO} y; \
 		${ECHO} y; \
-		${ECHO} d; \
+		${ECHO} c; \
 		${ECHO} t; \
 		${ECHO} t; \
 		${ECHO} t; \
@@ -105,11 +108,6 @@
 		${ECHO} y; \
 		${ECHO} ; \
 	} | ./configure
-
-do-install:
-	${MKDIR} ${DOC_DIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/drweb-smf ${PREFIX}/sbin/
-	${INSTALL_PROGRAM} ${WRKSRC}/drwebdc ${PREFIX}/drweb/
 	cd ${WRKSRC}/../sendmail; \
 		${INSTALL_DATA} example* readme.* sendmail.*.addon ${DOC_DIR}
 	cd ${WRKSRC}/../sendmail; \
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110051100.f95B0gU64443>