Jo-Philipp Wich
7f065a94bb
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>
4 years ago
Rosen Penev
74611b3e5a
Merge pull request #15327 from ja-pa/curl-7.76.0
curl: update to version 7.76.0 (security fix)
4 years ago
Paul Spooren
ba82e9957d
tmate-ssh-server: add package
The `tmate` tool is a fork of `tmux` which allows remote access to a
device without setting up any port forwarding. This commits adds the
backend server which handles connections.
Signed-off-by: Paul Spooren <mail@aparcar.org>
4 years ago
Jan Pavlinec
b971310549
curl: update to version 7.76.0
Fixes CVE-2021-22876 and CVE-2021-22890
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
4 years ago
Tianling Shen
07bc6996b6
xray-core: Update to 1.4.1
Updated geodata to latest version.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
4 years ago
Tianling Shen
eb2b7bece3
yq: Update to 4.6.3
- Re-assigned myself as the maintainer
- Used $(AUTORELEASE) for PKG_RELEASE
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
4 years ago
Philip Prindeville
e626255b37
strongswan: move ipsec conf files to subpackage
These config files are only used by the ipsec interface to charon,
and shouldn't be part of the base package.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
4 years ago
Daniel Golle
87ac99146e
autopart: add package
The 'autopart' package is intended for devices with rather large
block device storage (ie. SATA or MMC).
It automatically allocates the free space on the block device used
for booting into an LVM2 physical volume.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 years ago
Daniel Golle
3e30c34bac
ovsd: add package
Add Open vSwtich configuration daemon for netifd.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 years ago
Oskari Rauta
abce423851
podman: Add selinux variant and several improvements
* add -selinux variant which depends on libselinux
* init script for background service
* updated configurations
* maintainer change as requested
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
4 years ago
Martin Matějek
df4b1ae24e
python3-pyroute2: update to version 0.5.16
Signed-off-by: Martin Matějek <martin.matejek@gmx.com>
4 years ago
Rosen Penev
c4c8ca402b
Merge pull request #15311 from commodo/stress-ng
stress-ng: bump to version 0.12.06
4 years ago
Daniel Golle
518fe771e6
oci-runtime-tools: provide rootfs-arm64 for oci-runtime-tests
Download static busybox to provide rootfs-amd64.tar.gz for test-suite.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 years ago
Daniel Golle
954be76e6a
podman: add 'crun' to containers.conf
Now that 'crun' has been packaged, add support for it in podman.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 years ago
Oskari Rauta
01d1a4969e
crun: add package crun
crun is the prefered container run-time of podman, it's faster than
runc and has a much lower memory footprint.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
4 years ago
Daniel Golle
1b25b6e239
cni-plugins: depend on kmod-veth
cni-plugins makes use of veth, make sure kernel module is installed.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 years ago
Daniel Golle
b29e609701
libseccomp: don't build on ARC
ARC architecture is not yet supported by libseccomp.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 years ago
Rosen Penev
847c82124a
Merge pull request #15300 from commodo/python-updates1
Python updates1
4 years ago
Rosen Penev
56c51190d9
Merge pull request #15298 from egorenar/icecast
icecast: fix whitespace in init file
4 years ago
Rosen Penev
13243554b8
Merge pull request #15299 from egorenar/mpd
mpd: run mpd as a non-root user
4 years ago
Josef Schlehofer
8ef81934cd
Merge pull request #15303 from Payne-X6/master
knot: update to version 3.0.5
4 years ago
Oskari Rauta
463227f70c
conmon: fix segfault, correct a typo and update description
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
4 years ago
Jan Hak
d92a2cd21b
knot: update to version 3.0.5
Signed-off-by: Jan Hak <jan.hak@nic.cz>
4 years ago
Alexandru Ardelean
940492c577
stress-ng: bump to version 0.12.06
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
4 years ago
Jan Pavlinec
0042beff72
git-lfs: update to version 2.13.3
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
4 years ago
Alexander Egorenkov
9643ffc828
icecast: fix whitespace in init file
Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
4 years ago
Alexander Egorenkov
c9b28a3125
mpd: run mpd as a non-root user
* Make /etc/mpd.conf worldreadable.
Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
4 years ago
Alexandru Ardelean
731bb0265d
numpy: bump to version 1.20.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
4 years ago
Alexandru Ardelean
89a6254b0a
python-lxml: bump to version 4.6.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
4 years ago
Alexandru Ardelean
5d00d670b2
gunicorn: bump to version 20.1.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
4 years ago
Alexandru Ardelean
0f9b0223cc
django-restframework: bump to version 3.12.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
4 years ago
Paul Spooren
d424d19b5a
whois: update to 5.5.9
* Updated the .ga TLD server.
* Removed the .cd and cf TLD servers.
* Removed 72 new gTLDs which are no longer active.
Signed-off-by: Paul Spooren <mail@aparcar.org>
4 years ago
Paul Spooren
e05a58615f
apk: update to 2.12.4
Ariadne Conill (1):
database: do not chroot(".") unless actually necessary
Martin Vahlensieck (1):
Use correct port when redirected
Timo Teräs (5):
db: fix control character check to use uint8_t
libfetch: send Proxy-Authorization also for https connect
del: report correctly package's provides names
Signed-off-by: Paul Spooren <mail@aparcar.org>
4 years ago
Dirk Brenken
994ff9ba1f
Merge pull request #15289 from dibdot/banip
banip: update to 0.7.6
4 years ago
Rosen Penev
1e0bfe608a
Merge pull request #15291 from egorenar/mpd-lame-encoder
mpd-full: enable lame and vorbis encoders
4 years ago
Lucian Cristian
2e4c264a54
frr: update to 7.5.1 and backports
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
4 years ago
Alexander Egorenkov
059dcc9058
mpd-full: enable lame and vorbis encoders
Enable Vorbis encoder for OGG format and lame for MP3.
This enables mpd to stream OGG and MP3 to e.g. Icecast2.
Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
4 years ago
Dirk Brenken
1235acdde6
banip: update to 0.7.6
* rework the central iptables function to significantly
reduce the code complexity and the overall number of iptables calls
* check early and only once in the chain for ctstate NEW and
return otherwise (thanks @ldir-EDB0 )
* made the whitelist ordering within the chain more flexible
Signed-off-by: Dirk Brenken <dev@brenken.org>
4 years ago
Rosen Penev
c84729b564
Merge pull request #15012 from neheb/ninja
treewide: build CMake projects with Ninja
4 years ago
Rosen Penev
a31b732007
treewide: build CMake projects with Ninja
faster to compile.
A small selection of packages was tested going from:
Executed in 696.30 secs fish external
usr time 82.98 mins 395.00 micros 82.98 mins
sys time 9.02 mins 0.00 micros 9.02 mins
to:
Executed in 592.20 secs fish external
usr time 84.84 mins 361.00 micros 84.84 mins
sys time 8.85 mins 57.00 micros 8.85 mins
Tested by running make -j 12 and wiping staging/build_dir/target_x
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
3ad92293da
ninja: add custom target support for ninja-cmake
Allows fixing compilation with at least mariadb.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
e41143a656
Merge pull request #15288 from neheb/fontco
fontconfig: compile with meson
4 years ago
Rosen Penev
0aa5d541ef
fontconfig: compile with meson
Faster compilation.
Backport upstream patch fixing cross compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
55816b9294
Merge pull request #15280 from egorenar/imagemagick-freetype-link-fix
imagemagick: fix linking of host libfreetype
4 years ago
Alexander Egorenkov
6ecf4869bd
imagemagick: fix linking of host libfreetype
Host's libfreetype is being linked during build.
libtool: warning: relinking 'MagickWand/libMagickWand-7.Q8.la'
libtool: install: (cd /home/egorenar/Repositories/openwrt-rel/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ImageMagick-7.0.9-5; /bin/sh "/home/egorenar/Repositories/openwrt-rel/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ImageMagick-7.0.9-5/libtool" --tag CC --mode=relink arm-openwrt-linux-muslgnueabi-gcc -I/home/egorenar/Repositories/openwrt-rel/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/libpng16 -I/home/egorenar/Repositories/openwrt-rel/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include -I/home/egorenar/Repositories/openwrt-rel/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/freetype2 -I/home/egorenar/Repositories/openwrt-rel/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include -I/home/egorenar/Repositories/openwrt-rel/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/libpng16 -I/home/egorenar/Repositories/openwrt-rel/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/egorenar/Repositories/openwrt-rel/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ImageMagick-7.0.9-5=ImageMagick-7.0.9-5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -Wall -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=8 -no-undefined -Wl,--version-script=./MagickWand/libMagickWand.map -version-info 7:0:0 -L/home/egorenar/Repositories/openwrt-rel/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-8.4.0_musl_eabi/usr/lib -L/home/egorenar/Repositories/openwrt-rel/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-8.4.0_musl_eabi/lib -znow -zrelro -o MagickWand/libMagickWand-7.Q8.la -rpath /usr/lib MagickWand/libMagickWand_7_Q8_la-animate.lo MagickWand/libMagickWand_7_Q8_la-compare.lo MagickWand/libMagickWand_7_Q8_la-composite.lo MagickWand/libMagickWand_7_Q8_la-conjure.lo MagickWand/libMagickWand_7_Q8_la-convert.lo MagickWand/libMagickWand_7_Q8_la-deprecate.lo MagickWand/libMagickWand_7_Q8_la-display.lo MagickWand/libMagickWand_7_Q8_la-drawing-wand.lo MagickWand/libMagickWand_7_Q8_la-identify.lo MagickWand/libMagickWand_7_Q8_la-import.lo MagickWand/libMagickWand_7_Q8_la-magick-cli.lo MagickWand/libMagickWand_7_Q8_la-magick-image.lo MagickWand/libMagickWand_7_Q8_la-magick-property.lo MagickWand/libMagickWand_7_Q8_la-magick-wand.lo MagickWand/libMagickWand_7_Q8_la-mogrify.lo MagickWand/libMagickWand_7_Q8_la-montage.lo MagickWand/libMagickWand_7_Q8_la-operation.lo MagickWand/libMagickWand_7_Q8_la-pixel-iterator.lo MagickWand/libMagickWand_7_Q8_la-pixel-wand.lo MagickWand/libMagickWand_7_Q8_la-script-token.lo MagickWand/libMagickWand_7_Q8_la-stream.lo MagickWand/libMagickWand_7_Q8_la-wand.lo MagickWand/libMagickWand_7_Q8_la-wandcli.lo MagickWand/libMagickWand_7_Q8_la-wand-view.lo MagickCore/libMagickCore-7.Q8.la -lm -inst-prefix-dir /home/egorenar/Repositories/openwrt-rel/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ImageMagick-7.0.9-5/ipkg-install)
libtool: relink: arm-openwrt-linux-muslgnueabi-gcc -shared -fPIC -DPIC MagickWand/.libs/libMagickWand_7_Q8_la-animate.o MagickWand/.libs/libMagickWand_7_Q8_la-compare.o MagickWand/.libs/libMagickWand_7_Q8_la-composite.o MagickWand/.libs/libMagickWand_7_Q8_la-conjure.o MagickWand/.libs/libMagickWand_7_Q8_la-convert.o MagickWand/.libs/libMagickWand_7_Q8_la-deprecate.o MagickWand/.libs/libMagickWand_7_Q8_la-display.o MagickWand/.libs/libMagickWand_7_Q8_la-drawing-wand.o MagickWand/.libs/libMagickWand_7_Q8_la-identify.o MagickWand/.libs/libMagickWand_7_Q8_la-import.o MagickWand/.libs/libMagickWand_7_Q8_la-magick-cli.o MagickWand/.libs/libMagickWand_7_Q8_la-magick-image.o MagickWand/.libs/libMagickWand_7_Q8_la-magick-property.o MagickWand/.libs/libMagickWand_7_Q8_la-magick-wand.o MagickWand/.libs/libMagickWand_7_Q8_la-mogrify.o MagickWand/.libs/libMagickWand_7_Q8_la-montage.o MagickWand/.libs/libMagickWand_7_Q8_la-operation.o MagickWand/.libs/libMagickWand_7_Q8_la-pixel-iterator.o MagickWand/.libs/libMagickWand_7_Q8_la-pixel-wand.o MagickWand/.libs/libMagickWand_7_Q8_la-script-token.o MagickWand/.libs/libMagickWand_7_Q8_la-stream.o MagickWand/.libs/libMagickWand_7_Q8_la-wand.o MagickWand/.libs/libMagickWand_7_Q8_la-wandcli.o MagickWand/.libs/libMagickWand_7_Q8_la-wand-view.o -L/home/egorenar/Repositories/openwrt-rel/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-8.4.0_musl_eabi/usr/lib -L/home/egorenar/Repositories/openwrt-rel/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-8.4.0_musl_eabi/lib -L/home/egorenar/Repositories/openwrt-rel/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ImageMagick-7.0.9-5/ipkg-install/usr/lib -L/usr/lib -lMagickCore-7.Q8 -L/home/egorenar/Repositories/openwrt-rel/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib -lfreetype -lz -lltdl -lm -Os -mfloat-abi=hard -fstack-protector -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto -pthread -Wl,--version-script=./MagickWand/libMagickWand.map -pthread -Wl,-soname -Wl,libMagickWand-7.Q8.so.7 -o MagickWand/.libs/libMagickWand-7.Q8.so.7.0.0
/usr/lib/libfreetype.so: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
libtool: error: error: relink 'MagickWand/libMagickWand-7.Q8.la' with the above command before installing it
make[5]: *** [Makefile:6264: install-libLTLIBRARIES] Error 1
make[5]: Leaving directory '/home/egorenar/Repositories/openwrt-rel/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ImageMagick-7.0.9-5'
make[4]: *** [Makefile:12263: install-am] Error 2
make[4]: Leaving directory '/home/egorenar/Repositories/openwrt-rel/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ImageMagick-7.0.9-5'
make[3]: *** [Makefile:12257: install] Error 2
make[3]: Leaving directory '/home/egorenar/Repositories/openwrt-rel/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ImageMagick-7.0.9-5'
make[2]: *** [Makefile:153: /home/egorenar/Repositories/openwrt-rel/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ImageMagick-7.0.9-5/.built] Error 2
make[2]: Leaving directory '/home/egorenar/Repositories/openwrt-rel/feeds/packages/multimedia/imagemagick'
time: package/feeds/packages/imagemagick/compile#105.77#18.23#212.14
ERROR: package/feeds/packages/imagemagick failed to build.
make[1]: *** [package/Makefile:114: package/feeds/packages/imagemagick/compile] Error 1
make[1]: Leaving directory '/home/egorenar/Repositories/openwrt-rel'
make: *** [/home/egorenar/Repositories/openwrt-rel/include/toplevel.mk:230: package/imagemagick/compile] Error 2
Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
4 years ago
Philip Prindeville
a7c8f9de0c
Merge pull request #14711 from pprindeville/strongswan-make-includes-persistent
strongswan: make the include's in the .conf files persistent
4 years ago
Daniel Golle
3c758231cb
podman: update to version 3.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 years ago
Daniel Golle
301abeecdc
conmon: update to version 2.0.27
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 years ago
Daniel Golle
d3da072411
cni-plugins: update to version 0.9.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 years ago
Dirk Brenken
d2c149a68e
Merge pull request #15276 from dibdot/banip
banip: update to 0.7.5-4
4 years ago