Date: 5 May 2003 22:43:02 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: petef@FreeBSD.org Subject: ports/51816: [PATCH] mail/qtools lacks run-time dependency on mail/ezmlm Message-ID: <20030505224302.18432.qmail@kolobov.com> Resent-Message-ID: <200305052250.h45MoAqL010323@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030505224302.18432.qmail>