summaryrefslogtreecommitdiff
path: root/net/miredo/patches/patch-ac
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-06-07 18:23:42 +0000
committerghen <ghen@pkgsrc.org>2006-06-07 18:23:42 +0000
commit46d224cb91891bc702cc025e46780c25404f8391 (patch)
tree117ad8e74fecf9cd8a7a0c564b0973d786d3c5a4 /net/miredo/patches/patch-ac
parentbfe02a2c60b35624c07e76063e03e0427ddb0c22 (diff)
downloadpkgsrc-46d224cb91891bc702cc025e46780c25404f8391.tar.gz
Pullup ticket 1687 - requested by salo
security update for miredo Revisions pulled up: - pkgsrc/net/miredo/Makefile 1.4, 1.5, 1.6, 1.7, 1.8 - pkgsrc/net/miredo/distinfo 1.3, 1.4, 1.5 - pkgsrc/net/miredo/PLIST 1.2, 1.3 - pkgsrc/net/miredo/patches/patch-aa 1.3 - pkgsrc/net/miredo/patches/patch-ab 1.3, 1.4 - pkgsrc/net/miredo/patches/patch-ac 1.3 - pkgsrc/net/miredo/patches/patch-ad 1.3 - pkgsrc/net/miredo/patches/patch-ae 1.3 - pkgsrc/net/miredo/patches/patch-af removed Module Name: pkgsrc Committed By: rpaulo Date: Fri Mar 31 23:21:33 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile Log Message: SunOS is not supported. PR 33157. --- Module Name: pkgsrc Committed By: rpaulo Date: Mon Apr 3 23:30:34 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile distinfo pkgsrc/net/miredo/patches: patch-ab Log Message: NetBSD needs TUNIFHEAD. --- Module Name: pkgsrc Committed By: rpaulo Date: Tue May 2 15:36:09 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile PLIST distinfo pkgsrc/net/miredo/patches: patch-aa patch-ab patch-ac Removed Files: pkgsrc/net/miredo/patches: patch-ad patch-ae patch-af Log Message: Update to version 0.8.4. Changes include the fix for this security problem: http://www.simphalempin.com/dev/miredo/mtfl-sa-0601.shtml.en and the additon of most pkgsrc patches. --- Module Name: pkgsrc Committed By: rpaulo Date: Tue May 2 15:36:44 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile Log Message: Put back NOT_FOR_PLATFORM. --- Module Name: pkgsrc Committed By: joerg Date: Fri May 12 08:25:47 UTC 2006 Modified Files: pkgsrc/net/miredo: Makefile PLIST distinfo pkgsrc/net/miredo/patches: patch-ac Added Files: pkgsrc/net/miredo/patches: patch-ad patch-ae Log Message: Fix PLIST and bump revision. Add DragonFly work arounds for pthread.h and fix net/if_var.h test as well.
Diffstat (limited to 'net/miredo/patches/patch-ac')
-rw-r--r--net/miredo/patches/patch-ac48
1 files changed, 20 insertions, 28 deletions
diff --git a/net/miredo/patches/patch-ac b/net/miredo/patches/patch-ac
index e48db9567d1..4bf0a7378bf 100644
--- a/net/miredo/patches/patch-ac
+++ b/net/miredo/patches/patch-ac
@@ -1,30 +1,22 @@
-$NetBSD: patch-ac,v 1.1.1.1 2006/02/28 01:29:39 rpaulo Exp $
+$NetBSD: patch-ac,v 1.1.1.1.2.1 2006/06/07 18:23:42 ghen Exp $
---- Makefile.in 2006-02-02 21:02:15.000000000 +0000
-+++ Makefile.in.new 2006-02-28 01:08:36.000000000 +0000
-@@ -222,7 +222,7 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--SUBDIRS = m4 po libtun6 libteredo src misc
-+SUBDIRS = m4 po libtun6 libteredo src
- man5_MANS = doc/miredo.conf.5 doc/miredo-server.conf.5
- man8_MANS = doc/miredo.8 doc/miredo-server.8
- noinst_HEADERS = include/gettext.h
-@@ -722,7 +722,6 @@ info-am:
+--- 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";
- install-data-am: install-man
- @$(NORMAL_INSTALL)
-- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
-
- install-exec-am:
-
-@@ -764,7 +763,7 @@ uninstall-man: uninstall-man5 uninstall-
- distclean-recursive distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am \
-- install-data-hook install-exec install-exec-am install-info \
-+ install-exec install-exec-am install-info \
- install-info-am install-man install-man5 install-man8 \
- install-strip installcheck installcheck-am installdirs \
- installdirs-am maintainer-clean maintainer-clean-generic \
+ # 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);