Skip site navigation (1)Skip section navigation (2)
Date:      13 Oct 2002 22:12:59 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44022: [MAINTAINER] Update mail/queue-repair: work with qmail port
Message-ID:  <20021013221259.20017.qmail@outpost.globcon.net>

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

>Number:         44022
>Category:       ports
>Synopsis:       [MAINTAINER] Update mail/queue-repair: work with qmail port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 13 15:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 1 02:44:26 MSD 2002 sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST i386
>Description:
- Default to RUN_DEPEND on mail/qmail port (can be turned off - 
  define WITHOUT_QMAIL_PORT); patch source for nofiles->qnofiles group used by
  the qmail port (suggested by Kevin M. Dulzo <kdulzo@sockpuppet.org>)
- Bump PORTREVISION
- Do not install yet another copy of GPL (COPYING)
>How-To-Repeat:
>Fix:

--- queue-repair-0.8.6_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/queue-repair/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	8 Oct 2002 14:19:44 -0000	1.1
+++ Makefile	13 Oct 2002 22:06:18 -0000
@@ -7,24 +7,33 @@
 
 PORTNAME=	queue-repair
 PORTVERSION=	0.8.6
+PORTREVISION=	1
 CATEGORIES=	mail python
 MASTER_SITES=	http://www.qcc.ca/~charlesc/software/queue_repair/
 
 MAINTAINER=	sergei@kolobov.com
 
+.if !defined(WITHOUT_QMAIL_PORT)
+RUN_DEPENDS=	${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
+QMAIL_DIR?=	/var/qmail
+.endif
+
 USE_PYTHON=	yes
 USE_REINPLACE=	yes
 
-DOCS=		BLURB CHANGELOG COPYING TODO docs.txt
+DOCS=		BLURB CHANGELOG TODO docs.txt
 
 do-build:
 	${REINPLACE_CMD} -e 's,^#!/usr/bin/python,#!${PYTHON_CMD},' \
 		${WRKSRC}/queue_repair.py
+.if !defined(WITHOUT_QMAIL_PORT)
+	${REINPLACE_CMD} -e 's,nofiles,qnofiles,' ${WRKSRC}/queue_repair.py
+.endif
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/queue_repair.py ${PREFIX}/bin/queue-repair
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
 .for file in ${DOCS}
 	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 .endfor
--- queue-repair-0.8.6_1.patch ends here ---

>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?20021013221259.20017.qmail>