openfortivpn: Nuevo

master
Gerardo Zamudio 5 years ago
parent 0147403329
commit 727dea7fea
Signed by: gzamudio
GPG Key ID: F6CFA5A99E7B5957

@ -10,14 +10,14 @@ tail +13 CHECKSUMS.md5 | md5sum --check | less
/pub/gnu, or at any GNU mirror site.
MD5 message digest Filename
0b7528169d4598371ed7a483828141ce ./ChangeLog.rss
766ce95bb99949968c5e10604f8926da ./ChangeLog.txt
63374245e2820f76506355fee0258e57 ./ChangeLog.txt.gz
3e3b86a542ce39cd2b2adcb4ea52fd03 ./FILELIST.TXT
bad22a930b1fecbbe970f4f11d81de6e ./ChangeLog.rss
b7c28bd38be930e410222cee54ab8d74 ./ChangeLog.txt
8cd45b8efe67e6c58ae1d3bcdcddc2fc ./ChangeLog.txt.gz
d4eecbaa81949fd6709f42163bab5a58 ./FILELIST.TXT
7f4bffeb686cc5fd6056bd404dda08d7 ./GPG-KEY
4059d198768f9f8dc9372dc1c54bc3c3 ./MANIFEST.bz2
24002a3343083cc2978009bc4291e0ec ./PACKAGES.TXT
cf3c3751f7ea8daa7c4b37e2ac446df2 ./PACKAGES.TXT.gz
bf0f6ff05bdd7c1fa00bcef40e96f95a ./PACKAGES.TXT
bd7477527eb355cbd33f06be386923a7 ./PACKAGES.TXT.gz
bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/HEADER.txt
bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/README
8c970fb9c9408b1ef9fddd2abdc2c15a ./device-tree-compiler/build/README
@ -126,6 +126,13 @@ a1c05ba7104267a1665c68a0825ba95b ./lz4/build/slack-desc
f4e9de087074945895e114333fffbcc1 ./netcat-openbsd/build/netcat-openbsd.SlackBuild
1e21e7493519ae391c5cb46527aeed6e ./netcat-openbsd/build/netcat-openbsd.info
9cbaac78ea8bf8443a70bb8091c760a2 ./netcat-openbsd/build/slack-desc
b3ea1a56b4c1d15e81158c8e78acca4d ./openfortivpn/HEADER.txt
b3ea1a56b4c1d15e81158c8e78acca4d ./openfortivpn/README
98ba993b4d6834d9ab840d9b546bfd4c ./openfortivpn/build/README
c5d05141ae5cfd2603b8b1396ed3d689 ./openfortivpn/build/openfortivpn.SlackBuild
b4e3e14be988c17547c2d6813cd54d34 ./openfortivpn/build/openfortivpn.info
b3ea1a56b4c1d15e81158c8e78acca4d ./openfortivpn/build/slack-desc
fd10c82f3c7e6a609ae71b2f4efb1d3c ./openfortivpn/pkg64/doinst.sh
476fa4195f756416c4cf69edf2c61966 ./osinfo-db-tools/HEADER.txt
476fa4195f756416c4cf69edf2c61966 ./osinfo-db-tools/README
16f1affa5fcbf66ca9e8f093e0530f98 ./osinfo-db-tools/build/README

@ -1,17 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7I05cZHGd6YW11ZGlv
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV6FqD/9aeNhjyMmgAIvFU7ULLwxq
k9bT1FP9JuW7ANJKR6m9sctADURYG1rqCFeNI0n4Nmb5WpXk5zkl+PfQ2rRV7Qsg
xrvJYVtB7nn8OksmkBN2+uoSZCB9zEHOmGCTF+H+5n4aM4y6OMajheX8DTsvcT1M
CJrFHewgDObolrYvG0+ZWmejiqjL2JzLQ6XE87WpcwpsMVgvvmpjfbPH6AGTcykC
BkEXWyfYJi82t/0ba8pZJSy9XB5GwEXKd52KdVbXqZPDwMf1+NQu+m9vnCx4oXcx
G45Ghqp7sFUVERuO4c8cFNenBlTAL8uKm9OHmy6YADaNaQ0a11xYXZXbtaQoZJml
BwyAnaaePccDmA8KiYzKRYEEzZnFFlh/LMAAbhvUf9PyFinDB19j4G3JyzE1/iXK
lb+s3LvhpY3XPw1/tlVPLfiI8gF7zHeGJcbwz2OPYYuVrm/yVRJKnKLFWZ5ue7sZ
9jTLa9DXbD8fijhFxzJKEZg+YkaLRx233DOQfWWOx6oT5Ls9tYiXT8esJJkviCGm
cAdhZbjUicmrqHDyD2YAFwkYsTj0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V
w3BdCzxhON+G+qYX5x5W0FujYvcVrMs1Cks5tMD1+YxBcyCD8pz8j9E3eHjMkPjX
eq5GW7WXg/2BIbc1tXabjtZdaYT6IJhQRaidKOXoFMLyOo4aYxCRxw5ZCQJYlVn7
GMw2Hk7nWWUQAbcWM6viMHDHWuUFj2ofqf0csq4Jji+HCRDYzBEWav+TiroVtAWA
yXbcyrRdo28avFzGsKqDdONXRkgfGy80OgebEWHv1cz4sIikw93YdK9+woE5+TA1
h1Uza0DEOUCppaqW7WxAZGT9YMEf6FcaUlVfTNq5bswMNAhF2SBCglOWwDT4acIl
kMtxjnxt4ioshK7OGB3rzQbGGUkC359BOo9Fush43E0+to6qqe+yYwo31QDIc6Wb
maO24T8Xan+08y6Dmo16ODoVjHCPd8dhbApJ8agIO01V3/Vw8QWhDuXV4SHLeTDi
K8VTFV+nwYvjkZGbbnogug==
=xl15
-----END PGP SIGNATURE-----

