From aa6c1f7ddf512f719037d1f6bba1c56adf92777c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 27 Nov 2018 22:26:00 +0100 Subject: personal-pkgs-repo: add additional packages --- personal-pkgs-repo/Makefile | 2 +- personal-pkgs-repo/files/updater.lua | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) (limited to 'personal-pkgs-repo') diff --git a/personal-pkgs-repo/Makefile b/personal-pkgs-repo/Makefile index 2c28564..0eac30d 100644 --- a/personal-pkgs-repo/Makefile +++ b/personal-pkgs-repo/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=personal-pkgs-repo -PKG_VERSION:=1.3 +PKG_VERSION:=1.4 PKG_MAINTAINER:=Karel Kočí PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/personal-pkgs-repo/files/updater.lua b/personal-pkgs-repo/files/updater.lua index 2bf7636..228969d 100644 --- a/personal-pkgs-repo/files/updater.lua +++ b/personal-pkgs-repo/files/updater.lua @@ -6,13 +6,34 @@ elseif model:match('^[Tt]urris$') then else DIE("Unsupported board!") end +local hostname_file = io.open('/proc/sys/kernel/hostname') +local hostname = hostname_file:read() +hostname_file:close() Repository("personal-pkgs", "https://cynerd.cz/repo/turris3x/" .. board, { pubkey = "file:///etc/updater/keys/personal-pkgs.pub", ocsp = false }) +-- Core package Install("personal-pkgs-repo") Package("personal-pkgs-repo", { replan = "finished" }) +-- Shells Install("shellrc-zsh", "shellrc-ash") + +-- VPNs +Install("luci-app-openvpn", "openvpn-openssl") +Install("luci-app-wireguard", "wireguard") + +-- Basic additional tools +Install("grep", "coreutils-sha256sum") +Install("iperf", "iperf3") +Install("sysstat", "strace", "gdbserver") + +if hostname == "turris-home" then + Install("transmission-daemon-openssl") +end + +-- Sentinel! +Install("sentinel-minipot") -- cgit v1.2.3