<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>openssl-1.1</Name>
        <Homepage>http://www.openssl.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>as-is</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <Summary>Toolkit for SSL v2/v3 and TLS v1</Summary>
        <Description>OpenSSL is a cryptography toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) network protocols and related cryptography standards required by them.</Description>
        <Archive sha1sum="76fbf3ca4370e12894a408ef75718f32cdab9671" type="targz">https://www.openssl.org/source/openssl-1.1.1w.tar.gz</Archive>
        <AdditionalFiles>
            <!--<AdditionalFile target="openssl-1.0.0-beta4-ca-dir.patch">openssl-1.0.0-beta4-ca-dir.patch</AdditionalFile>-->
<!-- 			<AdditionalFile target="ca-dir.patch">ca-dir.patch</AdditionalFile> -->
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>zlib-devel</Dependency>
            <Dependency>xorg-util</Dependency>
            <Dependency>perl</Dependency>
            <Dependency>sed</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch>openssl-alpha-ccc.patch</Patch> -->
<!--             <Patch>openssl-optflags.patch</Patch> -->
<!--             <Patch>openssl-include.patch</Patch> -->
<!--             <Patch>openssl-man-namespace.patch</Patch> -->
<!--            <Patch>openssl-asflag.patch</Patch>
            <Patch>openssl-ca-certificates.patch</Patch>
            <Patch>openssl-ldflags.patch</Patch>
            <Patch>openssl-find.patch</Patch>
            <Patch>pic.patch</Patch>
            <Patch>openssl_fix_for_x32.patch</Patch>-->
			
			<Patch level="1">openssl-1.0.2a-x32-asm.patch</Patch>
<!-- 			<Patch level="1">openssl-1.1.0l-fix-no-ec2m-in-ec_curve.c.patch</Patch> -->
<!-- 			<Patch level="1">openssl-1.1.1d-fix-potential-memleaks-w-BN_to_ASN1_INTEGER.patch</Patch> -->
<!-- 			<Patch level="1">openssl-1.1.1d-fix-zlib.patch</Patch> -->
<!-- 			<Patch level="1">openssl-1.1.1d-reenable-the-stitched-AES-CBC-HMAC-SHA-implementations.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>openssl-1.1</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>ca-certificates</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR> -->
        </Provides>
        <AdditionalFiles>
<!--             <AdditionalFile  owner="root" permission="0755" target="/usr/bin/ssl-certificate">openssl-ssl-certificate.sh</AdditionalFile> -->
<!--             <AdditionalFile  owner="root" permission="0755" target="/usr/bin/c_rehash.sh">openssl-c_rehash.sh</AdditionalFile> -->
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>openssl-1.1-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for openssl</Summary>
        <RuntimeDependencies>
            <Dependency release="current">openssl-1.1</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/lib/openssl-1.1/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/openssl-1.1/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>openssl-1.1-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for openssl</Summary>
        <BuildType>_emul32</BuildType>
        <BuildDependencies>
            <Dependency>zlib-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">openssl-1.1</Dependency>
            <Dependency>zlib-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
	<Update release="23">
            <Date>2024-05-18</Date>
            <Version>1.1.1w</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2023-09-13</Date>
            <Version>1.1.1w</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2023-08-02</Date>
            <Version>1.1.1v</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2023-05-31</Date>
            <Version>1.1.1u</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2023-02-08</Date>
            <Version>1.1.1t</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2023-01-28</Date>
            <Version>1.1.1s</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2022-11-10</Date>
            <Version>1.1.1s</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2022-07-07</Date>
            <Version>1.1.1q</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2022-06-26</Date>
            <Version>1.1.1p</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2022-05-24</Date>
            <Version>1.1.1o</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2022-04-23</Date>
            <Version>1.1.1n</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2021-08-24</Date>
            <Version>1.1.1l</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2021-04-10</Date>
            <Version>1.1.1k</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2021-03-01</Date>
            <Version>1.1.1j</Version>
            <Comment>Version bump.</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-12-09</Date>
            <Version>1.1.1i</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-04-23</Date>
            <Version>1.1.1g</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2018-11-28</Date>
            <Version>1.0.2q</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-08-11</Date>
            <Version>1.0.2o</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-05-01</Date>
            <Version>1.0.2o</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-01-08</Date>
            <Version>1.0.2j</Version>
            <Comment>Rebuild with new toolchain.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-08</Date>
            <Version>1.0.2j</Version>
            <Comment>Version bump.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>1.0.2g</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-02</Date>
            <Version>1.0.2g</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
