Bug 152860 - [PATCH] net/quagga: set ipv6 address broken again
[PATCH] net/quagga: set ipv6 address broken again
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: FreeBSD ports mailing list
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-06 12:30 UTC by littlesavage
Modified: 2010-12-28 14:40 UTC (History)
0 users

See Also:


Attachments
file.diff (411 bytes, patch)
2010-12-06 12:30 UTC, littlesavage
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description littlesavage 2010-12-06 12:30:09 UTC
net/quagga 0.99.17_3

Ipv6 addresses still cannot be assigned to interfaces by Quagga.

config.log:

configure:12187: checking for netinet/in_var.h
configure:12187: cc -c -O0 -g3 -pipe -march=prescott -I/usr/local/include  conftest.c >&5
In file included from conftest.c:134:
/usr/include/netinet/in_var.h:60: error: field 'ia_ifa' has incomplete type
/usr/include/netinet/in_var.h:210: error: field 'igi_gq' has incomplete type
/usr/include/netinet/in_var.h:299: error: field 'inm_scq' has incomplete type
In file included from /usr/include/netinet/in_var.h:473,
                 from conftest.c:134:
/usr/include/netinet6/in6_var.h:112: error: field 'ia_ifa' has incomplete type
/usr/include/netinet6/in6_var.h:610: error: field 'in6m_scq' has incomplete type
configure:12187: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Quagga"
| #define PACKAGE_TARNAME "quagga"
| #define PACKAGE_VERSION "0.99.17"
| #define PACKAGE_STRING "Quagga 0.99.17"
| #define PACKAGE_BUGREPORT "https://bugzilla.quagga.net"
| #define PACKAGE_URL ""
| #define PACKAGE "quagga"
| #define VERSION "0.99.17"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define CONSUMED_TIME_CHECK 5000000
| #define HAVE_RTADV /**/
| #define QUAGGA_USER "quagga"
| #define QUAGGA_GROUP "quagga"
| #define CONFIGFILE_MASK 0600
| #define LOGFILE_MASK 0600
| #define restrict __restrict
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_WAIT_H 1
| #define RETSIGTYPE void
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_NETDB_H 1

| #define HAVE_SYS_PARAM_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_LIBUTIL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_TIME_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_NET_IF_H 1
| #define HAVE_NET_IF_VAR_H 1
| #define HAVE_NET_IF_DL_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| /* end confdefs.h.  */
| #ifdef SUNOS_5
| #define _XPG4_2
| #define __EXTENSIONS__
| #endif
| #include <stdio.h>
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| /* sys/conf.h depends on param.h on FBSD at least */
| #if HAVE_SYS_PARAM_H
| # include <sys/param.h>
| #endif
| /* Required for MAXSIG */
| #if HAVE_SIGNAL_H
| # include <signal.h>
| #endif
| #if HAVE_SYS_SOCKET_H
| # include <sys/socket.h>
| #endif
| #if HAVE_NETINET_IN_H
| # include <netinet/in.h>
| #endif
| #ifdef TIME_WITH_SYS_TIME
| 
| #if HAVE_NET_IF_H
| # include <net/if.h>
| #endif
| #if HAVE_NETINET_IN_VAR_H
| # include <netinet/in_var.h>
| #endif
| #if HAVE_SYS_UN_H
| # include <sys/un.h>
| #endif
| #if HAVE_NETINET_IN_SYSTM_H
| # include <netinet/in_systm.h>
| #endif
| #if HAVE_NETINET_IN_VAR_H
| # include <netinet/in_var.h>
| #endif
| #if HAVE_NET_IF_DL_H
| # include <net/if_dl.h>
| #endif
| #if HAVE_NET_NETOPT_H
| # include <net/netopt.h>
| #endif
| #if HAVE_NET_ROUTE_H
| # include <net/route.h>
| #endif
| #if HAVE_INET_ND_H
| # include <inet/nd.h>
| #endif
| #if HAVE_ARPA_INET_H
| # include <arpa/inet.h>
| #endif
| /* Required for IDRP */
| #if HAVE_NETINET_IP_ICMP_H
| # include <netinet/ip_icmp.h>
| #endif
| #include <security/pam_types.h>
| 
| 
| #include <netinet/in_var.h>


Diff between original config.h and config.h with attached patch:

--- config.h.orig 2010-12-06 14:36:39.239909501 +0300
+++ config.h	2010-12-06 15:04:46.308551703 +0300
@@ -208,10 +208,10 @@
 /* #undef HAVE_NETINET6_IN6_H */
 
 /* Define to 1 if you have the <netinet6/in6_var.h> header file. */
-/* #undef HAVE_NETINET6_IN6_VAR_H */
+#define HAVE_NETINET6_IN6_VAR_H 1
 
 /* Define to 1 if you have the <netinet6/nd6.h> header file. */
-/* #undef HAVE_NETINET6_ND6_H */
+#define HAVE_NETINET6_ND6_H 1
 
 /* Define to 1 if you have the <netinet/icmp6.h> header file. */
 #define HAVE_NETINET_ICMP6_H 1
@@ -226,7 +226,7 @@
 #define HAVE_NETINET_IN_SYSTM_H 1
 
 /* Define to 1 if you have the <netinet/in_var.h> header file. */
-/* #undef HAVE_NETINET_IN_VAR_H */
+#define HAVE_NETINET_IN_VAR_H 1
 
 /* Define to 1 if you have the <netinet/ip_icmp.h> header file. */
 /* #undef HAVE_NETINET_IP_ICMP_H */
@@ -408,7 +408,7 @@
 #define HAVE_STRUCT_IFMEDIAREQ_IFM_STATUS 1
 
 /* Define to 1 if the system has the type `struct in6_aliasreq'. */
-/* #undef HAVE_STRUCT_IN6_ALIASREQ */
+#define HAVE_STRUCT_IN6_ALIASREQ 1
 
 /* Define to 1 if the system has the type `struct in_pktinfo'. */
 /* #undef HAVE_STRUCT_IN_PKTINFO */

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2010-12-06 12:30:13 UTC
Maintainer of net/quagga,

Please note that PR ports/152860 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/152860

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer 2010-12-06 12:30:17 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 dfilter freebsd_committer 2010-12-28 14:35:38 UTC
arved       2010-12-28 14:35:34 UTC

  FreeBSD ports repository

  Modified files:
    net/quagga           Makefile 
    net/quagga/files     patch-configure.ac 
  Log:
  Rework the ipv6 detection patch to actually work
  
  PR:             152860
  Submitted by:   Alexey Illarionov
  Approved by:    maintainer timeout
  
  Revision  Changes    Path
  1.106     +1 -1      ports/net/quagga/Makefile
  1.6       +2 -2      ports/net/quagga/files/patch-configure.ac
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Tilman Keskinoz freebsd_committer 2010-12-28 14:35:43 UTC
State Changed
From-To: feedback->closed

committed, thanks