<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libpcap</Name>
        <Homepage>http://www.tcpdump.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>A system-independent library for user-level network packet capture</Summary>
        <Description>libpcap (Packet CAPture) provides a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc.</Description>
        <Archive sha1sum="32d7526dde8f8a2f75baf40c01670602aeef7e39" type="targz">http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>bluez-libs-devel</Dependency>
            <Dependency>libnl-devel</Dependency>
            <Dependency>libusb-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--<Patch>libpcap-1.1-cross-linux.patch</Patch>-->
            <!--<Patch level="1">libpcap-1.1.1-ignore-ENODEV.patch</Patch>-->
            <Patch level="1">libpcap-1.8.1-enable_bluetooth-1.patch</Patch>
            <Patch>disable-remote.diff</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libpcap</Name>
        <RuntimeDependencies>
            <Dependency>bluez</Dependency>
            <Dependency>libnl</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>libusb</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>libpcap-devel</Name>
        <Summary>Development files for libpcap</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libpcap</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pcap-config</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2018-08-13</Date>
            <Version>1.8.1</Version>
            <Comment>Rebuild New T.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-05-15</Date>
            <Version>1.8.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.8.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.7.4</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-25</Date>
            <Version>1.7.4</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
