contrib/package: bump olsrd to hg rev cac1df64dcd5, should fix compat issues with...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 26 Nov 2008 16:24:28 +0000 (16:24 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 26 Nov 2008 16:24:28 +0000 (16:24 +0000)
contrib/package/olsrd-luci/Makefile
contrib/package/olsrd-luci/patches/200-olsrd-dyngw-hna.patch [deleted file]

index d6235987a227156a4c85a29535c36839bcbb921b..8e22a7448f0e3fd41040af965b81cc27ca02c67d 100644 (file)
@@ -11,13 +11,19 @@ include $(TOPDIR)/rules.mk
 
 PKG_BASENAME:=olsrd
 PKG_NAME:=$(PKG_BASENAME)-luci
-PKG_VERSION:=0.5.6-r2
-PKG_RELEASE:=7
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_BASENAME)-$(PKG_VERSION)
-PKG_SOURCE:=$(PKG_BASENAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://www.olsr.org/releases/0.5
-PKG_MD5SUM:=64b439cde30f48764f02cdd8766aba40
+PKG_VERSION:=0.5.6-r2+hg1724
+PKG_RELEASE:=1
+
+PKG_HGREV:=cac1df64dcd5
+PKG_SOURCE:=$(PKG_HGREV).tar.gz
+PKG_SOURCE_URL:=http://gredler.at/hg/olsrd-0.5.6/archive
+PKG_MD5SUM:=95af2d8d6075f74d379b752fb8dda3de
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_BASENAME)-0-5-6-$(PKG_HGREV)
+
+#PKG_SOURCE:=$(PKG_BASENAME)-$(PKG_VERSION).tar.bz2
+#PKG_SOURCE_URL:=http://www.olsr.org/releases/0.5
+#PKG_MD5SUM:=64b439cde30f48764f02cdd8766aba40
+#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_BASENAME)-$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk
 
diff --git a/contrib/package/olsrd-luci/patches/200-olsrd-dyngw-hna.patch b/contrib/package/olsrd-luci/patches/200-olsrd-dyngw-hna.patch
deleted file mode 100644 (file)
index 8b4e9c4..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -urb olsrd-0.5.6.orig/lib/dyn_gw/src/olsrd_dyn_gw.c olsrd-0.5.6/lib/dyn_gw/src/olsrd_dyn_gw.c
---- olsrd-0.5.6.orig/lib/dyn_gw/src/olsrd_dyn_gw.c     2008-09-16 01:14:44.000000000 +0200
-+++ olsrd-0.5.6/lib/dyn_gw/src/olsrd_dyn_gw.c  2008-09-16 01:26:55.000000000 +0200
-@@ -191,8 +191,8 @@
-     }
-     //printf("GOT: %s(%08x)",inet_ntoa(foo_addr),foo_addr.s_addr);
--    if (inet_pton(olsr_cnf->ip_version, s_netaddr, &temp_netmask) <= 0) {
--        OLSR_PRINTF(0, "Illegal netmask \"%s\"", s_netaddr);
-+    if (inet_pton(olsr_cnf->ip_version, s_mask, &temp_netmask) <= 0) {
-+        OLSR_PRINTF(0, "Illegal netmask \"%s\"", s_mask);
-         return 1;
-     }