Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2000 22:26:14 +0200 (CEST)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21874: Fix news/cnews (by maintainer)
Message-ID:  <200010092026.e99KQEu26310@home.dinoex.sub.org>

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

>Number:         21874
>Category:       ports
>Synopsis:       Fix news/cnews (by maintainer)
>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:   Mon Oct 09 13:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
privat
>Environment:

>Description:

	Change in MASTER_SITES
	Owner for binaries now from shake/mk/*
	Owner for initial configuration must be news
	Small message extended.

>How-To-Repeat:
>Fix:

	apply the patch

diff cnews/Makefile cnews-cr.g/Makefile
--- cnews/Makefile	Mon Aug 14 11:42:42 2000
+++ cnews-cr.g/Makefile	Sun Oct  8 22:18:55 2000
@@ -9,11 +9,9 @@
 PORTVERSION=	cr.g
 CATEGORIES=	news
 MASTER_SITES=	ftp://ftp.cs.toronto.edu/pub/c-news/ \
-		ftp://ftp.lan-ks.de/pub/c-news/ \
 		ftp://ftp.funet.fi/pub/unix/news/cnews/ \
 		ftp://ftp.win.or.jp/pub/network/news/cnews/ \
 		ftp://ftp.redcom.ru/pub/unix/usenet/c-news/ \
-		ftp://ftp.mc.hik.se/pub/unix/news/c-news/ \
 		ftp://ftp.dinoex.org/pub/c-news/
 DISTNAME=	c-news
 EXTRACT_SUFX=	.tar.Z
@@ -91,17 +89,16 @@
 	${RM} -f ${PREFIX}/bin/inews
 	${INSTALL_DATA} ${WRKSRC}/libdbz/dbz.h ${PREFIX}/include
 	${INSTALL_DATA} ${WRKSRC}/libcnews.a ${PREFIX}/lib
-	${MKDIR} ${NEWSARTS} ${NEWSBIN} ${NEWSCTL}
-	-${LN} -s ${NEWSARTS} /var/news
-	${CHOWN} news.news ${NEWSARTS} ${NEWSCTL}
-	${CHOWN} bin.bin ${NEWSBIN}
+	${MKDIR} ${NEWSARTS} ${NEWSOV} ${NEWSBIN} ${NEWSCTL}
+	${CHOWN} ${BINOWN}.${BINGRP} ${NEWSBIN}
 	${INSTALL_SCRIPT} ${WRKSRC}/${PGPVERIFY} ${NEWSBIN}/pgpverify
 	cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install
 	cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} setup
 	cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ui readpostcheck
 .for f in checknews cnewsdo inews injnews postnews readnews
-	${CHOWN} bin.bin ${PREFIX}/bin/$f
+	${CHOWN} ${BINOWN}.${BINGRP} ${PREFIX}/bin/$f
 .endfor
+	${CHOWN} -R news.news ${NEWSARTS} ${NEWSOV} ${NEWSCTL} 
 	${CHOWN} news.news ${NEWSBIN}/input/newsspool
 	${CHMOD} 6755 ${NEWSBIN}/input/newsspool
 .for i in ${MAN1}
@@ -119,6 +116,8 @@
 	@${ECHO} "	cd to ${NEWSCTL} and change the following files..."
 	@${ECHO} "mailname, whoami, organization, mailpaths, sys, readnews.ctl, postdefltgroup"
 	@${ECHO} "	to suit your local system and news topology."
+	@${ECHO} "check that you have vaild aliases in report.ctl,"
+	@${ECHO} "	so any problem can be reported."
 	@${ECHO} "!!!!!!!!"
 	@${ECHO} ""
 

>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?200010092026.e99KQEu26310>