Browse Source

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 <[email protected]>
Jo-Philipp Wich 7 years ago
parent
commit
fd72e67ffe
1 changed files with 8 additions and 7 deletions
  1. 8 7
      package/system/openwrt-keyring/Makefile

+ 8 - 7
package/system/lede-keyring/Makefile → package/system/openwrt-keyring/Makefile

@@ -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))