cudy-bdinfo: add package
This program can be used to obtain information stored on the bdinfo parition found on routers from Shenzhen Cudy Technology. While this tool is not necessary for operation with OpenWrt, it can be helpful to decrypt information generated by the stock firmware as well as to obtain additional device-specific information. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
597df3585f
commit
3f7f33d8be
1 changed files with 42 additions and 0 deletions
42
utils/cudy-bdinfo/Makefile
Normal file
42
utils/cudy-bdinfo/Makefile
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2023 David Bauer <mail@david-bauer.net>
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=cudy-bdinfo
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_SOURCE_PROTO:=git
|
||||||
|
PKG_SOURCE_URL:=https://github.com/blocktrron/cudy-bdinfo-decrypt.git
|
||||||
|
PKG_SOURCE_DATE:=2023-06-01
|
||||||
|
PKG_SOURCE_VERSION:=5a60308c0fff610c4698207387d7153aba5fd62b
|
||||||
|
PKG_MIRROR_HASH:=aefcd37e4b059d92226d2bc97b1b199f6a360c4935a6e92c930998b510275838
|
||||||
|
|
||||||
|
PKG_MAINTAINER:=David Bauer <mail@david-bauer.net>
|
||||||
|
PKG_LICENSE:=GPL-2.0-or-later
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/cudy-bdinfo
|
||||||
|
SECTION:=utils
|
||||||
|
CATEGORY:=Utilities
|
||||||
|
DEPENDS:=@(TARGET_ramips||TARGET_mediatek) +libopenssl
|
||||||
|
TITLE:=Tool for reading the bdinfo partition of Cudy routers
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/cudy-bdinfo/description
|
||||||
|
This program can be used to obtain information stored on the
|
||||||
|
bdinfo parition found on routers from Shenzhen Cudy Technology.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/cudy-bdinfo/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cudy-bdinfo $(1)/usr/bin/cudy-bdinfo
|
||||||
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,cudy-bdinfo))
|
Loading…
Reference in a new issue