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
|
2016-12-21 21:25:41 +00:00
|
|
|
PKG_RELEASE:=1
|
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
|
2017-01-20 09:09:30 +00:00
|
|
|
PKG_SOURCE_DATE:=2017-01-20
|
|
|
|
PKG_SOURCE_VERSION:=a50b7529880988ca96e72dede0279ff139a8ab1a
|
|
|
|
PKG_MIRROR_HASH:=811ba79ba71925e949d2c690db7d7b031ac1dd965aa831ca9b6d9d70f5657254
|
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=
|
|
|
|
|
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/
|
|
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/usign/* $(1)/etc/opkg/keys/
|
|
|
|
endef
|
|
|
|
|
2018-05-20 17:32:29 +00:00
|
|
|
$(eval $(call BuildPackage,openwrt-keyring))
|