1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00

Port all applications in usr.sbin/ from libulog to utmpx.

This commit is contained in:
Ed Schouten 2010-01-13 18:17:53 +00:00
parent b5207b31c4
commit b5810e9449
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202206
6 changed files with 7 additions and 13 deletions

View File

@ -69,8 +69,8 @@ MAN= snmp_hostres.3
DEFS= ${MOD}_tree.def
BMIBS= BEGEMOT-HOSTRES-MIB.txt
DPADD= ${LIBKVM} ${LIBDEVINFO} ${LIBM} ${LIBGEOM} ${LIBMEMSTAT} ${LIBULOG}
LDADD= -lkvm -ldevinfo -lm -lgeom -lmemstat -lulog
DPADD= ${LIBKVM} ${LIBDEVINFO} ${LIBM} ${LIBGEOM} ${LIBMEMSTAT}
LDADD= -lkvm -ldevinfo -lm -lgeom -lmemstat
.include <bsd.snmpmod.mk>

View File

@ -41,8 +41,7 @@
#include <stdint.h>
#include <string.h>
#include <syslog.h>
#define _ULOG_POSIX_NAMES
#include <ulog.h>
#include <utmpx.h>
#include "hostres_snmp.h"
#include "hostres_oid.h"

View File

@ -6,7 +6,4 @@ MAN= rwhod.8
WARNS?= 3
DPADD= ${LIBULOG}
LDADD= -lulog
.include <bsd.prog.mk>

View File

@ -67,9 +67,8 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <syslog.h>
#include <timeconv.h>
#define _ULOG_POSIX_NAMES
#include <ulog.h>
#include <unistd.h>
#include <utmpx.h>
#include <pwd.h>
#include <grp.h>

View File

@ -9,8 +9,8 @@ PROG= syslogd
MAN= syslog.conf.5 syslogd.8
SRCS= syslogd.c ttymsg.c
DPADD= ${LIBULOG} ${LIBUTIL}
LDADD= -lulog -lutil
DPADD= ${LIBUTIL}
LDADD= -lutil
WARNS?= 3

View File

@ -105,9 +105,8 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
#define _ULOG_POSIX_NAMES
#include <ulog.h>
#include <unistd.h>
#include <utmpx.h>
#include "pathnames.h"
#include "ttymsg.h"