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pnntZVyy/D/40MVcY1VYJs2SofuZj8w3a
|
||||
IsajW93+6c7zXXMm2HFjPxsnUp0Qx1kEsWnlFaOi+8qHLo/a1mRQpAUo9JTY/OYK
|
||||
naHsgIhK5ZTrwOG6PsVw7eaAzlrfXCm5wv9iXo77hmDriaOPA2yWOfhOMYYFK2Z3
|
||||
VIZecrh+QdHzQe9XzCP1BVYdtxH16rdqO8w61CyERwN1GS35BlO6ucXeYrf3kAtR
|
||||
7Ct09H8H6AaBXOVFO+Bz/Gstw6X2PbK3oXRnhxDtxq8BFwTul3+IqqVCJ3L7yer+
|
||||
EXy7YOYI+TWJNsdKGAAHhBY7EXElmSMUI/WCMB3gM1NW+TOhEddvaZJVt+KOs68D
|
||||
/RQKSsWfz3jgk4f2342DOAr3AqYImCFkumViZ/+yhICAGhywtJGKOBAbp1vhB4zW
|
||||
WI6fNKfGoVaLJ3Pzzbyz+pAa+JYUnxgb+/jVob2HrWIynL/QlR3URKw0gTvRx8YN
|
||||
NdWUUQ0CM3ZutagMrq3nQpP7qGwe5cL3+pkLIH7OBWL8vqpC0qtVcEqbIfm//9Om
|
||||
w/V9JWsiviZS18hnb9sA7/hKgKk2jtOFn0W9dw0QmLTIexPIo7c7grGw29k1mMoO
|
||||
PtfaM+Y3ZgXVX9Rk5BZy1hvtpOvxf2UZWBHukH1Iai+ryKIIsHe12ipadfrqXcNp
|
||||
Hp//gochFoFOce85MsQyEg==
|
||||
=yJok
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
@ -1,17 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7I05cZHGd6YW11ZGlv
|
||||
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZVyVbD/sFVRV617nCN4ZSWSuF5ry2
|
||||
MSh3Fb1+PfiGk5pSA4ctRNAE1WBurhAUdurOLM8Cs4XZe3venRsMtCN4cXStC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cyCD8pz8j9E3eHjMkPjX
|
||||
eq5GW7WXg/2BIbc1tXabjtZdaYT6IJhQRaidKOXoFMLyOo4aYxCRxw5ZCQJYlVn7
|
||||
GMw2Hk7nWWUQAbcWM6viMHDHWuUFj2ofqf0csq4Jji+HCRDYzBEWav+TiroVtAWA
|
||||
yXbcyrRdo28avFzGsKqDdONXRkgfGy80OgebEWHv1cz4sIikw93YdK9+woE5+TA1
|
||||
h1Uza0DEOUCppaqW7WxAZGT9YMEf6FcaUlVfTNq5bswMNAhF2SBCglOWwDT4acIl
|
||||
kMtxjnxt4ioshK7OGB3rzQbGGUkC359BOo9Fush43E0+to6qqe+yYwo31QDIc6Wb
|
||||
maO24T8Xan+08y6Dmo16ODoVjHCPd8dhbApJ8agIO01V3/Vw8QWhDuXV4SHLeTDi
|
||||
K8VTFV+nwYvjkZGbbnogug==
|
||||
=xl15
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
PACKAGES.TXT; Sat May 23 07:40:45 UTC 2020
|
||||
PACKAGES.TXT; Sat May 23 07:59:16 UTC 2020
|
||||
|
||||
|
Binary file not shown.
@ -0,0 +1,19 @@
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
openfortivpn: openfortivpn (Client for PPP+SSL VPN tunnel services)
|
||||
openfortivpn:
|
||||
openfortivpn: openfortivpn is a client for PPP+SSL VPN tunnel services. It spawns
|
||||
openfortivpn: a pppd process and operates the communication between the gateway
|
||||
openfortivpn: and this process. It is compatible with Fortinet VPNs.
|
||||
openfortivpn:
|
||||
openfortivpn: Home: https://github.com/adrienverge/openfortivpn
|
||||
openfortivpn:
|
||||
openfortivpn:
|
||||
openfortivpn:
|
||||
openfortivpn:
|
@ -0,0 +1,19 @@
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
openfortivpn: openfortivpn (Client for PPP+SSL VPN tunnel services)
|
||||
openfortivpn:
|
||||
openfortivpn: openfortivpn is a client for PPP+SSL VPN tunnel services. It spawns
|
||||
openfortivpn: a pppd process and operates the communication between the gateway
|
||||
openfortivpn: and this process. It is compatible with Fortinet VPNs.
|
||||
openfortivpn:
|
||||
openfortivpn: Home: https://github.com/adrienverge/openfortivpn
|
||||
openfortivpn:
|
||||
openfortivpn:
|
||||
openfortivpn:
|
||||
openfortivpn:
|
@ -0,0 +1 @@
|
||||
openfortivpn is a client for PPP+SSL VPN tunnel services.
|
@ -0,0 +1,110 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Slackware build script for openfortivpn
|
||||
|
||||
# Copyright (c) 2016 Antonio Taverna, Udine, Italy
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
# Maintained by Gerardo Zamudio <gerardo.zamudio@linux.com> Mexico City, Mexico
|
||||
#
|
||||
|
||||
PRGNAM=openfortivpn
|
||||
VERSION=${VERSION:-1.14.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
unzip $CWD/v$VERSION.zip
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
aclocal
|
||||
autoconf
|
||||
automake --add-missing
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mv $PKG/etc/openfortivpn/config $PKG/etc/openfortivpn/config.new
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE LICENSE.OpenSSL README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
@ -0,0 +1,10 @@
|
||||
PRGNAM="openfortivpn"
|
||||
VERSION="1.14.1"
|
||||
HOMEPAGE="https://github.com/adrienverge/openfortivpn"
|
||||
DOWNLOAD="https://github.com/adrienverge/openfortivpn/archive/v1.14.1.zip"
|
||||
MD5SUM="25a24710f6fcaac66d8fa0b1941895eb"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Gerardo Zamudio"
|
||||
EMAIL="gerardo.zamudio@linux.com"
|
@ -0,0 +1,19 @@
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
openfortivpn: openfortivpn (Client for PPP+SSL VPN tunnel services)
|
||||
openfortivpn:
|
||||
openfortivpn: openfortivpn is a client for PPP+SSL VPN tunnel services. It spawns
|
||||
openfortivpn: a pppd process and operates the communication between the gateway
|
||||
openfortivpn: and this process. It is compatible with Fortinet VPNs.
|
||||
openfortivpn:
|
||||
openfortivpn: Home: https://github.com/adrienverge/openfortivpn
|
||||
openfortivpn:
|
||||
openfortivpn:
|
||||
openfortivpn:
|
||||
openfortivpn:
|
@ -0,0 +1,14 @@
|
||||
config() {
|
||||
NEW="$1"
|
||||
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
||||
# If there's no config file by that name, mv it over:
|
||||
if [ ! -r $OLD ]; then
|
||||
mv $NEW $OLD
|
||||
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
||||
# toss the redundant copy
|
||||
rm $NEW
|
||||
fi
|
||||
# Otherwise, we leave the .new copy for the admin to consider...
|
||||
}
|
||||
|
||||
config etc/openfortivpn/config.new
|
Loading…
Reference in new issue