diff options
author | delphij <delphij@FreeBSD.org> | 2006-07-17 15:00:36 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2006-07-17 15:00:36 +0800 |
commit | 6b792b53df6c4bd968db250abcdd9b74ac87d18f (patch) | |
tree | 751884774520024f7bbadc2935d159d73f04fb75 /net | |
parent | f7181524c725dc9afa650b48f638c639e8eb4557 (diff) | |
download | freebsd-ports-gnome-6b792b53df6c4bd968db250abcdd9b74ac87d18f.tar.gz freebsd-ports-gnome-6b792b53df6c4bd968db250abcdd9b74ac87d18f.tar.zst freebsd-ports-gnome-6b792b53df6c4bd968db250abcdd9b74ac87d18f.zip |
Switch to root's credential during pre-install stage. This fixes
installation initialized by a unprivileged user.
Reported by: Michal Bartkowiak <michal bartkowiak biz>
Diffstat (limited to 'net')
-rw-r--r-- | net/openldap23-server/Makefile | 2 | ||||
-rw-r--r-- | net/openldap24-server/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile index ac26a2af2698..3bae45ff0dd1 100644 --- a/net/openldap23-server/Makefile +++ b/net/openldap23-server/Makefile @@ -410,7 +410,7 @@ test: build ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test .endif -pre-install: +pre-su-install: @if [ -f ${PKGINSTALL} ]; then \ ${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL; \ fi diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile index 2be3a4cf9b3a..bc08000ffbde 100644 --- a/net/openldap24-server/Makefile +++ b/net/openldap24-server/Makefile @@ -454,7 +454,7 @@ test: build ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test .endif -pre-install: +pre-su-install: @if [ -f ${PKGINSTALL} ]; then \ ${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL; \ fi |