2003-04-27 06:16:52 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 12:39:25 +00:00
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2006-03-17 18:54:44 +00:00
|
|
|
|
2012-10-22 01:18:41 +00:00
|
|
|
SUBDIR= ${_atf} \
|
|
|
|
${_atrun} \
|
2016-06-02 19:06:04 +00:00
|
|
|
${_blacklistd-helper} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_comsat} \
|
2014-02-21 07:26:49 +00:00
|
|
|
${_dma} \
|
2019-11-18 23:21:13 +00:00
|
|
|
flua \
|
1999-11-30 02:18:13 +00:00
|
|
|
getty \
|
2023-02-01 17:21:24 +00:00
|
|
|
${_hyperv} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_mail.local} \
|
2016-02-18 00:26:21 +00:00
|
|
|
${_makewhatis.local} \
|
2004-11-13 20:40:32 +00:00
|
|
|
${_mknetid} \
|
2020-09-09 00:39:47 +00:00
|
|
|
${_phttpget} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_pppoed} \
|
2018-10-17 16:49:11 +00:00
|
|
|
rc \
|
1999-11-30 02:18:13 +00:00
|
|
|
revnetgroup \
|
2005-03-02 11:53:22 +00:00
|
|
|
${_rlogind} \
|
1999-11-30 02:18:13 +00:00
|
|
|
rpc.rquotad \
|
2002-10-02 18:37:11 +00: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} \
|
2013-11-08 14:33:41 +00:00
|
|
|
${_tests} \
|
2007-07-03 12:46:08 +00: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 22:02:26 +00:00
|
|
|
.if ${MK_AT} != "no"
|
|
|
|
_atrun= atrun
|
|
|
|
.endif
|
|
|
|
|
2016-06-07 16:31:03 +00:00
|
|
|
.if ${MK_BLACKLIST} != "no"
|
2016-06-02 19:06:04 +00:00
|
|
|
_blacklistd-helper+= blacklistd-helper
|
|
|
|
.endif
|
|
|
|
|
2015-02-04 10:19:32 +00:00
|
|
|
.if ${MK_BOOTPD} != "no"
|
|
|
|
SUBDIR+= bootpd
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_FINGER} != "no"
|
|
|
|
SUBDIR+= fingerd
|
|
|
|
.endif
|
|
|
|
|
2020-09-09 00:39:47 +00:00
|
|
|
.if ${MK_FREEBSD_UPDATE} != "no" || ${MK_PORTSNAP} != "no"
|
|
|
|
_phttpget= phttpget
|
|
|
|
.endif
|
|
|
|
|
2015-02-04 10:19:32 +00:00
|
|
|
.if ${MK_FTP} != "no"
|
|
|
|
SUBDIR+= ftpd
|
|
|
|
.endif
|
|
|
|
|
2008-09-21 22:02:26 +00: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
|
|
|
|
.endif
|
|
|
|
|
2023-02-01 17:21:24 +00:00
|
|
|
.if ${MK_HYPERV} != "no"
|
|
|
|
_hyperv+= hyperv
|
|
|
|
.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 22:02:26 +00:00
|
|
|
.if ${MK_NETGRAPH} != "no"
|
|
|
|
_pppoed= pppoed
|
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_PF} != "no"
|
2007-07-03 12:46:08 +00: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
|
2019-11-07 22:58:10 +00:00
|
|
|
SUBDIR.${MK_LIB32}+= rtld-elf32
|
1999-11-30 02:18:13 +00:00
|
|
|
.endif
|
1995-08-06 11:20:35 +00:00
|
|
|
|
2015-02-04 10:19:32 +00:00
|
|
|
.if ${MK_RBOOTD} != "no"
|
|
|
|
SUBDIR+= rbootd
|
|
|
|
.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 22:02:26 +00:00
|
|
|
_smrsh= smrsh
|
|
|
|
.endif
|
|
|
|
|
2016-02-18 00:26:21 +00:00
|
|
|
.if ${MK_MAN_UTILS} != "no"
|
|
|
|
_makewhatis.local= makewhatis.local
|
|
|
|
.endif
|
|
|
|
|
2015-01-25 04:37:44 +00:00
|
|
|
.if ${MK_TALK} != "no"
|
|
|
|
SUBDIR+= talkd
|
|
|
|
.endif
|
|
|
|
|
2015-02-04 10:19:32 +00:00
|
|
|
.if ${MK_TCP_WRAPPERS} != "no"
|
|
|
|
SUBDIR+= tcpd
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_TFTP} != "no"
|
|
|
|
SUBDIR+= tftpd
|
|
|
|
.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 00:33:06 +00:00
|
|
|
.include <bsd.arch.inc.mk>
|
|
|
|
|
1994-05-27 12:39:25 +00:00
|
|
|
.include <bsd.subdir.mk>
|