diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-01-19 15:10:01 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-01-19 15:10:01 +0100 |
commit | b3966853d6c336bc66d304b448ac65280bce7957 (patch) | |
tree | 3c86596d2fd2cd114c60f66a1063dcd913d87f2e /myrepo-cert | |
download | turris-myrepo-b3966853d6c336bc66d304b448ac65280bce7957.tar.gz turris-myrepo-b3966853d6c336bc66d304b448ac65280bce7957.tar.bz2 turris-myrepo-b3966853d6c336bc66d304b448ac65280bce7957.zip |
Initial commit
Diffstat (limited to 'myrepo-cert')
-rw-r--r-- | myrepo-cert/Makefile | 33 | ||||
-rw-r--r-- | myrepo-cert/files/key.pub | 2 | ||||
-rw-r--r-- | myrepo-cert/files/key.sec | 2 |
3 files changed, 37 insertions, 0 deletions
diff --git a/myrepo-cert/Makefile b/myrepo-cert/Makefile new file mode 100644 index 0000000..99f47fe --- /dev/null +++ b/myrepo-cert/Makefile @@ -0,0 +1,33 @@ +# +## Copyright (C) 2016 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:=1 +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 + + cp ./files/key.pub $(1)/etc/opkg/keys/cfb977a0d53c5424 + cp ./files/key.pub $(1)/etc/updater/keys/myrepo.pub +endef + +$(eval $(call BuildPackage,myrepo-cert)) diff --git a/myrepo-cert/files/key.pub b/myrepo-cert/files/key.pub new file mode 100644 index 0000000..4173ed5 --- /dev/null +++ b/myrepo-cert/files/key.pub @@ -0,0 +1,2 @@ +untrusted comment: private key cfb977a0d53c5424 +RWTPuXeg1TxUJC6EOmawdomx+1cuPaBx5g6B1A2nq0TI6Gf8mbRoU2w6 diff --git a/myrepo-cert/files/key.sec b/myrepo-cert/files/key.sec new file mode 100644 index 0000000..5731869 --- /dev/null +++ b/myrepo-cert/files/key.sec @@ -0,0 +1,2 @@ +untrusted comment: public key cfb977a0d53c5424 +RWRCSwAAAAC/rGfdjaQn9ZWPHvtqQrzm9dkd/bHNF4XPuXeg1TxUJCiZuBFQLxqoolLnufYHIHHGvgFbJpjnT1v8X2W831l+LoQ6ZrB2ibH7Vy49oHHmDoHUDaerRMjoZ/yZtGhTbDo= |