summaryrefslogtreecommitdiffstats
path: root/news/inn-stable
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-04 05:06:30 +0000
committerkris <kris@FreeBSD.org>2000-07-04 05:06:30 +0000
commit514ac08d3c2ae259736d8674bf9f8ef9dc20cd9f (patch)
treeda76e4e1a40579b62182bf52f5068d24c4b57716 /news/inn-stable
parentddfdf5802f1eaab7fb2bb346ed2712833aaa0843 (diff)
downloadFreeBSD-ports-514ac08d3c2ae259736d8674bf9f8ef9dc20cd9f.zip
FreeBSD-ports-514ac08d3c2ae259736d8674bf9f8ef9dc20cd9f.tar.gz
<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>
Diffstat (limited to 'news/inn-stable')
-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 228755e..ce1eaa8 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>
OpenPOWER on IntegriCloud