pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/rp-l2tp Add DragonFly support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/cf8702669e85
branches: trunk
changeset: 512603:cf8702669e85
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri May 12 09:41:15 2006 +0000
description:
Add DragonFly support.
diffstat:
net/rp-l2tp/distinfo | 4 ++--
net/rp-l2tp/patches/patch-ac | 16 +++++++++-------
2 files changed, 11 insertions(+), 9 deletions(-)
diffs (60 lines):
diff -r e88eb513d221 -r cf8702669e85 net/rp-l2tp/distinfo
--- a/net/rp-l2tp/distinfo Fri May 12 09:30:55 2006 +0000
+++ b/net/rp-l2tp/distinfo Fri May 12 09:41:15 2006 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 12:14:03 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/05/12 09:41:15 joerg Exp $
SHA1 (rp-l2tp-0.3.tar.gz) = 3f4f08a5271f0adf1dd90567851f1a8e223ecb72
RMD160 (rp-l2tp-0.3.tar.gz) = 25ed4a68a01c08f3acee1ce01a90673a568db55f
Size (rp-l2tp-0.3.tar.gz) = 191418 bytes
SHA1 (patch-aa) = a351d8bcea431bc47a0a375c770d07e059103841
SHA1 (patch-ab) = 9013297a1e6fede036894be04413feb0cc1bb803
-SHA1 (patch-ac) = 8225dd6f2290b6e66e04f0b1ce67be293d89783c
+SHA1 (patch-ac) = ed6cb031b458027f7df8a97a051a1f12bc6b5e00
SHA1 (patch-ad) = 943de75b5928bca92ec739106f3c5679189557c3
SHA1 (patch-ae) = 62c6d5fb9ddd69467fbb6ed6b502add0ae646a29
SHA1 (patch-af) = 3fa6c660ca06ddf3ea49e33e31506f714f7ef9b5
diff -r e88eb513d221 -r cf8702669e85 net/rp-l2tp/patches/patch-ac
--- a/net/rp-l2tp/patches/patch-ac Fri May 12 09:30:55 2006 +0000
+++ b/net/rp-l2tp/patches/patch-ac Fri May 12 09:41:15 2006 +0000
@@ -1,30 +1,32 @@
-$NetBSD: patch-ac,v 1.1.1.1 2003/12/18 16:39:18 agc Exp $
+$NetBSD: patch-ac,v 1.2 2006/05/12 09:41:16 joerg Exp $
---- handlers/pty.c 2003/12/18 09:47:10 1.1
-+++ handlers/pty.c 2003/12/18 09:49:36
-@@ -21,7 +21,10 @@
+--- handlers/pty.c.orig 2002-09-30 19:45:00.000000000 +0000
++++ handlers/pty.c
+@@ -21,7 +21,12 @@ static char const RCSID[] =
#include <termios.h>
#include <fcntl.h>
#include <stdio.h>
-#ifndef N_HDLC
+#ifdef __NetBSD__
+#include <util.h>
++#elif defined(__DragonFly__) || defined(__FreeBSD__)
++#include <libutil.h>
+#endif
+#if defined(__linux__) && !defined(N_HDLC)
#include <linux/termios.h>
#endif
-@@ -39,6 +42,9 @@
+@@ -39,6 +44,9 @@ static char const RCSID[] =
int
pty_get(int *mfp, int *sfp)
{
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
+ return openpty(mfp, sfp, NULL, NULL, NULL);
+#else
char pty_name[24];
struct termios tios;
int mfd, sfd;
-@@ -92,5 +98,6 @@
+@@ -92,5 +100,6 @@ pty_get(int *mfp, int *sfp)
return -1;
}
return 0;
Home |
Main Index |
Thread Index |
Old Index