summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2016-09-14 08:31:48 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2016-09-14 08:31:48 +0000
commit9ee3dc3a1a0d5c369240dd8d21010f4394536207 (patch)
tree42b8bcc988675d0093dc61c38ca856657c4f3e02
parentb20c86298f49472f5a7c29c3aa62c9ea6193dae5 (diff)
Make shure that all autotools generated install commands specify a
user and a group.
-rw-r--r--app/Makefile.inc3
-rw-r--r--etc/config.site4
2 files changed, 4 insertions, 3 deletions
diff --git a/app/Makefile.inc b/app/Makefile.inc
index 5f2ec87bd..f108fc5db 100644
--- a/app/Makefile.inc
+++ b/app/Makefile.inc
@@ -1,4 +1,5 @@
.if exists(Makefile.am)
realinstall:
- exec ${MAKE_ENV} ${MAKE} install-strip
+ exec ${MAKE_ENV} ${MAKE} install-strip \
+ INSTALL_STRIP_PROGRAM="/usr/bin/install -s -c -o root -g bin"
.endif
diff --git a/etc/config.site b/etc/config.site
index 70bc8abc9..c3c6321e9 100644
--- a/etc/config.site
+++ b/etc/config.site
@@ -1,4 +1,4 @@
-# $OpenBSD: config.site,v 1.6 2012/08/05 19:52:22 matthieu Exp $
+# $OpenBSD: config.site,v 1.7 2016/09/14 08:31:47 matthieu Exp $
ac_cv_c_compiler_gnu=${ac_cv_c_compiler_gnu=yes}
ac_cv_c_const=${ac_cv_c_const=yes}
ac_cv_cxx_compiler_gnu=${ac_cv_cxx_compiler_gnu=yes}
@@ -11,7 +11,7 @@ ac_cv_path_RAWCPP=${ac_cv_path_RAWCPP=/usr/bin/cpp}
ac_cv_path_RSH=${ac_cv_path_RSH=/usr/bin/rsh}
ac_cv_path_SED=${ac_cv_path_SED=/usr/bin/sed}
ac_cv_path_ac_pt_PKG_CONFIG=${ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config}
-ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -p'}
+ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -p -o root -g bin'}
ac_cv_path_GREP=${ac_cv_path_GREP=/usr/bin/grep}
ac_cv_path_EGREP=${ac_cv_path_EGREP=/usr/bin/egrep}
ac_cv_path_FGREP=${ac_cv_path_EGREP=/usr/bin/fgrep}