openwrt-keyring: rename from lede-keyring

Also let the new openwrt-keyring package provide lede-keyring for backwards
compatibility.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit fd72e67ffe)
This commit is contained in:
Jo-Philipp Wich 2018-05-20 19:32:29 +02:00
parent 54a864d914
commit fc6f1fd8fe

View File

@ -2,7 +2,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=lede-keyring
PKG_NAME:=openwrt-keyring
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
@ -16,22 +16,23 @@ PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
define Package/lede-keyring
define Package/openwrt-keyring
SECTION:=base
CATEGORY:=Base system
TITLE:=LEDE Developer Keyring
URL:=http://www.lede-project.org
PROVIDES:=lede-keyring
TITLE:=OpenWrt Developer Keyring
URL:=https://openwrt.org/docs/guide-user/security/signatures
endef
define Package/lede-keyring/description
define Package/openwrt-keyring/description
The keyring of with the developer using and gpg public keys.
endef
Build/Compile=
define Package/lede-keyring/install
define Package/openwrt-keyring/install
$(INSTALL_DIR) $(1)/etc/opkg/keys/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/usign/* $(1)/etc/opkg/keys/
endef
$(eval $(call BuildPackage,lede-keyring))
$(eval $(call BuildPackage,openwrt-keyring))