[New Package] bird-openwrt: BIRD daemon integration with UCI and LuCI configuration
$(INSTALL_DIR) $(1)/usr/sbin
cp -fpR $(PKG_BUILD_DIR)/alfred $(1)/usr/sbin/
[ "x$(CONFIG_PACKAGE_ALFRED_VIS)" == "xy" ] && cp -fpR $(PKG_BUILD_DIR)/vis/batadv-vis $(1)/usr/sbin/ ; true
- [ "x$(CONFIG_PACKAGE_ALFRED_GPSD)" == "xy" ] && cp -fpR $(PKG_BUILD_DIR)/vis/alfred-gpsd $(1)/usr/sbin/ ; true
+ [ "x$(CONFIG_PACKAGE_ALFRED_GPSD)" == "xy" ] && cp -fpR $(PKG_BUILD_DIR)/gpsd/alfred-gpsd $(1)/usr/sbin/ ; true
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/alfred.init $(1)/etc/init.d/alfred
$(INSTALL_DIR) $(1)/etc/config
include $(TOPDIR)/rules.mk
PKG_NAME:=hnetd
-PKG_SOURCE_VERSION:=91aaab8bdd4de8bc96ad906673a79a6600cf93ac
-PKG_VERSION:=2014-09-02-$(PKG_SOURCE_VERSION)
-PKG_RELEASE:=2
+PKG_SOURCE_VERSION:=0c1d55d03983c726aaad010738236c2da64ca7df
+PKG_VERSION:=2014-09-26-$(PKG_SOURCE_VERSION)
+PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://github.com/sbyx/hnetd.git
include $(TOPDIR)/rules.mk
PKG_NAME:=miniupnpd
-PKG_VERSION:=1.8.20140523
-PKG_RELEASE:=4
+PKG_VERSION:=1.8.20140906
+PKG_RELEASE:=1
PKG_SOURCE_URL:=http://miniupnp.free.fr/files
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_MD5SUM:=fcac89e11da091b1cc61f43d83c9e4f5
+PKG_MD5SUM:=72a68c5757031d906a555f84e9a2a8f2
PKG_MAINTAINER:=Markus Stenberg <fingon@iki.fi>
-diff --git a/Makefile.linux b/Makefile.linux
-index bcca779..7946108 100644
--- a/Makefile.linux
+++ b/Makefile.linux
-@@ -147,7 +147,8 @@ LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libmnl)
+@@ -147,7 +147,8 @@ LDLIBS += $(shell $(PKG_CONFIG) --static
LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libnetfilter_conntrack)
endif # ($(TEST),1)
+++ /dev/null
-diff --git a/netfilter/iptpinhole.c b/netfilter/iptpinhole.c
-index 61ed41b..5cb0e0e 100644
---- a/netfilter/iptpinhole.c
-+++ b/netfilter/iptpinhole.c
-@@ -206,6 +206,8 @@ int add_pinhole(const char * ifname,
-
- e = calloc(1, sizeof(struct ip6t_entry));
- e->ipv6.proto = proto;
-+ if (proto)
-+ e->ipv6.flags |= IP6T_F_PROTO;
-
- if(ifname)
- strncpy(e->ipv6.iniface, ifname, IFNAMSIZ);
-diff --git a/pcpserver.c b/pcpserver.c
-index dec4b58..3cdf460 100644
--- a/pcpserver.c
+++ b/pcpserver.c
-@@ -1020,6 +1020,7 @@ static int CreatePCPMap_FW(pcp_info_t *pcp_msg_info)
- &uid);
+@@ -1004,6 +1004,7 @@ static int CreatePCPMap_NAT(pcp_info_t *
+ timestamp);
if (r < 0)
return PCP_ERR_NO_RESOURCES;
+ pcp_msg_info->ext_port = pcp_msg_info->int_port;
return PCP_SUCCESS;
- #else
- return PCP_ERR_NO_RESOURCES;
+ }
+
+++ /dev/null
---- a/natpmp.c
-+++ b/natpmp.c
-@@ -54,7 +54,7 @@ INLINE void writenu32(uint8_t * p, uint3
- #define WRITENU32(p, n) writenu32(p, n)
- INLINE void writenu16(uint8_t * p, uint16_t n)
- {
-- p[0] = (n < 0xff00) >> 8;
-+ p[0] = (n & 0xff00) >> 8;
- p[1] = n & 0xff;
- }
- #define WRITENU16(p, n) writenu16(p, n)
--- /dev/null
+The miniupnpd makefile tries to autodetect iptables capabilities.
+This will incorrectly detect capabilities such as ipv6 support even though it is disabled for the target build.
+
+As the OpenWRT buildsystem already passes the right compile flags, we can skip the autodetection.
+
+
+diff -up miniupnpd-1.8.20140906/netfilter/Makefile.orig miniupnpd-1.8.20140906/netfilter/Makefile
+--- miniupnpd-1.8.20140906/netfilter/Makefile.orig 2014-09-28 16:39:56.652296642 +0200
++++ miniupnpd-1.8.20140906/netfilter/Makefile 2013-12-13 14:12:11.000000000 +0100
+@@ -38,6 +38,4 @@ endif
+ endif
+ endif
+
+-LIBS += /lib/libip4tc.so /lib/libip6tc.so
+-
+ all: iptcrdr.o testiptcrdr iptpinhole.o \
+ testiptcrdr_peer testiptcrdr_dscp test_nfct_get
+ # testiptpinhole
+diff -up miniupnpd-1.8.20140906/Makefile.linux.orig miniupnpd-1.8.20140906/Makefile.linux
+--- miniupnpd-1.8.20140906/Makefile.linux.orig 2014-09-28 16:46:06.781835136 +0200
++++ miniupnpd-1.8.20140906/Makefile.linux 2014-09-28 16:46:14.388907413 +0200
+@@ -70,7 +70,6 @@ CPPFLAGS += -DIPTABLES_143
+ endif
+
+ CFLAGS += $(shell $(PKG_CONFIG) --cflags libiptc)
+-LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libiptc)
+ LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-L libiptc)
+ LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-other libiptc)
+ else
include $(TOPDIR)/rules.mk
PKG_NAME:=ohybridproxy
-PKG_SOURCE_VERSION:=3a9489615c488afa85a823a40aea89b39bbac391
-PKG_VERSION:=2014-06-19-$(PKG_SOURCE_VERSION)
+PKG_SOURCE_VERSION:=ab6559bd5df88967e08478ab486b307c1b7eb759
+PKG_VERSION:=2014-09-29-$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git