diff --git a/network/misc/c-ares/actions.py b/network/misc/c-ares/actions.py
index f85727110a..59d17080d9 100644
--- a/network/misc/c-ares/actions.py
+++ b/network/misc/c-ares/actions.py
@@ -4,21 +4,21 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
-from pisi.actionsapi import shelltools
-from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
+from pisi.actionsapi import cmaketools
+from pisi.actionsapi import shelltools
from pisi.actionsapi import get
+
def setup():
shelltools.export("CXXFLAGS", get.CXXFLAGS().replace("-D_FORTIFY_SOURCE=2", ""))
shelltools.export("CFLAGS", get.CFLAGS().replace("-D_FORTIFY_SOURCE=2", ""))
- autotools.configure("--enable-shared \
- --disable-static")
+ cmaketools.configure()
def build():
- autotools.make()
+ cmaketools.make()
def install():
- autotools.install()
+ cmaketools.install()
pisitools.dodoc("AUTHORS", "README*", "NEWS", "CHANGES", "RELEASE-NOTES", "LICENSE.md")
diff --git a/network/misc/c-ares/pspec.xml b/network/misc/c-ares/pspec.xml
index ba4ad42854..7f2cc68f10 100644
--- a/network/misc/c-ares/pspec.xml
+++ b/network/misc/c-ares/pspec.xml
@@ -12,14 +12,18 @@
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.17.2.tar.gz
+ https://c-ares.haxx.se/download/c-ares-1.18.1.tar.gz
+
+ cmake
+
c-ares
+ /usr/bin
/usr/lib
- /usr/share/man/man3
+ /usr/share/man
/usr/share/doc/c-ares/*
@@ -32,11 +36,19 @@
/usr/include
+ /usr/lib/cmake
/usr/lib/pkgconfig
+
+ 2022-10-22
+ 1.18.1
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2021-08-15
1.17.2