2017-01-18 20:05:51 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2008-2011 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:=vis
|
treewide: remove AUTORELEASE
OpenWrt/packages removed AUTORELEASE treewide. Remove it also in the
routing feed.
This is just copied from [0] with modification to the sed cmd because it
was not working for the routing feed:
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/routing; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's/\/Makefile$//';);
do
make package/$i/download
done
[0] - https://github.com/openwrt/packages/commit/0c10c224be81f9221dabfab449855ab6718d2a0c
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-04-26 17:40:36 +08:00
|
|
|
PKG_RELEASE:=9
|
2017-01-18 20:05:51 +08:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2022-02-26 07:44:56 +08:00
|
|
|
PKG_SOURCE_DATE:=2013-04-07
|
|
|
|
PKG_SOURCE_VERSION:=7710cce42e8d63ea114056a4a140835d4a452933
|
2018-07-12 22:50:47 +08:00
|
|
|
PKG_SOURCE_URL:=https://git.open-mesh.org/vis.git
|
2024-04-07 23:35:58 +08:00
|
|
|
PKG_MIRROR_HASH:=2544df816f9294e192cd6bb3592695416796fc6b254d182f1f124e686833f50d
|
2017-01-18 20:05:51 +08:00
|
|
|
|
2022-02-26 07:44:56 +08:00
|
|
|
PKG_MAINTAINER:=Corinna "Elektra" Aichele <onelektra@gmx.net>
|
|
|
|
PKG_LICENSE:=GPL-2.0-only
|
2017-01-18 20:05:51 +08:00
|
|
|
|
2022-02-19 16:11:11 +08:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
|
2017-01-18 20:05:51 +08:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/vis
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
SUBMENU:=Routing and Redirection
|
|
|
|
DEPENDS:=+libpthread
|
|
|
|
TITLE:=visualization server for B.A.T.M.A.N. layer 3
|
|
|
|
URL:=https://www.open-mesh.org/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vis/description
|
|
|
|
visualization server for B.A.T.M.A.N. layer 3
|
|
|
|
endef
|
|
|
|
|
2019-07-28 04:10:04 +08:00
|
|
|
MAKE_FLAGS += \
|
|
|
|
EXTRA_CFLAGS='-DDEBUG_MALLOC -DMEMORY_USAGE -DPROFILE_DATA -DREVISION_VERSION=\"\ rv$(PKG_REV)\" -D_GNU_SOURCE' \
|
2017-01-18 20:05:51 +08:00
|
|
|
REVISION="$(PKG_REV)" \
|
|
|
|
CC="$(TARGET_CC)" \
|
2019-07-28 04:02:50 +08:00
|
|
|
vis
|
2017-01-18 20:05:51 +08:00
|
|
|
|
|
|
|
define Package/vis/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/config $(1)/etc/init.d
|
2019-07-28 04:02:50 +08:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/vis $(1)/usr/sbin/
|
2017-01-18 20:05:51 +08:00
|
|
|
$(INSTALL_BIN) ./files/etc/init.d/vis $(1)/etc/init.d
|
|
|
|
$(INSTALL_DATA) ./files/etc/config/vis $(1)/etc/config
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vis/conffiles
|
|
|
|
/etc/config/vis
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,vis))
|