diff options
author | miwi <miwi@FreeBSD.org> | 2009-10-14 06:32:33 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-10-14 06:32:33 +0800 |
commit | 9de567b788d0ca58f45f5317b4580b30e78d769c (patch) | |
tree | 9af0a24d8f5a431172c61dd9c8e06d74c7042aa8 /dns/poweradmin | |
parent | 1a1479c655589e39674bb70915bb09806cd534f8 (diff) | |
download | freebsd-ports-gnome-9de567b788d0ca58f45f5317b4580b30e78d769c.tar.gz freebsd-ports-gnome-9de567b788d0ca58f45f5317b4580b30e78d769c.tar.zst freebsd-ports-gnome-9de567b788d0ca58f45f5317b4580b30e78d769c.zip |
- Use 644 mode for the config file
Port installs configuration file in 640 mode
and poweradmin will fail to find it when apache server
with www account is used.
PR: 139475
Submitted by: Edmondas Girkantas <eg@fbsd.lt> (maintainer)
Diffstat (limited to 'dns/poweradmin')
-rw-r--r-- | dns/poweradmin/Makefile | 1 | ||||
-rw-r--r-- | dns/poweradmin/pkg-plist-chunk | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/dns/poweradmin/Makefile b/dns/poweradmin/Makefile index 0f4413b7d738..9355d91f2b30 100644 --- a/dns/poweradmin/Makefile +++ b/dns/poweradmin/Makefile @@ -7,6 +7,7 @@ PORTNAME= poweradmin PORTVERSION= 2.1.3 +PORTREVISION= 1 CATEGORIES= dns www MASTER_SITES= https://www.poweradmin.org/download/ EXTRACT_SUFX= .tgz diff --git a/dns/poweradmin/pkg-plist-chunk b/dns/poweradmin/pkg-plist-chunk index e5603a52254c..2f3b4bf4bc71 100644 --- a/dns/poweradmin/pkg-plist-chunk +++ b/dns/poweradmin/pkg-plist-chunk @@ -1,4 +1,4 @@ -@mode 640 +@mode 644 @unexec if cmp -s %D/%%WWWDIR%%/inc/config-me.inc.php %D/%%WWWDIR%%/inc/config.inc.php; then rm -f %D/%%WWWDIR%%/inc/config.inc.php; fi %%WWWDIR%%/inc/config-me.inc.php @exec if [ ! -f %B/inc/config.inc.php ] ; then cp -p %B/%f %B/inc/config.inc.php; fi |