2016-04-30 18:39:23 +00:00
|
|
|
# Copyright (C) 2016 LEDE project
|
2016-04-26 23:50:04 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2018-05-20 17:32:29 +00:00
|
|
|
PKG_NAME:=openwrt-keyring
|
2024-11-02 20:11:36 +00:00
|
|
|
PKG_RELEASE:=2
|
2016-04-26 23:50:04 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2018-01-05 09:46:06 +00:00
|
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/keyring.git
|
2024-11-01 06:25:07 +00:00
|
|
|
PKG_SOURCE_DATE:=2024-11-01
|
|
|
|
PKG_SOURCE_VERSION:=fbae29d730f81c892f52e0ff00fe867444aeeae6
|
|
|
|
PKG_MIRROR_HASH:=9a314756ddb61dde084f810ef056835addd9097ad26cb5e66efc6b38debc8aa0
|
2016-04-26 23:50:04 +00:00
|
|
|
|
2016-05-11 07:06:21 +00:00
|
|
|
PKG_MAINTAINER:=John Crispin <john@phrozen.org>
|
2016-04-26 23:50:04 +00:00
|
|
|
PKG_LICENSE:=GPL-2.0
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2018-05-20 17:32:29 +00:00
|
|
|
define Package/openwrt-keyring
|
2016-04-26 23:50:04 +00:00
|
|
|
SECTION:=base
|
|
|
|
CATEGORY:=Base system
|
2018-05-20 17:32:29 +00:00
|
|
|
PROVIDES:=lede-keyring
|
|
|
|
TITLE:=OpenWrt Developer Keyring
|
|
|
|
URL:=https://openwrt.org/docs/guide-user/security/signatures
|
2016-04-26 23:50:04 +00:00
|
|
|
endef
|
|
|
|
|
2018-05-20 17:32:29 +00:00
|
|
|
define Package/openwrt-keyring/description
|
2016-04-26 23:50:04 +00:00
|
|
|
The keyring of with the developer using and gpg public keys.
|
|
|
|
endef
|
|
|
|
|
|
|
|
Build/Compile=
|
|
|
|
|
2024-09-28 13:27:19 +00:00
|
|
|
ifneq ($(CONFIG_USE_APK),)
|
|
|
|
define Package/openwrt-keyring/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc/apk/keys/
|
|
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/apk/*.pem $(1)/etc/apk/keys/
|
|
|
|
endef
|
|
|
|
else
|
2018-05-20 17:32:29 +00:00
|
|
|
define Package/openwrt-keyring/install
|
2016-04-26 23:50:04 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/opkg/keys/
|
2024-11-02 20:11:36 +00:00
|
|
|
# Public usign key for 24.10 release builds
|
|
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/usign/d310c6f2833e97f7 $(1)/etc/opkg/keys/
|
2016-04-26 23:50:04 +00:00
|
|
|
endef
|
2024-09-28 13:27:19 +00:00
|
|
|
endif
|
2016-04-26 23:50:04 +00:00
|
|
|
|
2018-05-20 17:32:29 +00:00
|
|
|
$(eval $(call BuildPackage,openwrt-keyring))
|