diff options
Diffstat (limited to 'source/n/openvpn')
-rwxr-xr-x | source/n/openvpn/openvpn.SlackBuild | 8 | ||||
-rw-r--r-- | source/n/openvpn/openvpn.url | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/source/n/openvpn/openvpn.SlackBuild b/source/n/openvpn/openvpn.SlackBuild index 7293806c..cb9efc4f 100755 --- a/source/n/openvpn/openvpn.SlackBuild +++ b/source/n/openvpn/openvpn.SlackBuild @@ -23,13 +23,13 @@ PKGNAM=openvpn -VERSION=2.3.2 +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; arm*) export ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; @@ -38,8 +38,8 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" diff --git a/source/n/openvpn/openvpn.url b/source/n/openvpn/openvpn.url new file mode 100644 index 00000000..0845c411 --- /dev/null +++ b/source/n/openvpn/openvpn.url @@ -0,0 +1 @@ +https://swupdate.openvpn.org/community/releases/ |