mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
Port all apps in libexec/ from libulog to utmpx.
This commit is contained in:
parent
80643af02b
commit
006ab5b3e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202210
@ -4,8 +4,8 @@ PROG = rpc.rusersd
|
|||||||
SRCS = rusersd.c rusers_proc.c
|
SRCS = rusersd.c rusers_proc.c
|
||||||
MAN = rpc.rusersd.8
|
MAN = rpc.rusersd.8
|
||||||
|
|
||||||
DPADD= ${LIBRPCSVC} ${LIBULOG} ${LIBUTIL}
|
DPADD= ${LIBRPCSVC} ${LIBUTIL}
|
||||||
LDADD= -lrpcsvc -lulog -lutil
|
LDADD= -lrpcsvc -lutil
|
||||||
|
|
||||||
#.if exists(/usr/X11R6/include/X11/extensions/xidle.h)
|
#.if exists(/usr/X11R6/include/X11/extensions/xidle.h)
|
||||||
#CFLAGS+= -DXIDLE
|
#CFLAGS+= -DXIDLE
|
||||||
|
@ -45,8 +45,7 @@ static const char rcsid[] =
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#define _ULOG_POSIX_NAMES
|
#include <utmpx.h>
|
||||||
#include <ulog.h>
|
|
||||||
#ifdef XIDLE
|
#ifdef XIDLE
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
@ -7,8 +7,4 @@ SRCS= talkd.c announce.c process.c table.c print.c ttymsg.c
|
|||||||
MAN= talkd.8
|
MAN= talkd.8
|
||||||
CFLAGS+=-I${.CURDIR}/../../usr.bin/wall
|
CFLAGS+=-I${.CURDIR}/../../usr.bin/wall
|
||||||
|
|
||||||
|
|
||||||
DPADD= ${LIBULOG}
|
|
||||||
LDADD= -lulog
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -59,8 +59,7 @@ static const char rcsid[] =
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#define _ULOG_POSIX_NAMES
|
#include <utmpx.h>
|
||||||
#include <ulog.h>
|
|
||||||
|
|
||||||
#include "extern.h"
|
#include "extern.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user