History log of /netbsd-src/usr.bin/su/Makefile (Results 1 – 25 of 51)
Revision Date Author Comments
# 2e193233 25-Feb-2018 mrg <mrg@NetBSD.org>

add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts
to bsd.prog.mk. use them instead of hard coding various lists
of libraries for krb5.

this fixes static builds.


# 07b0c75a 24-Apr-2011 elric <elric@NetBSD.org>

We no longer need -I/usr/include/krb5.


# 050e20c6 06-Apr-2008 lukem <lukem@NetBSD.org>

Be consistent about making USE_PAM!=no be exclusive to USE_SKEY!=no.


# 3670ce19 27-Oct-2007 christos <christos@NetBSD.org>

- move grutil code to newgrp.
- enable user:group and :group code.


# 40d5720e 17-Oct-2007 christos <christos@NetBSD.org>

From Anon Ymous:
- general cleanup [e-funcs, lint fixes, exit values, more error checking]
- add the ability to change the primary group group as login:group, or :group
*disabled*, until it is disc

From Anon Ymous:
- general cleanup [e-funcs, lint fixes, exit values, more error checking]
- add the ability to change the primary group group as login:group, or :group
*disabled*, until it is discussed.
- remove krb4 code since there is no more krb4 code in the tree.
- also make the old su behave like the pam su: su to the same user, does
not ask for a password.
- split out shared code into a separate file.

show more ...


# 4147a3c5 28-May-2007 tls <tls@NetBSD.org>

Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as

Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.

show more ...


# 2b91c98c 13-Jul-2006 christos <christos@NetBSD.org>

remove PAM_DEBUG


# 85e611dd 20-Mar-2006 christos <christos@NetBSD.org>

Goodbye KerberosIV


# dcf51e5c 15-Dec-2005 christos <christos@NetBSD.org>

Use LOGIN_CAP even in the pam case.


# 8e8728c4 04-Mar-2005 he <he@NetBSD.org>

Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD. When compiling
with MKPIC=no, possibly because the target does not support shared
libraries, these include libraries required to resolve all symbols

Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD. When compiling
with MKPIC=no, possibly because the target does not support shared
libraries, these include libraries required to resolve all symbols
which end up referenced from PAM-using applications. The libraries
presently required are -lcrypt, -lrpcsvc and -lutil.

Add use of these variables which are currently set up to use PAM,
so that they compile when MKPIC=no.

Also, in the telnetd case, reorder the order of the libraries, so
that libtelnet.a comes before -ltermcap and -lutil, again to fix
link error when MKPIC=no.

Discussed with thorpej and christos.

show more ...


# c829edc5 13-Jan-2005 thorpej <thorpej@NetBSD.org>

Test USE_PAM, not MKPAM.


# b2f0c10f 12-Jan-2005 christos <christos@NetBSD.org>

undo accidental commit with MKPAM=yes


# 6c0f1bcc 12-Jan-2005 christos <christos@NetBSD.org>

:x


# 6b47b9b5 10-Jan-2005 christos <christos@NetBSD.org>

LOGIN_CAP is mandatory for PAM.


# 2ef14ae8 10-Jan-2005 christos <christos@NetBSD.org>

Restore su.c to version 1.58, plus minor prototyping. Split pam
into su_pam.c, and turn it off by default in the Makefile until it
is tested and actually works. The current pam version does not set r

Restore su.c to version 1.58, plus minor prototyping. Split pam
into su_pam.c, and turn it off by default in the Makefile until it
is tested and actually works. The current pam version does not set ruid
properly anymore.

show more ...


# ed83e084 08-Jan-2005 lukem <lukem@NetBSD.org>

add DPADD


# e628e84a 07-Jan-2005 manu <manu@NetBSD.org>

Add PAM support to su


# 47582911 11-Dec-2003 dyoung <dyoung@NetBSD.org>

Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only

Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
9 out of 10 experts agree that it is ludicrous to build w/
KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly. That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles. While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)

show more ...


# afad8d1f 23-Aug-2003 lha <lha@NetBSD.org>

libkrb depends on libdes, patch in private mail from
Harold Gutch logix at foobar franken de


# 791007d1 20-Aug-2003 christos <christos@NetBSD.org>

Normalize the program's compilation options so they are all of the form SU_
and document them.


# 86b35822 24-Jul-2003 tron <tron@NetBSD.org>

Backout previous and revert su(1) to dynamic linking instead.


# b2df6d93 24-Jul-2003 tron <tron@NetBSD.org>

Link with "libdes" if Kerberos IV support is enabled.


# e63468d8 23-Jul-2003 itojun <itojun@NetBSD.org>

split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se
(build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)


# e91a21c2 23-Oct-2002 itojun <itojun@NetBSD.org>

add DPADD.


# 9c33b55e 22-Mar-2002 thorpej <thorpej@NetBSD.org>

Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsruc

Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)

* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.

As discussed on tech-toolchain.

show more ...


123