aboutsummaryrefslogtreecommitdiffstats
path: root/news/inn-stable/Makefile
diff options
context:
space:
mode:
authortorstenb <torstenb@FreeBSD.org>1998-01-26 05:41:03 +0800
committertorstenb <torstenb@FreeBSD.org>1998-01-26 05:41:03 +0800
commit97f8f9f6c7116c4d07a747f8e97dcbcfb5e6b801 (patch)
tree38462ac0f3bc0c6f2218e5e7861772730985440d /news/inn-stable/Makefile
parent858afe74694acfc59467bc69cf5b49b36fe2ea28 (diff)
downloadfreebsd-ports-gnome-97f8f9f6c7116c4d07a747f8e97dcbcfb5e6b801.tar.gz
freebsd-ports-gnome-97f8f9f6c7116c4d07a747f8e97dcbcfb5e6b801.tar.zst
freebsd-ports-gnome-97f8f9f6c7116c4d07a747f8e97dcbcfb5e6b801.zip
- 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
Diffstat (limited to 'news/inn-stable/Makefile')
-rw-r--r--news/inn-stable/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/news/inn-stable/Makefile b/news/inn-stable/Makefile
index 0fb0cf3277f7..11b0cc5e9f49 100644
--- a/news/inn-stable/Makefile
+++ b/news/inn-stable/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>