summaryrefslogtreecommitdiff
path: root/net/userppp
diff options
context:
space:
mode:
authorad <ad>2000-11-07 17:26:58 +0000
committerad <ad>2000-11-07 17:26:58 +0000
commitc57ecf844f8f200a4f76978460cb4edb068beb63 (patch)
tree5ff94fcde2d34443ada475f252f7bab81146b6de /net/userppp
parent2e5319b7b1e2024b4f510fec06efdd55acb85291 (diff)
downloadpkgsrc-c57ecf844f8f200a4f76978460cb4edb068beb63.tar.gz
Initial import of userppp-001107, the userland PPP package as found in
FreeBSD and OpenBSD.
Diffstat (limited to 'net/userppp')
-rw-r--r--net/userppp/Makefile17
-rw-r--r--net/userppp/files/md53
-rw-r--r--net/userppp/files/patch-sum7
-rw-r--r--net/userppp/patches/patch-aa11
-rw-r--r--net/userppp/patches/patch-ab12
-rw-r--r--net/userppp/patches/patch-ac12
-rw-r--r--net/userppp/patches/patch-ad7
-rw-r--r--net/userppp/patches/patch-ae14
-rw-r--r--net/userppp/pkg/COMMENT1
-rw-r--r--net/userppp/pkg/DESCR5
-rw-r--r--net/userppp/pkg/PLIST23
11 files changed, 112 insertions, 0 deletions
diff --git a/net/userppp/Makefile b/net/userppp/Makefile
new file mode 100644
index 00000000000..ddfca668eee
--- /dev/null
+++ b/net/userppp/Makefile
@@ -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"
diff --git a/net/userppp/files/md5 b/net/userppp/files/md5
new file mode 100644
index 00000000000..88adedcad6d
--- /dev/null
+++ b/net/userppp/files/md5
@@ -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
diff --git a/net/userppp/files/patch-sum b/net/userppp/files/patch-sum
new file mode 100644
index 00000000000..83fe5af740a
--- /dev/null
+++ b/net/userppp/files/patch-sum
@@ -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
diff --git a/net/userppp/patches/patch-aa b/net/userppp/patches/patch-aa
new file mode 100644
index 00000000000..2fd12e4eaa9
--- /dev/null
+++ b/net/userppp/patches/patch-aa
@@ -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
diff --git a/net/userppp/patches/patch-ab b/net/userppp/patches/patch-ab
new file mode 100644
index 00000000000..206b6e61a40
--- /dev/null
+++ b/net/userppp/patches/patch-ab
@@ -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
+
diff --git a/net/userppp/patches/patch-ac b/net/userppp/patches/patch-ac
new file mode 100644
index 00000000000..fbeb37984e0
--- /dev/null
+++ b/net/userppp/patches/patch-ac
@@ -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>
diff --git a/net/userppp/patches/patch-ad b/net/userppp/patches/patch-ad
new file mode 100644
index 00000000000..0feaaa8246f
--- /dev/null
+++ b/net/userppp/patches/patch-ad
@@ -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
diff --git a/net/userppp/patches/patch-ae b/net/userppp/patches/patch-ae
new file mode 100644
index 00000000000..978337b7e57
--- /dev/null
+++ b/net/userppp/patches/patch-ae
@@ -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
diff --git a/net/userppp/pkg/COMMENT b/net/userppp/pkg/COMMENT
new file mode 100644
index 00000000000..e243d8ec1e3
--- /dev/null
+++ b/net/userppp/pkg/COMMENT
@@ -0,0 +1 @@
+User-PPP package as found in FreeBSD and OpenBSD
diff --git a/net/userppp/pkg/DESCR b/net/userppp/pkg/DESCR
new file mode 100644
index 00000000000..277c230d5e3
--- /dev/null
+++ b/net/userppp/pkg/DESCR
@@ -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).
diff --git a/net/userppp/pkg/PLIST b/net/userppp/pkg/PLIST
new file mode 100644
index 00000000000..7595eed490a
--- /dev/null
+++ b/net/userppp/pkg/PLIST
@@ -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