<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>ppp</Name>
        <Homepage>http://samba.org/ppp</Homepage>
        <Packager>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>BSD</License>
        <License>GPLv2</License>
        <IsA>service</IsA>
        <Summary>Point-to-point protocol - patched for PPPOE</Summary>
        <Description>The Point-to-Point Protocol (PPP) provides a standard way to transmit datagrams over a serial link.</Description>
        <Archive sha1sum="808b023172ea7189bc0d49935bf37a5382a1fe13" type="targz">https://www.samba.org/ftp/ppp/ppp-2.4.7.tar.gz</Archive>
        <Archive sha1sum="1a0b02788d522f2137d0b66c749ffe6c96cceb94" type="targz">http://distfiles.gentoo.org/distfiles/ppp-dhcpc.tgz</Archive>
        <BuildDependencies>
            <Dependency>libpcap-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">ppp-all.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>ppp</Name>
        <RuntimeDependencies>
            <Dependency>libpcap</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/ppp.conf</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/run/ppp</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/ppp.conf">tmpfiles.conf</AdditionalFile>
            <AdditionalFile target="/etc/ppp/options-pptp" permission="0644" owner="root">options-pptp</AdditionalFile>
            <AdditionalFile target="/etc/ppp/options-pppoe" permission="0644" owner="root">options-pppoe</AdditionalFile>
            <AdditionalFile target="/etc/ppp/chat-default" permission="0644" owner="root">chat-default</AdditionalFile>
            <AdditionalFile target="/etc/ppp/ip-up" permission="0755" owner="root">ip-up</AdditionalFile>
            <AdditionalFile target="/etc/ppp/ip-down" permission="0755" owner="root">ip-down</AdditionalFile>
            <AdditionalFile target="/etc/conf.d/net.ppp0" permission="0600" owner="root">confd.ppp0</AdditionalFile>
            <AdditionalFile target="/etc/pam.d/ppp" permission="0644" owner="root">ppp.pamd</AdditionalFile>
            <AdditionalFile target="/etc/logrotate.d/ppp" permission="0644" owner="root">ppp.logrotate</AdditionalFile>
        </AdditionalFiles>
    </Package>

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

    <History>
        <Update release="1">
            <Date>2019-09-27</Date>
            <Version>2.4.7</Version>
            <Comment>First release</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
