aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2011-11-06 14:54:38 +0800
committerdinoex <dinoex@FreeBSD.org>2011-11-06 14:54:38 +0800
commit69b54add1db4a07339ecfac8ccb520b91088eebc (patch)
treed3cfe526a2927b772e11d3002aef98c901c6dce4 /net
parent37604d37f447d3dbc2aac9436d03f12879b395de (diff)
downloadfreebsd-ports-gnome-69b54add1db4a07339ecfac8ccb520b91088eebc.tar.gz
freebsd-ports-gnome-69b54add1db4a07339ecfac8ccb520b91088eebc.tar.zst
freebsd-ports-gnome-69b54add1db4a07339ecfac8ccb520b91088eebc.zip
- make generated config writeable
Diffstat (limited to 'net')
-rw-r--r--net/sixxs-aiccu/Makefile2
-rw-r--r--net/sixxs-aiccu/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/sixxs-aiccu/Makefile b/net/sixxs-aiccu/Makefile
index 4125311d7326..2d2998540a1c 100644
--- a/net/sixxs-aiccu/Makefile
+++ b/net/sixxs-aiccu/Makefile
@@ -58,7 +58,7 @@ do-install:
.endif
${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${PREFIX}/etc/aiccu.conf.sample
.if !exists(${PREFIX}/etc/aiccu.conf)
- ${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${PREFIX}/etc/aiccu.conf
+ ${INSTALL_DATA} -m 0644 ${WRKSRC}/doc/aiccu.conf ${PREFIX}/etc/aiccu.conf
.endif
.include <bsd.port.post.mk>
diff --git a/net/sixxs-aiccu/pkg-plist b/net/sixxs-aiccu/pkg-plist
index 1bf27351aad3..b13005b06d12 100644
--- a/net/sixxs-aiccu/pkg-plist
+++ b/net/sixxs-aiccu/pkg-plist
@@ -1,4 +1,4 @@
@unexec if cmp -s %D/etc/aiccu.conf %D/etc/aiccu.conf.sample; then rm -f %D/etc/aiccu.conf; fi
etc/aiccu.conf.sample
-@exec [ -f %B/aiccu.conf ] || cp %B/%f %B/aiccu.conf
+@exec [ -f %B/aiccu.conf ] || install -m 0644 %B/%f %B/aiccu.conf
sbin/sixxs-aiccu