aboutsummaryrefslogtreecommitdiff
path: root/news/cnews/Makefile
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-10-10 04:15:51 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-10-10 04:15:51 +0000
commit5e43aec2b83f0812aa493dfab00f34dc27a60be3 (patch)
tree3df8d449e2df12aa0b00e26fc9b9ce74a43c995b /news/cnews/Makefile
parente71100ca7ef1633a10bb300c304cbc36fd599e4f (diff)
downloadports-5e43aec2b83f0812aa493dfab00f34dc27a60be3.tar.gz
ports-5e43aec2b83f0812aa493dfab00f34dc27a60be3.zip
Notes
Diffstat (limited to 'news/cnews/Makefile')
-rw-r--r--news/cnews/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index ccaf5f784953..7ddfe72db9aa 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -9,11 +9,9 @@ PORTNAME= cnews
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 @@ do-install:
${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 @@ do-install:
@${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} ""