[PATCH] news/nntpcache: [SUMMARIZE CHANGES], take maintainership

Gea-Suan Lin gslin at gslin.org
Fri Dec 23 10:13:01 PST 2005


>Submitter-Id:	current-users
>Originator:	Gea-Suan Lin
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] news/nntpcache: [SUMMARIZE CHANGES], take maintainership
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 6.0-RELEASE i386
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.0-RELEASE FreeBSD 6.0-RELEASE #3: Sat Dec 10 02:26:21 CST 2005
>Description:
[DESCRIBE CHANGES]
- Use OPTIONS.
- portlint ask double-quotes in NO_CDROM.
- Default to Disable RADIUS support.
- Take maintainership.

Port maintainer (ports at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- nntpcache-3.0.1_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/news/nntpcache/Makefile /home/staff/gslin/work/nntpcache/Makefile
--- /usr/ports/news/nntpcache/Makefile	Tue Nov 15 14:50:45 2005
+++ /home/staff/gslin/work/nntpcache/Makefile	Sat Dec 24 02:11:13 2005
@@ -7,15 +7,18 @@
 
 PORTNAME=	nntpcache
 PORTVERSION=	3.0.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	news
 MASTER_SITES=	ftp://ftp.cs.tu-berlin.de/pub/net/news/nntpcache/ \
 		ftp://ftp.ntua.gr/pub/net/news/nntpcache/ \
 		http://public.www.planetmirror.com/pub/nntpcache/
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	gslin at gslin.org
 COMMENT=	News caching/anti-spam/server-merging system
 
+OPTIONS=	LDAP "Enable LDAP support" off \
+		RADIUS "Enable RADIUS support" off
+
 USE_AUTOTOOLS=	automake:15:env
 
 .if defined(WITH_LDAP) || defined(WITH_LDAP2)
@@ -26,13 +29,13 @@
 # cache news articles and related data in ${SPOOLDIR}/nntpcache.
 SPOOLDIR?=	/var/spool
 
-NO_CDROM=	Free for individuals and non-military, non-profit organisations only
+NO_CDROM=	"Free for individuals and non-military, non-profit organisations only"
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=${SPOOLDIR}
 
 AUTHINFO_EXT=	authinfo_pam.ext
-.if !defined(WITHOUT_RADIUS)
+.if defined(WITH_RADIUS)
 CONFIGURE_ARGS+=	--with-authinfo-radius
 AUTHINFO_EXT+=		authinfo_radius.ext
 .endif
@@ -51,14 +54,6 @@
 MAN8=		nntpcached.8 newshound.8
 DOCS=		AUTHORS ChangeLog FAQ FAQ.html HACKING HTML \
 		INSTALL LICENSING NEWS README README.INN VERSION
-
-pre-everything::
-.if !defined(BATCH)
-	@${ECHO_MSG} "To enable LDAP support use either:"
-	@${ECHO_MSG} "	WITH_LDAP - OpenLDAP support"
-	@${ECHO_MSG}
-	@${ECHO_MSG} "To disable radius support use WITHOUT_RADIUS"
-.endif
 
 post-configure:
 	@cd ${WRKSRC}/src && ${GMAKE} ${AUTHINFO_EXT}
--- nntpcache-3.0.1_3.patch ends here ---



More information about the freebsd-ports mailing list