Initial import of userppp-001107, the userland PPP package as found in

FreeBSD and OpenBSD.
This commit is contained in:
ad 2000-11-07 17:26:58 +00:00
parent 692060125d
commit 647359f090
11 changed files with 112 additions and 0 deletions

17
net/userppp/Makefile Normal file
View file

@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/11/07 17:26:58 ad Exp $
DISTNAME= userppp-001107
CATEGORIES= net
MASTER_SITES= http://www.awfulhak.org/~brian/
DISTFILES= ppp-001107.src.tar.gz
MAINTAINER= ad@netbsd.org
HOMEPAGE= http://www.awfulhak.org/~brian/
WRKSRC= ${WRKDIR}/ppp-001107
pre-install:
${GREP} "^network:" /etc/group >/dev/null || \
/usr/sbin/groupadd -g 40 network
.include "../../mk/bsd.pkg.mk"

3
net/userppp/files/md5 Normal file
View file

@ -0,0 +1,3 @@
$NetBSD: md5,v 1.1.1.1 2000/11/07 17:26:58 ad Exp $
MD5 (ppp-001107.src.tar.gz) = 9abb06fbf3bbb1eb8fe6d73423248840

View file

@ -0,0 +1,7 @@
$NetBSD: patch-sum,v 1.1.1.1 2000/11/07 17:26:58 ad Exp $
MD5 (patch-aa) = 94ddec58e9d70124d48b0c37aee9ebcd
MD5 (patch-ab) = 2949cc5344332ab1fbf3c8ef49b80e06
MD5 (patch-ac) = 21148a0431f6326289414525ada478c9
MD5 (patch-ad) = 68bb63d69846a116e2808b7a63abda05
MD5 (patch-ae) = 601856884f45d9333f03ddc62fc1bd2c

View file

@ -0,0 +1,11 @@
$NetBSD: patch-aa,v 1.1.1.1 2000/11/07 17:26:58 ad Exp $
--- Makefile.orig Tue Nov 7 15:27:16 2000
+++ Makefile Tue Nov 7 15:27:25 2000
@@ -1,5 +1,5 @@
SUBDIR+=libhack ppp pppctl
-EXAMPLES=/usr/share/examples/ppp
+EXAMPLES=${PREFIX}/share/examples/ppp
.include <bsd.subdir.mk>
afterinstall:
if [ ! -d /etc/ppp ]; then mkdir -p /etc/ppp; chmod 755 /etc/ppp; fi

View file

@ -0,0 +1,12 @@
$NetBSD: patch-ab,v 1.1.1.1 2000/11/07 17:26:58 ad Exp $
--- ppp/Makefile Tue Nov 7 15:40:44 2000
+++ ppp/Makefile Tue Nov 7 15:40:49 2000
@@ -123,7 +123,6 @@
# Note, uucplock.c and libutil.h do not really belong here !
CFLAGS+=-I. -I../libhack
SRCS+=uucplock.c
-BINDIR=/usr/sbin
.PATH: ${.CURDIR}/../libhack

View file

@ -0,0 +1,12 @@
$NetBSD: patch-ac,v 1.1.1.1 2000/11/07 17:26:58 ad Exp $
--- pppctl/Makefile.orig Tue Nov 7 15:15:10 2000
+++ pppctl/Makefile Tue Nov 7 15:15:18 2000
@@ -13,7 +13,6 @@
.endif
# To install correctly:
-BINDIR=/usr/sbin
BINOWN=root
.include <bsd.prog.mk>

View file

@ -0,0 +1,7 @@
$NetBSD: patch-ad,v 1.1.1.1 2000/11/07 17:26:58 ad Exp $
--- /dev/null Sat Jul 29 16:32:22 2000
+++ Makefile.inc Tue Nov 7 15:24:26 2000
@@ -0,0 +1,2 @@
+BINDIR= ${PREFIX}/sbin
+MANDIR= ${PREFIX}/man

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ae,v 1.1.1.1 2000/11/07 17:26:58 ad Exp $
--- ppp/ppp.8.orig Tue Nov 7 16:07:41 2000
+++ ppp/ppp.8 Tue Nov 7 16:20:08 2000
@@ -3188,8 +3188,7 @@
.Ar remotePort Ns
.Oo
.No - Ns Ar remotePort
-.Oc Oc
-.Xc
+.Oc Oc Xc
This command causes incoming
.Ar proto
connections to

1
net/userppp/pkg/COMMENT Normal file
View file

@ -0,0 +1 @@
User-PPP package as found in FreeBSD and OpenBSD

5
net/userppp/pkg/DESCR Normal file
View file

@ -0,0 +1,5 @@
This is the user process PPP package as found in FreeBSD and OpenBSD.
Normally, PPP is implemented as a part of the kernel (e.g., as managed by
pppd(8)) and it's thus somewhat hard to debug and/or modify its behaviour.
However, in this implementation PPP is done as a user process with the help
of the tunnel device driver (tun).

23
net/userppp/pkg/PLIST Normal file
View file

@ -0,0 +1,23 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/07 17:26:58 ad Exp $
man/cat8/ppp.0
man/cat8/pppctl.0
man/man8/ppp.8
man/man8/pppctl.8
sbin/ppp
sbin/pppctl
share/examples/ppp/chap-auth
share/examples/ppp/isdnd.rc
share/examples/ppp/login-auth
share/examples/ppp/ppp.conf.isdn
share/examples/ppp/ppp.conf.sample
share/examples/ppp/ppp.conf.span-isp
share/examples/ppp/ppp.conf.span-isp.working
share/examples/ppp/ppp.linkdown.sample
share/examples/ppp/ppp.linkdown.span-isp
share/examples/ppp/ppp.linkdown.span-isp.working
share/examples/ppp/ppp.linkup.sample
share/examples/ppp/ppp.linkup.span-isp
share/examples/ppp/ppp.linkup.span-isp.working
share/examples/ppp/ppp.secret.sample
share/examples/ppp/ppp.secret.span-isp
share/examples/ppp/ppp.secret.span-isp.working