|
|
@@ -1,9 +1,6 @@
|
|
|
+# SPDX-License-Identifier: GPL-3.0-only
|
|
|
#
|
|
|
-# Copyright (C) 2014 OpenWrt-dist
|
|
|
-#
|
|
|
-# This is free software, licensed under the GNU General Public License v2.
|
|
|
-# See /LICENSE for more information.
|
|
|
-#
|
|
|
+# Copyright (C) 2021 ImmortalWrt.org
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
@@ -11,11 +8,9 @@ PKG_NAME:=tcping
|
|
|
PKG_VERSION:=0.3
|
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
|
|
|
|
|
-PKG_SOURCE_PROTO:=git
|
|
|
-PKG_SOURCE_URL:=https://github.com/Mattraks/tcping.git
|
|
|
-PKG_SOURCE_DATE:=2020-11-18
|
|
|
-PKG_SOURCE_VERSION:=de2b709f8c386507678041d11102c671d470fea7
|
|
|
-PKG_MIRROR_HASH:=07359ac47f0da4fb30215e5160f7c0c942f0a4af4e7b2e2d2b4ffd9769823054
|
|
|
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
+PKG_SOURCE_URL:=https://codeload.github.com/Mattraks/tcping/tar.gz/$(PKG_VERSION)?
|
|
|
+PKG_HASH:=c703481d1751adf051dd3391c4dccdadc6dfca7484e636222b392e1213312e02
|
|
|
|
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
|
PKG_LICENSE_FILE:=license.txt
|
|
|
@@ -25,16 +20,10 @@ PKG_BUILD_PARALLEL:=1
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
define Package/tcping
|
|
|
- SECTION:=net
|
|
|
- CATEGORY:=Network
|
|
|
- TITLE:=tcping measures the latency of a tcp-connection
|
|
|
- URL:=https://github.com/Mattraks/tcping
|
|
|
-endef
|
|
|
-
|
|
|
-define Package/tcping/description
|
|
|
-endef
|
|
|
-
|
|
|
-define Package/tcping/conffiles
|
|
|
+ SECTION:=net
|
|
|
+ CATEGORY:=Network
|
|
|
+ TITLE:=tcping measures the latency of a tcp-connection
|
|
|
+ URL:=https://github.com/jlyo/tcping
|
|
|
endef
|
|
|
|
|
|
define Package/tcping/install
|
|
|
@@ -42,4 +31,4 @@ define Package/tcping/install
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tcping $(1)/usr/sbin
|
|
|
endef
|
|
|
|
|
|
-$(eval $(call BuildPackage,tcping))
|
|
|
+$(eval $(call BuildPackage,tcping))
|