Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 13:02:38 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177952: mail/vodmr: deprecate
Message-ID:  <201304181302.r3ID2cPK097447@red.freebsd.org>
Resent-Message-ID: <201304181310.r3IDA0Gp041735@freefall.freebsd.org>

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

>Number:         177952
>Category:       ports
>Synopsis:       mail/vodmr: deprecate
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 18 13:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 9.1-R amd64
>Organization:
>Environment:
ports tree r316035
>Description:
This port depends on mail/p5-vpopmail, which has been marked BROKEN since 2012-07-27 and expired on 2013-03-05.  As such, depracate this port and schedule it for removal on 2013-06-01.  An alternative for this port would be to remove the dependency on mail/p5-vpopmail.

While here, modernize the Makefile (header, options).
>How-To-Repeat:
# cd /usr/ports/mail/vodmr
# make
>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 316035)
+++ Makefile	(working copy)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	vodmr
-# Date created:				12 January 2003.
-# Whom:					James Raftery <james@now.ie>
-#
+# Created by: James Raftery <james@now.ie>
 # $FreeBSD$
-#
+
 # Use  make -DWITHOUT_TCPSERVER ...  to install without a dependenacy
 # on djb's tcpserver.
-#
 
 PORTNAME=	vodmr
 PORTVERSION=	0.13
@@ -18,12 +14,21 @@
 MAINTAINER=	james@now.ie
 COMMENT=	An ODMR/ATRN server for vpopmail+qmail
 
+DEPRECATED=	depends on expired mail/p5-vpopmail
+EXPIRATION_DATE=	2013-06-01
+
+OPTIONS_DEFINE=	TCPSERVER
+OPTIONS_DEFAULT=	TCPSERVER
+TCPSERVER_DESC= Enable TCP server via sysutils/ucspi-tcp
+
+.include <bsd.port.options.mk>
+
 RUN_DEPENDS=	p5-CDB_File>=0:${PORTSDIR}/databases/p5-CDB_File \
 		p5-vpopmail>=0:${PORTSDIR}/mail/p5-vpopmail \
 		p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \
 		p5-Digest-HMAC>=0:${PORTSDIR}/security/p5-Digest-HMAC
 
-.if !defined(WITHOUT_TCPSERVER)
+.if ${PORT_OPTIONS:MTCPSERVER}
 RUN_DEPENDS+=	tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
 .endif
 
@@ -43,7 +48,7 @@
 	${INSTALL_SCRIPT} ${FILESDIR}/odmrd.sh-sample ${PREFIX}/etc/rc.d
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
 .endif


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



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