2003-04-27 07:16:52 +01:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
1999-08-28 01:22:10 +01:00
|
|
|
# $FreeBSD$
|
1994-05-27 13:39:25 +01:00
|
|
|
|
2014-05-06 05:22:01 +01:00
|
|
|
.include <src.opts.mk>
|
2006-03-17 18:54:44 +00:00
|
|
|
|
2012-10-22 02:18:41 +01:00
|
|
|
SUBDIR= ${_atf} \
|
|
|
|
${_atrun} \
|
1999-11-30 02:18:13 +00:00
|
|
|
bootpd \
|
2013-12-02 08:21:28 +00:00
|
|
|
${_casper} \
|
2008-09-21 23:02:26 +01:00
|
|
|
${_comsat} \
|
2014-02-21 07:26:49 +00:00
|
|
|
${_dma} \
|
|
|
|
${_dma-mbox-create} \
|
1999-11-30 02:18:13 +00:00
|
|
|
fingerd \
|
|
|
|
ftpd \
|
|
|
|
getty \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_mail.local} \
|
2004-11-13 20:40:32 +00:00
|
|
|
${_mknetid} \
|
2008-09-21 23:02:26 +01:00
|
|
|
${_pppoed} \
|
1999-11-30 02:18:13 +00:00
|
|
|
rbootd \
|
|
|
|
revnetgroup \
|
2005-03-02 11:53:22 +00:00
|
|
|
${_rlogind} \
|
1999-11-30 02:18:13 +00:00
|
|
|
rpc.rquotad \
|
2002-10-02 19:37:11 +01:00
|
|
|
rpc.rstatd \
|
1999-11-30 02:18:13 +00:00
|
|
|
rpc.rusersd \
|
|
|
|
rpc.rwalld \
|
|
|
|
rpc.sprayd \
|
2005-03-02 11:53:22 +00:00
|
|
|
${_rshd} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_rtld-elf} \
|
2001-01-11 13:01:20 +00:00
|
|
|
save-entropy \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_smrsh} \
|
1999-11-30 02:18:13 +00:00
|
|
|
talkd \
|
2002-08-13 15:03:40 +01:00
|
|
|
tcpd \
|
2008-09-21 23:02:26 +01:00
|
|
|
${_telnetd} \
|
2013-11-08 14:33:41 +00:00
|
|
|
${_tests} \
|
1999-11-30 02:18:13 +00:00
|
|
|
tftpd \
|
2007-07-03 13:46:08 +01:00
|
|
|
${_tftp-proxy} \
|
Add a new library: libulog.
One of the things I really want to do, is to get rid of the limitations
of our current utmp(5) mechanism:
- It only allows 8 byte TTY device names.
- The hostname only allows 16 bytes of storage.
I'm not a big fan of <utmpx.h>, but I think we should at least try to
add parts of it. Unfortunately we cannot implement <utmpx.h>, because we
miss various fields, such as ut_id, ut_pid, etc. The API provided by
libulog shares some similarities with <utmpx.h>, so it shouldn't be too
hard to port these applications eventually. In most simple cases, it
should just be a matter of removing the ulog_ prefix everywhere.
As a bonus, it also implements a function called ulog_login_pseudo(),
which allows unprivileged applications to write log entries, provided
they have a valid file descriptor to a pseudo-terminal master device.
libulog will allow a smoother transition to a new file format by adding
a library interface to deal with utmp/wtmp/lastlog files. I initially
thought about adding the functionality to libutil, but because I'm not
planning on keeping this library around forever, we'd better keep it
separated.
Next items on the todo list:
1. Port applications in the base system (and ports) to libulog, instead
of letting them use <utmp.h>.
2. Remove <utmp.h>, implement <utmpx.h> and reimplement this library on
top.
3. Port as many applications as possible back to <utmpx.h>.
2009-12-03 15:48:24 +00:00
|
|
|
ulog-helper \
|
2004-11-13 20:40:32 +00:00
|
|
|
${_ypxfr}
|
|
|
|
|
2008-09-21 23:02:26 +01:00
|
|
|
.if ${MK_AT} != "no"
|
|
|
|
_atrun= atrun
|
|
|
|
.endif
|
|
|
|
|
2013-12-02 08:21:28 +00:00
|
|
|
.if ${MK_CASPER} != "no"
|
|
|
|
_casper= casper
|
|
|
|
.endif
|
|
|
|
|
2008-09-21 23:02:26 +01:00
|
|
|
.if ${MK_MAIL} != "no"
|
|
|
|
_comsat= comsat
|
|
|
|
.endif
|
|
|
|
|
2014-02-22 13:05:23 +00:00
|
|
|
.if ${MK_DMAGENT} != "no"
|
2014-02-21 07:26:49 +00:00
|
|
|
_dma= dma
|
|
|
|
_dma-mbox-create= dma-mbox-create
|
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_NIS} != "no"
|
2004-11-13 20:40:32 +00:00
|
|
|
_mknetid= mknetid
|
|
|
|
_ypxfr= ypxfr
|
|
|
|
.endif
|
1999-11-30 02:18:13 +00:00
|
|
|
|
2008-09-21 23:02:26 +01:00
|
|
|
.if ${MK_NETGRAPH} != "no"
|
|
|
|
_pppoed= pppoed
|
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_PF} != "no"
|
2007-07-03 13:46:08 +01:00
|
|
|
_tftp-proxy= tftp-proxy
|
2004-03-08 22:03:29 +00:00
|
|
|
.endif
|
|
|
|
|
2007-10-31 11:19:32 +00:00
|
|
|
.if !defined(NO_PIC) && !defined(NO_RTLD)
|
2004-01-16 15:23:19 +00:00
|
|
|
_rtld-elf= rtld-elf
|
1999-11-30 02:18:13 +00:00
|
|
|
.endif
|
1995-08-06 12:20:35 +01:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_RCMDS} != "no"
|
2005-03-03 15:59:32 +00:00
|
|
|
_rlogind= rlogind
|
2005-03-02 11:53:22 +00:00
|
|
|
_rshd= rshd
|
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_SENDMAIL} != "no"
|
2004-01-16 15:23:19 +00:00
|
|
|
_mail.local= mail.local
|
2008-09-21 23:02:26 +01:00
|
|
|
_smrsh= smrsh
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_TELNET} != "no"
|
|
|
|
_telnetd= telnetd
|
1998-08-04 16:32:43 +01:00
|
|
|
.endif
|
|
|
|
|
2013-11-08 14:24:47 +00:00
|
|
|
.if ${MK_TESTS} != "no"
|
|
|
|
_atf= atf
|
2013-11-08 14:33:41 +00:00
|
|
|
_tests= tests
|
2013-11-08 14:24:47 +00:00
|
|
|
.endif
|
|
|
|
|
2014-10-16 01:33:06 +01:00
|
|
|
.include <bsd.arch.inc.mk>
|
|
|
|
|
1994-05-27 13:39:25 +01:00
|
|
|
.include <bsd.subdir.mk>
|