Date: Mon, 5 Mar 2001 15:18:48 -0500 (EST) From: ajk@iu.edu To: FreeBSD-gnats-submit@freebsd.org Subject: bin/25561: [PATCH] ksrvtgt contains unsubstituted path variable Message-ID: <200103052018.f25KIm842546@brig.itso.iu.edu>
next in thread | raw e-mail | index | archive | help
>Number: 25561
>Category: bin
>Synopsis: [PATCH] ksrvtgt contains unsubstituted path variable
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 05 12:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Andrew J. Korty
>Release: FreeBSD 4.2-RELEASE i386
>Organization:
Information Technology Security Office, Indiana University
>Environment:
FreeBSD 4.2-RELEASE with Kerberos IV
>Description:
The installed ksrvtgt script contains the string %bindir% that is
meant to be replaced with the directory that contains the kauth
binary.
>How-To-Repeat:
$ ksrvtgt ajk admin
/usr/bin/ksrvtgt: %bindir%/kauth: not found
>Fix:
--- kerberosIV/usr.bin/ksrvtgt/Makefile.orig Mon Mar 5 14:52:55 2001
+++ kerberosIV/usr.bin/ksrvtgt/Makefile Mon Mar 5 15:11:05 2001
@@ -2,9 +2,14 @@
MAN1= ${KRB4DIR}/man/ksrvtgt.1
+all: ksrvtgt
+
beforeinstall:
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${KRB4DIR}/appl/kauth/ksrvtgt.in ${DESTDIR}${BINDIR}/ksrvtgt
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ksrvtgt \
+ ${DESTDIR}${BINDIR}/ksrvtgt
+
+ksrvtgt: ksrvtgt.in
+ sed 's!%bindir%!${BINDIR}!' ${KRB4DIR}/appl/kauth/ksrvtgt.in > $@
depend all:
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103052018.f25KIm842546>
