aboutsummaryrefslogtreecommitdiff
path: root/news/inn/Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2017-05-21 21:03:09 +0000
committerJohan van Selst <johans@FreeBSD.org>2017-05-21 21:03:09 +0000
commit1e77c321498048bf2b685e1a5bb7db7da7f11477 (patch)
treeecf120d4524cfbf929c1b07b8f227abd87f0b593 /news/inn/Makefile
parentb172a04396503188c536804c512e6bf0ede04b98 (diff)
downloadports-1e77c321498048bf2b685e1a5bb7db7da7f11477.tar.gz
ports-1e77c321498048bf2b685e1a5bb7db7da7f11477.zip
Handle special permissions through pkg-plist and not through make
(this broke building as unprivileged user) No changes to the default build or generated package Reported by: naddy
Notes
Notes: svn path=/head/; revision=441427
Diffstat (limited to 'news/inn/Makefile')
-rw-r--r--news/inn/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index b2dd16b8b9b5..e74ac9943ef6 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -60,7 +60,6 @@ CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man \
UUCP_RNEWS_CONFIGURE_ON=--enable-uucp-rnews
UUCP_RNEWS_RUN_DEPENDS= uucp:net/freebsd-uucp
-SETGID_INEWS_CONFIGURE_ON= --enable-setgid-inews
INNLIB_LONG= 4.0.0
LIBVER_LONG= 3.0.1
@@ -129,6 +128,11 @@ BUILD_DEPENDS+= gpg:security/gnupg
RUN_DEPENDS+= gpg:security/gnupg
.endif
+.if ${PORT_OPTIONS:MSETGID_INEWS}
+PLIST_SUB+= MODE_INEWS="2555"
+.else
+PLIST_SUB+= MODE_INEWS=""
+.endif
PORTDOCS= CONTRIBUTORS HACKING INSTALL LICENSE MANIFEST NEWS README TODO
TO_BE_STRIPPED= bin/actsync bin/archive bin/auth/passwd/auth_krb5 \