<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>openconnect</Name>
        <Homepage>http://www.infradead.org/openconnect.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2+</License>
        <IsA>app:console</IsA>
        <Summary>A client for Cisco's AnyConnect VPN, which uses HTTPS and DTLS protocols</Summary>
        <Description>openconnect provides the core HTTP and authentication support from the OpenConnect VPN client, to be used by GUI authentication dialogs for NetworkManager etc.</Description>
        <Archive sha1sum="ac106457c6a94808096552b6dc2037ad4cce7858" type="targz">ftp://ftp.infradead.org/pub/openconnect/openconnect-7.08.tar.gz</Archive>
        <BuildDependencies>
            <!--<Dependency>libtomcrypt</Dependency>-->
            <!--<Dependency>stoken-devel</Dependency>-->
            <!--<Dependency>libproxy-devel</Dependency>-->
            <Dependency>intltool</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <!--<Dependency>gnutls-devel</Dependency>-->
            <!--<Dependency>p11-kit-devel</Dependency>-->
        </BuildDependencies>
        <Patches>
            <!--<Patch level="1">configure.ac.patch</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>openconnect</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>openssl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/openconnect</Path>
            <Path fileType="man">/usr/share/man/man8</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>openconnect-devel</Name>
        <Summary>Development files and headers for openconnect</Summary>
        <RuntimeDependencies>
            <!--<Dependency>stoken</Dependency>-->
            <Dependency release="current">openconnect</Dependency>
            <Dependency>zlib-devel</Dependency>
	    <Dependency>openssl-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-03-02</Date>
            <Version>7.08</Version>
            <Comment>Version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>7.06</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-15</Date>
            <Version>7.06</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
