diff --git a/network/misc/c-ares/actions.py b/network/misc/c-ares/actions.py index 59d17080d9..ae8ec4e05f 100644 --- a/network/misc/c-ares/actions.py +++ b/network/misc/c-ares/actions.py @@ -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") diff --git a/network/misc/c-ares/pspec.xml b/network/misc/c-ares/pspec.xml index 7f2cc68f10..8a9efd80da 100644 --- a/network/misc/c-ares/pspec.xml +++ b/network/misc/c-ares/pspec.xml @@ -1,20 +1,21 @@ - + c-ares - https://c-ares.haxx.se/ + https://c-ares.org/ PisiLinux Community admins@pisilinux.org - as-is + MIT library A C library that performs DNS requests and name resolves asynchronously 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. - https://c-ares.haxx.se/download/c-ares-1.18.1.tar.gz + https://github.com/c-ares/c-ares/releases/download/v1.34.4/c-ares-1.34.4.tar.gz cmake + ninja @@ -24,7 +25,7 @@ /usr/bin /usr/lib /usr/share/man - /usr/share/doc/c-ares/* + /usr/share/doc @@ -36,12 +37,19 @@ /usr/include - /usr/lib/cmake - /usr/lib/pkgconfig + /usr/lib/cmake + /usr/lib/pkgconfig + + 2025-01-30 + 1.34.4 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2022-10-22 1.18.1