- Switch to AUTORELEASE in PKG_RELEASE
This avoids cases when someone forgets to bump PKG_RELEASE
- Fixed SPDX License Identifier
- Changed package versioning
Before: vis_1440-2_arm_cortex-a9_vfpv3-d16.ipk
After: vis_2013-04-07-
7710cce4-1_arm_cortex-a9_vfpv3-d16.ipk
- Drop not necessary rows
(Some of them were overwritting defaults and it is not necessary)
Downloaded tarball is ~2kB smaller
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
include $(TOPDIR)/rules.mk
PKG_NAME:=vis
include $(TOPDIR)/rules.mk
PKG_NAME:=vis
+PKG_RELEASE:=$(AUTORELEASE)
+PKG_SOURCE_DATE:=2013-04-07
+PKG_SOURCE_VERSION:=7710cce42e8d63ea114056a4a140835d4a452933
PKG_SOURCE_URL:=https://git.open-mesh.org/vis.git
PKG_SOURCE_URL:=https://git.open-mesh.org/vis.git
-PKG_REV:=e141311c6a4fc824efbad536c137ed279905d825
-PKG_VERSION:=1440
-PKG_RELEASE:=2
-PKG_LICENSE:=GPL-2.0
+PKG_MIRROR_HASH:=0ed79822a694f220ea44fc81d91ccdacae6ab8ef599810ecfd39acd34d68ae53
-PKG_SOURCE_VERSION:=$(PKG_REV)
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
-PKG_MIRROR_HASH:=fd4b337a56993eec9a03ad8e7918bccc7691aa8b2e5ab6dd7863350f07503285
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
+PKG_MAINTAINER:=Corinna "Elektra" Aichele <onelektra@gmx.net>
+PKG_LICENSE:=GPL-2.0-only
DEPENDS:=+libpthread
TITLE:=visualization server for B.A.T.M.A.N. layer 3
URL:=https://www.open-mesh.org/
DEPENDS:=+libpthread
TITLE:=visualization server for B.A.T.M.A.N. layer 3
URL:=https://www.open-mesh.org/
- MAINTAINER:=Corinna "Elektra" Aichele <onelektra@gmx.net>
endef
define Package/vis/description
endef
define Package/vis/description
formats selected_formats = dot_draw;
formats selected_formats = dot_draw;
-@@ -716,6 +717,7 @@ void print_usage() {
+@@ -718,6 +719,7 @@ void print_usage() {
printf( "Usage: vis <interface(s)> \n" );
printf( "\t-j output mesh topology as json on port %d\n", JSON_PORT );
printf( "\t-d debug level\n" );
+ printf( "\t-D run in foreground\n" );
printf( "\t-h help\n" );
printf( "\t-v Version\n\n" );
printf( "Usage: vis <interface(s)> \n" );
printf( "\t-j output mesh topology as json on port %d\n", JSON_PORT );
printf( "\t-d debug level\n" );
+ printf( "\t-D run in foreground\n" );
printf( "\t-h help\n" );
printf( "\t-v Version\n\n" );
- printf( "Olsrs3d / Meshs3d is an application to visualize a mesh network.\nIt is a part of s3d, have a look at s3d.berlios.de\n\n" );
-@@ -736,7 +738,7 @@ int main( int argc, char **argv ) {
+ printf( "Olsrs3d / Meshs3d is an application to visualize a mesh network.\nIt is a part of s3d, have a look at s3d.sourceforge.net\n\n" );
+@@ -738,7 +740,7 @@ int main( int argc, char **argv ) {
fd_set wait_sockets, tmp_wait_sockets;
fd_set wait_sockets, tmp_wait_sockets;
-@@ -771,6 +773,11 @@ int main( int argc, char **argv ) {
+@@ -773,6 +775,11 @@ int main( int argc, char **argv ) {
selected_formats |= json;
found_args++;
break;
selected_formats |= json;
found_args++;
break;
-@@ -889,7 +896,7 @@ int main( int argc, char **argv ) {
+@@ -891,7 +898,7 @@ int main( int argc, char **argv ) {