diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1994-09-25 02:32:18 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1994-09-25 02:32:18 +0000 |
commit | d8269a163d3c7a332372ff92d3865b627a953f74 (patch) | |
tree | d041e08fcc5703966208bd8aecf487519738b0a0 /usr.sbin/pppd | |
parent | 254915e9ab0f32902490ce3ab4548993e9e6cf44 (diff) | |
download | src-d8269a163d3c7a332372ff92d3865b627a953f74.tar.gz src-d8269a163d3c7a332372ff92d3865b627a953f74.zip |
Most of the ``modified'' files really aren't. This is my (simple)
port of pppd.
Notes
Notes:
svn path=/head/; revision=3072
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r-- | usr.sbin/pppd/Makefile | 14 | ||||
-rw-r--r-- | usr.sbin/pppd/options.c | 4 |
2 files changed, 17 insertions, 1 deletions
diff --git a/usr.sbin/pppd/Makefile b/usr.sbin/pppd/Makefile new file mode 100644 index 000000000000..a0ca52e93e81 --- /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 ef1fc8a3c008..06561284376a 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 /* |