<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>dhcp</Name>
        <Homepage>http://www.isc.org/products/DHCP</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>isc-dhcp</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <IsA>service</IsA>
        <Summary>Dynamic host configuration protocol software</Summary>
        <Description>DHCP (Dynamic Host Configuration Protocol) is a protocol which allows individual devices on an IP network to get their own network configuration information (IP address, subnetmask, broadcast address, etc.) from a DHCP server.</Description>
        <Archive sha1sum="fb0417530e49368fe032cd9722f51c74f93180ac" type="targz">http://ftp.isc.org/isc/dhcp/4.3.6/dhcp-4.3.6.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>groff</Dependency>
            <Dependency>openldap-client</Dependency>
            <!--Dependency>bind-devel</Dependency-->
        </BuildDependencies>
        <Patches>
            <Patch level="1">0001-dhcp-honor-expired.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>dhcp</Name>
        <RuntimeDependencies>
            <Dependency>openldap-client</Dependency>
            <!--Dependency>bind-libs</Dependency-->
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/var/lib</Path>
            <Path fileType="data">/run</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/dhcpd">dhcpd</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/dhcpd6">dhcpd6</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/dhcrelay">dhcrelay</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/dhcp/dhcpd.conf">dhcpd.conf</AdditionalFile>
            <!--<AdditionalFile owner="root" permission="0644" target="/etc/NetworkManager/dispatcher.d/12-dhcpd">12-dhcpd</AdditionalFile>-->
        </AdditionalFiles>
        <Provides>
            <COMAR script="dhcpd.py" name="dhcpd">System.Service</COMAR>
            <COMAR script="dhcpd6.py" name="dhcpd6">System.Service</COMAR>
            <COMAR script="dhcrelay.py" name="dhcrelay">System.Service</COMAR>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>dhclient</Name>
        <IsA>app:console</IsA>
        <PartOf>network.connection</PartOf>
        <Summary>Provides the dhclient ISC DHCP client daemon</Summary>
        <RuntimeDependencies>
            <!--Dependency release="current">dhcp</Dependency-->
            <!--Dependency>bind-libs</Dependency-->
        </RuntimeDependencies>
        <Files>
            <!--<Path fileType="config">/etc/NetworkManager/dispatcher.d/11*</Path>-->
            <Path fileType="config">/etc/dhcp/dhclient.conf</Path>
            <Path fileType="executable">/usr/sbin/dhclient</Path>
            <!--<Path fileType="library">/usr/lib/pm-utils/sleep.d/56dhclient</Path>-->
            <Path fileType="data">/var/lib/dhclient</Path>
            <Path fileType="man">/usr/share/man/man5/dhclient*</Path>
            <Path fileType="man">/usr/share/man/man8/dhclient*</Path>
            <Path fileType="man">/usr/share/man/man5/dhcp-options*</Path>
            <Path fileType="man">/usr/share/man/man5/dhcp-eval*</Path>
            <Path fileType="doc">/usr/share/doc/dhcp/dhclient*</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/dhcp/dhclient.conf">dhclient.conf</AdditionalFile>
            <!--<AdditionalFile owner="root" permission="0644" target="/etc/NetworkManager/dispatcher.d/11-dhclient">11-dhclient</AdditionalFile>-->
            <!--<AdditionalFile owner="root" permission="0644" target="/usr/lib/pm-utils/sleep.d/56dhclient">56dhclient</AdditionalFile>-->
        </AdditionalFiles>
    </Package>

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

    <History>
        <Update release="4">
            <Date>2017-10-25</Date>
            <Version>4.3.6</Version>
            <Comment>Version bump,fix #2943</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-05-09</Date>
            <Version>4.3.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>4.3.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-19</Date>
            <Version>4.3.0</Version>
            <Comment>First release</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
