<?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="deed72a4636461042b74de68c2825dc52623e1d1" type="targz">http://ftp.isc.org/isc/dhcp/4.3.0/dhcp-4.3.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>groff</Dependency>
            <Dependency>openldap-client</Dependency>
            <Dependency>bind-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--<Patch level="1">dhcp-4.2.0-errwarn-message.patch</Patch>-->
	    <!--<Patch level="1">dhcp-4.3.0a1-errwarn-message.patch</Patch>-->
            <!--<Patch level="1">dhcp-4.2.0-options.patch</Patch>-->
            <Patch level="1">dhcp-4.2.0-release-by-ifup.patch</Patch>
            <Patch level="1">dhcp-4.2.0-dhclient-decline-backoff.patch</Patch>
            <Patch level="1">dhcp-4.2.0-unicast-bootp.patch</Patch>
            <!--<Patch level="1">dhcp-4.2.0-dhclient-usage.patch</Patch>-->
            <Patch level="1">dhcp-4.2.0-default-requested-options.patch</Patch>
            <!--<Patch level="1">dhcp-4.2.0-xen-checksum.patch</Patch>-->
            <Patch level="1">dhcp-4.2.0-paths.patch</Patch>
            <!--<Patch level="1">dhcp-4.2.0-CLOEXEC.patch</Patch>-->
            <Patch level="1">dhcp-4.2.0-inherit-leases.patch</Patch>
            <Patch level="1">dhcp-4.2.0-garbage-chars.patch</Patch>
            <!--<Patch level="1">dhcp-4.2.0-missing-ipv6-not-fatal.patch</Patch>-->
            <Patch level="1">dhcp-4.2.0-IFNAMSIZ.patch</Patch>
            <Patch level="1">dhcp-4.2.0-add_timeout_when_NULL.patch</Patch>
            <!--<Patch level="1">dhcp-4.2.1-capability.patch</Patch>-->
            <Patch level="1">dhcp-4.2.0-logpid.patch</Patch>
            <Patch level="1">dhcp-4.2.0-sendDecline.patch</Patch>
            <Patch level="1">dhcp-4.2.1-retransmission.patch</Patch>
            <!--<Patch level="1">dhcp-4.2.0-initialization-delay.patch</Patch>
            <Patch level="1">dhcp-4.2.0-rfc3442-classless-static-routes.patch</Patch>
            <Patch level="1">dhcp-4.2.1-PIE-RELRO.patch</Patch>-->
            <Patch level="1">dhcp-4.2.0-honor-expired.patch</Patch>
            <!--<Patch level="1">dhcp420-rh637017.patch</Patch>
            <Patch level="1">dhcp420-sharedlib.patch</Patch>-->
            <!--<Patch level="1">dhcp-4.2.0-PPP.patch</Patch>-->
	    <Patch level="1">dhcp-4.3.0a1-PPP.patch</Patch>
            <Patch level="1">dhcp-4.2.0-P2-omapi.patch</Patch>
            <!--<Patch level="1">dhcp-4.2.1-P1-CVE-2011-0997.patch</Patch>
            <Patch level="1">dhcp-4.2.1-P1-CVE-2011-2748-2749.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>
        <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="3">
            <Date>2014-05-19</Date>
            <Version>4.3.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2014-01-22</Date>
            <Version>4.2.5</Version>
            <Comment>Version Bump</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1" type="security">
            <Date>2012-10-14</Date>
            <Version>4.2.3</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
