summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-25 02:32:18 +0000
committerwollman <wollman@FreeBSD.org>1994-09-25 02:32:18 +0000
commitb2b9eaab73c62077f2fff0c24c914948de09d12f (patch)
treed041e08fcc5703966208bd8aecf487519738b0a0 /usr.sbin
parente9426209589c72bdfa0c915255d8a4c4f8324151 (diff)
downloadFreeBSD-src-b2b9eaab73c62077f2fff0c24c914948de09d12f.zip
FreeBSD-src-b2b9eaab73c62077f2fff0c24c914948de09d12f.tar.gz
Most of the ``modified'' files really aren't. This is my (simple)
port of pppd.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pppd/Makefile14
-rw-r--r--usr.sbin/pppd/options.c4
2 files changed, 17 insertions, 1 deletions
diff --git a/usr.sbin/pppd/Makefile b/usr.sbin/pppd/Makefile
new file mode 100644
index 0000000..a0ca52e
--- /dev/null
+++ b/usr.sbin/pppd/Makefile
@@ -0,0 +1,14 @@
+# From: Id: Makefile.bsd,v 1.4 1994/04/20 00:07:50 paulus Exp
+# $Id$
+
+PROG= pppd
+SRCS= main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c \
+ auth.c options.c lock.c sys-bsd.c
+MAN8= pppd.8
+BINMODE=4555
+BINOWN= root
+
+LDADD= -lcrypt -lutil
+DPADD= ${LIBCRYPT} ${LIBUTIL}
+
+.include <bsd.prog.mk>
diff --git a/usr.sbin/pppd/options.c b/usr.sbin/pppd/options.c
index ef1fc8a..0656128 100644
--- a/usr.sbin/pppd/options.c
+++ b/usr.sbin/pppd/options.c
@@ -25,7 +25,9 @@ static char rcsid[] = "$Id: options.c,v 1.10 1994/05/27 00:43:34 paulus Exp $";
#include <errno.h>
#include <unistd.h>
#include <limits.h>
+#define devname STDLIB_devname
#include <stdlib.h>
+#undef devname
#include <termios.h>
#include <syslog.h>
#include <string.h>
@@ -53,7 +55,7 @@ char *strdup __ARGS((char *));
#endif
#ifndef GIDSET_TYPE
-#define GIDSET_TYPE int
+#define GIDSET_TYPE gid_t
#endif
/*
OpenPOWER on IntegriCloud