diff --git a/network/connection/openconnect/actions.py b/network/connection/openconnect/actions.py new file mode 100644 index 0000000000..36b1960a25 --- /dev/null +++ b/network/connection/openconnect/actions.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.autoreconf("-fi") + autotools.configure("--with-vpnc-script=/etc/vpnc/vpnc-script") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "COPYING*") diff --git a/network/connection/openconnect/files/configure.ac.patch b/network/connection/openconnect/files/configure.ac.patch new file mode 100644 index 0000000000..d4a8be6305 --- /dev/null +++ b/network/connection/openconnect/files/configure.ac.patch @@ -0,0 +1,31 @@ +diff -Nuar openconnect-5.01.old/configure.ac openconnect-5.01/configure.ac +--- openconnect-5.01.old/configure.ac 2013-06-01 23:21:19.000000000 +0300 ++++ openconnect-5.01/configure.ac 2013-07-05 23:52:18.035160836 +0300 +@@ -328,19 +328,6 @@ + AC_CHECK_FUNC(gnutls_pkcs11_add_provider, + [PKG_CHECK_MODULES(P11KIT, p11-kit-1, [AC_DEFINE(HAVE_P11KIT) + AC_SUBST(P11KIT_PC, p11-kit-1)], [:])], []) +- LIBS="$oldlibs -ltspi" +- AC_MSG_CHECKING([for tss library]) +- AC_LINK_IFELSE([AC_LANG_PROGRAM([ +- #include +- #include ],[ +- int err = Tspi_Context_Create((void *)0); +- Trspi_Error_String(err);])], +- [AC_MSG_RESULT(yes) +- AC_SUBST([TSS_LIBS], [-ltspi]) +- AC_SUBST([TSS_CFLAGS], []) +- AC_DEFINE(HAVE_TROUSERS, 1)], +- [AC_MSG_RESULT(no)]) +- LIBS="$oldlibs" + CFLAGS="$oldcflags" + fi + if test "$with_openssl" = "yes" || test "$with_openssl" = "" || test "$ssl_library" = "both"; then +@@ -474,6 +461,7 @@ + AM_CONDITIONAL(HAVE_SYMBOL_VERSIONING, [test "${symvers}" != "no"]) + + PKG_CHECK_MODULES(LIBXML2, libxml-2.0) ++PKG_CHECK_MODULES(ZLIB, zlib) + + PKG_CHECK_MODULES(ZLIB, zlib, [AC_SUBST(ZLIB_PC, [zlib])], + [oldLIBS="$LIBS" diff --git a/network/connection/openconnect/pspec.xml b/network/connection/openconnect/pspec.xml new file mode 100644 index 0000000000..179ce410d2 --- /dev/null +++ b/network/connection/openconnect/pspec.xml @@ -0,0 +1,107 @@ + + + + + openconnect + http://www.infradead.org/openconnect.html + + PisiLinux Community + admins@pisilinux.org + + LGPLv2+ + app:console + A client for Cisco's AnyConnect VPN, which uses HTTPS and DTLS protocols + openconnect provides the core HTTP and authentication support from the OpenConnect VPN client, to be used by GUI authentication dialogs for NetworkManager etc. + ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz + + + + + intltool + python-devel + openssl-devel + libxml2-devel + zlib-devel + + + + + + + + + + openconnect + + zlib + libxml2 + openssl + + + /usr/bin/openconnect + /usr/share/man/man8 + /usr/share/doc + /usr/share/locale + /usr/sbin + /usr/lib + + + + + openconnect-devel + Development files and headers for openconnect + + + openconnect + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2015-07-30 + 7.06 + Version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2014-03-09 + 5.01 + Rebuild. + Alihan Öztürk + alihan@pisilinux.org + + + 2013-07-29 + 5.01 + Dep Fixed + PisiLinux Community + admins@pisilinux.org + + + 2013-07-05 + 5.01 + fix remove dep. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2013-07-04 + 5.01 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2012-08-28 + 4.06 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/network/connection/openconnect/translations.xml b/network/connection/openconnect/translations.xml new file mode 100644 index 0000000000..70d669b1c3 --- /dev/null +++ b/network/connection/openconnect/translations.xml @@ -0,0 +1,13 @@ + + + + openconnect + Cisco AnyConnect VPN için HTTP ve DTLS protokollerini kullanan istemci + openconnect, NetworkManager gibi grafik arayüz yoluyla kimlik doğrulama yapan araçlar için OpenConnect VPN kimlik doğrulama desteği sunan bir araç ve kitaplıktır. + + + + openconnect-devel + openconnect için geliştirme dosyaları ve başlıkları + +