diff options
-rw-r--r-- | net/miredo/Makefile | 14 | ||||
-rw-r--r-- | net/miredo/PLIST | 18 | ||||
-rw-r--r-- | net/miredo/distinfo | 16 | ||||
-rw-r--r-- | net/miredo/patches/patch-aa | 37 | ||||
-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, 60 insertions, 108 deletions
diff --git a/net/miredo/Makefile b/net/miredo/Makefile index 8dfba00b398..4569697faa0 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.8.2.1 2006/08/18 13:55:46 salo 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,7 @@ 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 - -INSTALLATION_DIRS= share/examples/miredo - -post-install: - ${INSTALL_DATA} ${WRKSRC}/misc/miredo.conf-dist ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/misc/miredo-server.conf-dist ${EGDIR} +CONF_FILES+= ${EGDIR}/isatapd.conf-dist ${PKG_SYSCONFDIR}/isatapd.conf .include "../../net/libpcap/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" diff --git a/net/miredo/PLIST b/net/miredo/PLIST index e695b50c96f..13bd3f2d1e6 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.3.2.1 2006/08/18 13:55:46 salo 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..a0425a3497f 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.5.2.1 2006/08/18 13:55:46 salo 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) = 184c8dd8ca12ecdfcf56700aef25d46eccc16c53 +SHA1 (patch-ab) = 08e67c6fa8bebfca8d47ca2b9525bda2eefb518f +SHA1 (patch-ac) = c591e9097cf143c9bc4bde3cb66b875755547cd1 diff --git a/net/miredo/patches/patch-aa b/net/miredo/patches/patch-aa index 21d40efb42c..9f7d2a0c92f 100644 --- a/net/miredo/patches/patch-aa +++ b/net/miredo/patches/patch-aa @@ -1,21 +1,36 @@ -$NetBSD: patch-aa,v 1.3 2006/05/02 15:36:09 rpaulo Exp $ +$NetBSD: patch-aa,v 1.3.2.1 2006/08/18 13:55:46 salo 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@ +--- Makefile.in.orig 2006-08-15 22:15:54.000000000 +0200 ++++ Makefile.in 2006-08-18 15:32:53.000000000 +0200 +@@ -237,6 +237,7 @@ + sbindir = @sbindir@ + sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ ++examplesdir = @prefix@/share/examples/miredo 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: + SUBDIRS = po doc compat libteredo libtun6 src +@@ -347,12 +348,9 @@ + done + install-nodist_sysconfDATA: $(nodist_sysconf_DATA) + @$(NORMAL_INSTALL) +- test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)" +- @list='$(nodist_sysconf_DATA)'; for p in $$list; do \ +- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- f=$(am__strip_dir) \ +- echo " $(nodist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \ +- $(nodist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \ ++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(examplesdir) ++ for p in $(nodist_sysconf_DATA); do \ ++ $(BSD_INSTALL_DATA) $$p $(DESTDIR)$(examplesdir)/; \ + done + + uninstall-nodist_sysconfDATA: +@@ -703,7 +701,6 @@ 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..057ab145941 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.4.2.1 2006/08/18 13:55:46 salo 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..60d928aab6f 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.3.2.1 2006/08/18 13:55:46 salo 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> - |