From tep@SDSC.EDU Fri May 29 14:52:06 1998
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id OAA12195 for <bugs@RT-11.MIT.EDU>; Fri, 29 May 1998 14:51:57 -0400
Received: from postal.sdsc.edu by MIT.EDU with SMTP
id AA08046; Fri, 29 May 98 14:51:33 EDT
Received: from galt (Bi/D6Hs+Qq2SLA7SzoltZj+3BZlpIFHz@galt.sdsc.edu [132.249.40.111])
by postal.sdsc.edu (8.8.8/8.8.8/SDSCserver-16) with SMTP id LAA22487
for <krb5-bugs@mit.edu>; Fri, 29 May 1998 11:50:50 -0700 (PDT)
Received: by galt (SMI-8.6/1.11-client)
id LAA12080; Fri, 29 May 1998 11:50:49 -0700
Message-Id: <199805291850.LAA12080@galt>
Date: Fri, 29 May 1998 11:50:49 -0700
From: Tom Perrine <tep@SDSC.EDU>
Reply-To: tep@SDSC.EDU
To: krb5-bugs@MIT.EDU
Subject: install/autoconf options not all honored in all locations
X-Send-Pr-Version: 3.99
System: SunOS galt 5.5.1 Generic_103640-18 sun4u sparc SUNW,Ultra-1
Architecture: sun4
This is actually architecture independent.
consistently honored. Also the "program_transform_name" is not
used everywhere, as well as KRB5_RCP_NAME beig defined but not used.
diff -r src.original/appl/bsd/Makefile.in src/appl/bsd/Makefile.in
23c23,24
< RSH= -DKRB5_PATH_RLOGIN=\"$(CLIENT_BINDIR)/rlogin\"
---
< -DLOGIN_PROGRAM=\"$(SERVER_BINDIR)/login.krb5\" -DKPROGDIR=\"$(CLIENT_BINDIR)\"
---
1040a1041,1042
225a226
1411a1412
< strcat(cmdbuf, "/v4rcp");
---
< strcat(cmdbuf, "/rcp");
---
1c1
< DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"'
---
28a29
86c86
< #define KRB5_PATH_LOGIN "@EXEC_PREFIX/sbin/login.krb5"
---
< #define KPROPD_DEFAULT_KDB5_UTIL "@PREFIX/sbin/kdb5_util"
< #define KPROPD_DEFAULT_KDB5_EDIT "@PREFIX/sbin/kdb5_edit"
---
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id OAA12195 for <bugs@RT-11.MIT.EDU>; Fri, 29 May 1998 14:51:57 -0400
Received: from postal.sdsc.edu by MIT.EDU with SMTP
id AA08046; Fri, 29 May 98 14:51:33 EDT
Received: from galt (Bi/D6Hs+Qq2SLA7SzoltZj+3BZlpIFHz@galt.sdsc.edu [132.249.40.111])
by postal.sdsc.edu (8.8.8/8.8.8/SDSCserver-16) with SMTP id LAA22487
for <krb5-bugs@mit.edu>; Fri, 29 May 1998 11:50:50 -0700 (PDT)
Received: by galt (SMI-8.6/1.11-client)
id LAA12080; Fri, 29 May 1998 11:50:49 -0700
Message-Id: <199805291850.LAA12080@galt>
Date: Fri, 29 May 1998 11:50:49 -0700
From: Tom Perrine <tep@SDSC.EDU>
Reply-To: tep@SDSC.EDU
To: krb5-bugs@MIT.EDU
Subject: install/autoconf options not all honored in all locations
X-Send-Pr-Version: 3.99
Show quoted text
>Number: 600
>Category: krb5-build
>Synopsis: install/autoconf options not all honored in all locations
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: tlyu
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Fri May 29 14:53:01 EDT 1998
>Last-Modified:
>Originator: Tom Perrine
>Organization:
San Diego Supercomputer Center, San Diego CA>Category: krb5-build
>Synopsis: install/autoconf options not all honored in all locations
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: tlyu
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Fri May 29 14:53:01 EDT 1998
>Last-Modified:
>Originator: Tom Perrine
>Organization:
Show quoted text
>Release: krb5-1.0.5
>Environment:
>Environment:
System: SunOS galt 5.5.1 Generic_103640-18 sun4u sparc SUNW,Ultra-1
Architecture: sun4
This is actually architecture independent.
Show quoted text
>Description:
Some of the configure options, such as SBINDIR and others are notconsistently honored. Also the "program_transform_name" is not
used everywhere, as well as KRB5_RCP_NAME beig defined but not used.
Show quoted text
>How-To-Repeat:
Use the KRB5_RCP_NAME, SBINDIR, etc and notice that they are not used.Show quoted text
>Fix:
These patches are courtesy of Jeff Makey <jeff@sdsc.edu>diff -r src.original/appl/bsd/Makefile.in src/appl/bsd/Makefile.in
23c23,24
< RSH= -DKRB5_PATH_RLOGIN=\"$(CLIENT_BINDIR)/rlogin\"
---
Show quoted text
> RSH= -DKRB5_PATH_RLOGIN=\"$(CLIENT_BINDIR)/@KERBEROS_RLOGIN@\"
>
28c29>
< -DLOGIN_PROGRAM=\"$(SERVER_BINDIR)/login.krb5\" -DKPROGDIR=\"$(CLIENT_BINDIR)\"
---
Show quoted text
> -DKRB5_RCP_NAME=\"@KERBEROS_RCP@\" -DKPROGDIR=\"$(CLIENT_BINDIR)\"
diff -r src.original/appl/bsd/configure src/appl/bsd/configure1040a1041,1042
Show quoted text
> KERBEROS_RCP=`echo rcp | sed "$program_transform_name"`
> KERBEROS_RLOGIN=`echo rlogin | sed "$program_transform_name"`
4367a4370,4371> KERBEROS_RLOGIN=`echo rlogin | sed "$program_transform_name"`
Show quoted text
> s%@KERBEROS_RCP@%$KERBEROS_RCP%g
> s%@KERBEROS_RLOGIN@%$KERBEROS_RLOGIN%g
diff -r src.original/appl/bsd/krlogind.c src/appl/bsd/krlogind.c> s%@KERBEROS_RLOGIN@%$KERBEROS_RLOGIN%g
225a226
Show quoted text
> #include "osconf.h"
diff -r src.original/appl/bsd/krshd.c src/appl/bsd/krshd.c1411a1412
Show quoted text
> strcat(cmdbuf, "/");
1413c1414< strcat(cmdbuf, "/v4rcp");
---
Show quoted text
> strcat(cmdbuf, "v4rcp");
1415c1416< strcat(cmdbuf, "/rcp");
---
Show quoted text
> strcat(cmdbuf, KRB5_RCP_NAME);
diff -r src.original/clients/ksu/Makefile.in src/clients/ksu/Makefile.in1c1
< DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"'
---
Show quoted text
> DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/usr/sbin /usr/bin"'
diff -r src.original/include/krb5/Makefile.in src/include/krb5/Makefile.in28a29
Show quoted text
> SBINDIR = @sbindir@
33a35Show quoted text
> -e 's+@SBINDIR+$(SBINDIR)+' \
diff -r src.original/include/krb5/stock/osconf.h src/include/krb5/stock/osconf.h86c86
< #define KRB5_PATH_LOGIN "@EXEC_PREFIX/sbin/login.krb5"
---
Show quoted text
> #define KRB5_PATH_LOGIN "@SBINDIR/login.krb5"
109,110c109,110< #define KPROPD_DEFAULT_KDB5_UTIL "@PREFIX/sbin/kdb5_util"
< #define KPROPD_DEFAULT_KDB5_EDIT "@PREFIX/sbin/kdb5_edit"
---
Show quoted text
> #define KPROPD_DEFAULT_KDB5_UTIL "@SBINDIR/kdb5_util"
> #define KPROPD_DEFAULT_KDB5_EDIT "@SBINDIR/kdb5_edit"
> #define KPROPD_DEFAULT_KDB5_EDIT "@SBINDIR/kdb5_edit"
Show quoted text
>Audit-Trail:
>Unformatted:
>Unformatted: