From fe5fda4a31ee133155f5f4584b607e1f4ea706ac Mon Sep 17 00:00:00 2001 From: matthieu Date: Wed, 14 Sep 2016 08:31:47 +0000 Subject: [PATCH] Make shure that all autotools generated install commands specify a user and a group. --- app/Makefile.inc | 3 ++- etc/config.site | 4 ++-- 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}