Add libreCMC keyring
authorRISCi_ATOM <bob@bobcall.me>
Wed, 5 Jul 2017 16:50:03 +0000 (12:50 -0400)
committerRISCi_ATOM <bob@bobcall.me>
Wed, 5 Jul 2017 16:50:03 +0000 (12:50 -0400)
package/base-files/Makefile
package/system/librecmc-keyring/Makefile [new file with mode: 0644]

index 58bc7d4b3c89e8c47000eb9658c28d0d5585c760..2e43277d3a6bf98a10c3d20fc8ab0bc5b8dcc5ad 100644 (file)
@@ -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 (file)
index 0000000..f8ffaaa
--- /dev/null
@@ -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 <bob@librecmc.org>
+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))