diff options
author | cy <cy@FreeBSD.org> | 2014-05-06 12:04:30 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2014-05-06 12:04:30 +0800 |
commit | c25912755a2120be7fbdcbf2d5e527718b249aa2 (patch) | |
tree | 3f45a761e55bce5282014edc9a6dcadcc0d2c97b /security/krb5 | |
parent | c236950c29ab1f8ab4a24f49e5af43a8d1bf8cf9 (diff) | |
download | freebsd-ports-gnome-c25912755a2120be7fbdcbf2d5e527718b249aa2.tar.gz freebsd-ports-gnome-c25912755a2120be7fbdcbf2d5e527718b249aa2.tar.zst freebsd-ports-gnome-c25912755a2120be7fbdcbf2d5e527718b249aa2.zip |
Allow package build (make stage/make package) for non-root user.
Submitted by: John Hein <john.hein@microsemi.com>
Diffstat (limited to 'security/krb5')
-rw-r--r-- | security/krb5/files/patch-av | 33 | ||||
-rw-r--r-- | security/krb5/pkg-plist | 8 |
2 files changed, 25 insertions, 16 deletions
diff --git a/security/krb5/files/patch-av b/security/krb5/files/patch-av index 95394e43c0a0..7ec54abdc076 100644 --- a/security/krb5/files/patch-av +++ b/security/krb5/files/patch-av @@ -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 diff --git a/security/krb5/pkg-plist b/security/krb5/pkg-plist index 0c9b8ab0eb9f..95f61efd08d7 100644 --- a/security/krb5/pkg-plist +++ b/security/krb5/pkg-plist @@ -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 |