aboutsummaryrefslogtreecommitdiff
path: root/utils/zyxel-reset/Makefile
blob: 407675350d6ad4f0e322357cbdd0b32e16cd5428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# Copyright (C) 2022 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:=zyxel-reset
PKG_SOURCE_DATE:=2022-12-23
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/blocktrron/zyxel-reset.git
PKG_SOURCE_VERSION:=e1def7b5f117c206afe15aa57ca7433eb972d5d1
PKG_MIRROR_HASH:=e841ad610a1842dcfa9fdb3652b3130bdc377a1e2a670f42d9df073249d6d985

PKG_MAINTAINER:=David Bauer <mail@david-bauer.net>
PKG_LICENSE:=GPL-2.0-only

include $(INCLUDE_DIR)/package.mk

define Package/zyxel-reset
  SECTION:=utils
  CATEGORY:=Utilities
  TITLE:=Trigger factory-reset for ZyXEL APs
endef

define Package/zyxel-reset/description
	This program can trigger a factory-reset on ZyXEL Access Points
	running stock-firmware.
endef

define Package/zyxel-reset/install
	$(INSTALL_DIR) $(1)/usr/bin
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/zyxel-reset $(1)/usr/bin/zyxel-reset
endef

$(eval $(call BuildPackage,zyxel-reset))