Bump buildroot to 2019.02
This commit is contained in:
6
bsp/buildroot/package/openvpn/S60openvpn
Executable file → Normal file
6
bsp/buildroot/package/openvpn/S60openvpn
Executable file → Normal file
@@ -7,13 +7,11 @@
|
||||
|
||||
test $DEBIAN_SCRIPT_DEBUG && set -v -x
|
||||
|
||||
DAEMON=/usr/sbin/openvpn
|
||||
CONFIG_DIR=/etc/openvpn
|
||||
test -x $DAEMON || exit 0
|
||||
test -d $CONFIG_DIR || exit 0
|
||||
|
||||
start_vpn () {
|
||||
$DAEMON --daemon --writepid /var/run/openvpn.$NAME.pid \
|
||||
/usr/sbin/openvpn --daemon --writepid /var/run/openvpn.$NAME.pid \
|
||||
--config $CONFIG_DIR/$NAME.conf --cd $CONFIG_DIR || printf " FAILED->"
|
||||
printf " $NAME"
|
||||
}
|
||||
@@ -79,8 +77,6 @@ reload|force-reload)
|
||||
printf "(restarted)"
|
||||
else
|
||||
kill -HUP `cat $PIDFILE` || true
|
||||
# start-stop-daemon --stop --signal HUP --quiet --oknodo \
|
||||
# --exec $DAEMON --pidfile $PIDFILE
|
||||
printf " $NAME"
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# Locally calculated after checking signature
|
||||
sha256 96cd1b8fe1e8cb2920f07c3fd3985faea756e16fdeebd11d3e146d5bd2b04a80 openvpn-2.4.4.tar.xz
|
||||
sha256 4f6434fa541cc9e363434ea71a16a62cf2615fb2f16af5b38f43ab5939998c26 openvpn-2.4.6.tar.xz
|
||||
sha256 1fcb78d7e478bb8a9408010bdc91b36e213b1facfad093df3f7ce7e28af19043 COPYRIGHT.GPL
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENVPN_VERSION = 2.4.4
|
||||
OPENVPN_VERSION = 2.4.6
|
||||
OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.xz
|
||||
OPENVPN_SITE = http://swupdate.openvpn.net/community/releases
|
||||
OPENVPN_DEPENDENCIES = host-pkgconf openssl
|
||||
@@ -17,7 +17,8 @@ OPENVPN_CONF_OPTS = \
|
||||
$(if $(BR2_STATIC_LIBS),--disable-plugins)
|
||||
OPENVPN_CONF_ENV = IFCONFIG=/sbin/ifconfig \
|
||||
NETSTAT=/bin/netstat \
|
||||
ROUTE=/sbin/route
|
||||
ROUTE=/sbin/route \
|
||||
IPROUTE=/sbin/ip
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENVPN_SMALL),y)
|
||||
OPENVPN_CONF_OPTS += \
|
||||
@@ -25,16 +26,6 @@ OPENVPN_CONF_OPTS += \
|
||||
--disable-plugins
|
||||
endif
|
||||
|
||||
# BusyBox 1.21+ places the ip applet in the "correct" place
|
||||
# but previous versions didn't.
|
||||
ifeq ($(BR2_PACKAGE_IPROUTE2),y)
|
||||
OPENVPN_CONF_ENV += IPROUTE=/sbin/ip
|
||||
else ifeq ($(BR2_BUSYBOX_VERSION_1_19_X)$(BR2_BUSYBOX_VERSION_1_20_X),y)
|
||||
OPENVPN_CONF_ENV += IPROUTE=/bin/ip
|
||||
else
|
||||
OPENVPN_CONF_ENV += IPROUTE=/sbin/ip
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENVPN_LZ4),y)
|
||||
OPENVPN_DEPENDENCIES += lz4
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user