summaryrefslogtreecommitdiff
path: root/news/inn/Makefile
diff options
context:
space:
mode:
authorTorsten Blum <torstenb@FreeBSD.org>1998-01-25 21:41:03 +0000
committerTorsten Blum <torstenb@FreeBSD.org>1998-01-25 21:41:03 +0000
commit3af1206c91583f8ccd990fa20df43cb0bf4694cd (patch)
tree08faafaa529715f47a9f056a1d5d55ff9193c5e4 /news/inn/Makefile
parentupgrade to 3.2.0.101 (diff)
- upgrade to 1.7.2
- install $PREFIX/etc/rc.d/innd.sh (start and stop) - change group of $PREFIX/bin/rnews from uucp to dialer to work around a problem when using inn with uucp (rnews is not world-executable to prevent injection of faked articles) - don't install binaries in $PREFIX/etc - use /var/{spool,}/news/tmp instead of /var/tmp for rnews, otherwise rename will fail
Notes
Notes: svn path=/head/; revision=9444
Diffstat (limited to 'news/inn/Makefile')
-rw-r--r--news/inn/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 0fb0cf3277f7..11b0cc5e9f49 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: inn
-# Version required: 1.5.1
+# Version required: 1.7.2
# Date created: 20 Oct 1994 (1.4), 18 Dec 1996 (1.5.1)
# Whom: torstenb
#
-# $Id: Makefile,v 1.23 1997/05/29 06:38:42 charnier Exp $
+# $Id: Makefile,v 1.24 1997/09/15 20:11:44 torstenb Exp $
#
-DISTNAME= inn-1.5.1sec2
+DISTNAME= inn-1.7.2
CATEGORIES= news
MASTER_SITES= ftp://ftp.isc.org/isc/inn/
@@ -43,6 +43,8 @@ pre-configure:
pre-install:
${MKDIR} ${PREFIX}/news
+ ${MKDIR} -m 0755 ${PREFIX}/news/sbin && \
+ chown news.news ${PREFIX}/news/sbin
update: build
@(cd ${WRKSRC} ; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} update)
@@ -56,12 +58,18 @@ post-install:
if [ -d /var/spool/news ] && [ ! -d /var/news ]; then \
${MKDIR} -m 0775 /var/spool/news/over.view; \
chown news.news /var/spool/news/over.view; \
+ ${MKDIR} -m 0775 /var/spool/news/tmp; \
+ chown news.news /var/spool/news/tmp; \
else \
${MKDIR} -m 0775 /var/news/over.view; \
chown news.news /var/news/over.view; \
+ ${MKDIR} -m 0775 /var/news/tmp; \
+ chown news.news /var/news/tmp; \
fi
${MKDIR} ${PREFIX}/news/locks
chown news.news ${PREFIX}/news/locks
chmod 0755 ${PREFIX}/news/locks
+ sed <${FILESDIR}/innd.sh >${PREFIX}/etc/rc.d/innd.sh \
+ s+!!PREFIX!!+${PREFIX}+g && chmod +x ${PREFIX}/etc/rc.d/innd.sh
.include <bsd.port.mk>