From 11b27c0afb52e75a563d06ae8bf424100d0a3587 Mon Sep 17 00:00:00 2001 From: Aaron Kaplan Date: Sun, 19 Oct 2008 23:37:13 +0000 Subject: [PATCH] add dyn_gw_plain plugin by sven-ola. Very practical stuff. update md5sum SVN-Revision: 13012 --- net/olsrd/Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/net/olsrd/Makefile b/net/olsrd/Makefile index 09c637249..21f3baa10 100644 --- a/net/olsrd/Makefile +++ b/net/olsrd/Makefile @@ -15,7 +15,7 @@ PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.olsr.org/releases/0.5 -PKG_MD5SUM:=64b439cde30f48764f02cdd8766aba40 +PKG_MD5SUM:=eb72e4899142daa1a6237831da40eb74 include $(INCLUDE_DIR)/package.mk @@ -57,6 +57,12 @@ define Package/olsrd-mod-dyn-gw TITLE:=Dynamic internet gateway plugin endef +define Package/olsrd-mod-dyn-gw-plain + $(call Package/olsrd/template) + DEPENDS:=olsrd + TITLE:=Simplified and more efficient dynamic internet gateway plugin by Sven-Ola Tuecke +endef + define Package/olsrd-mod-httpinfo $(call Package/olsrd/template) DEPENDS:=olsrd @@ -103,7 +109,7 @@ define Build/Compile MANDIR="$(PKG_INSTALL_DIR)/usr/share/man" \ STRIP="true" \ INSTALL_LIB="true" \ - SUBDIRS="bmf dot_draw dyn_gw httpinfo nameservice secure txtinfo" \ + SUBDIRS="bmf dot_draw dyn_gw dyn_gw_plain httpinfo nameservice secure txtinfo" \ all libs install install_libs endef @@ -132,6 +138,11 @@ define Package/olsrd-mod-dyn-gw/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/dyn_gw/olsrd_dyn_gw.so.* $(1)/usr/lib/ endef +define Package/olsrd-mod-dyn-gw-plain/install + $(INSTALL_DIR) $(1)/usr/lib + $(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/dyn_gw_plain/olsrd_dyn_gw_plain.so.* $(1)/usr/lib/ +endef + define Package/olsrd-mod-httpinfo/install $(INSTALL_DIR) $(1)/usr/lib $(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/httpinfo/olsrd_httpinfo.so.* $(1)/usr/lib/ @@ -158,6 +169,7 @@ $(eval $(call BuildPackage,olsrd)) $(eval $(call BuildPackage,olsrd-mod-dot-draw)) $(eval $(call BuildPackage,olsrd-mod-bmf)) $(eval $(call BuildPackage,olsrd-mod-dyn-gw)) +$(eval $(call BuildPackage,olsrd-mod-dyn-gw-plain)) $(eval $(call BuildPackage,olsrd-mod-httpinfo)) $(eval $(call BuildPackage,olsrd-mod-nameservice)) $(eval $(call BuildPackage,olsrd-mod-secure)) -- 2.30.2