Merge 1d61cbbf96
into e2ad7be7f6
This commit is contained in:
commit
d0c06b5f94
1 changed files with 13 additions and 10 deletions
|
@ -1,26 +1,27 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=prince
|
PKG_NAME:=prince
|
||||||
PKG_VERSION:=v0.3.1
|
PKG_VERSION:=v0.3.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
PKG_MD5SUM=453a1e1db1d060a7bd103492c3e44e85
|
||||||
|
PKG_MIRROR_HASH=4ad2e16512e74121d8221e0325e742b2dbc0b91f64106a0fe117160d07abf889
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
PKG_USE_MIPS16:=0
|
PKG_USE_MIPS16:=0
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE:=prince-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=prince-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://github.com/gabri94/poprouting.git
|
PKG_SOURCE_URL:=https://github.com/AdvancedNetworkingSystems/poprouting.git
|
||||||
PKG_SOURCE_VERSION:=v0.3.1
|
PKG_SOURCE_VERSION:=v0.3.2
|
||||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
|
||||||
|
PKG_LICENSE:=MIT
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/prince
|
define Package/prince
|
||||||
SECTION :=net
|
SECTION :=net
|
||||||
CATEGORY :=Network
|
CATEGORY :=Network
|
||||||
SUBMENU :=Routing and Redirection
|
SUBMENU :=Routing and Redirection
|
||||||
Mantainer :=Gabriele Gemmi <gabriel@autistici.org>
|
MANTAINER :=Gabriele Gemmi <gabriel@autistici.org>
|
||||||
TITLE :=PopRouting daemon
|
TITLE :=PopRouting daemon
|
||||||
URL :=https://github.com/gabri94/poprouting
|
URL :=https://github.com/gabri94/poprouting
|
||||||
MENU :=0
|
|
||||||
DEPENDS := +libjson-c +libpthread
|
DEPENDS := +libjson-c +libpthread
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -28,9 +29,9 @@ define Package/prince/description
|
||||||
Prince is an open source implementation of the PopRouting Algorithm.
|
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 has been developed as a Google Summer of Code Project in collaboration with Freifunk and the University of Trento.
|
||||||
|
|
||||||
It work by fetching topology data from a Link State routing demon(OONF, OLSR, OSPF, etc),
|
It works by fetching topology data from a Link State routing daemon(OONF, OLSR, OSPF, etc),
|
||||||
calculating the betweenness centrality using the topology, then using these data
|
calculating the betweenness centrality using the topology, then using these data to compute the
|
||||||
the timer's value are optimized. Finally the timers are pushed back to the routing demon.
|
the timer's optimal values. Finally the timers are pushed back to the routing daemon.
|
||||||
Currently it only supports OLSRd2 (aka OONF).
|
Currently it only supports OLSRd2 (aka OONF).
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -39,6 +40,8 @@ define Package/prince/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/output/prince $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/output/prince $(1)/usr/sbin/
|
||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/output/libprince_oonf_c.so $(1)/usr/lib/
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/output/libprince_oonf_c.so $(1)/usr/lib/
|
||||||
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/openwrt/prince.init $(1)/etc/init.d/prince
|
||||||
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/prince/conf/default.conf $(1)/etc/prince.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue