aboutsummaryrefslogtreecommitdiff
path: root/myrepo-cert
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-11-06 08:23:58 +0100
committerKarel Kočí <karel.koci@nic.cz>2017-11-06 09:57:23 +0100
commit0bcdf73271be4a4f9ca8c849c426b521365dcf30 (patch)
tree375234b57dff8c845bdd8c5c925c3760f3b83a5e /myrepo-cert
parent7e3c1561d5dd5e03926aab60b81c62c8b728cac4 (diff)
downloadturris-myrepo-0bcdf73271be4a4f9ca8c849c426b521365dcf30.tar.gz
turris-myrepo-0bcdf73271be4a4f9ca8c849c426b521365dcf30.tar.bz2
turris-myrepo-0bcdf73271be4a4f9ca8c849c426b521365dcf30.zip
Rename myrepo-cert to just myrepo
Diffstat (limited to 'myrepo-cert')
-rw-r--r--myrepo-cert/Makefile35
-rw-r--r--myrepo-cert/files/key.pub2
-rw-r--r--myrepo-cert/files/key.sec2
-rw-r--r--myrepo-cert/files/updater.lua10
4 files changed, 0 insertions, 49 deletions
diff --git a/myrepo-cert/Makefile b/myrepo-cert/Makefile
deleted file mode 100644
index c8ce9d6..0000000
--- a/myrepo-cert/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-## Copyright (C) 2016-2017 CZ.NIC z.s.p.o. (http://www.nic.cz/)
-#
-## This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-# #
-#
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=myrepo-cert
-PKG_VERSION:=3
-PKG_MAINTAINER:=Karel Koci
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/myrepo-cert
- TITLE:=myrepo-cert
-endef
-
-define Build/Compile
- true
-endef
-
-define Package/myrepo-cert/install
- $(INSTALL_DIR) $(1)/etc/opkg/keys
- $(INSTALL_DIR) $(1)/etc/updater/keys
- $(INSTALL_DATA) ./files/key.pub $(1)/etc/opkg/keys/cfb977a0d53c5424
- $(INSTALL_DATA) ./files/key.pub $(1)/etc/updater/keys/myrepo.pub
-
- $(INSTALL_DIR) $(1)/etc/updater/conf.d
- $(INSTALL_CONF) ./files/updater.lua $(1)/etc/updater/conf.d/myrepo.lua
-endef
-
-$(eval $(call BuildPackage,myrepo-cert))
diff --git a/myrepo-cert/files/key.pub b/myrepo-cert/files/key.pub
deleted file mode 100644
index 4173ed5..0000000
--- a/myrepo-cert/files/key.pub
+++ /dev/null
@@ -1,2 +0,0 @@
-untrusted comment: private key cfb977a0d53c5424
-RWTPuXeg1TxUJC6EOmawdomx+1cuPaBx5g6B1A2nq0TI6Gf8mbRoU2w6
diff --git a/myrepo-cert/files/key.sec b/myrepo-cert/files/key.sec
deleted file mode 100644
index 5731869..0000000
--- a/myrepo-cert/files/key.sec
+++ /dev/null
@@ -1,2 +0,0 @@
-untrusted comment: public key cfb977a0d53c5424
-RWRCSwAAAAC/rGfdjaQn9ZWPHvtqQrzm9dkd/bHNF4XPuXeg1TxUJCiZuBFQLxqoolLnufYHIHHGvgFbJpjnT1v8X2W831l+LoQ6ZrB2ibH7Vy49oHHmDoHUDaerRMjoZ/yZtGhTbDo=
diff --git a/myrepo-cert/files/updater.lua b/myrepo-cert/files/updater.lua
deleted file mode 100644
index f68f585..0000000
--- a/myrepo-cert/files/updater.lua
+++ /dev/null
@@ -1,10 +0,0 @@
-local board
-if model:match('[Oo]mnia') then
- board = "omnia"
-else
- board = "turris"
-end
-
-Script("myrepo", "http://cynerd.cz/myrepo/" .. board .. ".lua", {
- pubkey = "file:///etc/updater/keys/myrepo.pub"
-})