- override INSTALL_SETUID at build-time so that ksu is installed into

the buildroot with the right permissions (part of #225974)
This commit is contained in:
Nalin Dahyabhai 2011-04-01 15:52:29 -04:00
parent 27e969332f
commit 2ee39c5e61
2 changed files with 16 additions and 0 deletions

View File

@ -36,3 +36,15 @@ diff -up krb5-1.9/src/krb5-config.in krb5-1.9/src/krb5-config.in
if test $library = 'kdb'; then
lib_flags="$lib_flags -lkdb5 $KDB5_DB_LIB"
library=krb5
diff -up krb5-1.9/src/config/pre.in krb5-1.9/src/config/pre.in
--- krb5-1.9/src/config/pre.in 2011-04-01 15:45:06.640705226 -0400
+++ krb5-1.9/src/config/pre.in 2011-04-01 15:45:11.179705234 -0400
@@ -188,7 +188,7 @@
INSTALL_SCRIPT=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
INSTALL_SHLIB=@INSTALL_SHLIB@
-INSTALL_SETUID=$(INSTALL) $(INSTALL_STRIP) -m 4755 -o root
+INSTALL_SETUID=$(INSTALL) $(INSTALL_STRIP) -m 4755
## This is needed because autoconf will sometimes define @exec_prefix@ to be
## ${prefix}.
prefix=@prefix@

View File

@ -657,6 +657,10 @@ exit 0
%{_sbindir}/uuserver
%changelog
* Fri Apr 1 2011 Nalin Dahyabhai <nalin@redhat.com>
- override INSTALL_SETUID at build-time so that ksu is installed into
the buildroot with the right permissions (part of #225974)
* Fri Mar 18 2011 Nalin Dahyabhai <nalin@redhat.com> 1.9-8
- backport change from SVN to fix a computed-value-not-used warning in
kpropd (#684065)