2019-07-01 19:40:34 +02:00
|
|
|
#
|
2019-07-02 15:23:31 +02:00
|
|
|
# Copyright (C) 2019 Andreas Nilsen <adde88@gmail.com>
|
2019-07-01 19:40:34 +02:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=hcxtools
|
2023-08-18 01:33:08 +02:00
|
|
|
PKG_VERSION:=6.3.2
|
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 18:32:27 +02:00
|
|
|
PKG_RELEASE:=1
|
2019-07-01 19:40:34 +02:00
|
|
|
|
2019-07-02 15:23:31 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/zerbea/hcxtools/tar.gz/$(PKG_VERSION)?
|
2023-08-18 01:33:08 +02:00
|
|
|
PKG_HASH:=555e46a59df6a77c5aa73b99ffa8c1e84fa79e24ffaf5180de1d3a7f4ab7a470
|
2019-07-01 19:40:34 +02:00
|
|
|
|
2019-07-02 15:23:31 +02:00
|
|
|
PKG_MAINTAINER:=Andreas Nilsen <adde88@gmail.com>
|
|
|
|
PKG_LICENSE:=MIT
|
2019-07-03 08:02:21 +02:00
|
|
|
PKG_LICENSE_FILES:=license.txt
|
2019-07-01 19:40:34 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2023-08-18 01:33:08 +02:00
|
|
|
include $(INCLUDE_DIR)/meson.mk
|
2019-07-01 19:40:34 +02:00
|
|
|
|
|
|
|
define Package/hcxtools
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEPENDS:=+libpthread +libpcap +zlib +libcurl +libopenssl
|
2019-07-02 15:23:31 +02:00
|
|
|
TITLE:=hcxtools
|
|
|
|
URL:=https://github.com/ZerBea/hcxtools
|
2019-07-23 15:35:03 +02:00
|
|
|
SUBMENU:=Wireless
|
2019-07-01 19:40:34 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/hcxtools/description
|
|
|
|
Set of tools convert packets from captures (h = hash, c = capture, convert and calculate candidates, x = different hashtypes)
|
|
|
|
for the use with latest hashcat or John the Ripper.
|
|
|
|
endef
|
|
|
|
|
2021-04-12 06:18:19 +02:00
|
|
|
define Package/hcxtools/install
|
2023-08-18 01:33:08 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hcxeiutool $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hcxhash2cap $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hcxhashtool $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hcxpcapngtool $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hcxpmktool $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hcxpsktool $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hcxwltool $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whoismac $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wlancap2wpasec $(1)/usr/bin/
|
2019-07-01 19:40:34 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,hcxtools))
|