Since linuxigd came out, there has been very little development on it.

Nokia did a bit of development on it, ending their funding in 2011. The results 
of their work were posted on gitorious as linuxigd2.

There is no tarball at this time. A git clone was done and a tarball prepared 
here:

ftp://ftp.redfish-solutions.com/pub/linuxigd2-13acfdc5e9e10b96d02209f810ca73be726544e8.tar.gz

The main difference is that this version uses the superior InternetGateway v2 
schemas.

Signed-off-by: Philip Prindeville <phil...@redfish-solutions.com>
Index: feeds/packages/net/linuxigd2/Makefile
===================================================================
--- feeds/packages/net/linuxigd2/Makefile       (revision 0)
+++ feeds/packages/net/linuxigd2/Makefile       (revision 0)
@@ -0,0 +1,71 @@
+#
+# Copyright (C) 2012 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=linuxigd2
+# PKG_VERSION:=0.4
+PKG_VERSION:=13acfdc5e9e10b96d02209f810ca73be726544e8
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+#PKG_SOURCE_URL:=@SF/linux-igd
+#PKG_MD5SUM:=2c25db20a020d3a239a4e4dbf22b06db
+
+# PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
+
+PKG_BUILD_DEPENDS:=iptables libupnp
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/linuxigd2
+  SECTION:=net
+  CATEGORY:=Network
+  TITLE:=UPnP daemon
+  DEPENDS:=+libiptc +libupnp +libpthread       # +dhcp-relay
+  URL:=https://gitorious.org/igd2-for-linux
+endef
+
+define Package/linuxigd2/description
+       It implements the UPnP Internet Gateway Device version 2
+       specification (IGDv2) and allows UPnP aware clients, such
+       as MSN Messenger, Azureus or Miranda to work properly from
+       behind a NAT firewall.
+
+       Please edit /etc/upnpd.conf before using upnpd!
+endef
+
+define Build/Compile
+       $(MAKE) -C $(PKG_BUILD_DIR)  \
+               $(TARGET_CONFIGURE_OPTS) \
+               CFLAGS="$(TARGET_CFLAGS)" \
+               BINDIR="/usr/sbin" \
+               MANDIR="/usr/man" \
+               HAVE_LIBIPTC=1 \
+               LIBIPTC_PREFIX="$(STAGING_DIR)/usr" \
+               LIBUPNP_PREFIX="$(STAGING_DIR)/usr" \
+               all
+endef
+
+define Package/linuxigd2/conffiles
+/etc/upnpd.conf
+endef
+
+define Package/linuxigd2/install
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/upnpd $(1)/usr/sbin/
+       $(INSTALL_DIR) $(1)/etc/linuxigd
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/configs/*.png $(1)/etc/linuxigd/
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/configs/*.xml $(1)/etc/linuxigd/
+       $(INSTALL_DIR) $(1)/etc
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/configs/upnpd.conf $(1)/etc/
+       $(INSTALL_DIR) $(1)/etc/init.d
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/configs/upnpd.init $(1)/etc/init.d/upnpd
+endef
+
+$(eval $(call BuildPackage,linuxigd2))
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to