summaryrefslogtreecommitdiff
path: root/package/system
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-04-27 01:50:04 +0200
committerJohn Crispin <blogic@openwrt.org>2016-04-29 04:15:34 +0200
commitd2e4caf34332ff7668593c6815fb38f89170076d (patch)
treed9268b0699e7abc72baaef422d156a465a9976f3 /package/system
parentf5c4d963ffa97f99b5b49fc2f401ac04a562adea (diff)
downloadmtk-20170518-d2e4caf34332ff7668593c6815fb38f89170076d.zip
mtk-20170518-d2e4caf34332ff7668593c6815fb38f89170076d.tar.gz
mtk-20170518-d2e4caf34332ff7668593c6815fb38f89170076d.tar.bz2
lede-keyring: add the developer public keyring
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/system')
-rw-r--r--package/system/lede-keyring/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/system/lede-keyring/Makefile b/package/system/lede-keyring/Makefile
new file mode 100644
index 0000000..4737fbb
--- /dev/null
+++ b/package/system/lede-keyring/Makefile
@@ -0,0 +1,40 @@
+# Copyright (C) 2009-2012 OpenWrt.org
+# All rights reserved.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=lede-keyring
+PKG_VERSION:=2016-04-27
+
+PKG_RELEASE=$(PKG_SOURCE_VERSION)
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL=$(LEDE_GIT)/keyring.git
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=deb70780cc8aea8258db16af4dbebf4d8dcc7a7c
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
+
+PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
+PKG_LICENSE:=GPL-2.0
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/lede-keyring
+ SECTION:=base
+ CATEGORY:=Base system
+ TITLE:=LEDE Developer Keyring
+ URL:=http://www.lede-project.org
+endef
+
+define Package/lede-keyring/description
+ The keyring of with the developer using and gpg public keys.
+endef
+
+Build/Compile=
+
+define Package/lede-keyring/install
+ $(INSTALL_DIR) $(1)/etc/opkg/keys/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/usign/* $(1)/etc/opkg/keys/
+endef
+
+$(eval $(call BuildPackage,lede-keyring))