summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-08-30 20:00:44 +0000
committerjohans <johans@FreeBSD.org>2014-08-30 20:00:44 +0000
commitf5a79f70ff8644e656b707c0809005ce98f4832c (patch)
tree65deacba5817dabf0ad82992f7e4e07e9871bb5e
parentbea06f24b2804ed3e39c906fcffe822fa64d3404 (diff)
downloadFreeBSD-ports-f5a79f70ff8644e656b707c0809005ce98f4832c.zip
FreeBSD-ports-f5a79f70ff8644e656b707c0809005ce98f4832c.tar.gz
Make all files owned by news:news as it was in the previous version
Correctly make innbind setuid again Bump PORTREVISION
-rw-r--r--news/inn/Makefile2
-rw-r--r--news/inn/pkg-plist22
2 files changed, 11 insertions, 13 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 7db2401..735fa8f 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -3,7 +3,7 @@
PORTNAME?= inn
PORTVERSION?= 2.5.4
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= news ipv6
# Master distribution broken
MASTER_SITES?= ${MASTER_SITE_ISC}
diff --git a/news/inn/pkg-plist b/news/inn/pkg-plist
index 6be64d4..3acc02d 100644
--- a/news/inn/pkg-plist
+++ b/news/inn/pkg-plist
@@ -1,14 +1,16 @@
+@owner news
+@group news
@exec mkdir -p %%NEWSBASE%%
%%CWDNEWSBASE%%
bin/actmerge
bin/actsync
bin/actsyncd
bin/archive
-@group news
-@mode 4755
+@owner root
+@mode 4550
bin/auth/passwd/ckpasswd
-@group
@mode
+@owner news
%%KERBEROS%%bin/auth/passwd/auth_krb5
bin/auth/passwd/radius
bin/auth/resolv/domain
@@ -54,7 +56,11 @@ bin/imapfeed
bin/inews
bin/inncheck
bin/innconfval
+@owner root
+@mode 4550
bin/innbind
+@mode
+@owner news
bin/innd
bin/inndf
bin/innfeed
@@ -321,8 +327,6 @@ man/man8/writelog.8.gz
%%EXAMPLESDIR%%/subscriptions
@comment --------------------------------------------------------------
@cwd /
-@owner news
-@group news
@sample %%DBDIR%%/active.sample
@sample %%DBDIR%%/active.times.sample
@sample %%DBDIR%%/newsgroups.sample
@@ -364,14 +368,10 @@ man/man8/writelog.8.gz
@sample %%CONFDIR%%/storage.conf.sample
@sample %%CONFDIR%%/subscriptions.sample
@comment --------------------------------------------------------------
-@owner
-@group
@cwd
@dirrm %%EXAMPLESDIR%%/db
@dirrm %%EXAMPLESDIR%%
@cwd /
-@owner news
-@group news
@dirrm %%TMPDIR%%
@dirrm %%SHAREDIR%%
@dirrm %%NEWSSPOOL%%/overview
@@ -398,10 +398,8 @@ man/man8/writelog.8.gz
@dirrm %%NEWSBASE%%/bin/auth/passwd
@dirrm %%NEWSBASE%%/bin/auth
@dirrm %%NEWSBASE%%/bin
-@dirrm %%CONFDIR%%
@dirrm %%DBDIR%%
@dirrm %%LOGDIR%%/OLD
@dirrm %%LOGDIR%%
-@owner news
-@group news
+@dirrm %%CONFDIR%%
@unexec rmdir %%NEWSBASE%% 2>/dev/null ||( echo "===> If you don't plan to use inn later, you can safely remove %%NEWSBASE%%. Deinstall process kept these files intact:" | fmt && for i in $(find %D/news -type f); do echo " - $i"; done)
OpenPOWER on IntegriCloud