public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/bwping/files: bwping-1.7-buildsystem-configurable-ipv6.patch
@ 2013-07-16 20:33 Sergey Popov (pinkbyte)
  0 siblings, 0 replies; 3+ messages in thread
From: Sergey Popov (pinkbyte) @ 2013-07-16 20:33 UTC (permalink / raw
  To: gentoo-commits

pinkbyte    13/07/16 20:33:01

  Added:                bwping-1.7-buildsystem-configurable-ipv6.patch
  Log:
  Revision bump: migrate to autotools-utils eclass, support for ipv6 with apropriate patch for buildsystem, wrt bug #454256
  
  (Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)

Revision  Changes    Path
1.1                  net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch?rev=1.1&content-type=text/plain

Index: bwping-1.7-buildsystem-configurable-ipv6.patch
===================================================================
--- configure.in.orig	2012-10-11 14:32:29.000000000 +0400
+++ configure.in	2013-07-17 00:12:52.569550315 +0400
@@ -32,8 +32,29 @@
 if test $ac_cv_func_getaddrinfo = no; then
     AC_SEARCH_LIBS(getaddrinfo, [nsl socket], [], [ echo "getaddrinfo() is required for build"; exit -1 ])
 fi
-AC_MSG_CHECKING(for IPv6 support)
-AC_CACHE_VAL(ac_cv_ipv6,
+
+AC_ARG_ENABLE(ipv6,
+  AC_HELP_STRING([--disable-ipv6],[disable IPv6 support]),
+  [case "${enable_ipv6}" in
+    no)
+      ipv6=no
+      ;;
+    yes)
+      ipv6=yes
+      ;;
+    *)
+      AC_MSG_ERROR([Invalid --enable-ipv6 argument '$enable_ipv6'])
+      ;;
+    esac
+  ], [
+    dnl If nothing is specified, assume auto-detection
+    ipv6=yes
+  ]
+)
+
+if test $ipv6 = yes; then
+	AC_MSG_CHECKING(for IPv6 support)
+	AC_CACHE_VAL(ac_cv_ipv6,
 		AC_TRY_RUN([
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -54,9 +75,12 @@
 		ac_cv_ipv6=yes,
 		ac_cv_ipv6=no,
 		ac_cv_ipv6=no))
-AC_MSG_RESULT($ac_cv_ipv6)
-if test $ac_cv_ipv6 = yes ; then
-    AC_DEFINE(IPV6,, "check if system supports IPV6")
+	if test $ac_cv_ipv6 = yes ; then
+	    AC_DEFINE(IPV6,, "check if system supports IPV6")
+	else
+	    AC_MSG_ERROR([IPv6 support was request, but not found])
+	fi
+	AC_MSG_RESULT($ac_cv_ipv6)
 fi
-AM_CONDITIONAL([BUILDIPV6], [ test $ac_cv_ipv6 = yes ])
+AM_CONDITIONAL([BUILDIPV6], [ test $ipv6 = yes ])
 AC_OUTPUT(Makefile)





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-analyzer/bwping/files: bwping-1.7-buildsystem-configurable-ipv6.patch
@ 2014-07-10 19:53 Jeroen Roovers (jer)
  0 siblings, 0 replies; 3+ messages in thread
From: Jeroen Roovers (jer) @ 2014-07-10 19:53 UTC (permalink / raw
  To: gentoo-commits

jer         14/07/10 19:53:23

  Modified:             bwping-1.7-buildsystem-configurable-ipv6.patch
  Log:
  Clean up patch.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)

Revision  Changes    Path
1.2                  net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch?r1=1.1&r2=1.2

Index: bwping-1.7-buildsystem-configurable-ipv6.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bwping-1.7-buildsystem-configurable-ipv6.patch	16 Jul 2013 20:33:01 -0000	1.1
+++ bwping-1.7-buildsystem-configurable-ipv6.patch	10 Jul 2014 19:53:23 -0000	1.2
@@ -1,5 +1,5 @@
---- configure.in.orig	2012-10-11 14:32:29.000000000 +0400
-+++ configure.in	2013-07-17 00:12:52.569550315 +0400
+--- a/configure.in
++++ b/configure.in
 @@ -32,8 +32,29 @@
  if test $ac_cv_func_getaddrinfo = no; then
      AC_SEARCH_LIBS(getaddrinfo, [nsl socket], [], [ echo "getaddrinfo() is required for build"; exit -1 ])





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-analyzer/bwping/files: bwping-1.7-buildsystem-configurable-ipv6.patch
@ 2015-01-11 11:42 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 3+ messages in thread
From: Markos Chandras (hwoarang) @ 2015-01-11 11:42 UTC (permalink / raw
  To: gentoo-commits

hwoarang    15/01/11 11:42:41

  Modified:             bwping-1.7-buildsystem-configurable-ipv6.patch
  Log:
  Revert latest commit for bug #530420. We shouldn't care if we can't support the ipv6 case. We only need know whether we can build the support for it. So replace RUN with LINK. This may also fix bug #536184
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)

Revision  Changes    Path
1.3                  net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch?r1=1.2&r2=1.3

Index: bwping-1.7-buildsystem-configurable-ipv6.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/bwping/files/bwping-1.7-buildsystem-configurable-ipv6.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- bwping-1.7-buildsystem-configurable-ipv6.patch	10 Jul 2014 19:53:23 -0000	1.2
+++ bwping-1.7-buildsystem-configurable-ipv6.patch	11 Jan 2015 11:42:41 -0000	1.3
@@ -1,11 +1,14 @@
---- a/configure.in
-+++ b/configure.in
-@@ -32,8 +32,29 @@
+Index: bwping-1.7/configure.in
+===================================================================
+--- bwping-1.7.orig/configure.in
++++ bwping-1.7/configure.in
+@@ -32,9 +32,30 @@ AC_CHECK_FUNC(getaddrinfo)
  if test $ac_cv_func_getaddrinfo = no; then
      AC_SEARCH_LIBS(getaddrinfo, [nsl socket], [], [ echo "getaddrinfo() is required for build"; exit -1 ])
  fi
 -AC_MSG_CHECKING(for IPv6 support)
 -AC_CACHE_VAL(ac_cv_ipv6,
+-		AC_TRY_RUN([
 +
 +AC_ARG_ENABLE(ipv6,
 +  AC_HELP_STRING([--disable-ipv6],[disable IPv6 support]),
@@ -29,10 +32,11 @@
 +if test $ipv6 = yes; then
 +	AC_MSG_CHECKING(for IPv6 support)
 +	AC_CACHE_VAL(ac_cv_ipv6,
- 		AC_TRY_RUN([
++		AC_TRY_LINK([
  #include <sys/types.h>
  #include <sys/socket.h>
-@@ -54,9 +75,12 @@
+ #include <netinet/in.h>
+@@ -54,9 +75,12 @@ main()
  		ac_cv_ipv6=yes,
  		ac_cv_ipv6=no,
  		ac_cv_ipv6=no))





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-11 11:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-16 20:33 [gentoo-commits] gentoo-x86 commit in net-analyzer/bwping/files: bwping-1.7-buildsystem-configurable-ipv6.patch Sergey Popov (pinkbyte)
  -- strict thread matches above, loose matches on Subject: below --
2014-07-10 19:53 Jeroen Roovers (jer)
2015-01-11 11:42 Markos Chandras (hwoarang)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox