History log of /freebsd-10.2-release/usr.bin/su/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 285830 23-Jul-2015 gjb

- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.2.
- Update default pkg(8) configuration to use the quarterly branch.[1]

Discussed with: re, portmgr [1]
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 226428 16-Oct-2011 ed

Undo r226423.

It seems su does build without warnings, but it requires a small fix to
libbsm headers, which I have not committed to SVN yet.


# 226423 16-Oct-2011 ed

Remove WARNS line. This tool builds with WARNS=6 properly.


# 201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


# 161815 01-Sep-2006 csjp

Integrate audit_submit(3) bits into su. This means that records for
successful and failed su attempts will be recorded using the AUE_su
event type (login or lo class) if auditing is present in the system.
Currently, the records will have a header, subject, text (with the
actual diagnostics), a return and trailer token.

See audit_submit(3) for more information.

Reviewed by: rwatson
Obtained from: TrustedBSD Project


# 137164 03-Nov-2004 ru

Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar
to PRECIOUSLIB from bsd.lib.mk. The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.

Reviewed by: oliver


# 125334 02-Feb-2004 ru

Fixed style of assignments.


# 87769 12-Dec-2001 markm

Remove to-be-default WARNS?=2


# 83391 13-Sep-2001 ru

Set BINOWN=root explicitly for setuid root binaries.

This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this case.


# 83373 12-Sep-2001 markm

Reinstate complete (and now correctly functioning) WARNS=2.


# 83209 07-Sep-2001 markm

Back out (with prejudice) the last WARNS=2 fix. I cannot understand
its failure mode, and will revisit it later.


# 82979 04-Sep-2001 markm

WARNS=2 fixes.

The remaining problem of converting highly incompatible pointer types
is done by "laundering" the value through a union.

This solves the problem (in my own mind) of how a "const char *" _ever_
actually gets a value in a WARNS=2 world.


# 81528 11-Aug-2001 markm

WARNS=2 type cleanup.

WARNS=2 cannot be enable because of an unresolvable conflict in arg 2
of execv(). Document this in the Makefile.

Reviewed by: bde (su.c only)


# 77220 26-May-2001 markm

Deconvolute the authentication mess, and hand total responsiblity
for authentication to PAM. This meens that WHEELSU-type logic can
now be effected in the pam.conf "su" configuration stack. While here,
clean up the mess that the code had assumed over years of hacking by
folks using different styles. ANSIfy.

There is more policy in here that can be handed over to PAM. This will
be revisited.


# 76104 28-Apr-2001 markm

Dike out Kerberos(IV) support on the grounds that better kerberos
support can be gotten via PAM.


# 74874 27-Mar-2001 markm

Add full PAM support for account management and sessions.

The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux
package's PAM patches to the BSD login.c

Submitted by: "David J. MacKenzie" <djm@web.us.uu.net>


# 57450 24-Feb-2000 markm

Use libcrypto in place of libdes.


# 54782 18-Dec-1999 peter

Revert the libcrypt/libmd stuff back to how it was. This should not have
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design). libcrypt has
been adjusted to not need the runtime -lmd. It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.


# 54677 16-Dec-1999 marcel

Add libmd (or move it after libcrypt). We don't want the linker to be
smart because it will definitely get it wrong. This popped up during
cross-linking.


# 51436 19-Sep-1999 markm

Change edistribution to krb4 in preaparation for K5


# 51039 06-Sep-1999 markm

Fix Common Error brokenness.


# 50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


# 49839 15-Aug-1999 bde

Fixed editing error in previous commit. `-lmd' (link libmd) became `-md'
(emulate the 'd' linker (?)). This was most harmful for the NOSHARED=yes
case since libskey.o isn't linked to libmd.a.

Fixed the usual disorder of DPADD and LDADD, and some tab lossage.


# 49696 13-Aug-1999 sheldonh

Axe LOGIN_CAP_AUTH.

PR: 10115
Reported by: Gene Skonicki <gene@cif.rochester.edu>
Requested by: jdp


# 39495 19-Sep-1998 obrien

Remove useless `BINOWN=root' now that it is the default.


# 38750 02-Sep-1998 bde

Removed a buggy ifdef for not linking libmd explicitly. Explicit
linkage is needed for the NOSHARED=YES case, so it is simplest to
never depend on the automagic linkage for elf shared libraries.

Reviewed by: jdp


# 38645 30-Aug-1998 gpalmer

Add $Id$


# 38643 30-Aug-1998 gpalmer

Still need -lmd on the alpha as it doesn't have shlibs yet


# 38635 30-Aug-1998 jb

BINFORMAT -> OBJFORMAT ready for E-day.


# 38149 06-Aug-1998 markm

Fix LIBDIR (for aout/ELF).


# 29923 28-Sep-1997 markm

Changes for KTH KerberosIV.
Quieten -Wall a bit.

From Joe Traister:
The previous patch did not propogate the KRBTKFILE environment variable
into the new environment when -l is given to su, making it impossible
for kdestroy to find the ticket file. This patch corrects that problem
as well as the original segfault problem.
(Fixes PR 3903)


# 29145 05-Sep-1997 peter

If elf, don't add libmd.a just because we link against libskey.so.
A


# 26078 23-May-1997 ache

Move libmd after all libraries to keep natural libraries order


# 21646 13-Jan-1997 davidn

Make su login_cap savvy.
As with login(1), LOGIN_CAP_AUTH is not yet enabled since we don't
yet have authorisation modules.


# 14440 09-Mar-1996 markm

Better integrate kerberos into su so that if an incorrect Kerberos
password is entered, the user is not prompted for a password a second
time.

This closes pr-bin/1006.


# 11449 12-Oct-1995 wollman

Make it possible to enable WHEELSU from /etc/make.conf.


# 8874 30-May-1995 rgrimes

Remove trailing whitespace.


# 7141 18-Mar-1995 nate

Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command. This only occurs when
linking statically.


# 4715 20-Nov-1994 wollman

Add distribution=krb for P-HK


# 3702 19-Oct-1994 pst

Include most of the logdaemon v4.4 S/key changes


# 3208 29-Sep-1994 pst

Add support for s/keys


# 3197 29-Sep-1994 csgr

First level of changes for bringing in eBones (kerberos).
- Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile,
and replace with MAKE_KERBEROS and MAKE_EBONES. (Far fewer contortions,
and both default to off.) IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY
DEFINE ONE OF THESE.
- Make Makefiles kerberos-aware.


# 2159 20-Aug-1994 csgr

LDADD= -lcrypt
Submitted by: Geoff


# 1870 05-Aug-1994 wollman

Don't use kerberos yet, we aren't ready.


# 1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources