Community maintained packages for difos.
Find a file
Jo-Philipp Wich 3ba100928a openvpn: fix invoking user up & down commands from hotplug wrapper
This commit adds a number of fixes to the OpenVPN up/down hotplug command
wrapper which currently fails to actually invoke user defined up and down
commands for uci configurations not using external native configurations.

 - Use the `--setenv` to pass the user configured `up` and `down` commands
   as `user_up` and `user_down` environment variables respectively

 - Instead of attempting to scrape the `up` and `down` settings from the
   (possibly generated) native OpenVPN configuration in
   `/etc/hotplug.d/openvpn/01-user`, read them from the respective
   environment variables instead

 - Fix parsing of native configuration values in `get_openvpn_option()`;
   first try to parse a given setting as single quoted value, then as
   double quoted and finally as non-quoted, potentially white-space
   escaped one. This ensures that `up '/bin/foo'` is interpreted as
   `/bin/foo` and not `'/bin/foo'`

Ref: https://forum.openwrt.org/t/openvpn-up-down-configuration-ignored/91126
Supersedes: #15121, #15284
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry-picked from commit 7f065a94bb)
2021-04-07 22:54:36 +02:00
.circleci circleci: Revert switch to CDN due to breakage 2019-11-22 23:19:56 +01:00
.github CI: use new openwrt Docker username 2021-03-29 00:22:08 +02:00
.keys build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
admin netdata: update to version 1.29.3 2021-03-29 00:21:31 +02:00
devel gitlab-runner: update to version 13.10.0 2021-03-29 00:15:44 +02:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6 treewide: Run refresh on all packages 2021-02-25 01:26:05 +08:00
kernel ksmbd: update to 3.3.8 2021-04-07 00:49:09 -07:00
lang python-pytest: update to version 6.2.3 2021-04-07 14:18:59 +02:00
libs libdvbcsa: add new package 2021-04-07 14:19:41 +02:00
mail pigeonhole: bump to 0.5.14 2021-03-10 21:21:29 -03:00
multimedia youtube-dl: update to version 2021.4.7 2021-04-07 14:18:47 +02:00
net openvpn: fix invoking user up & down commands from hotplug wrapper 2021-04-07 22:54:36 +02:00
sound treewide: fix places where $(FPIC) is unquoted 2021-03-22 13:23:10 -03:00
utils setools: update to 4.4.0 2021-04-06 15:59:19 -07:00
.travis.yml travis: improve build config 2020-06-19 21:16:52 +02:00
.travis_do.sh travis: use mpc85xx-p2020 sdk instead of ar71xx 2020-06-18 13:58:09 +02:00
CONTRIBUTING.md CONTRIBUTING: add CI information 2020-09-30 10:47:12 -10:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Update the SDK URL in the README. 2020-05-24 14:50:30 -07:00

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.