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