From 3e3a5bfbe501be905281c988e42f323762cbb8e7 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Mon, 18 Dec 1995 15:25:19 +0000 Subject: [PATCH] add ppp stuff from distribution; someone should look at integrating what the freebsd people have (way nicer) --- src/etc/Makefile | 10 ++++++++++ src/etc/ppp/chap-secrets | 2 ++ src/etc/ppp/options | 3 +++ src/etc/ppp/options.leaf | 1 + src/etc/ppp/pap-secrets | 2 ++ 5 files changed, 18 insertions(+) create mode 100644 src/etc/ppp/chap-secrets create mode 100644 src/etc/ppp/options create mode 100644 src/etc/ppp/options.leaf create mode 100644 src/etc/ppp/pap-secrets diff --git a/src/etc/Makefile b/src/etc/Makefile index bb154fc8..6030bf48 100644 --- a/src/etc/Makefile +++ b/src/etc/Makefile @@ -70,6 +70,16 @@ distribution: distrib-dirs ${DESTDIR}/etc/mtree; \ install -c -o root -g wheel -m 444 4.4BSD.dist \ ${DESTDIR}/etc/mtree) + (cd ppp; \ + install -c -o root -g wheel -m 644 chap-secrets \ + ${DESTDIR}/etc/ppp; \ + install -c -o root -g wheel -m 644 options \ + ${DESTDIR}/etc/ppp; \ + install -c -o root -g wheel -m 644 options.leaf \ + ${DESTDIR}/etc/ppp; \ + install -c -o root -g wheel -m 644 pap-secrets \ + ${DESTDIR}/etc/ppp; \ + ${DESTDIR}/etc/ppp) cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \ ${DESTDIR}/etc/namedb /bin/rm -f ${DESTDIR}/etc/localtime diff --git a/src/etc/ppp/chap-secrets b/src/etc/ppp/chap-secrets new file mode 100644 index 00000000..7d1c3cd7 --- /dev/null +++ b/src/etc/ppp/chap-secrets @@ -0,0 +1,2 @@ +# Secrets for authentication using CHAP +# client server secret IP addresses diff --git a/src/etc/ppp/options b/src/etc/ppp/options new file mode 100644 index 00000000..409a13aa --- /dev/null +++ b/src/etc/ppp/options @@ -0,0 +1,3 @@ +lock +auth +usehostname diff --git a/src/etc/ppp/options.leaf b/src/etc/ppp/options.leaf new file mode 100644 index 00000000..4b67b6a0 --- /dev/null +++ b/src/etc/ppp/options.leaf @@ -0,0 +1 @@ +lock diff --git a/src/etc/ppp/pap-secrets b/src/etc/ppp/pap-secrets new file mode 100644 index 00000000..f8b7dce3 --- /dev/null +++ b/src/etc/ppp/pap-secrets @@ -0,0 +1,2 @@ +# Secrets for authentication using PAP +# client server secret IP addresses