ports/51816: [PATCH] mail/qtools lacks run-time dependency on mail/ezmlm

Sergei Kolobov sergei at kolobov.com
Mon May 5 22:52:09 UTC 2003


>Number:         51816
>Category:       ports
>Synopsis:       [PATCH] mail/qtools lacks run-time dependency on mail/ezmlm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 05 15:50:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD elf.chetwood.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Apr 13 01:13:44 MSD 2003
>Description:
- The port includes replier and replier-config, which invoke ezmlm-weed program 
  at run-time, thus add mail/ezmlm to RUN_DEPENDS.
- Properly pass QMAIL_DIR and EZMLM_DIR during build phase
- Remove NO_PACKAGE - although the port uses some source files borrowed 
  from DJB software, it does not create a modified qmail installation 
  specifically prohibited by DJB. It is perfectly legal to package this port!
- Bump PORTREVISION

Port maintainer - petef at FreeBSD.org - has been copied.
>How-To-Repeat:
>Fix:

--- qtools-0.56_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/qtools/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	2003/03/07 06:05:58	1.5
+++ Makefile	2003/05/05 22:35:24
@@ -7,29 +7,27 @@
 
 PORTNAME=	qtools
 PORTVERSION=	0.56
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.superscript.com/qtools/
 
 MAINTAINER=	petef at FreeBSD.org
-COMMENT=	Several utilities for use with qmail
+COMMENT=	Tools to use in .qmail files
 
-RUN_DEPENDS=	${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
+RUN_DEPENDS=	${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \
+		${EZMLM_DIR}/bin/ezmlm-weed:${PORTSDIR}/mail/ezmlm
 
 ALL_TARGET=	it
 INSTALL_TARGET=	setup check
 
-.if exists(${PREFIX}/qmail/bin/qmail-send)
-QMAIL_DIR?=	${PREFIX}/qmail
-.else
 QMAIL_DIR?=	/var/qmail
-.endif
+EZMLM_DIR?=	${LOCALBASE}
 
-NO_PACKAGE=	A possibly inherited DJB-style license would prohibit \
-		distribution of modified binary packages
-
-post-patch:
+do-configure:
 	@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
-	@${ECHO_CMD} "${CC} ${CFLAGS} ${STRIP}" > ${WRKSRC}/conf-ld
-	@${PERL} -pi -e 's!/usr/local!${PREFIX}!g' ${WRKSRC}/conf-home
+	@${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
+	@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
+	@${ECHO_CMD} "${QMAIL_DIR}" > ${WRKSRC}/conf-qmail
+	@${ECHO_CMD} "${EZMLM_DIR}/bin/ezmlm" > ${WRKSRC}/conf-ezmlm
 
 .include <bsd.port.mk>
--- qtools-0.56_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list