Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2000 23:24:21 +0200 (CEST)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20404: news/nntp improvement
Message-ID:  <200008042124.e74LOLT27703@net2.dinoex.sub.org>

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

>Number:         20404
>Category:       ports
>Synopsis:       news/nntp improvement
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 04 14:30:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
privat
>Environment:

	ports news/cnews installed

>Description:

	PLIST configurable

>How-To-Repeat:
>Fix:

	apply this patches

diff nntp/Makefile nntp-1.5.12.2/Makefile
--- nntp/Makefile	Tue Apr 25 09:26:51 2000
+++ nntp-1.5.12.2/Makefile	Tue May 16 20:09:17 2000
@@ -22,7 +22,8 @@
 NO_WRKSUBDIR=	yes
 MAN1=		nntpxmit.1
 MAN8=		nntpd.8c acttimes.8c
-PLIST=		${WRKDIR}/.PLIST.sed
+PLIST_SUB+=	NEWSBIN=${NEWSBIN:S=${PREFIX}/==}
+PLIST_SUB+=	NEWSCTL=${NEWSCTL:S=${PREFIX}/==}
 
 MODIFY=		conf.h Makefile
 
@@ -48,9 +49,6 @@
 		-e "s=/usr/local/man=${PREFIX}/man=" \
 		${WRKSRC}/${i}.sed >${WRKSRC}/${i}
 .endfor
-	@${SED} \
-		-e "s=news/cnewsbin=${NEWSBIN:S=${PREFIX}/==}=" \
-		${PKGDIR}/PLIST >${PLIST}
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/overview.fmt ${NEWSCTL}/overview.fmt
diff nntp/pkg/PLIST nntp-1.5.12.2/pkg/PLIST
--- nntp/pkg/PLIST	Sat Jan 15 10:13:11 2000
+++ nntp-1.5.12.2/pkg/PLIST	Tue May 16 20:07:15 2000
@@ -1,7 +1,7 @@
 sbin/nntpd
-news/cnewsbin/acttimes
-news/cnewsbin/nntpxmit
-news/cnewsbin/nntpxfer
+%%NEWSBIN%%/acttimes
+%%NEWSBIN%%/nntpxmit
+%%NEWSBIN%%/nntpxfer
 @comment     just in case anyone wants it
-news/cnewsbin/shlock
-news/lib/overview.fmt
+%%NEWSBIN%%/shlock
+%%NEWSCTL%%/overview.fmt

>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?200008042124.e74LOLT27703>