summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/rp-pppoe/Makefile21
-rw-r--r--net/rp-pppoe/files/md53
-rw-r--r--net/rp-pppoe/files/patch-sum3
-rw-r--r--net/rp-pppoe/patches/patch-aa39
-rw-r--r--net/rp-pppoe/pkg/COMMENT1
-rw-r--r--net/rp-pppoe/pkg/DESCR18
-rw-r--r--net/rp-pppoe/pkg/PLIST22
7 files changed, 107 insertions, 0 deletions
diff --git a/net/rp-pppoe/Makefile b/net/rp-pppoe/Makefile
new file mode 100644
index 00000000000..af0f2221176
--- /dev/null
+++ b/net/rp-pppoe/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/07/11 21:20:35 tron Exp $
+
+DISTNAME= rp-pppoe-1.9
+CATEGORIES= net
+MASTER_SITES= http://home.sprynet.com/~minaret/pppoe/
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://home.sprynet.com/~minaret/pppoe/
+
+DEPENDS+= ppp>=2.3.10:../ppp
+
+CONFLICTS+= mouse_pppoe-*
+
+GNU_CONFIGURE= yes
+
+ALL_TARGET= pppoe
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/pppoe.conf ${PREFIX}/share/doc/rp-pppoe
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/rp-pppoe/files/md5 b/net/rp-pppoe/files/md5
new file mode 100644
index 00000000000..703b95a5b10
--- /dev/null
+++ b/net/rp-pppoe/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/07/11 21:20:35 tron Exp $
+
+MD5 (rp-pppoe-1.9.tar.gz) = 641e1da80b6373cb853525ae3f631607
diff --git a/net/rp-pppoe/files/patch-sum b/net/rp-pppoe/files/patch-sum
new file mode 100644
index 00000000000..b2ca6fe8eaa
--- /dev/null
+++ b/net/rp-pppoe/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/07/11 21:20:35 tron Exp $
+
+MD5 (patch-aa) = 084681f0b768377e5a16f74115e096ac
diff --git a/net/rp-pppoe/patches/patch-aa b/net/rp-pppoe/patches/patch-aa
new file mode 100644
index 00000000000..2c4eb02019b
--- /dev/null
+++ b/net/rp-pppoe/patches/patch-aa
@@ -0,0 +1,39 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/07/11 21:20:36 tron Exp $
+
+--- Makefile.in.orig Fri May 26 01:16:22 2000
++++ Makefile.in Tue Jul 11 23:15:10 2000
+@@ -32,32 +32,10 @@
+ install: pppoe
+ @INSTALL@ -m 755 -o root -s pppoe @sbindir@
+ @INSTALL@ -m 755 -o root adsl-connect adsl-start adsl-status adsl-stop adsl-setup @sbindir@
+- -mkdir -p /usr/doc/rp-pppoe-$(VERSION)
+- @INSTALL@ -m 644 CHANGES HOW-TO-CONNECT LICENSE README firewall pap-secrets adsl-state.pl /usr/doc/rp-pppoe-$(VERSION)
++ -mkdir -p @prefix@/share/doc/rp-pppoe
++ @INSTALL@ -m 644 CHANGES HOW-TO-CONNECT LICENSE README pap-secrets adsl-state.pl @prefix@/share/doc/rp-pppoe
+ @INSTALL@ -m 644 pppoe.8 adsl-start.8 adsl-stop.8 adsl-status.8 adsl-connect.8 adsl-setup.8 @mandir@/man8
+ @INSTALL@ -m 644 pppoe.conf.5 @mandir@/man5
+- @if [ ! -d /etc/ppp ] ; then \
+- if [ -e /etc/ppp ] ; then \
+- echo "/etc/ppp is not a directory, rename /etc/ppp and rerun \"make install\"" ; \
+- exit 1 ; \
+- else \
+- mkdir /etc/ppp ; \
+- chown 0.0 /etc/ppp ; \
+- chmod 755 /etc/ppp ; \
+- fi ; \
+- fi
+- @for i in pppoe.conf firewall-standalone firewall-masq ; do \
+- if [ ! -f /etc/ppp/$$i ] ; then \
+- @INSTALL@ -m 644 -o root $$i /etc/ppp ; \
+- else \
+- echo "NOT overwriting existing /etc/ppp/$$i" ;\
+- @INSTALL@ -m 644 -o root $$i /etc/ppp/$$i-$(VERSION) ;\
+- fi ;\
+- done
+- @if [ -f /etc/redhat-release ] ; then \
+- echo "Looks like a Red Hat system; installing /etc/rc.d/init.d/adsl" ; \
+- @INSTALL@ -m 755 -o root adsl-init /etc/rc.d/init.d/adsl ; \
+- fi
+ -@echo "Before running rp-pppoe, run 'adsl-setup' or edit the file /etc/ppp/pppoe.conf"
+
+ distro:
diff --git a/net/rp-pppoe/pkg/COMMENT b/net/rp-pppoe/pkg/COMMENT
new file mode 100644
index 00000000000..9f87c569e0d
--- /dev/null
+++ b/net/rp-pppoe/pkg/COMMENT
@@ -0,0 +1 @@
+BSD port of Roaring Penguin's PPPoE client
diff --git a/net/rp-pppoe/pkg/DESCR b/net/rp-pppoe/pkg/DESCR
new file mode 100644
index 00000000000..7ef33b5d8f0
--- /dev/null
+++ b/net/rp-pppoe/pkg/DESCR
@@ -0,0 +1,18 @@
+BSD port of Roaring Penguin's pppoe client by
+Geoff Mottram <minaret@sprynet.com>.
+
+This BSD port of Roaring Penguin's PPPoE client uses the Berkeley
+Packet Filter to provide direct access to the Ethernet protocol
+for the pppd(8) daemon. It adds an additional feature that is
+not found in the Linux distribution for watching PPPoE packets.
+Details on this feature can be found in the "PPPoE Packet Watching"
+section at the bottom of this file.
+
+The Roaring Penguin PPPoE client is a robust product that has been
+widely used and tested by the Linux community. It integrates tightly
+with the PPP daemon (pppd) to take advantage of all of the features of
+that package.
+
+The software has been tested on NetBSD 1.4.2 but should run on
+any BSD variant that has pppd version 2.3.7 or later. Note that
+demand-dialing requires pppd 2.3.10 or later.
diff --git a/net/rp-pppoe/pkg/PLIST b/net/rp-pppoe/pkg/PLIST
new file mode 100644
index 00000000000..82a6ab074a8
--- /dev/null
+++ b/net/rp-pppoe/pkg/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/07/11 21:20:35 tron Exp $
+man/man5/pppoe.conf.5
+man/man8/adsl-connect.8
+man/man8/adsl-setup.8
+man/man8/adsl-start.8
+man/man8/adsl-status.8
+man/man8/adsl-stop.8
+man/man8/pppoe.8
+sbin/pppoe
+sbin/adsl-connect
+sbin/adsl-setup
+sbin/adsl-start
+sbin/adsl-status
+sbin/adsl-stop
+share/doc/rp-pppoe/CHANGES
+share/doc/rp-pppoe/HOW-TO-CONNECT
+share/doc/rp-pppoe/LICENSE
+share/doc/rp-pppoe/README
+share/doc/rp-pppoe/adsl-state.pl
+share/doc/rp-pppoe/pap-secrets
+share/doc/rp-pppoe/pppoe.conf
+@dirrm share/doc/rp-pppoe