aboutsummaryrefslogtreecommitdiff
path: root/net/olsrd
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>2009-03-30 18:54:57 +0000
committerJohn Hay <jhay@FreeBSD.org>2009-03-30 18:54:57 +0000
commitbaa8d55d44f0a416f000ff09a7d60c0832345a32 (patch)
tree5c5e884fe56d791e50b75c995fa6437babb78782 /net/olsrd
parentf9011b2e23f9278f2f070f24b4a86e2f352fb5a3 (diff)
downloadports-baa8d55d44f0a416f000ff09a7d60c0832345a32.tar.gz
ports-baa8d55d44f0a416f000ff09a7d60c0832345a32.zip
Notes
Diffstat (limited to 'net/olsrd')
-rw-r--r--net/olsrd/Makefile6
-rw-r--r--net/olsrd/distinfo6
-rw-r--r--net/olsrd/files/patch-src-bsd-kernel_routes.c30
-rw-r--r--net/olsrd/pkg-descr2
4 files changed, 34 insertions, 10 deletions
diff --git a/net/olsrd/Makefile b/net/olsrd/Makefile
index 06a7ee618e4d..e61e690a40c2 100644
--- a/net/olsrd/Makefile
+++ b/net/olsrd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= olsrd
-DISTVERSION= 0.5.6-r2
+DISTVERSION= 0.5.6-r4
CATEGORIES= net
MASTER_SITES= http://www.olsr.org/releases/0.5/ \
http://ftp2.za.freebsd.org/pub/mesh/pc/protocols/olsr/
@@ -41,10 +41,6 @@ MAKE_ARGS+= PREFIX=${PREFIX}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 800059
-BROKEN= does not build
-.endif
-
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
.endif
diff --git a/net/olsrd/distinfo b/net/olsrd/distinfo
index c2ac622b129a..fbc3eed6d61f 100644
--- a/net/olsrd/distinfo
+++ b/net/olsrd/distinfo
@@ -1,3 +1,3 @@
-MD5 (olsrd-0.5.6-r2.tar.bz2) = eb72e4899142daa1a6237831da40eb74
-SHA256 (olsrd-0.5.6-r2.tar.bz2) = 3214291dec50e814e7990218ed8d39a9bcfa703a75ecf4c182ded643a9304e54
-SIZE (olsrd-0.5.6-r2.tar.bz2) = 544143
+MD5 (olsrd-0.5.6-r4.tar.bz2) = 16076660413bcf625ba8772fdb3d607f
+SHA256 (olsrd-0.5.6-r4.tar.bz2) = a5864f214d4fdfbd27e9b254ce3f04efbc31761697b57329a7d0cdea26002a2c
+SIZE (olsrd-0.5.6-r4.tar.bz2) = 548009
diff --git a/net/olsrd/files/patch-src-bsd-kernel_routes.c b/net/olsrd/files/patch-src-bsd-kernel_routes.c
new file mode 100644
index 000000000000..22e891f08cb8
--- /dev/null
+++ b/net/olsrd/files/patch-src-bsd-kernel_routes.c
@@ -0,0 +1,30 @@
+--- src/bsd/kernel_routes.c.orig 2009-03-17 23:52:47.000000000 +0200
++++ src/bsd/kernel_routes.c 2009-03-21 19:45:54.000000000 +0200
+@@ -176,7 +176,9 @@
+ memcpy(walker, sdl, sdl->sdl_len);
+ walker += sdl_size;
+ rtm->rtm_addrs |= RTA_GATEWAY;
++#ifdef RTF_CLONING
+ rtm->rtm_flags |= RTF_CLONING;
++#endif
+ #ifndef _WRS_KERNEL
+ rtm->rtm_flags &= ~RTF_HOST;
+ #endif
+@@ -295,7 +297,7 @@
+ #endif
+ memcpy(walker, &sin6, sizeof(sin6));
+ walker += sin_size;
+- rtm->rtm_addrs = RTA_GATEWAY;
++ rtm->rtm_addrs |= RTA_GATEWAY;
+ }
+ else {
+ /*
+@@ -313,7 +315,7 @@
+ #endif
+ memcpy(walker, &sin6, sizeof(sin6));
+ walker += sin_size;
+- rtm->rtm_addrs = RTA_GATEWAY;
++ rtm->rtm_addrs |= RTA_GATEWAY;
+ rtm->rtm_flags |= RTF_GATEWAY;
+ }
+
diff --git a/net/olsrd/pkg-descr b/net/olsrd/pkg-descr
index b5d2b671c1f5..ae5894fcab3f 100644
--- a/net/olsrd/pkg-descr
+++ b/net/olsrd/pkg-descr
@@ -7,5 +7,3 @@ technique called multipoint relaying for message flooding.
WWW: http://www.olsr.org/
-Dave
-dave@dogwood.com