From 646beea7915060b8ac06b9b759d1c3e0d1ef81f2 Mon Sep 17 00:00:00 2001 From: RISCi_ATOM Date: Wed, 5 Jul 2017 12:50:03 -0400 Subject: [PATCH] Add libreCMC keyring --- package/base-files/Makefile | 2 +- package/system/librecmc-keyring/Makefile | 38 ++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 package/system/librecmc-keyring/Makefile diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 58bc7d4b3c..2e43277d3a 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -30,7 +30,7 @@ endif define Package/base-files SECTION:=base CATEGORY:=Base system - DEPENDS:=+netifd +libc +procd +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:lede-keyring +fstools +fwtool + DEPENDS:=+netifd +libc +procd +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:librecmc-keyring +fstools +fwtool TITLE:=Base filesystem for libreCMC URL:=http://openwrt.org/ VERSION:=$(PKG_RELEASE)-$(REVISION) diff --git a/package/system/librecmc-keyring/Makefile b/package/system/librecmc-keyring/Makefile new file mode 100644 index 0000000000..f8ffaaa71b --- /dev/null +++ b/package/system/librecmc-keyring/Makefile @@ -0,0 +1,38 @@ +# Copyright (C) 2016 LEDE project +# Copyright (C) 2017 libreCMC Project + +include $(TOPDIR)/rules.mk + +PKG_NAME:=librecmc-keyring +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL=https://gogs.librecmc.org/libreCMC/keyring.git +PKG_SOURCE_DATE:=2017-07-05 +PKG_SOURCE_VERSION:=f701477b2bf1f733fe3a450de302dd2c21fab3d0 +PKG_MIRROR_HASH:=a4ed0d3e5850a285f2a35849e3f076bacd38b8ce9019bd8592810a534b020e4e + +PKG_MAINTAINER:=Robert Call +PKG_LICENSE:=GPL-2.0 + +include $(INCLUDE_DIR)/package.mk + +define Package/librecmc-keyring + SECTION:=base + CATEGORY:=Base system + TITLE:=libreCMC Developer Keyring + URL:=https://librecmc.org +endef + +define Package/librecmc-keyring/description + The libreCMC developer keyring containing developer usign and gpg public keys. +endef + +Build/Compile= + +define Package/librecmc-keyring/install + $(INSTALL_DIR) $(1)/etc/opkg/keys/ + $(INSTALL_DATA) $(PKG_BUILD_DIR)/usign/* $(1)/etc/opkg/keys/ +endef + +$(eval $(call BuildPackage,librecmc-keyring)) -- 2.25.1