aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgirgen <girgen@FreeBSD.org>2017-09-26 00:21:23 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 05:36:29 +0800
commit57eff8a57503df2c1edfd3d61b4541a6f9d17f4f (patch)
tree32ad94ac39d834684c08a55c0b0ec0803b7a57b7
parent0a42b5029e539056ab347fa64a8204956d3348a4 (diff)
downloadfreebsd-ports-gnome-57eff8a57503df2c1edfd3d61b4541a6f9d17f4f.tar.gz
freebsd-ports-gnome-57eff8a57503df2c1edfd3d61b4541a6f9d17f4f.tar.zst
freebsd-ports-gnome-57eff8a57503df2c1edfd3d61b4541a6f9d17f4f.zip
Make sure we don't install program files as the web user
It is sufficient that the data directory is writable. PR: 222572 Approved by: maintainer
-rw-r--r--mail/rainloop-community/pkg-plist11
-rw-r--r--mail/rainloop/Makefile1
-rw-r--r--mail/rainloop/pkg-plist11
3 files changed, 13 insertions, 10 deletions
diff --git a/mail/rainloop-community/pkg-plist b/mail/rainloop-community/pkg-plist
index cd3586fa7195..0cf87be1fa3d 100644
--- a/mail/rainloop-community/pkg-plist
+++ b/mail/rainloop-community/pkg-plist
@@ -1,8 +1,3 @@
-@owner %%WWWOWN%%
-@group %%WWWGRP%%
-%%WWWDIR%%/data/EMPTY
-%%WWWDIR%%/data/VERSION
-%%WWWDIR%%/index.php
%%WWWDIR%%/rainloop/v/%%VER%%/app/domains/default.ini.dist
%%WWWDIR%%/rainloop/v/%%VER%%/app/domains/disabled
%%WWWDIR%%/rainloop/v/%%VER%%/app/domains/gmail.com.ini
@@ -1545,3 +1540,9 @@
%%WWWDIR%%/rainloop/v/%%VER%%/themes/Xv/images/background.png
%%WWWDIR%%/rainloop/v/%%VER%%/themes/Xv/images/preview.png
%%WWWDIR%%/rainloop/v/%%VER%%/themes/Xv/styles.less
+%%WWWDIR%%/data/EMPTY
+%%WWWDIR%%/data/VERSION
+%%WWWDIR%%/index.php
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
+@dir %%WWWDIR%%/data
diff --git a/mail/rainloop/Makefile b/mail/rainloop/Makefile
index 4f429aece179..435027f3f3e2 100644
--- a/mail/rainloop/Makefile
+++ b/mail/rainloop/Makefile
@@ -2,6 +2,7 @@
PORTNAME= rainloop
PORTVERSION= 1.11.2
+PORTREVISION= 1
CATEGORIES= mail www
MASTER_SITES= https://github.com/RainLoop/rainloop-webmail/releases/download/v${PORTVERSION}/
diff --git a/mail/rainloop/pkg-plist b/mail/rainloop/pkg-plist
index 339278cbc8fb..53bd5c5edd3a 100644
--- a/mail/rainloop/pkg-plist
+++ b/mail/rainloop/pkg-plist
@@ -1,8 +1,3 @@
-@owner %%WWWOWN%%
-@group %%WWWGRP%%
-%%WWWDIR%%/data/EMPTY
-%%WWWDIR%%/data/VERSION
-%%WWWDIR%%/index.php
%%WWWDIR%%/rainloop/v/%%VER%%/app/domains/default.ini.dist
%%WWWDIR%%/rainloop/v/%%VER%%/app/domains/disabled
%%WWWDIR%%/rainloop/v/%%VER%%/app/domains/gmail.com.ini
@@ -1546,3 +1541,9 @@
%%WWWDIR%%/rainloop/v/%%VER%%/themes/Xv/images/background.png
%%WWWDIR%%/rainloop/v/%%VER%%/themes/Xv/images/preview.png
%%WWWDIR%%/rainloop/v/%%VER%%/themes/Xv/styles.less
+%%WWWDIR%%/data/EMPTY
+%%WWWDIR%%/data/VERSION
+%%WWWDIR%%/index.php
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
+@dir %%WWWDIR%%/data