mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Upgrade to olsrd 0.5.6-r4. Make it compile on -current again.
Remove the address of the old maintainer from pkg-descr.
This commit is contained in:
parent
f9011b2e23
commit
baa8d55d44
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231316
@ -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
|
||||
|
@ -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
|
||||
|
30
net/olsrd/files/patch-src-bsd-kernel_routes.c
Normal file
30
net/olsrd/files/patch-src-bsd-kernel_routes.c
Normal file
@ -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;
|
||||
}
|
||||
|
@ -7,5 +7,3 @@ technique called multipoint relaying for message flooding.
|
||||
|
||||
WWW: http://www.olsr.org/
|
||||
|
||||
Dave
|
||||
dave@dogwood.com
|
||||
|
Loading…
Reference in New Issue
Block a user