@ -11,9 +11,20 @@
<description>Repositorio de software para Slackare Linux proporcionado por Libre Expresión México</description>
<language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:f735159c-86bd-11ea-9d48-04d4c453db33</id>
<pubDate>Sat, 23 May 2020 07:40:45 GMT</pubDate>
<lastBuildDate>Sat, 23 May 2020 07:41:10 GMT</lastBuildDate>
<pubDate>Sat, 23 May 2020 07:59:16 GMT</pubDate>
<lastBuildDate>Sat, 23 May 2020 07:59:23 GMT</lastBuildDate>
<generator>gen_repos_files.sh v 1.98</generator>
<item>
<title>Sat, 23 May 2020 07:59:16 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sat, 23 May 2020 07:59:16 GMT</pubDate>
<guid isPermaLink="false">20200523025916</guid>
<description>
<![CDATA[<pre>
openfortivpn: Nuevo
</pre>]]>
</description>
</item>
<item>
<title>Sat, 23 May 2020 07:40:45 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
@ -190,16 +201,5 @@ libvirt: Actualizado a versión 6.3.0
</pre>]]>
</description>
</item>
<item>
<title>Sat, 23 May 2020 04:52:03 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sat, 23 May 2020 04:52:03 GMT</pubDate>
<guid isPermaLink="false">20200522235203</guid>
<description>
<![CDATA[<pre>
libvirt: Asumir el mantenimiento
</pre>]]>
</description>
</item>
</channel>
</rss>

@ -1,3 +1,7 @@
+--------------------------+
Sat May 23 07:59:16 UTC 2020
openfortivpn: Nuevo
+--------------------------+
Sat May 23 07:40:45 UTC 2020
teamviewer: Asumir el mantenimiento

Binary file not shown.

