Date: Tue, 6 May 2014 04:04:30 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353055 - in head/security: krb5 krb5-maint krb5-maint/files krb5/files Message-ID: <201405060404.s4644UPm056904@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Tue May 6 04:04:30 2014 New Revision: 353055 URL: http://svnweb.freebsd.org/changeset/ports/353055 QAT: https://qat.redports.org/buildarchive/r353055/ Log: Allow package build (make stage/make package) for non-root user. Submitted by: John Hein <john.hein@microsemi.com> Modified: head/security/krb5-maint/files/patch-av head/security/krb5-maint/pkg-plist head/security/krb5/files/patch-av head/security/krb5/pkg-plist Modified: head/security/krb5-maint/files/patch-av ============================================================================== --- head/security/krb5-maint/files/patch-av Mon May 5 22:50:59 2014 (r353054) +++ head/security/krb5-maint/files/patch-av Tue May 6 04:04:30 2014 (r353055) @@ -1,15 +1,18 @@ -*** clients/ksu/Makefile.in.ORIG Sun Aug 2 16:51:18 1998 ---- clients/ksu/Makefile.in Sun Aug 2 16:53:48 1998 -*************** -*** 3,7 **** - mydir=ksu - BUILDTOP=$(REL)$(U)$(S)$(U) -! DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"' - CFLAGS = $(CCOPTS) $(DEFINES) $(DEFS) $(LOCALINCLUDE) - ---- 3,7 ---- - mydir=ksu - BUILDTOP=$(REL)$(U)$(S)$(U) -! DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/usr/bin /bin /usr/sbin /sbin"' -DDEBUG - CFLAGS = $(CCOPTS) $(DEFINES) $(DEFS) $(LOCALINCLUDE) - +--- clients/ksu/Makefile.in.orig 2014-01-21 14:11:14.000000000 -0800 ++++ clients/ksu/Makefile.in 2014-05-05 20:55:07.343860783 -0700 +@@ -1,6 +1,6 @@ + mydir=clients$(S)ksu + BUILDTOP=$(REL)..$(S).. +-DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"' ++DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/usr/bin /bin /usr/sbin /sbin"' -DDEBUG + DEFS= + + PROG_LIBPATH=-L$(TOPLIBD) +@@ -34,6 +34,6 @@ + + install:: + -for f in ksu; do \ +- $(INSTALL_SETUID) $$f \ ++ $(INSTALL_PROGRAM) $$f \ + $(DESTDIR)$(CLIENT_BINDIR)/`echo $$f|sed '$(transform)'`; \ + done Modified: head/security/krb5-maint/pkg-plist ============================================================================== --- head/security/krb5-maint/pkg-plist Mon May 5 22:50:59 2014 (r353054) +++ head/security/krb5-maint/pkg-plist Tue May 6 04:04:30 2014 (r353055) @@ -7,8 +7,14 @@ bin/kinit bin/klist bin/kpasswd bin/krb5-config -bin/kswitch +@mode 04755 +@owner root +@group wheel bin/ksu +@mode +@owner root +@group wheel +bin/kswitch bin/ktutil bin/kvno bin/sclient Modified: head/security/krb5/files/patch-av ============================================================================== --- head/security/krb5/files/patch-av Mon May 5 22:50:59 2014 (r353054) +++ head/security/krb5/files/patch-av Tue May 6 04:04:30 2014 (r353055) @@ -1,15 +1,18 @@ -*** clients/ksu/Makefile.in.ORIG Sun Aug 2 16:51:18 1998 ---- clients/ksu/Makefile.in Sun Aug 2 16:53:48 1998 -*************** -*** 3,7 **** - mydir=ksu - BUILDTOP=$(REL)$(U)$(S)$(U) -! DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"' - CFLAGS = $(CCOPTS) $(DEFINES) $(DEFS) $(LOCALINCLUDE) - ---- 3,7 ---- - mydir=ksu - BUILDTOP=$(REL)$(U)$(S)$(U) -! DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/usr/bin /bin /usr/sbin /sbin"' -DDEBUG - CFLAGS = $(CCOPTS) $(DEFINES) $(DEFS) $(LOCALINCLUDE) - +--- clients/ksu/Makefile.in.orig 2014-01-15 16:44:15.000000000 -0800 ++++ clients/ksu/Makefile.in 2014-05-05 20:51:51.925985974 -0700 +@@ -1,6 +1,6 @@ + mydir=clients$(S)ksu + BUILDTOP=$(REL)..$(S).. +-DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"' ++DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/usr/bin /bin /usr/sbin /sbin"' -DDEBUG + + KSU_LIBS=@KSU_LIBS@ + +@@ -30,6 +30,6 @@ + + install:: + -for f in ksu; do \ +- $(INSTALL_SETUID) $$f \ ++ $(INSTALL_PROGRAM) $$f \ + $(DESTDIR)$(CLIENT_BINDIR)/`echo $$f|sed '$(transform)'`; \ + done Modified: head/security/krb5/pkg-plist ============================================================================== --- head/security/krb5/pkg-plist Mon May 5 22:50:59 2014 (r353054) +++ head/security/krb5/pkg-plist Tue May 6 04:04:30 2014 (r353055) @@ -7,8 +7,14 @@ bin/kinit bin/klist bin/kpasswd bin/krb5-config -bin/kswitch +@mode 04755 +@owner root +@group wheel bin/ksu +@mode +@owner root +@group wheel +bin/kswitch bin/ktutil bin/kvno bin/sclient
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405060404.s4644UPm056904>