summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-07-04 05:06:30 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-07-04 05:06:30 +0000
commit4c7124b3dbe8eee504f84a9266c79acd77f1253c (patch)
tree9bc5599b8f132ea70f9c297775f2d476fdf9c4e1 /news
parentUpdate to 1.20. (diff)
<security-officer>
Don't install rnews setgid uucp by default - the INN maintainers don't recommend this binary run with privileges because it is not secure. Anyone who needs the ability to fetch news via UUCP can rebuild the port with WITH_UUCP_SECURITY_HOLE defined. </security-officer>
Notes
Notes: svn path=/head/; revision=30159
Diffstat (limited to 'news')
-rw-r--r--news/inn-stable/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/news/inn-stable/Makefile b/news/inn-stable/Makefile
index 228755e04b4c..ce1eaa834084 100644
--- a/news/inn-stable/Makefile
+++ b/news/inn-stable/Makefile
@@ -124,8 +124,11 @@ post-install:
.endfor
# drop privs on inews because it is insecure
${CHMOD} 555 ${NEWSLIB}/bin/inews
+.if defined(WITH_UUCP_SECURITY_HOLE)
# make rnews work when getting news via uucp !
${CHMOD} 2555 ${NEWSLIB}/bin/rnews
-
+.else
+ ${CHMOD} 555 ${NEWSLIB}/bin/rnews
+.endif
.include <bsd.port.mk>