@ -1,4 +1,4 @@
Sat May 23 07:40:45 UTC 2020
Sat May 23 07:59:16 UTC 2020
Here is the file list for https://mirror.slackware.mx/libremex/slackbuilds ,
maintained by Gerardo Zamudio <gzamudio@libremex.org.mx> .
@ -6,19 +6,19 @@ If you are using a mirror site and find missing or extra files
in the subdirectories, please have the archive administrator
refresh the mirror.
drwxr-xr-x 38 1000 100 4096 2020-05-23 02:41 .
-rw-r--r-- 1 1000 100 15440 2020-05-23 02:38 ./CHECKSUMS.md5
-rw-r--r-- 1 1000 100 866 2020-05-23 02:38 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 1000 100 5300 2020-05-23 02:38 ./CHECKSUMS.md5.gz
-rw-r--r-- 1 1000 100 870 2020-05-23 02:38 ./CHECKSUMS.md5.gz.asc
-rw-r--r-- 1 1000 100 7860 2020-05-23 02:41 ./ChangeLog.rss
-rw-r--r-- 1 1000 100 7930 2020-05-23 02:41 ./ChangeLog.txt
-rw-r--r-- 1 1000 100 1207 2020-05-23 02:41 ./ChangeLog.txt.gz
-rw-r--r-- 1 1000 100 311 2020-05-23 02:41 ./FILELIST.TXT
drwxr-xr-x 39 1000 100 4096 2020-05-23 02:59 .
-rw-r--r-- 1 1000 100 15440 2020-05-23 02:41 ./CHECKSUMS.md5
-rw-r--r-- 1 1000 100 870 2020-05-23 02:41 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 1000 100 5300 2020-05-23 02:41 ./CHECKSUMS.md5.gz
-rw-r--r-- 1 1000 100 870 2020-05-23 02:41 ./CHECKSUMS.md5.gz.asc
-rw-r--r-- 1 1000 100 7847 2020-05-23 02:59 ./ChangeLog.rss
-rw-r--r-- 1 1000 100 8009 2020-05-23 02:59 ./ChangeLog.txt
-rw-r--r-- 1 1000 100 1226 2020-05-23 02:59 ./ChangeLog.txt.gz
-rw-r--r-- 1 1000 100 311 2020-05-23 02:59 ./FILELIST.TXT
-rw-r--r-- 1 1000 100 6217 2020-05-23 00:47 ./GPG-KEY
-rw-r--r-- 1 1000 100 14 2020-05-23 02:41 ./MANIFEST.bz2
-rw-r--r-- 1 1000 100 45 2020-05-23 02:41 ./PACKAGES.TXT
-rw-r--r-- 1 1000 100 78 2020-05-23 02:41 ./PACKAGES.TXT.gz
-rw-r--r-- 1 1000 100 14 2020-05-23 02:59 ./MANIFEST.bz2
-rw-r--r-- 1 1000 100 45 2020-05-23 02:59 ./PACKAGES.TXT
-rw-r--r-- 1 1000 100 78 2020-05-23 02:59 ./PACKAGES.TXT.gz
drwxr-xr-x 3 1000 100 4096 2020-05-23 00:47 ./device-tree-compiler
-rw-r--r-- 1 1000 100 1108 2020-05-23 00:47 ./device-tree-compiler/HEADER.txt
-rw-r--r-- 1 1000 100 1108 2020-05-23 00:47 ./device-tree-compiler/README
@ -161,6 +161,17 @@ drwxr-xr-x 2 1000 100 4096 2020-05-23 00:47 ./netcat-openbsd/build
-rw-r--r-- 1 1000 100 3179 2020-05-23 00:47 ./netcat-openbsd/build/netcat-openbsd.SlackBuild
-rw-r--r-- 1 1000 100 367 2020-05-23 00:47 ./netcat-openbsd/build/netcat-openbsd.info
-rw-r--r-- 1 1000 100 976 2020-05-23 00:47 ./netcat-openbsd/build/slack-desc
drwxr-xr-x 4 1000 100 4096 2020-05-23 02:58 ./openfortivpn
-rw-r--r-- 1 1000 100 941 2020-05-23 02:58 ./openfortivpn/HEADER.txt
-rw-r--r-- 1 1000 100 941 2020-05-23 02:58 ./openfortivpn/README
drwxr-xr-x 2 1000 100 4096 2020-05-23 02:58 ./openfortivpn/build
-rw-r--r-- 1 1000 100 58 2020-04-24 23:50 ./openfortivpn/build/README
-rw-r--r-- 1 1000 100 3306 2020-05-23 02:54 ./openfortivpn/build/openfortivpn.SlackBuild
-rw-r--r-- 1 1000 100 322 2020-05-23 02:55 ./openfortivpn/build/openfortivpn.info
-rw-r--r-- 1 1000 100 941 2020-04-24 23:50 ./openfortivpn/build/slack-desc
drwxr-xr-x 3 1000 100 4096 2020-05-23 02:58 ./openfortivpn/pkg64
drwxr-xr-x 2 1000 100 4096 2020-05-23 02:58 ./openfortivpn/pkg64/current
-rw-r--r-- 1 1000 100 383 2020-04-24 23:50 ./openfortivpn/pkg64/doinst.sh
drwxr-xr-x 3 1000 100 4096 2020-05-23 00:47 ./osinfo-db
drwxr-xr-x 3 1000 100 4096 2020-05-23 00:47 ./osinfo-db-tools
-rw-r--r-- 1 1000 100 895 2020-05-23 00:47 ./osinfo-db-tools/HEADER.txt
@ -257,7 +268,7 @@ drwxr-xr-x 2 1000 100 4096 2020-05-23 00:47 ./spice/build
drwxr-xr-x 4 1000 100 4096 2020-05-23 02:37 ./teamviewer
-rw-r--r-- 1 1000 100 1008 2020-05-23 02:37 ./teamviewer/HEADER.txt
-rw-r--r-- 1 1000 100 1008 2020-05-23 02:37 ./teamviewer/README
drwxr-xr-x 2 1000 100 4096 2020-05-23 02:39 ./teamviewer/build
drwxr-xr-x 2 1000 100 4096 2020-05-23 02:44 ./teamviewer/build
-rw-r--r-- 1 1000 100 957 2020-05-22 02:53 ./teamviewer/build/README
-rw-r--r-- 1 1000 100 732 2020-05-22 02:53 ./teamviewer/build/doinst.sh
-rw-r--r-- 1 1000 100 851 2020-05-22 02:53 ./teamviewer/build/rc.teamviewerd

@ -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…
Cancel
Save