summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2002-07-15 08:56:26 +0000
committerolgeni <olgeni@FreeBSD.org>2002-07-15 08:56:26 +0000
commit0b7d6d8a7b34995e3fb6b905e54841abbb7770d5 (patch)
tree516b9419b90a24bc05213646be3d35a145cea117 /lang
parentbbc16c84fc4f8c87a042c7173791f4c64a0ca043 (diff)
downloadFreeBSD-ports-0b7d6d8a7b34995e3fb6b905e54841abbb7770d5.zip
FreeBSD-ports-0b7d6d8a7b34995e3fb6b905e54841abbb7770d5.tar.gz
chown lib/erlang to root:wheel with proper permissions, do not use bogus
uids from the documentation tarball.
Diffstat (limited to 'lang')
-rw-r--r--lang/erlang/Makefile2
-rw-r--r--lang/erlang14/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index ad9f887..58e085c 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -102,6 +102,8 @@ post-install:
@${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
-C ${PREFIX}/lib/erlang
.endif
+ @${CHOWN} -R root:wheel ${PREFIX}/lib/erlang
+ @${CHMOD} -R o+rX-w,g+rX-w ${PREFIX}/lib/erlang
@sslapp=`ls -d ${PREFIX}/lib/erlang/lib/ssl-* | tail -1`; \
cd $$sslapp/priv/obj && ${MAKE} && strip ../bin/ssl_esock
@cd ${PREFIX} ; find lib/erlang/* -type f -o -type l \
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index ad9f887..58e085c 100644
--- a/lang/erlang14/Makefile
+++ b/lang/erlang14/Makefile
@@ -102,6 +102,8 @@ post-install:
@${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
-C ${PREFIX}/lib/erlang
.endif
+ @${CHOWN} -R root:wheel ${PREFIX}/lib/erlang
+ @${CHMOD} -R o+rX-w,g+rX-w ${PREFIX}/lib/erlang
@sslapp=`ls -d ${PREFIX}/lib/erlang/lib/ssl-* | tail -1`; \
cd $$sslapp/priv/obj && ${MAKE} && strip ../bin/ssl_esock
@cd ${PREFIX} ; find lib/erlang/* -type f -o -type l \
OpenPOWER on IntegriCloud