diff options
-rw-r--r-- | net/miredo/Makefile | 9 | ||||
-rw-r--r-- | net/miredo/PLIST | 18 | ||||
-rw-r--r-- | net/miredo/distinfo | 16 | ||||
-rw-r--r-- | net/miredo/patches/patch-aa | 19 | ||||
-rw-r--r-- | net/miredo/patches/patch-ab | 8 | ||||
-rw-r--r-- | net/miredo/patches/patch-ac | 31 | ||||
-rw-r--r-- | net/miredo/patches/patch-ad | 32 | ||||
-rw-r--r-- | net/miredo/patches/patch-ae | 12 |
8 files changed, 40 insertions, 105 deletions
diff --git a/net/miredo/Makefile b/net/miredo/Makefile index 8dfba00b398..c4062507e8e 100644 --- a/net/miredo/Makefile +++ b/net/miredo/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2006/05/12 08:25:47 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2006/08/15 20:54:44 rpaulo Exp $ -DISTNAME= miredo-0.8.4 -PKGREVISION= 1 +DISTNAME= miredo-0.9.9 CATEGORIES= net -MASTER_SITES= http://www.remlab.net/files/miredo/v0.8/ +MASTER_SITES= http://www.remlab.net/files/miredo/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= rpaulo@NetBSD.org @@ -20,12 +19,14 @@ EGDIR= ${PREFIX}/share/examples/miredo CONF_FILES= ${EGDIR}/miredo.conf-dist ${PKG_SYSCONFDIR}/miredo.conf CONF_FILES+= ${EGDIR}/miredo-server.conf-dist \ ${PKG_SYSCONFDIR}/miredo-server.conf +CONF_FILES+= ${EGDIR}/isatapd.conf-dist ${PKG_SYSCONFDIR}/isatapd.conf INSTALLATION_DIRS= share/examples/miredo post-install: ${INSTALL_DATA} ${WRKSRC}/misc/miredo.conf-dist ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/misc/miredo-server.conf-dist ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/misc/isatapd.conf-dist ${EGDIR} .include "../../net/libpcap/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" diff --git a/net/miredo/PLIST b/net/miredo/PLIST index e695b50c96f..e9855a9e341 100644 --- a/net/miredo/PLIST +++ b/net/miredo/PLIST @@ -1,28 +1,26 @@ -@comment $NetBSD: PLIST,v 1.3 2006/05/12 08:25:47 joerg Exp $ +@comment $NetBSD: PLIST,v 1.4 2006/08/15 20:54:44 rpaulo Exp $ +bin/teredo-mire sbin/miredo sbin/miredo-server +sbin/miredo-checkconf +sbin/isatapd include/libteredo/teredo.h include/libteredo/teredo-udp.h include/libteredo/tunnel.h include/libtun6/tun6.h +man/man1/teredo-mire.1 man/man5/miredo-server.conf.5 man/man5/miredo.conf.5 +man/man5/isatapd.conf.5 man/man8/miredo-checkconf.8 man/man8/miredo-server.8 man/man8/miredo.8 -lib/libteredo.a +man/man8/isatapd.8 lib/libteredo.la -lib/libteredo.so -lib/libteredo.so.0 -lib/libteredo.so.0.0.0 -lib/libtun6.a lib/libtun6.la -lib/libtun6.so -lib/libtun6.so.0 -lib/libtun6.so.0.0.0 -sbin/miredo-checkconf share/examples/miredo/miredo.conf-dist share/examples/miredo/miredo-server.conf-dist +share/examples/miredo/isatapd.conf-dist @dirrm include/libteredo @dirrm include/libtun6 @dirrm share/examples/miredo diff --git a/net/miredo/distinfo b/net/miredo/distinfo index f679d677065..8763079d000 100644 --- a/net/miredo/distinfo +++ b/net/miredo/distinfo @@ -1,10 +1,8 @@ -$NetBSD: distinfo,v 1.5 2006/05/12 08:25:47 joerg Exp $ +$NetBSD: distinfo,v 1.6 2006/08/15 20:54:44 rpaulo Exp $ -SHA1 (miredo-0.8.4.tar.bz2) = 57b2f3880c2e6ec0342478fd6fd329f457250de9 -RMD160 (miredo-0.8.4.tar.bz2) = f72409d4f63800e7f9adc833a1916c7a2939db07 -Size (miredo-0.8.4.tar.bz2) = 407550 bytes -SHA1 (patch-aa) = 864290fea0303cf82bacace2cf955408983bbf18 -SHA1 (patch-ab) = 9299baae1f7741ddec743159aa871999eff8228a -SHA1 (patch-ac) = 884e1d2fdadb3aebf096ab99afa1dc8fea2346e9 -SHA1 (patch-ad) = 0b6170f8bb8e3f501de6773e68fd0657036a17bd -SHA1 (patch-ae) = d6deef1b94ed3e33bb0b0659ba0615416ca2be38 +SHA1 (miredo-0.9.9.tar.bz2) = 15fd2dc04f295cce5a25a4372488caaf99bc6552 +RMD160 (miredo-0.9.9.tar.bz2) = 7bb88d5fc90001b8c7efdc809038bf382708bdcd +Size (miredo-0.9.9.tar.bz2) = 441042 bytes +SHA1 (patch-aa) = 21e1224ddaec51d6444e5d9e69acac0e81aef97e +SHA1 (patch-ab) = 08e67c6fa8bebfca8d47ca2b9525bda2eefb518f +SHA1 (patch-ac) = c591e9097cf143c9bc4bde3cb66b875755547cd1 diff --git a/net/miredo/patches/patch-aa b/net/miredo/patches/patch-aa index 21d40efb42c..af859c0e054 100644 --- a/net/miredo/patches/patch-aa +++ b/net/miredo/patches/patch-aa @@ -1,21 +1,12 @@ -$NetBSD: patch-aa,v 1.3 2006/05/02 15:36:09 rpaulo Exp $ +$NetBSD: patch-aa,v 1.4 2006/08/15 20:54:44 rpaulo Exp $ ---- Makefile.in.orig 2006-05-01 13:58:04.000000000 +0100 -+++ Makefile.in 2006-05-02 16:10:03.000000000 +0100 -@@ -215,7 +215,7 @@ sharedstatedir = @sharedstatedir@ - sysconfdir = @sysconfdir@ - target_alias = @target_alias@ - ACLOCAL_AMFLAGS = -I m4 --SUBDIRS = po doc misc compat libtun6 libteredo src -+SUBDIRS = po doc compat libtun6 libteredo src - DIST_SUBDIRS = m4 $(SUBDIRS) - noinst_HEADERS = include/gettext.h - EXTRA_DIST = bootstrap autopackage/default.apspec.in -@@ -615,7 +615,6 @@ info-am: +--- Makefile.in.orig 2006-08-12 18:43:14.000000000 +0100 ++++ Makefile.in 2006-08-13 13:51:30.000000000 +0100 +@@ -703,7 +703,6 @@ info-am: install-data-am: @$(NORMAL_INSTALL) - $(MAKE) $(AM_MAKEFLAGS) install-data-hook - install-exec-am: + install-exec-am: install-dist_sysconfDATA install-nodist_sysconfDATA diff --git a/net/miredo/patches/patch-ab b/net/miredo/patches/patch-ab index fb56019c84a..99b4f32476f 100644 --- a/net/miredo/patches/patch-ab +++ b/net/miredo/patches/patch-ab @@ -1,11 +1,11 @@ -$NetBSD: patch-ab,v 1.4 2006/05/02 15:36:09 rpaulo Exp $ +$NetBSD: patch-ab,v 1.5 2006/08/15 20:54:44 rpaulo Exp $ ---- misc/miredo.conf-dist.orig 2006-05-02 16:29:45.000000000 +0100 -+++ misc/miredo.conf-dist 2006-05-02 16:29:51.000000000 +0100 +--- misc/miredo.conf.orig 2006-08-13 13:56:16.000000000 +0100 ++++ misc/miredo.conf 2006-08-13 13:56:21.000000000 +0100 @@ -7,7 +7,7 @@ #RelayType client - # Name of the network tunneling interface. + # Name of the network tunneling interface. -InterfaceName teredo +#InterfaceName teredo diff --git a/net/miredo/patches/patch-ac b/net/miredo/patches/patch-ac index 3efe63a74c0..c8e4dbb548f 100644 --- a/net/miredo/patches/patch-ac +++ b/net/miredo/patches/patch-ac @@ -1,22 +1,13 @@ -$NetBSD: patch-ac,v 1.3 2006/05/12 08:25:47 joerg Exp $ +$NetBSD: patch-ac,v 1.4 2006/08/15 20:54:44 rpaulo Exp $ ---- libtun6/tun6.c.orig 2006-05-01 12:57:31.000000000 +0000 -+++ libtun6/tun6.c -@@ -94,6 +94,8 @@ static const char *os_driver = "BSD"; +--- misc/isatapd.conf.orig 2006-08-13 13:56:57.000000000 +0100 ++++ misc/isatapd.conf 2006-08-13 13:57:02.000000000 +0100 +@@ -8,7 +8,7 @@ + ServerAddress isatap - # if defined (HAVE_NET_IF_TUN_H) - # include <net/if_tun.h> // TUNSIFHEAD, TUNSLMODE -+# elif defined(__DragonFly__) -+# include <net/tun/if_tun.h> - # elif defined (__APPLE__) - # define TUNSIFHEAD _IOW('t', 96, int) - # endif -@@ -213,7 +215,7 @@ tun6 *tun6_create (const char *req_name) - * Some BSD variants or older kernel versions do not support /dev/tun, - * so fallback to the old scheme. - */ -- for (unsigned i = 0; (fd == -1) && (errno != ENOENT); i++) -+ for (unsigned i = 0; (fd == -1) && (errno == ENOENT); i++) - { - char tundev[5 + IFNAMSIZ]; - snprintf (tundev, sizeof (tundev), "/dev/tun%u", i); + # Name of the network tunneling interface. +-InterfaceName isatap ++#InterfaceName isatap + + # IPv4 address to bind to (default automatic) + #BindAddress 192.0.2.100 diff --git a/net/miredo/patches/patch-ad b/net/miredo/patches/patch-ad deleted file mode 100644 index 7cd9dc82591..00000000000 --- a/net/miredo/patches/patch-ad +++ /dev/null @@ -1,32 +0,0 @@ -$NetBSD: patch-ad,v 1.3 2006/05/12 08:25:47 joerg Exp $ - ---- compat/barrier.c.orig 2006-05-01 12:57:31.000000000 +0000 -+++ compat/barrier.c -@@ -30,7 +30,27 @@ - ***********************************************************************/ - - #include <errno.h> -+ -+#if defined(__DragonFly__) -+#define pthread_barrier_init sys_pthread_barrier_init -+#define pthread_barrier_destroy sys_pthread_barrier_destroy -+#define pthread_barrier_wait sys_pthread_barrier_wait -+#define pthread_barrier_t sys_pthread_barrier_t -+#define pthread_barrierattr_init sys_pthread_barrierattr_init -+#define pthread_barrierattr_destroy sys_pthread_barrierattr_destroy -+#define pthread_barrierattr_t sys_pthread_barrierattr_t -+#endif - #include <pthread.h> -+#if defined(__DragonFly__) -+#undef pthread_barrier_init -+#undef pthread_barrier_destroy -+#undef pthread_barrier_wait -+#undef pthread_barrier_t -+#undef pthread_barrierattr_init -+#undef pthread_barrierattr_destroy -+#undef pthread_barrierattr_t -+#undef PTHREAD_BARRIER_SERIAL_THREAD -+#endif - #include "barrier.h" - - extern int diff --git a/net/miredo/patches/patch-ae b/net/miredo/patches/patch-ae deleted file mode 100644 index 5624cfa0c38..00000000000 --- a/net/miredo/patches/patch-ae +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ae,v 1.3 2006/05/12 08:25:47 joerg Exp $ - ---- configure.orig 2006-05-12 08:09:32.000000000 +0000 -+++ configure -@@ -20607,6 +20607,7 @@ _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ -+#include <sys/types.h> - #include <sys/socket.h> - #include <net/if.h> - |