<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>nss</Name>
        <Homepage>http://www.mozilla.org/projects/security/pki/nss/</Homepage>
        <Packager>
          <Name>Süleyman Poyraz</Name>
          <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>MPL-2.0</License>
        <License>GPLv2</License>
        <License>LGPLv2.1</License>
        <PartOf>util.crypt</PartOf>
        <IsA>library</IsA>
        <Summary>Network Security Services</Summary>
        <Description>Network Security Services (NSS) is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards.</Description>
        <Archive sha1sum="af1590286cf852702591e5db0ef1ba7b9c1e597c" type="targz">https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_46_RTM/src/nss-3.46.tar.gz</Archive>
        <BuildDependencies>
          <Dependency>gyp</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>standlone.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>nss</Name>
        <RuntimeDependencies>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="config">/etc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/ld.so.conf.d/50-nss.conf">ld.so.conf</AdditionalFile>
            <AdditionalFile owner="root" target="/etc/pki/nssdb/cert8.db" permission="0644">nssdb/cert8.db</AdditionalFile>
            <AdditionalFile owner="root" target="/etc/pki/nssdb/key3.db" permission="0644">nssdb/key3.db</AdditionalFile>
            <AdditionalFile owner="root" target="/etc/pki/nssdb/secmod.db" permission="0644">nssdb/secmod.db</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>nss-devel</Name>
        <Summary>Development files for nss</Summary>
        <RuntimeDependencies>
            <Dependency release="current">nss</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/nss-config</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="library">/usr/lib/nss/*.a</Path>
        </Files>
    </Package>

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