Commit Graph

8 Commits

Author SHA1 Message Date
Rosen Penev ad97672726 sshtunnel: correct access of config file
With this change the `/etc/config/sshtunnel` file has the correct access.
It's a sensible file.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-24 13:49:45 -07:00
Kimmo Vuorinen e7088fe82c sshtunnel: init script improvements
* Fix for OpenSSH pickiness about argument order to be able to use
  tap devices.
* Allow tun/tap devices to be used from index 0 as demonstrated in
  example config.
* Change arithmetic expressions.

Signed-off-by: Kimmo Vuorinen <kimmo.vuorinen@gmail.com>
2020-02-20 09:04:33 +01:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Deng Qingfang 17496030e2 treewide: add missing PKGARCH:=all to non-binary packages
Packages such as Perl, Lua, shell scripts don't generate binary files.
Add PKGARCH:=all to them.

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-03-30 17:11:50 +08:00
Jeffery To f5181d615c sshtunnel: Update init script
This replaces the use of uci_validate_section() with
uci_load_validate(), which removes the need to declare local variables
for every config option.

This also fixes some validation, makes variable declarations local,
removes unnecessary curly brackets.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-04 09:17:14 +01:00
Kiril Zyapkov 9d3877d446 sshtunnel: switch to procd
This changeset removes the shell wrapper the package used previously,
and uses the instance-management abilities of procd to track ssh
processes. Many fixes and improvements were integrated from the
package maintainer's branch at

https://github.com/nunojpg/packages/tree/sshtunnel

Signed-off-by: Kiril Zyapkov <kiril.zyapkov@gmail.com>
2015-12-14 09:35:03 +02:00
Nuno Goncalves 76f57ca7eb sshtunnel: fixes validation bug with dynamic port forwarding.
Thanks to Avi Alkalay <avi@unix.sh>

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2015-05-25 22:07:04 +01:00
Nuno Goncalves 73392f3ff3 sshtunnel: move to github
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2014-09-16 01:37:29 +01:00