pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/pppd Initial import of pppd, version 2.4.3, into t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e7d0604d79b
branches:  trunk
changeset: 486738:4e7d0604d79b
user:      cube <cube%pkgsrc.org@localhost>
date:      Sun Jan 02 02:51:40 2005 +0000

description:
Initial import of pppd, version 2.4.3, into the NetBSD Package Collection.

The PPP Daemon is the userland part of the Point-to-Point Protocol.  It works
in combination with a dedicated kernel network interface usually named ppp.
PPP is a very extensible protocol and pppd supports a large number of options,
including compression (through various algorithms), cryptography (Microsoft's
MPPE) and authentication (PAP, CHAP, Microsoft CHAP), provided the kernel has
the relevant back-ends in some cases.

diffstat:

 net/pppd/DESCR            |     6 +
 net/pppd/Makefile         |    26 +
 net/pppd/PLIST            |    29 +
 net/pppd/PLIST.Linux      |    12 +
 net/pppd/distinfo         |    45 +
 net/pppd/patches/patch-aa |    13 +
 net/pppd/patches/patch-ab |    34 +
 net/pppd/patches/patch-ac |   155 +++
 net/pppd/patches/patch-ad |   211 ++++
 net/pppd/patches/patch-ae |    25 +
 net/pppd/patches/patch-af |    44 +
 net/pppd/patches/patch-ag |    15 +
 net/pppd/patches/patch-ah |    71 +
 net/pppd/patches/patch-ai |    13 +
 net/pppd/patches/patch-aj |   227 ++++
 net/pppd/patches/patch-ak |    52 +
 net/pppd/patches/patch-al |    35 +
 net/pppd/patches/patch-am |    25 +
 net/pppd/patches/patch-an |    30 +
 net/pppd/patches/patch-ao |    17 +
 net/pppd/patches/patch-ap |    13 +
 net/pppd/patches/patch-aq |    85 +
 net/pppd/patches/patch-ar |    82 +
 net/pppd/patches/patch-as |    30 +
 net/pppd/patches/patch-at |    13 +
 net/pppd/patches/patch-au |   273 +++++
 net/pppd/patches/patch-av |    13 +
 net/pppd/patches/patch-aw |   349 +++++++
 net/pppd/patches/patch-ax |    61 +
 net/pppd/patches/patch-ay |    12 +
 net/pppd/patches/patch-az |  2152 +++++++++++++++++++++++++++++++++++++++++++++
 net/pppd/patches/patch-ba |    30 +
 net/pppd/patches/patch-bb |    87 +
 net/pppd/patches/patch-bc |    71 +
 net/pppd/patches/patch-bd |    12 +
 net/pppd/patches/patch-be |    26 +
 net/pppd/patches/patch-bf |   177 +++
 net/pppd/patches/patch-bg |   122 ++
 net/pppd/patches/patch-bh |    37 +
 net/pppd/patches/patch-bi |    99 ++
 net/pppd/patches/patch-bj |    49 +
 net/pppd/patches/patch-bk |    13 +
 net/pppd/patches/patch-bl |    40 +
 net/pppd/patches/patch-bm |    26 +
 net/pppd/patches/patch-bn |    13 +
 net/pppd/patches/patch-bo |    13 +
 46 files changed, 4983 insertions(+), 0 deletions(-)

diffs (truncated from 5167 to 300 lines):

