]> git.pld-linux.org Git - packages/c-ares.git/commitdiff
- updated to 1.11.0 auto/th/c-ares-1.11.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Feb 2016 09:40:03 +0000 (10:40 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Feb 2016 09:40:03 +0000 (10:40 +0100)
- updated resolv.conf-reading-is-not-fatal patch

c-ares-resolv.conf-reading-is-not-fatal.patch
c-ares.spec

index 392ae45fc421f3a75717c23f5e8fd898a275a3dc..10af0319c3c9182e345f7f9dcfe7e6da8f906fe4 100644 (file)
@@ -1,6 +1,6 @@
---- c-ares-1.6.0/ares_init.c~  2010-02-07 14:22:41.480067790 +0200
-+++ c-ares-1.6.0/ares_init.c   2010-02-07 14:22:42.962764879 +0200
-@@ -839,6 +839,7 @@
+--- c-ares-1.11.0/ares_init.c.orig     2016-02-11 12:23:52.000000000 +0100
++++ c-ares-1.11.0/ares_init.c  2016-02-28 10:01:24.592903895 +0100
+@@ -1292,6 +1292,7 @@
        switch(error) {
        case ENOENT:
        case ESRCH:
@@ -8,27 +8,27 @@
          status = ARES_EOF;
          break;
        default:
-@@ -865,6 +866,7 @@
+@@ -1319,6 +1320,7 @@
          switch(error) {
          case ENOENT:
          case ESRCH:
 +        case EACCES:
-           status = ARES_EOF;
            break;
          default:
-@@ -892,6 +894,7 @@
+           DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n",
+@@ -1350,6 +1352,7 @@
          switch(error) {
          case ENOENT:
          case ESRCH:
 +        case EACCES:
-           status = ARES_EOF;
            break;
          default:
-@@ -919,6 +922,7 @@
+           DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n",
+@@ -1381,6 +1384,7 @@
          switch(error) {
          case ENOENT:
          case ESRCH:
 +        case EACCES:
-           status = ARES_EOF;
            break;
          default:
+           DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n",
index f2541542fa612a3d15879e31343ae3ab75d031ba..aa2d4de9a524ffadd0047c4cc03dd520e3ee48d6 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       A library that performs asynchronous DNS operations
 Summary(pl.UTF-8):     Biblioteka do wykonywania asynchronicznych zapytaƄ DNS
 Name:          c-ares
-Version:       1.10.0
-Release:       2
+Version:       1.11.0
+Release:       1
 License:       MIT
 Group:         Libraries
 Source0:       http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
-# Source0-md5: 1196067641411a75d3cbebe074fd36d8
+# Source0-md5: d5c6d522cfc54bb6f215a0b7912d46be
 Patch0:                %{name}-resolv.conf-reading-is-not-fatal.patch
 URL:           http://c-ares.haxx.se/
 BuildRequires: autoconf >= 2.57
@@ -54,8 +54,8 @@ Statyczna biblioteka c-ares.
 %patch0 -p1
 
 # we want our own debug flags, if any
-sed -i -e 's/flags_dbg_off=".*"/flags_dbg_off="%{rpmcflags}"/' m4/cares-compilers.m4
-sed -i -e 's/flags_opt_yes=".*"/flags_opt_yes="%{rpmcflags}"/' m4/cares-compilers.m4
+%{__sed} -i -e 's/flags_dbg_off=".*"/flags_dbg_off="%{rpmcflags}"/' m4/cares-compilers.m4
+%{__sed} -i -e 's/flags_opt_yes=".*"/flags_opt_yes="%{rpmcflags}"/' m4/cares-compilers.m4
 
 %build
 %{__libtoolize}
@@ -64,6 +64,7 @@ sed -i -e 's/flags_opt_yes=".*"/flags_opt_yes="%{rpmcflags}"/' m4/cares-compiler
 %{__autoconf}
 %{__automake}
 %configure \
+       --disable-silent-rules \
        --enable-optimize="%{rpmcflags}" \
        --enable-shared
 
@@ -82,7 +83,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README README.cares CHANGES NEWS
+%doc CHANGES NEWS README.cares README.md
 %attr(755,root,root) %{_libdir}/libcares.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libcares.so.2
 
This page took 0.168893 seconds and 4 git commands to generate.