diff --git a/net/autossh/Makefile b/net/autossh/Makefile index fa4543af..a483991a 100644 --- a/net/autossh/Makefile +++ b/net/autossh/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=autossh -PKG_VERSION:=1.4e -PKG_RELEASE:=2 +PKG_VERSION:=1.4g +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz -PKG_SOURCE_URL:=http://www.harding.motd.ca/autossh/ -PKG_HASH:=9e8e10a59d7619176f4b986e256f776097a364d1be012781ea52e08d04679156 +PKG_SOURCE_URL:=https://www.harding.motd.ca/autossh/ +PKG_HASH:=5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31ae21277 PKG_LICENSE:=0BSD include $(INCLUDE_DIR)/package.mk @@ -22,7 +22,7 @@ define Package/autossh SECTION:=net CATEGORY:=Network TITLE:=Autossh client - URL:=http://www.harding.motd.ca/autossh/ + URL:=https://www.harding.motd.ca/autossh/ MAINTAINER:=Christian Beier SUBMENU:=SSH endef diff --git a/net/autossh/files/autossh.config b/net/autossh/files/autossh.config index faee881a..2147d537 100644 --- a/net/autossh/files/autossh.config +++ b/net/autossh/files/autossh.config @@ -1,6 +1,6 @@ config autossh - option ssh '-i /etc/dropbear/id_rsa -N -T -R 2222:localhost:22 user@host' - option gatetime '0' - option monitorport '20000' - option poll '600' - option enabled '0' + option ssh '-i /etc/dropbear/id_rsa -N -T -R 2222:localhost:22 user@host' + option gatetime '0' + option monitorport '20000' + option poll '180' + option enabled '0' diff --git a/net/autossh/files/autossh.init b/net/autossh/files/autossh.init index e21b3910..fa44d05e 100644 --- a/net/autossh/files/autossh.init +++ b/net/autossh/files/autossh.init @@ -14,6 +14,8 @@ start_instance() { [ "$enabled" = 1 ] || exit 0 + export HOME=/root + export AUTOSSH_PATH=ssh export AUTOSSH_GATETIME="${gatetime:-30}" export AUTOSSH_POLL="${poll:-600}" service_start /usr/sbin/autossh -M ${monitorport:-20000} -f ${ssh} diff --git a/net/ocserv/Makefile b/net/ocserv/Makefile index e9bb6af1..12f811d0 100644 --- a/net/ocserv/Makefile +++ b/net/ocserv/Makefile @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ocserv -PKG_VERSION:=0.12.1 +PKG_VERSION:=0.12.6 PKG_RELEASE:=1 PKG_USE_MIPS16:=0 PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/ocserv/ -PKG_HASH:=0b7d6f4cd54cf8bf6400a27d202819eec32341225ae48ca73d049f9d17e3a2bc +PKG_HASH:=b75544bbccf299a0e6b4639af516ecc3393f9f9fe22179a619a7711e80f65cec PKG_LICENSE:=GPLv2+ PKG_LICENSE_FILES:=COPYING