summaryrefslogtreecommitdiff
path: root/net/bird
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-07 19:20:39 +0000
committermarino <marino@pkgsrc.org>2012-08-07 19:20:39 +0000
commitdd9bd2979785bad681df3e24c32f24dd7be0e98b (patch)
treeaefa484bb852361f21b4bbcd7ad84f6c347113b8 /net/bird
parent910e26eabc723af4bb5a0894a2031a061791a93e (diff)
downloadpkgsrc-dd9bd2979785bad681df3e24c32f24dd7be0e98b.tar.gz
net/bird: Teach it about DragonFly
1. Add DragonFly to the configure script 2. Define TCP_MD5SIG in BSD header which is not used on DragonFly Patches will be sent upstream.
Diffstat (limited to 'net/bird')
-rw-r--r--net/bird/distinfo4
-rw-r--r--net/bird/patches/patch-configure15
-rw-r--r--net/bird/patches/patch-sysdep_bsd_sysio.h14
3 files changed, 32 insertions, 1 deletions
diff --git a/net/bird/distinfo b/net/bird/distinfo
index 34b54e68d4d..b7285afe657 100644
--- a/net/bird/distinfo
+++ b/net/bird/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.2 2012/06/29 12:37:45 joerg Exp $
+$NetBSD: distinfo,v 1.3 2012/08/07 19:20:39 marino Exp $
SHA1 (bird-1.3.6.tar.gz) = 8fdc7afb99b5896e3dec85b8b3ba194c8287bf32
RMD160 (bird-1.3.6.tar.gz) = d4670d79509fc3975ff86d0b67d60bb507bbbcc6
Size (bird-1.3.6.tar.gz) = 864775 bytes
+SHA1 (patch-configure) = 3c2aec3e4ec5824753a518cc517b2788d050ba26
SHA1 (patch-lib_lists.h) = 7068c6b73841e19a540a08e822658b0455c53a77
+SHA1 (patch-sysdep_bsd_sysio.h) = ff510970668766c95a926948c7a96286da7eca22
SHA1 (patch-tools_Makefile.in) = b6faf3bc1c866bfc311d74235a92cf3b1f34636f
diff --git a/net/bird/patches/patch-configure b/net/bird/patches/patch-configure
new file mode 100644
index 00000000000..8d46bac1b62
--- /dev/null
+++ b/net/bird/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2012/08/07 19:20:41 marino Exp $
+
+--- configure.orig 2012-01-20 17:04:39.000000000 +0000
++++ configure
+@@ -4377,6 +4377,10 @@ $as_echo "$bird_cv_sys_linux_version" >&
+ ;;
+ ipv4:freebsd*) sysdesc=bsd
+ ;;
++ ipv6:dragonfly*) sysdesc=bsd-v6
++ ;;
++ ipv4:dragonfly*) sysdesc=bsd
++ ;;
+ ipv6:kfreebsd*) sysdesc=bsd-v6
+ ;;
+ ipv4:kfreebsd*) sysdesc=bsd
diff --git a/net/bird/patches/patch-sysdep_bsd_sysio.h b/net/bird/patches/patch-sysdep_bsd_sysio.h
new file mode 100644
index 00000000000..4f1f27408a3
--- /dev/null
+++ b/net/bird/patches/patch-sysdep_bsd_sysio.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-sysdep_bsd_sysio.h,v 1.1 2012/08/07 19:20:41 marino Exp $
+
+--- sysdep/bsd/sysio.h.orig 2011-09-11 19:44:45.000000000 +0000
++++ sysdep/bsd/sysio.h
+@@ -6,6 +6,9 @@
+ * Can be freely distributed and used under the terms of the GNU GPL.
+ */
+
++#ifdef __DragonFly__
++#define TCP_MD5SIG TCP_SIGNATURE_ENABLE
++#endif
+ #ifdef IPV6
+
+ static inline void