diff options
author | arved <arved@FreeBSD.org> | 2007-07-30 23:30:55 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2007-07-30 23:30:55 +0800 |
commit | bd59b25f8f5ca85c55f73dea91f8ee3b04fb184a (patch) | |
tree | 53db28193ea27add94162d9a22ca031ffc6143be /databases/unixODBC | |
parent | 06939239958a197a5197151dfdb958544f960263 (diff) | |
download | freebsd-ports-graphics-bd59b25f8f5ca85c55f73dea91f8ee3b04fb184a.tar.gz freebsd-ports-graphics-bd59b25f8f5ca85c55f73dea91f8ee3b04fb184a.tar.zst freebsd-ports-graphics-bd59b25f8f5ca85c55f73dea91f8ee3b04fb184a.zip |
Don't install world writeable files and directories.
PR: 114286
Reported by: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Diffstat (limited to 'databases/unixODBC')
-rw-r--r-- | databases/unixODBC/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/unixODBC/Makefile b/databases/unixODBC/Makefile index 468420c9851..401709b04df 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 |