2014-06-23 09:57:00 +00:00
|
|
|
#
|
2015-03-13 08:15:42 +00:00
|
|
|
# Copyright (C) 2014-2015 OpenWrt.org
|
2014-06-23 09:57:00 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=cshark
|
2021-03-24 21:51:37 +00:00
|
|
|
PKG_SOURCE_DATE:=2020-07-22
|
|
|
|
PKG_SOURCE_VERSION:=c0d32fb6df3cd095fecac8aefe8d188170246403
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
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/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 16:32:27 +00:00
|
|
|
PKG_RELEASE:=3
|
2014-06-23 09:57:00 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=https://github.com/cloudshark/cshark.git
|
2021-03-24 21:51:37 +00:00
|
|
|
PKG_MIRROR_HASH:=35fd177653725e64c330fca62e674c1106d5893c8a33bad29b8e6dac4a4d4dcc
|
2019-09-21 22:28:43 +00:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
|
|
|
PKG_LICENSE:=BSD-2-Clause
|
2014-06-23 09:57:00 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2021-06-10 23:27:06 +00:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2014-06-23 09:57:00 +00:00
|
|
|
|
|
|
|
define Package/cshark
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=CloudShark capture tool
|
2019-09-21 22:28:43 +00:00
|
|
|
URL:=https://cloudshark.io/
|
2017-01-01 08:31:38 +00:00
|
|
|
DEPENDS:=+libjson-c +libpcap +libuci +libubox +libuclient +libustream-mbedtls
|
2014-06-23 09:57:00 +00:00
|
|
|
endef
|
|
|
|
|
2021-03-24 21:51:37 +00:00
|
|
|
CMAKE_OPTIONS += \
|
2019-09-21 22:28:43 +00:00
|
|
|
-DWITH_DEBUG=OFF
|
2014-06-23 09:57:00 +00:00
|
|
|
|
|
|
|
define Package/cshark/conffiles
|
|
|
|
/etc/config/cshark
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/cshark/install
|
|
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
|
|
$(INSTALL_BIN) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/bin/cshark \
|
|
|
|
$(1)/sbin/
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_CONF) \
|
|
|
|
$(PKG_BUILD_DIR)/config/cshark \
|
|
|
|
$(1)/etc/config/
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,cshark))
|