diff -r 01f97eeb907a -r 4e7d0604d79b net/pppd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pppd/DESCR    Sun Jan 02 02:51:40 2005 +0000
@@ -0,0 +1,6 @@
+The PPP Daemon is the userland part of the Point-to-Point Protocol.  It works
+in combination with a dedicated kernel network interface usually named ppp.
+PPP is a very extensible protocol and pppd supports a large number of options,
+including compression (through various algorithms), cryptography (Microsoft's
+MPPE) and authentication (PAP, CHAP, Microsoft CHAP), provided the kernel has
+the relevant back-ends in some cases.
diff -r 01f97eeb907a -r 4e7d0604d79b net/pppd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pppd/Makefile Sun Jan 02 02:51:40 2005 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/02 02:51:40 cube Exp $
+
+DISTNAME=              ppp-${PPPD_VERSION}
+PKGNAME=               ${DISTNAME:S/ppp/&d/}
+CATEGORIES=            net
+MASTER_SITES=          ftp://ftp.samba.org/pub/ppp/
+
+MAINTAINER=            cube%NetBSD.org@localhost
+HOMEPAGE=              http://ppp.samba.org/
+COMMENT=               PPP Daemon
+
+USE_BUILDLINK3=                yes
+USE_PKGLOCALEDIR=      yes
+HAS_CONFIGURE=         yes
+USE_GNU_TOOLS+=                make
+USE_PKGINSTALL=                yes
+
+ONLY_FOR_PLATFORM+=    NetBSD-*-* Linux-*-*
+
+PKG_SYSCONFSUBDIR=     ppp
+CONFIGURE_ENV+=                PREFIX=${PREFIX} PKGSYSCONFDIR=${PKG_SYSCONFDIR}
+
+PPPD_VERSION=  2.4.3
+PLIST_SUBST+=  PPPD_VERSION=${PPPD_VERSION}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 01f97eeb907a -r 4e7d0604d79b net/pppd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pppd/PLIST    Sun Jan 02 02:51:40 2005 +0000
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/02 02:51:41 cube Exp $
+include/pppd/ccp.h
+include/pppd/chap-new.h
+include/pppd/chap_ms.h
+include/pppd/eap.h
+include/pppd/ecp.h
+include/pppd/fsm.h
+include/pppd/ipcp.h
+include/pppd/ipxcp.h
+include/pppd/lcp.h
+include/pppd/magic.h
+include/pppd/md5.h
+include/pppd/patchlevel.h
+include/pppd/pathnames.h
+include/pppd/pppcrypt.h
+include/pppd/pppd.h
+include/pppd/sha1.h
+include/pppd/spinlock.h
+include/pppd/tdb.h
+include/pppd/upap.h
+man/man8/chat.8
+man/man8/pppd.8
+man/man8/pppdump.8
+man/man8/pppstats.8
+sbin/chat
+sbin/pppd
+sbin/pppdump
+sbin/pppstats
+@dirrm include/pppd
diff -r 01f97eeb907a -r 4e7d0604d79b net/pppd/PLIST.Linux
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pppd/PLIST.Linux      Sun Jan 02 02:51:40 2005 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST.Linux,v 1.1.1.1 2005/01/02 02:51:41 cube Exp $
+include/pppd/md4.h
+lib/pppd/${PPPD_VERSION}/pppoatm.so
+lib/pppd/${PPPD_VERSION}/radius.so
+lib/pppd/${PPPD_VERSION}/radattr.so
+lib/pppd/${PPPD_VERSION}/radrealms.so
+lib/pppd/${PPPD_VERSION}/rp-pppoe.so
+man/man8/pppd-radius.8
+man/man8/pppd-radattr.8
+sbin/pppoe-discovery
+@dirrm lib/pppd/${PPPD_VERSION}
+@dirrm lib/pppd
diff -r 01f97eeb907a -r 4e7d0604d79b net/pppd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pppd/distinfo Sun Jan 02 02:51:40 2005 +0000
@@ -0,0 +1,45 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/02 02:51:41 cube Exp $
+
+SHA1 (ppp-2.4.3.tar.gz) = 5e2789f4dedc81943fa9f94c840cccc2407056f7
+Size (ppp-2.4.3.tar.gz) = 688092 bytes
+SHA1 (patch-aa) = 8814f0f389971d07368bef95fbadbb5d7562d0a9
+SHA1 (patch-ab) = 1cd0d99dac316b1c5a48c9a41104c2c25e9bb920
+SHA1 (patch-ac) = 9bc88cfcd7b1a09e92aaa919f35e39afb3b45803
+SHA1 (patch-ad) = c196817c32c9b8c8d367d5cb54c4c792d53b78f8
+SHA1 (patch-ae) = 3cb3f64ad7c209a8283a92c50bdb4071c6f8ad38
+SHA1 (patch-af) = 178a2a2a716d6ff8e9bd0cc36ff72d8a138f6989
+SHA1 (patch-ag) = f989f71dbb164e53157ba2677f29737862e137f2
+SHA1 (patch-ah) = 6bca5470590c5a9c9aa9de64abf21e44c770d1b5
+SHA1 (patch-ai) = a0e5fcd766980e20ee3737273833e743dee58bf5
+SHA1 (patch-aj) = 01f7b864769f98d65d24294307932c3fb02162f4
+SHA1 (patch-ak) = d38d646fad05418d1271918af53569bb40f12812
+SHA1 (patch-al) = 1c76f6c2fa6a9a3ea4d79e23d4ecf449c5260d8d
+SHA1 (patch-am) = 4d017c416611ca3bc91f1292d7fad2bffffa638d
+SHA1 (patch-an) = 34993cb35793f3dd6749df21b3c9fce2a5b25eb9
+SHA1 (patch-ao) = 2c41e874876b13e510ab0337981d24fc0ec37257
+SHA1 (patch-ap) = 28e69eccad8c480322de9e9b50a0c6ee47586a94
+SHA1 (patch-aq) = e6ba0533fb4135ab6d1055694e9e8ec27cd19f38
+SHA1 (patch-ar) = 5070283e0b66c5e085770451c8a0f82b764f0be2
+SHA1 (patch-as) = b6774585d995d5871bc13a6430ce99192d0405ab
+SHA1 (patch-at) = ab5d74511ff1b83953f3595b6d71b0c130bdc966
+SHA1 (patch-au) = b74e19ee4f9e09bfbb0f8be15b1baa80a7e11ce4
+SHA1 (patch-av) = 6ae49e8f2d5d74fa437e100b27a021451feb8f28
+SHA1 (patch-aw) = 7fb53f72216ffe34720b76fc122e87f4762a6696
+SHA1 (patch-ax) = 3641654b6b158ad65e9dd95247836fa8c07ec66e
+SHA1 (patch-ay) = 93ccd90f6efa58bfe31105526499308ed35b9522
+SHA1 (patch-az) = 250ce38e56be6e05719463c5a93b4b8acae78a43
+SHA1 (patch-ba) = 4293edb8b490fe31e07268a6d7001e1c9db8f323
+SHA1 (patch-bb) = 9b17b12b45d9857eea42c2a6dc3704392c4df7c0
+SHA1 (patch-bc) = d53a2226166e84fa9ea049cdbfb52c1dcd0f1ed9
+SHA1 (patch-bd) = 142545e81f05f5efbc35629bf6cf1e791f3dc4f9
+SHA1 (patch-be) = 2685b1c382506c746e18b9047fdd1816d1af96b8
+SHA1 (patch-bf) = 16788a1508cd981ff8967915a86a1fb02e55330c
+SHA1 (patch-bg) = 29c0880b6a30ab16b62a538c42cdbb6296add506
+SHA1 (patch-bh) = 8136e968fadbc2cc08006651772b943313cb6641
+SHA1 (patch-bi) = 56d8389724807a8317b16219fbfb81b6da623d10
+SHA1 (patch-bj) = ad5618b6243414ce2649b200096a53194f48c735
+SHA1 (patch-bk) = 2ebb4e4133c22775e374990a6e05390f826d3e91
+SHA1 (patch-bl) = 31525cf95919a534804c95121f7e69289c4220cb
+SHA1 (patch-bm) = 27743760f1a5c385b5b17c0568e0736d5c3b08bb
+SHA1 (patch-bn) = 2527e7f82874ad3ffaa2585bb7939fbd62ee291a
+SHA1 (patch-bo) = 58edaa6a2a9d542da32f2fab678a01132235a9e0
diff -r 01f97eeb907a -r 4e7d0604d79b net/pppd/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pppd/patches/patch-aa Sun Jan 02 02:51:40 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/01/02 02:51:41 cube Exp $
+
+--- chat/Makefile.linux.orig   2004-11-03 12:51:47.000000000 +0100
++++ chat/Makefile.linux
+@@ -2,7 +2,7 @@
+ 
+ DESTDIR = @DESTDIR@
+ BINDIR = $(DESTDIR)/sbin
+-MANDIR = $(DESTDIR)/share/man/man8
++MANDIR = $(DESTDIR)/man/man8
+ 
+ CDEF1=        -DTERMIOS                       # Use the termios structure
+ CDEF2=        -DSIGTYPE=void                  # Standard definition
diff -r 01f97eeb907a -r 4e7d0604d79b net/pppd/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pppd/patches/patch-ab Sun Jan 02 02:51:40 2005 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/01/02 02:51:41 cube Exp $
+
+--- chat/Makefile.netbsd.orig  2004-12-31 23:50:59.000000000 +0100
++++ chat/Makefile.netbsd
+@@ -0,0 +1,29 @@
++DESTDIR = @DESTDIR@
++BINDIR = $(DESTDIR)/sbin
++MANDIR = $(DESTDIR)/man/man8
++
++CDEF1=        -DTERMIOS                       # Use the termios structure
++CDEF2=        -DSIGTYPE=void                  # Standard definition
++CDEF3=        -DHAS_STRLFUNCS                 # strlcat and strlcpy
++CDEFS=        $(CDEF1) $(CDEF2) $(CDEF3)
++
++COPTS=        -O2 -g -pipe
++CFLAGS=       $(COPTS) $(CDEFS)
++
++INSTALL= install
++
++all:  chat
++
++chat: chat.o
++      $(CC) -o chat chat.o
++
++chat.o:       chat.c
++      $(CC) -c $(CFLAGS) -o chat.o chat.c
++
++install: chat
++      mkdir -p $(BINDIR)
++      $(INSTALL) -s -c chat $(BINDIR)
++      $(INSTALL) -c -m 644 chat.8 $(MANDIR)
++
++clean:
++      rm -f chat.o chat *~
diff -r 01f97eeb907a -r 4e7d0604d79b net/pppd/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pppd/patches/patch-ac Sun Jan 02 02:51:40 2005 +0000
@@ -0,0 +1,155 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/01/02 02:51:41 cube Exp $
+
+--- chat/chat.8.orig   2004-11-13 13:22:49.000000000 +0100
++++ chat/chat.8
+@@ -23,21 +23,21 @@ connection between the Point-to-Point Pr
+ the remote's \fIpppd\fR process.
+ .SH OPTIONS
+ .TP
+-.B \-f \fI<chat file>
++.B \-f \fI\*[Lt]chat file\*[Gt]
+ Read the chat script from the chat \fIfile\fR. The use of this option
+ is mutually exclusive with the chat script parameters. The user must
+ have read access to the file. Multiple lines are permitted in the
+ file. Space or horizontal tab characters should be used to separate
+ the strings.
+ .TP
+-.B \-t \fI<timeout>
++.B \-t \fI\*[Lt]timeout\*[Gt]
+ Set the timeout for the expected string to be received. If the string
+ is not received within the time limit then the reply string is not
+ sent. An alternate reply may be sent or the script will fail if there
+ is no alternate reply string. A failed script will cause the
+ \fIchat\fR program to terminate with a non-zero error code.
+ .TP
+-.B \-r \fI<report file>
++.B \-r \fI\*[Lt]report file\*[Gt]
+ Set the file for output of the report strings. If you use the keyword
+ \fIREPORT\fR, the resulting strings are written to this file. If this
+ option is not used and you still use \fIREPORT\fR keywords, the
+@@ -50,7 +50,7 @@ keyword. When echoing is enabled, all ou
+ to \fIstderr\fR.
+ .TP
+ .B \-E
+-Enables environment variable substituion within chat scripts using the
++Enables environment variable substitution within chat scripts using the
+ standard \fI$xxx\fR syntax.
+ .TP
+ .B \-v
+@@ -58,7 +58,8 @@ Request that the \fIchat\fR script be ex
+ \fIchat\fR program will then log the execution state of the chat
+ script as well as all text received from the modem and the output
+ strings sent to the modem.  The default is to log through the SYSLOG;
+-the logging method may be altered with the \-S and \-s flags.
++the logging method may be altered with the \-S and \-s flags.  SYSLOGs
++are logged to facility LOG_LOCAL2.
+ .TP
+ .B \-V
+ Request that the \fIchat\fR script be executed in a stderr verbose
+@@ -74,16 +75,16 @@ sent to stderr.
+ .B \-S
+ Do not use the SYSLOG.  By default, error messages are sent to the
+ SYSLOG.  The use of \-S will prevent both log messages from '\-v' and
+-error messages from being sent to the SYSLOG.
++error messages from being sent to the SYSLOG (to facility LOG_LOCAL2).
+ .TP
+-.B \-T \fI<phone number>
++.B \-T \fI\*[Lt]phone number\*[Gt]
+ Pass in an arbitary string, usually a phone number, that will be
+ substituted for the \\T substitution metacharacter in a send string.
+ .TP
+-.B \-U \fI<phone number 2>
++.B \-U \fI\*[Lt]phone number 2\*[Gt]
+ Pass in a second string, usually a phone number, that will be
+ substituted for the \\U substitution metacharacter in a send string.
+-This is useful when dialing an ISDN terminal adapter that requires two 
++This is useful when dialing an ISDN terminal adapter that requires two
+ numbers.
+ .TP
+ .B script
+@@ -204,25 +205,25 @@ terminal), standard error will normally 
+ .LP
+ \fBSAY\fR strings must be enclosed in single or double quotes. If
+ carriage return and line feed are needed in the string to be output,
+-you must explicitely add them to your string.
++you must explicitly add them to your string.
+ .LP
+ The SAY strings could be used to give progress messages in sections of
+ the script where you want to have 'ECHO OFF' but still let the user
+ know what is happening.  An example is:
+ .IP
+-ABORT BUSY 
++ABORT BUSY
+ .br
+-ECHO OFF 
++ECHO OFF
+ .br
+-SAY "Dialling your ISP...\\n" 
++SAY "Dialling your ISP...\\n"
+ .br
+-\&'' ATDT5551212 
++\&'' ATDT5551212
+ .br
+ TIMEOUT 120
+ .br
+ SAY "Waiting up to 2 minutes for connection ... "
+ .br
+-CONNECT '' 
++CONNECT ''
+ .br
+ SAY "Connected, now logging in ...\n"
+ .br
+@@ -238,7 +239,7 @@ This sequence will only present the SAY 
+ the details of the script will remain hidden. For example, if the



Home | Main Index | Thread Index | Old Index