cares upstream 1.34.4

This commit is contained in:
uglyside
2025-01-30 17:20:18 +03:00
parent 03386f5513
commit cfbbbf3018
2 changed files with 26 additions and 18 deletions
+11 -11
View File
@@ -2,23 +2,23 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
from pisi.actionsapi import cmaketools, mesontools, pisitools
i = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DCMAKE_INSTALL_PREFIX=/usr',
' -Bbuild -G Ninja -L '
])
def setup():
shelltools.export("CXXFLAGS", get.CXXFLAGS().replace("-D_FORTIFY_SOURCE=2", ""))
shelltools.export("CFLAGS", get.CFLAGS().replace("-D_FORTIFY_SOURCE=2", ""))
cmaketools.configure()
cmaketools.configure(i)
def build():
cmaketools.make()
mesontools.build()
def install():
cmaketools.install()
mesontools.install()
pisitools.dodoc("AUTHORS", "README*", "NEWS", "CHANGES", "RELEASE-NOTES", "LICENSE.md")
pisitools.dodoc("AUTHORS", "LICENSE.md")
+15 -7
View File
@@ -1,20 +1,21 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>c-ares</Name>
<Homepage>https://c-ares.haxx.se/</Homepage>
<Homepage>https://c-ares.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<License>MIT</License>
<IsA>library</IsA>
<Summary>A C library that performs DNS requests and name resolves asynchronously</Summary>
<Description>c-ares is a C library that performs DNS requests and name resolves asynchronously. c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT.</Description>
<Archive sha1sum="9e2a99af58d163d084db6fcebb2165a960bdd1af" type="targz">https://c-ares.haxx.se/download/c-ares-1.18.1.tar.gz</Archive>
<Archive sha1sum="aae099416701afd6eb8da4bdcb563ace54ef4a2f" type="targz">https://github.com/c-ares/c-ares/releases/download/v1.34.4/c-ares-1.34.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
</BuildDependencies>
</Source>
@@ -24,7 +25,7 @@
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc/c-ares/*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
@@ -36,12 +37,19 @@
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/cmake</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="8">
<Date>2025-01-30</Date>
<Version>1.34.4</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="7">
<Date>2022-10-22</Date>
<Version>1.18.1</Version>