aboutsummaryrefslogtreecommitdiff
path: root/databases/unixODBC
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2007-07-30 15:30:55 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2007-07-30 15:30:55 +0000
commit0103d933569656a8d52327ce7544a79a5f691df8 (patch)
treec1554cc7b8adb0cb7cac8a40212413e5164f4371 /databases/unixODBC
parentaef79f3a9bbac0ffa3d0f025446ff4cf863a20de (diff)
downloadports-0103d933569656a8d52327ce7544a79a5f691df8.tar.gz
ports-0103d933569656a8d52327ce7544a79a5f691df8.zip
Don't install world writeable files and directories.
PR: 114286 Reported by: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Notes
Notes: svn path=/head/; revision=196726
Diffstat (limited to 'databases/unixODBC')
-rw-r--r--databases/unixODBC/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/unixODBC/Makefile b/databases/unixODBC/Makefile
index 468420c9851e..401709b04dfb 100644
--- a/databases/unixODBC/Makefile
+++ b/databases/unixODBC/Makefile
@@ -7,7 +7,7 @@
PORTNAME= unixODBC
PORTVERSION= 2.2.12
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= http://www.unixodbc.org/
@@ -54,6 +54,8 @@ post-install:
| ${TAR} -C ${DOCSDIR} --unlink -xf -
.if !defined(INSTALL_AS_USER)
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
+ ${FIND} ${DOCSDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
+ ${FIND} ${DOCSDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
.endif
.endif
.for conffile in odbc.ini odbcinst.ini