From cfdc4583ea947ad8ec0d6e644ea6949e98bb10bc Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 25 Jan 2017 21:50:27 +0100 Subject: [PATCH 1/4] fixup! addedd poprouting makefile Conflicts: poprouting/Makefile --- poprouting/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 poprouting/Makefile diff --git a/poprouting/Makefile b/poprouting/Makefile new file mode 100644 index 0000000..bf9c3a9 --- /dev/null +++ b/poprouting/Makefile @@ -0,0 +1,36 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=prince +PKG_VERSION:=v0.2 +PKG_RELEASE:=2 + +PKG_BUILD_DIR:=$(BUILD_DIR)/prince-$(PKG_VERSION) +PKG_USE_MIPS16:=0 +PKG_SOURCE_PROTO:=git +PKG_SOURCE:=prince-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://github.com/gabri94/poprouting.git +PKG_SOURCE_VERSION:=v0.2 +PKG_SOURCE_SUBDIR:=prince-v0.2 +include $(INCLUDE_DIR)/package.mk + +define Package/prince + SECTION :=net + CATEGORY :=Network + SUBMENU :=Routing and Redirection + Mantainer :=Gabriele Gemmi + TITLE :=PopRouting daemon + MENU :=1 + DEPENDS := +libjson-c +libpthread +endef + +define Package/prince/description +Prince is an open source implementation of the PopRouting Algorithm. +It has been developed as a Google Summer of Code Project in collaboration with Freifunk and the University of Trento. + +It fetches topology data from a Link State routing deamon(OONF, OLSR, OSPF, etc), +uses the betweenness centrality to optimize the timer's value and pushes back the optimized timer. +Currently it only supports OLSRd2 (aka OONF). +endef + + +$(eval $(call BuildPackage,poprouting)) From c46abbf197abbb392bc9e2261fe1f4a99ed916ae Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 25 Jan 2017 21:58:08 +0100 Subject: [PATCH 2/4] fixup! fixup! addedd poprouting makefile --- poprouting/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/poprouting/Makefile b/poprouting/Makefile index bf9c3a9..a2911ac 100644 --- a/poprouting/Makefile +++ b/poprouting/Makefile @@ -19,6 +19,7 @@ define Package/prince SUBMENU :=Routing and Redirection Mantainer :=Gabriele Gemmi TITLE :=PopRouting daemon + URL :=https://github.com/gabri94/poprouting MENU :=1 DEPENDS := +libjson-c +libpthread endef @@ -33,4 +34,4 @@ Currently it only supports OLSRd2 (aka OONF). endef -$(eval $(call BuildPackage,poprouting)) +$(eval $(call BuildPackage,prince)) From e4fadd105ecc4a380170b97bd17cb258015c96e0 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 25 Jan 2017 23:33:28 +0100 Subject: [PATCH 3/4] added install --- poprouting/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/poprouting/Makefile b/poprouting/Makefile index a2911ac..dd1f454 100644 --- a/poprouting/Makefile +++ b/poprouting/Makefile @@ -20,7 +20,7 @@ define Package/prince Mantainer :=Gabriele Gemmi TITLE :=PopRouting daemon URL :=https://github.com/gabri94/poprouting - MENU :=1 + MENU :=0 DEPENDS := +libjson-c +libpthread endef @@ -33,5 +33,13 @@ uses the betweenness centrality to optimize the timer's value and pushes back th Currently it only supports OLSRd2 (aka OONF). endef +define Package/prince/install + $(INSTALL_DIR) $(1)/usr/lib + $(INSTALL_DATA) $(PKG_BUILD_DIR)/graph-parser_c/build/lib/libgraphcparser.so $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/prince/build/prince_c $(1)/usr/sbin/ + $(INSTALL_DATA) $(PKG_BUILD_DIR)/prince/build/libprince_oonf.so $(1)/usr/lib/ +endef + $(eval $(call BuildPackage,prince)) From 7737ef11efb4b6e35bfc27797924daf882ea85fc Mon Sep 17 00:00:00 2001 From: Gabriel Date: Thu, 26 Jan 2017 01:21:17 +0100 Subject: [PATCH 4/4] Changed description --- poprouting/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/poprouting/Makefile b/poprouting/Makefile index dd1f454..6a88905 100644 --- a/poprouting/Makefile +++ b/poprouting/Makefile @@ -28,8 +28,9 @@ define Package/prince/description Prince is an open source implementation of the PopRouting Algorithm. It has been developed as a Google Summer of Code Project in collaboration with Freifunk and the University of Trento. -It fetches topology data from a Link State routing deamon(OONF, OLSR, OSPF, etc), -uses the betweenness centrality to optimize the timer's value and pushes back the optimized timer. +It work by fetching topology data from a Link State routing demon(OONF, OLSR, OSPF, etc), +calculating the betweenness centrality using the topology, then using these data +the timer's value are optimized. Finally the timers are pushed back to the routing demon. Currently it only supports OLSRd2 (aka OONF). endef