summaryrefslogtreecommitdiff
path: root/net-dns/c-ares
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-dns/c-ares
reinit the tree, so we can have metadata
Diffstat (limited to 'net-dns/c-ares')
-rw-r--r--net-dns/c-ares/Manifest8
-rw-r--r--net-dns/c-ares/c-ares-1.12.0.ebuild42
-rw-r--r--net-dns/c-ares/c-ares-1.13.0.ebuild42
-rw-r--r--net-dns/c-ares/files/c-ares-1.12.0-remove-tests.patch14
-rw-r--r--net-dns/c-ares/metadata.xml11
5 files changed, 117 insertions, 0 deletions
diff --git a/net-dns/c-ares/Manifest b/net-dns/c-ares/Manifest
new file mode 100644
index 000000000000..a4bf4125f9d6
--- /dev/null
+++ b/net-dns/c-ares/Manifest
@@ -0,0 +1,8 @@
+AUX c-ares-1.12.0-remove-tests.patch 422 SHA256 ab4077eb5178836852376a9e252fb8a7ec04cd87d3f33e2c5eed98ec4c53f46f SHA512 53a9c126183c811b1f68c12014e4123d250447925ded472ff1fb6b57d254730206becd4182692ad5958b14ba0b929a2713df6988c0306872b046aa49bd70e743 WHIRLPOOL a57c3593ce256020c1645f4c08540494dc02041d4fd2a44245f8b991dcaa6979a027f23067435bf97ff0dd2790ca85ccdbd5c55c2afb8177a3e75328d837e043
+DIST c-ares-1.12.0.tar.gz 1769879 SHA256 8692f9403cdcdf936130e045c84021665118ee9bfea905d1a76f04d4e6f365fb SHA512 3da0fadb04eccab49b4e6eff3f087a392dd76238d47e74e2ede723883468da688e41f679ee8ca38613fc4f80d3bd7c29e69d3d6c711f988a02fd5d21a3ee1dc6 WHIRLPOOL 69d297213c6ca0988d3b7697d40443dabb3a9b4ceb65c357a3ec99ab2af7c0a7c669f2dc7f75833e0c8a661525ae4003be8109d2d5c1e90887b8349cd63a8d5c
+DIST c-ares-1.13.0.tar.gz 1446797 SHA256 03f708f1b14a26ab26c38abd51137640cb444d3ec72380b21b20f1a8d2861da7 SHA512 4a7942e754673f5b8d55a7471e31b0f390e8324b14c12077580c956147fad4d165c7fe8a3190199b1add95c710ceeb1a7957706d4f0d6299d39c5dddc719bd9d WHIRLPOOL 02a398db6a1256aabb77e445be6131319f2f1f15327146fb3293033f7b6a15e499bead3d8ded022eb38f6509c76dc0981a3ce139e16132373540c21e7a313d89
+EBUILD c-ares-1.12.0.ebuild 979 SHA256 befbe7e0b3093d05f4345dab49d4f8cc5101d01966ae5982c34d8099f519db53 SHA512 d46844d67f77c88338c68f2fe2d7bb147f1f1ed0edc864a119802fbfe15f102beb8c2e0a40ada6fd97cab0e04e944153d6ff7d20433358ae6c5a111464c3588d WHIRLPOOL d7f266d55a774d2dfc09b3fec6d49df9087d60ba182871a2116c639868d0a141ba4df2022ef487bff4981811ac8fadccdfaa634f481e234b59d9c28318298deb
+EBUILD c-ares-1.13.0.ebuild 988 SHA256 4a92b22d6472e0093d842009ae6cb0b93f8847bd49f84da7ac3ad5a1a184846a SHA512 7d38abfe0a9aa4ae7c98d1a39ad1141680f1ca30793fb2d760dd80072f6ad805122b78917a5a7a12a0dfaa22338bbc7f6715ae56688d3f18dd05ab2a4cef48cf WHIRLPOOL 818cf849f397eda516289a6c3a775b971ef973ef623e8cfad708dfa23d6798bbcc43ac56fce35e5632b39286c183a20a96a9c7f0de64fc3fd573616ccd96be11
+MISC ChangeLog 3989 SHA256 31e9cad0d76094a8814d9e5f61b309b400e87b5de2a8e0247817693ec34de483 SHA512 2b83637abea52a8430782237c94ea4511d40f86a2504b2566523428cd04af62c8b86a9b27074fea284a43e452ab5930ff3fb545c5802b47d3f2c202c84a00f11 WHIRLPOOL 3f0ba4398e524a18d5caf0b26ae9a47891d371217589b98ee0bf7d3f186fd6ee19789414accffdf26a7c01674819024bc9655d1cfd78cf30e699fb8f57c681b2
+MISC ChangeLog-2015 11969 SHA256 77a8f577b7ca209f0d0429a43160dfb7988945f6ceecee890b2a429b8dab4cf5 SHA512 6a85f9ae18a01ed89798c9dce6f9987ddd6454c7db494dc03887b38bff4674f947758db2e8398de66524fc57e22c15ba334eb746dc75f30f2672d3740ab1f68e WHIRLPOOL e0ef12f777960e9ff4e90422d85817e30f2aae96e887efe48ca24fcf216c14bbc018051de8d24490b29b63d5129057f045a4dfc8088c21b1e60a3e685717541f
+MISC metadata.xml 339 SHA256 a3a4b7b1a0723a569944e0f764d4edd189a583120b823eb45229eb1e12585de8 SHA512 fb726c9af8f3b9b104f13f5d7f8c1d38659848afdd619fe8c9242e8d2dea24c21a2654baca4bac96a94cadf68a0f649c87346f296e6b5d2aa5d88a4276c41755 WHIRLPOOL 7e4a278b85ab4add27eea80d409cb4f3a66de654bb5a4dbbd0a4e5f9e520ba5aa6261a435086f703b19d25e37bda0849f81e0d2f29baba327cff08be5494aa4d
diff --git a/net-dns/c-ares/c-ares-1.12.0.ebuild b/net-dns/c-ares/c-ares-1.12.0.ebuild
new file mode 100644
index 000000000000..033c46d1b306
--- /dev/null
+++ b/net-dns/c-ares/c-ares-1.12.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils multilib-minimal
+
+DESCRIPTION="C library that resolves names asynchronously"
+HOMEPAGE="http://c-ares.haxx.se/"
+SRC_URI="http://${PN}.haxx.se/download/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris"
+IUSE="static-libs"
+
+# Subslot = SONAME of libcares.so.2
+SLOT="0/2"
+
+DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES TODO )
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/ares_build.h
+)
+
+src_prepare() {
+ eapply "${FILESDIR}"/${P}-remove-tests.patch
+ eapply_user
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ --enable-nonblocking \
+ --enable-symbol-hiding \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files --all
+}
diff --git a/net-dns/c-ares/c-ares-1.13.0.ebuild b/net-dns/c-ares/c-ares-1.13.0.ebuild
new file mode 100644
index 000000000000..0b181ed60e36
--- /dev/null
+++ b/net-dns/c-ares/c-ares-1.13.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils multilib-minimal
+
+DESCRIPTION="C library that resolves names asynchronously"
+HOMEPAGE="http://c-ares.haxx.se/"
+SRC_URI="http://${PN}.haxx.se/download/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris"
+IUSE="static-libs"
+
+# Subslot = SONAME of libcares.so.2
+SLOT="0/2"
+
+DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES TODO )
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/ares_build.h
+)
+
+src_prepare() {
+ eapply "${FILESDIR}"/${PN}-1.12.0-remove-tests.patch
+ eapply_user
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ --enable-nonblocking \
+ --enable-symbol-hiding \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files --all
+}
diff --git a/net-dns/c-ares/files/c-ares-1.12.0-remove-tests.patch b/net-dns/c-ares/files/c-ares-1.12.0-remove-tests.patch
new file mode 100644
index 000000000000..826eb856de6e
--- /dev/null
+++ b/net-dns/c-ares/files/c-ares-1.12.0-remove-tests.patch
@@ -0,0 +1,14 @@
+diff -Naur c-ares-1.12.0.orig/configure.ac c-ares-1.12.0/configure.ac
+--- c-ares-1.12.0.orig/configure.ac 2016-09-29 07:43:01.000000000 -0400
++++ c-ares-1.12.0/configure.ac 2016-10-14 03:10:36.253342032 -0400
+@@ -837,10 +837,6 @@
+ fi
+ AC_MSG_RESULT([$build_tests])
+
+-if test "x$build_tests" = "xyes" ; then
+- AC_CONFIG_SUBDIRS([test])
+-fi
+-
+ AC_CONFIG_FILES([Makefile libcares.pc])
+ AC_OUTPUT
+ XC_AMEND_DISTCLEAN(['.'])
diff --git a/net-dns/c-ares/metadata.xml b/net-dns/c-ares/metadata.xml
new file mode 100644
index 000000000000..1b514de33c67
--- /dev/null
+++ b/net-dns/c-ares/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+</maintainer>
+<upstream>
+ <remote-id type="cpe">cpe:/a:daniel_stenberg:c-ares</remote-id>
+</upstream>
+</pkgmetadata>