aiccu: new package
PATCH 1/1 aiccu: new package
Automatic IPv6 Connectivity Configuration Utility for users of a IPv6 tunnel broker, developed by sixxs.net
--- package/Config.in | 1 + package/aiccu/Config.in | 21 ++++ .../aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch | 104 ++++++++++++++++++++ package/aiccu/aiccu.mk | 32 ++++++ 4 files changed, 158 insertions(+) create mode 100644 package/aiccu/Config.in create mode 100644 package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch create mode 100644 package/aiccu/aiccu.mk
package/Config.in +1 -0
@@ -716,6 +716,7 @@ source "package/sound-theme-freedesktop/Config.in" endmenu menu "Networking applications" +source "package/aiccu/Config.in" source "package/aircrack-ng/Config.in" source "package/argus/Config.in" source "package/arptables/Config.in"
package/aiccu/Config.in new file +21 -0
@@ -0,0 +1,21 @@ +config BR2_PACKAGE_AICCU + bool "aiccu" + depends on BR2_INET_IPV6 + depends on BR2_USE_WCHAR + select BR2_PACKAGE_GNUTLS + help + SixXS Automatic IPv6 Connectivity Client Utility + + AICCU (Automatic IPv6 Connectivity Client Utility) makes it + easy for users to get IPv6 connectivity. After having + requested an account, tunnel and optionally a subnet, AICCU + can be used to automatically configure the tunnel. AICCU + supports TIC (Tunnel Information & Control protocol), which it + uses for retrieving the tunnel configuration information, + AYIYA, which allows tunnels to be created even behind + firewalls and NAT's. + + http://www.sixxs.net/tools/aiccu/ + +comment "aiccu requires a toolchain with IPv6 and WCHAR support" + depends on !(BR2_INET_IPV6 && BR2_USE_WCHAR)
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +104 -0
104 lines not on this page · raw message
package/aiccu/aiccu.mk new file +32 -0
@@ -0,0 +1,32 @@ +################################################################################ +# +# aiccu +# +################################################################################ + +AICCU_VERSION = 20070115 +AICCU_SOURCE = aiccu_$(AICCU_VERSION).tar.gz +AICCU_SITE = http://www.sixxs.net/archive/sixxs/aiccu/unix/ +AICCU_LICENSE = SixXS License, concise redistribution license +AICCU_LICENSE_FILES = doc/LICENSE +AICCU_DEPENDENCIES = gnutls + +define AICCU_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all +endef + +define AICCU_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/unix-console/aiccu \ + $(TARGET_DIR)/usr/sbin/aiccu + [ -f $(TARGET_DIR)/etc/aiccu.conf ] || \ + $(INSTALL) -D -m 0644 $(@D)/doc/aiccu.conf \ + $(TARGET_DIR)/etc/aiccu.conf +endef + +define AICCU_INSTALL_INIT_SYSV + [ -f $(TARGET_DIR)/etc/init.d/S50aiccu ] || \ + $(INSTALL) -D -m 0755 $(@D)/doc/aiccu.init \ + $(TARGET_DIR)/etc/init.d/S50aiccu +endef + +$(eval $(generic-package))
Signature · 1 line
1.7.9.5
PATCH 1/1 aiccu: new package
Op 5-sep.-2013 23:57 schreef "Michael Rommel" <[email protected]> het volgende:
Quoted 9 lines
Automatic IPv6 Connectivity Configuration Utility for users of a IPv6 tunnel broker, developed by sixxs.net
Signed-off-by Michael Rommel <[email protected]>--- package/Config.in | 1 + package/aiccu/Config.in | 21 ++++ .../aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch | 104
++++++++++++++++++++
Review
Quoted 46 lines
package/aiccu/aiccu.mk | 32 ++++++ 4 files changed, 158 insertions(+) create mode 100644 package/aiccu/Config.in create mode 100644 package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch create mode 100644 package/aiccu/aiccu.mkpackage/Config.in +1
-0@@ -716,6 +716,7 @@ source "package/sound-theme-freedesktop/Config.in" endmenu menu "Networking applications" +source "package/aiccu/Config.in" source "package/aircrack-ng/Config.in" source "package/argus/Config.in" source "package/arptables/Config.in"package/aiccu/Config.in new file +21
-0@@ -0,0 +1,21 @@ +config BR2_PACKAGE_AICCU + bool "aiccu" + depends on BR2_INET_IPV6 + depends on BR2_USE_WCHAR + select BR2_PACKAGE_GNUTLS + help + SixXS Automatic IPv6 Connectivity Client Utility + + AICCU (Automatic IPv6 Connectivity Client Utility) makes it + easy for users to get IPv6 connectivity. After having + requested an account, tunnel and optionally a subnet, AICCU + can be used to automatically configure the tunnel. AICCU + supports TIC (Tunnel Information & Control protocol), which it + uses for retrieving the tunnel configuration information, + AYIYA, which allows tunnels to be created even behind + firewalls and NAT's. + + http://www.sixxs.net/tools/aiccu/ + +comment "aiccu requires a toolchain with IPv6 and WCHAR support" + depends on !(BR2_INET_IPV6 && BR2_USE_WCHAR)(quoted diff) +0
-0
b/package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch line 1
Quoted 6 lines
new file mode 100644
index 0000000..d316f8fpackage/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0@@ -0,0 +1,104 @@ +aiccu.h, common.c, common.h: fixes for deprecated GNUTLS functions and
types
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 5 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +5
-0+resolver.c: fixes for selection of wrong resolver function under uclibc + +Signed-off-by: Michael Rommel <[email protected]> + +diff -purN aiccu_20070115.orig/common/aiccu.h
aiccu_20070115/common/aiccu.h
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch line 7
Quoted 1 line
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0+--- aiccu_20070115.orig/common/aiccu.h 2007-01-15 13:01:43.000000000
+0100
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch line 8
Quoted 1 line
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0++++ aiccu_20070115/common/aiccu.h 2013-08-31 23:50:53.651936146
+0200
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 5 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +5
-0+@@ -111,7 +111,7 @@ struct AICCU_conf + #endif + + #ifdef AICCU_GNUTLS +- gnutls_certificate_credentials tls_cred; /* GNUTLS
credentials */
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch line 14
Quoted 1 line
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0++ gnutls_certificate_credentials_t tls_cred; /* GNUTLS
credentials */
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 4 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +4
-0+ #endif + + bool daemonize; /* Daemonize? */ +diff -purN aiccu_20070115.orig/common/common.c
aiccu_20070115/common/common.c
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch line 19
Quoted 1 line
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0+--- aiccu_20070115.orig/common/common.c 2006-12-21
15:08:50.000000000 +0100
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch line 20
Quoted 1 line
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0++++ aiccu_20070115/common/common.c 2013-09-01 01:21:36.031396740
+0200
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 6 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +6
-0+@@ -271,9 +271,8 @@ TLSSOCKET sock_alloc(void); + TLSSOCKET sock_alloc(void) + { + #ifdef AICCU_GNUTLS +- /* Allow connections to servers that have OpenPGP keys as well */ +- const int cert_type_priority[3] = { GNUTLS_CRT_X509,
GNUTLS_CRT_OPENPGP, 0 };
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 13 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +13
-0+ int ret; ++ const char *err; + #endif /* AICCU_GNUTLS*/ + + TLSSOCKET sock; +@@ -297,11 +296,16 @@ TLSSOCKET sock_alloc(void) + } + + /* Use default priorities */ +- gnutls_set_default_priority(sock->session); +- /* XXX: Return value is not documented in GNUTLS documentation! */ +- +- gnutls_certificate_type_set_priority(sock->session,
cert_type_priority);
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 7 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +7
-0+- /* XXX: Return value is not documented in GNUTLS documentation! */ ++ ret = gnutls_priority_set_direct(sock->session, "NORMAL", &err); ++ if (ret < 0) ++ { ++ if (ret == GNUTLS_E_INVALID_REQUEST) ++ { ++ dolog( LOG_ERR, "TLS set priority failed, syntax
error at: %s\n", err);
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 7 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +7
-0++ } ++ free(sock); ++ return NULL; ++ } + + /* Configure the x509 credentials for the current session */ + gnutls_credentials_set(sock->session, GNUTLS_CRD_CERTIFICATE,
g_aiccu->tls_cred);
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 5 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +5
-0+@@ -474,7 +478,7 @@ bool sock_gotls(TLSSOCKET sock) + } + + /* Set the transport */ +- gnutls_transport_set_ptr(sock->session,
(gnutls_transport_ptr)sock->socket);
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch line 59
Quoted 1 line
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0++ gnutls_transport_set_ptr(sock->session, (gnutls_transport_ptr_t)
sock->socket);
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 4 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +4
-0+ + /* Perform the TLS handshake */ + ret = gnutls_handshake(sock->session); +diff -purN aiccu_20070115.orig/common/common.h
aiccu_20070115/common/common.h
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch line 64
Quoted 1 line
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0+--- aiccu_20070115.orig/common/common.h 2007-01-11
15:50:51.000000000 +0100
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch line 65
Quoted 1 line
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0++++ aiccu_20070115/common/common.h 2013-08-31 23:26:13.683659455
+0200
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 10 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +10
-0+@@ -381,7 +381,7 @@ struct tlssocket + SOCKET socket; + #ifdef AICCU_GNUTLS + bool tls_active; /* TLS active? */ +- gnutls_session session; /* The GnuTLS sesision */ ++ gnutls_session_t session; /* The GnuTLS sesision */ + #endif + }; + +diff -purN aiccu_20070115.orig/common/resolver.c
aiccu_20070115/common/resolver.c
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch line 76
Quoted 1 line
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0+--- aiccu_20070115.orig/common/resolver.c 2006-07-23
16:55:14.000000000 +0200
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch line 77
Quoted 1 line
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0++++ aiccu_20070115/common/resolver.c 2013-08-31 23:44:31.574866862
+0200
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 3 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +3
-0+@@ -26,7 +26,7 @@ + + int getrrs(const char *label, int rrtype, void gotrec(unsigned int num,
int type, const char *record))
Quoted 12 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +12
-0+ { +-#ifdef _LINUX ++#if defined(_LINUX) && !defined(__UCLIBC__) + struct __res_state res; + #endif + unsigned char answer[8192]; +@@ -38,7 +38,7 @@ int getrrs(const char *label, int rrtype + uint16_t type = 0, class = 0; + uint32_t ttl = 0; + +-#ifdef _LINUX ++#if defined(_LINUX) && !defined(__UCLIBC__)
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
Quoted 10 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +10
-0+ memset(&res, 0, sizeof(res)); + res.options = RES_DEBUG; + res_ninit(&res); +@@ -47,7 +47,7 @@ int getrrs(const char *label, int rrtype + #endif + + memset(answer, 0, sizeof(answer)); +-#ifdef _LINUX ++#if defined(_LINUX) && !defined(__UCLIBC__) + ret = res_nquery(&res, label, C_IN, rrtype, answer,
sizeof(answer));
package/aiccu/aiccu.mk
Quoted 9 lines
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +2
-0+ #else + ret = res_query(label, C_IN, rrtype, answer, sizeof(answer));package/aiccu/aiccu.mk new file +0
-0@@ -0,0 +1,32 @@
+################################################################################
package/aiccu/aiccu.mk line 4
Quoted 4 lines
package/aiccu/aiccu.mk new file +3
-0+# +# aiccu +#
+################################################################################
Quoted 28 lines
package/aiccu/aiccu.mk new file +27
-1+ +AICCU_VERSION = 20070115 +AICCU_SOURCE = aiccu_$(AICCU_VERSION).tar.gz +AICCU_SITE = http://www.sixxs.net/archive/sixxs/aiccu/unix/ +AICCU_LICENSE = SixXS License, concise redistribution license +AICCU_LICENSE_FILES = doc/LICENSE +AICCU_DEPENDENCIES = gnutls + +define AICCU_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all +endef + +define AICCU_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/unix-console/aiccu \ + $(TARGET_DIR)/usr/sbin/aiccu + [ -f $(TARGET_DIR)/etc/aiccu.conf ] || \ + $(INSTALL) -D -m 0644 $(@D)/doc/aiccu.conf \ + $(TARGET_DIR)/etc/aiccu.conf +endef + +define AICCU_INSTALL_INIT_SYSV + [ -f $(TARGET_DIR)/etc/init.d/S50aiccu ] || \ + $(INSTALL) -D -m 0755 $(@D)/doc/aiccu.init \ + $(TARGET_DIR)/etc/init.d/S50aiccu +endef + +$(eval $(generic-package)) --
Quoted 1 line
1.7.9.5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130907/3735babf/attachment.html>
PATCH 1/1 aiccu: new package
Hi Michael,
Quoted 230 lines · Thomas De Schampheleire
Op 5-sep.-2013 23:57 schreef "Michael Rommel" <[email protected]> het volgende:
Quoted 225 lines
Automatic IPv6 Connectivity Configuration Utility for users of a IPv6 tunnel broker, developed by sixxs.net
Signed-off-by Michael Rommel <[email protected]>--- package/Config.in | 1 + package/aiccu/Config.in | 21 ++++ .../aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch | 104 ++++++++++++++++++++ package/aiccu/aiccu.mk | 32 ++++++ 4 files changed, 158 insertions(+) create mode 100644 package/aiccu/Config.in create mode 100644 package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch create mode 100644 package/aiccu/aiccu.mkpackage/Config.in +1
-0@@ -716,6 +716,7 @@ source "package/sound-theme-freedesktop/Config.in" endmenu menu "Networking applications" +source "package/aiccu/Config.in" source "package/aircrack-ng/Config.in" source "package/argus/Config.in" source "package/arptables/Config.in"package/aiccu/Config.in new file +21
-0@@ -0,0 +1,21 @@ +config BR2_PACKAGE_AICCU + bool "aiccu" + depends on BR2_INET_IPV6 + depends on BR2_USE_WCHAR + select BR2_PACKAGE_GNUTLS + help + SixXS Automatic IPv6 Connectivity Client Utility + + AICCU (Automatic IPv6 Connectivity Client Utility) makes it + easy for users to get IPv6 connectivity. After having + requested an account, tunnel and optionally a subnet, AICCU + can be used to automatically configure the tunnel. AICCU + supports TIC (Tunnel Information & Control protocol), which it + uses for retrieving the tunnel configuration information, + AYIYA, which allows tunnels to be created even behind + firewalls and NAT's. + + http://www.sixxs.net/tools/aiccu/ + +comment "aiccu requires a toolchain with IPv6 and WCHAR support" + depends on !(BR2_INET_IPV6 && BR2_USE_WCHAR)package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0@@ -0,0 +1,104 @@ +aiccu.h, common.c, common.h: fixes for deprecated GNUTLS functions andtypes
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +5
-0+resolver.c: fixes for selection of wrong resolver function under uclibc + +Signed-off-by: Michael Rommel <[email protected]> + +diff -purN aiccu_20070115.orig/common/aiccu.h
aiccu_20070115/common/aiccu.h
+---aiccu_20070115.orig/common/aiccu.h2007-01-15 13:01:43.000000000 +0100
++++aiccu_20070115/common/aiccu.h2013-08-31 23:50:53.651936146
+0200
+@@ -111,7 +111,7 @@ structAICCU_conf
+ #endif
+
+ #ifdefAICCU_GNUTLS
+-gnutls_certificate_credentialstls_cred; /* GNUTLS
credentials */
++gnutls_certificate_credentials_ttls_cred; /* GNUTLS
credentials */
+ #endifpackage/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +3
-0+ + bool daemonize; /* Daemonize? */ +diff -purN aiccu_20070115.orig/common/common.c
aiccu_20070115/common/common.c
+---aiccu_20070115.orig/common/common.c2006-12-21
15:08:50.000000000 +0100
++++aiccu_20070115/common/common.c2013-09-01 01:21:36.031396740
+0200
+@@ -271,9 +271,8 @@ TLSSOCKETsock_alloc(void);
+ TLSSOCKETsock_alloc(void)
+ {
+ #ifdefAICCU_GNUTLS+- /* Allow connections to servers that have OpenPGP keys as well */ +- const int cert_type_priority[3] = { GNUTLS_CRT_X509,
GNUTLS_CRT_OPENPGP, 0 };package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +13
-0+ int ret; ++ const char *err; + #endif /* AICCU_GNUTLS*/ + + TLSSOCKET sock; +@@ -297,11 +296,16 @@ TLSSOCKET sock_alloc(void) + } + + /* Use default priorities */ +- gnutls_set_default_priority(sock->session); +- /* XXX: Return value is not documented in GNUTLS documentation! */ +- +- gnutls_certificate_type_set_priority(sock->session,
cert_type_priority);+- /* XXX: Return value is not documented in GNUTLS documentation! */ ++ ret = gnutls_priority_set_direct(sock->session, "NORMAL", &err); ++ if (ret < 0) ++ { ++ if (ret == GNUTLS_E_INVALID_REQUEST) ++ { ++ dolog( LOG_ERR, "TLS set priority failed, syntax error at: %s\n", err); ++ } ++ free(sock); ++ return NULL;++ }
package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +3
-0+ + /* Configure the x509 credentials for the current session */ + gnutls_credentials_set(sock->session, GNUTLS_CRD_CERTIFICATE,
g_aiccu->tls_cred);
+@@ -474,7 +478,7 @@ boolsock_gotls(TLSSOCKET sock)package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +4
-0+ } + + /* Set the transport */ +- gnutls_transport_set_ptr(sock->session,(gnutls_transport_ptr)sock->socket);
++ gnutls_transport_set_ptr(sock->session, (gnutls_transport_ptr_t)sock->socket);package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +4
-0+ + /* Perform the TLS handshake */ + ret = gnutls_handshake(sock->session); +diff -purN aiccu_20070115.orig/common/common.h
aiccu_20070115/common/common.h
+---aiccu_20070115.orig/common/common.h2007-01-11
15:50:51.000000000 +0100
++++aiccu_20070115/common/common.h2013-08-31 23:26:13.683659455
+0200
+@@ -381,7 +381,7 @@ struct tlssocketpackage/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +9
-0+ SOCKET socket; + #ifdef AICCU_GNUTLS + bool tls_active; /* TLS active? */ +- gnutls_session session; /* The GnuTLS sesision */ ++ gnutls_session_t session; /* The GnuTLS sesision */ + #endif + }; + +diff -purN aiccu_20070115.orig/common/resolver.c
aiccu_20070115/common/resolver.c
+---aiccu_20070115.orig/common/resolver.c2006-07-23
16:55:14.000000000 +0200
++++aiccu_20070115/common/resolver.c2013-08-31 23:44:31.574866862
+0200
+@@ -26,7 +26,7 @@
+
+ intgetrrs(const char *label, int rrtype, void gotrec(unsigned int num, int type, const char *record))
+ {
+-#ifdef_LINUX
++#ifdefined(_LINUX)&& !defined(__UCLIBC__)package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +19
-0+ struct __res_state res; + #endif + unsigned char answer[8192]; +@@ -38,7 +38,7 @@ int getrrs(const char *label, int rrtype + uint16_t type = 0, class = 0; + uint32_t ttl = 0; + +-#ifdef _LINUX ++#if defined(_LINUX) && !defined(__UCLIBC__) + memset(&res, 0, sizeof(res)); + res.options = RES_DEBUG; + res_ninit(&res); +@@ -47,7 +47,7 @@ int getrrs(const char *label, int rrtype + #endif + + memset(answer, 0, sizeof(answer)); +-#ifdef _LINUX ++#if defined(_LINUX) && !defined(__UCLIBC__) + ret = res_nquery(&res, label, C_IN, rrtype, answer,sizeof(answer));
+ #elsepackage/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch new file +1
-0+ ret = res_query(label, C_IN, rrtype, answer, sizeof(answer));package/aiccu/aiccu.mk new file +28
-0@@ -0,0 +1,32 @@ +################################################################################ +# +# aiccu +# +################################################################################ + +AICCU_VERSION = 20070115 +AICCU_SOURCE = aiccu_$(AICCU_VERSION).tar.gz +AICCU_SITE = http://www.sixxs.net/archive/sixxs/aiccu/unix/ +AICCU_LICENSE = SixXS License, concise redistribution license +AICCU_LICENSE_FILES = doc/LICENSE +AICCU_DEPENDENCIES = gnutls + +define AICCU_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all +endef + +define AICCU_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/unix-console/aiccu \ + $(TARGET_DIR)/usr/sbin/aiccu + [ -f $(TARGET_DIR)/etc/aiccu.conf ] || \ + $(INSTALL) -D -m 0644 $(@D)/doc/aiccu.conf \ + $(TARGET_DIR)/etc/aiccu.conf +endef + +define AICCU_INSTALL_INIT_SYSV + [ -f $(TARGET_DIR)/etc/init.d/S50aiccu ] || \ + $(INSTALL) -D -m 0755 $(@D)/doc/aiccu.init \
Quoted 8 lines
Quoted 6 lines
package/aiccu/aiccu.mk new file +4
-1+ $(TARGET_DIR)/etc/init.d/S50aiccu +endef + +$(eval $(generic-package)) --1.7.9.5
Reviewed-by Thomas De Schampheleire <[email protected]>
I tried compiling on a powerpc target, but this unfortunately failed:
strip aiccu
strip: Unable to recognise the format of the input file `aiccu'
make[2]: *** [aiccu] Error 1
make[2]: Leaving directory `/home/tdescham/repo/contrib/buildroot-review/output/build/aiccu-20070115/unix-console'
The aiccu/unix-console/Makefile hardcodes the 'strip' command, but this should be the cross-strip, provided by buildroot through TARGET_STRIP. I think that aiccu should be patched to use STRIP, which defaults to 'strip', and aiccu.mk in buildroot should then pass the right STRIP command.
This patch could then also be upstreamed...
Best regards,
Thomas
PATCH 1/1 aiccu: new package
Quoted 9 lines · Thomas De Schampheleire
I tried compiling on a powerpc target, but this unfortunately failed:
strip aiccu
strip: Unable to recognise the format of the input file `aiccu'
make[2]: *** [aiccu] Error 1
make[2]: Leaving directory `/home/tdescham/repo/contrib/buildroot-review/output/build/aiccu-20070115/unix-console'
Quoted 6 lines
The aiccu/unix-console/Makefile hardcodes the 'strip' command, but this should be the cross-strip, provided by buildroot through
TARGET_STRIP. I think that aiccu should be patched to use STRIP, which defaults to 'strip', and aiccu.mk in buildroot should then pass the right STRIP command.
This patch could then also be upstreamed...
Actually, it is better to remove the strip completely. We strip the
target directory in a final step, so that you still have unstripped binaries in the build and staging directories. Most packages leave it up to the distro to strip the binaries - which makes it possible to build foo-dbg packages that have the debug symbols.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): CAAXf6LWetaF-1wTWvhad-gKFc0CwLrqTKjgM_F9Seou+Pm=UWg@mail.gmail.com
PATCH 1/1 aiccu: new package
Hi there,
Quoted 10 lines · Thomas De Schampheleire
Quoted 6 lines
On another note: I have received the last mail from the buildroot mailinglist yesterday evening 23:36, sent by you re. Lua.
Given the high volume of this list, I wondered, whether something is wrong. I tried to subscribe again but even the subscription mail did not arrive...
Is there someone, whom I could contact or are you experiencing the same quietness?
Don't worry, I have the same thing. The last patch was indeed my lua patch, a mail from Peter of its acceptance, and a mail from Thomas Petazzoni with an Acked-by. During weekends, activity often drops. You can compare the mails you received with the archives at http://lists.busybox.net/pipermail/buildroot/
This is very strange, I receive emails from the list, when I am on Cc: or To:, but do no longer get mails addressed to only the list itself or others. When I compare the mails I receive with the pipermail archive, I am definitely missing e.g. the build statistics from yesterday.
Is there someone who can look into that or who is experiencing this problem, too? (Probably if there was someone, he/she wouldn't receive this mail either...)
Thanks,
Michael.
Signature · 5 lines
Michael Rommel, Erlangen, Germany -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130908/bc34f858/attachment.html>
PATCH 1/1 aiccu: new package
Hi Michael,
Quoted 23 lines · Michael Rommel
Hi there,
Quoted 9 lines · Thomas De Schampheleire
On another note: I have received the last mail from the buildroot mailinglist yesterday evening 23:36, sent by you re. Lua.
Given the high volume of this list, I wondered, whether something is wrong. I tried to subscribe again but even the subscription mail did not arrive...
Is there someone, whom I could contact or are you experiencing the same quietness?
Don't worry, I have the same thing. The last patch was indeed my lua patch, a mail from Peter of its acceptance, and a mail from Thomas Petazzoni with an Acked-by. During weekends, activity often drops.
You can compare the mails you received with the archives at
http://lists.busybox.net/pipermail/buildroot/
Quoted 4 lines
This is very strange, I receive emails from the list, when I am on Cc: or To:, but do no longer get mails addressed to only the list itself or others. When I compare the mails I receive with the pipermail archive, I am definitely missing e.g. the build statistics from yesterday.
Here are some questions to try understand the problem:
- how long have you been subscribed to the buildroot mailing list, and have you ever received mails from the list (when you weren't directly in copy)?
- is there a spam/junk folder you can check for any lost mails. Is there possibly a corporate filter that could block things?
- are you subscribed to other mailing lists, and are you having any problems with these?
- I guess you are still subscribed to the list as you can send mail to it. So you must have received a confirmation mail about that too, with a password (or maybe you have chosen one yourself). You probably can also log into the subscriber page at:
http://lists.busybox.net/mailman/listinfo/buildroot
The last form, where you enter your e-mail address, is the one you want. You should get a page where you can set your name, and choose some other options.
In general, I'm more thinking towards a problem at your end than on the list. I haven't heard about problems with other subscribers before.
Quoted 4 lines
Is there someone who can look into that or who is experiencing this problem, too? (Probably if there was someone, he/she wouldn't receive this mail either...)
The list administrator is Peter Korsgaard (the maintainer of buildroot). If you feel there is a problem on the list side, you could contact him to see if he can find out more...
Best regards,
Thomas
PATCH 1/1 aiccu: new package
Hi,
thanks for your help!
Quoted 5 lines · Thomas De Schampheleire
Here are some questions to try understand the problem:
- how long have you been subscribed to the buildroot mailing list, and have you ever received mails from the list (when you weren't directly in copy)?
June: 1001 messages,
July: 1539 messages
August: 1177 messages
September: 482 messages
My procmail log file says:
root at ns1:/export/users/rommel# tail -350 ~rommel/mail/procmail/procmail.log |grep buildroot-bounces
PATCH 1/1 aiccu: new package
Quoted 100 lines · Michael Rommel
Hi,
thanks for your help!
Quoted 5 lines · Thomas De Schampheleire
Here are some questions to try understand the problem:
- how long have you been subscribed to the buildroot mailing list, and have you ever received mails from the list (when you weren't directly in copy)?June: 1001 messages,
July: 1539 messages
August: 1177 messages
September: 482 messagesMy procmail log file says:
root at ns1:/export/users/rommel# tail -350 ~rommel/mail/procmail/procmail.log |grep buildroot-bouncesFrom buildroot-bounces at busybox.net Fri Sep 6 16:34:16 2013 From buildroot-bounces at busybox.net Fri Sep 6 16:36:04 2013 From buildroot-bounces at busybox.net Fri Sep 6 16:39:11 2013 From buildroot-bounces at busybox.net Fri Sep 6 17:27:24 2013 From buildroot-bounces at busybox.net Fri Sep 6 17:28:07 2013 From buildroot-bounces at busybox.net Fri Sep 6 17:28:15 2013 From buildroot-bounces at busybox.net Fri Sep 6 17:53:57 2013 From buildroot-bounces at busybox.net Fri Sep 6 17:56:15 2013 From buildroot-bounces at busybox.net Fri Sep 6 18:06:09 2013 From buildroot-bounces at busybox.net Fri Sep 6 18:36:17 2013 From buildroot-bounces at busybox.net Fri Sep 6 18:36:22 2013 From buildroot-bounces at busybox.net Fri Sep 6 19:45:42 2013 From buildroot-bounces at busybox.net Fri Sep 6 19:49:15 2013 From buildroot-bounces at busybox.net Fri Sep 6 19:56:17 2013 From buildroot-bounces at busybox.net Fri Sep 6 20:07:52 2013 From buildroot-bounces at busybox.net Fri Sep 6 20:45:21 2013 From buildroot-bounces at busybox.net Fri Sep 6 22:25:25 2013 From buildroot-bounces at busybox.net Fri Sep 6 22:27:27 2013 From buildroot-bounces at busybox.net Fri Sep 6 22:54:14 2013 From buildroot-bounces at busybox.net Fri Sep 6 23:36:34 2013It suddenly stops at that point in time.
Quoted 2 lines
- is there a spam/junk folder you can check for any lost mails. Is there possibly a corporate filter that could block things?
The procmail sorts the mails from the buildroot mailing list in a different folder and they do not go through the spamfilter.
Quoted 2 lines
- are you subscribed to other mailing lists, and are you having any problems with these?
I am not on any other mailing lists.
Quoted 8 lines
- I guess you are still subscribed to the list as you can send mail to it. So you must have received a confirmation mail about that too, with a password (or maybe you have chosen one yourself). You probably can also log into the subscriber page at:
http://lists.busybox.net/mailman/listinfo/buildroot
The last form, where you enter your e-mail address, is the one you want. You should get a page where you can set your name, and choose some other options.I can log into this webinterface and see the options.
Quoted 3 lines
In general, I'm more thinking towards a problem at your end than on the list. I haven't heard about problems with other subscribers before.
Well the fact that I can still send and receive e-mails from all over the world seems to indicate that the general setup is okay.
What wondered me is, that really the mailserver itself does not even receive a connection from buildroot! These are the last entries on the postfix:
root at ns1:/var/log# grep buildroot mail.log.1
Sep 6 20:45:21 ns1 postgrey[805]: action=pass, reason=triplet found, client_name=whitealder.osuosl.org, client_address=140.211.166.138, sender=buildroot-bounces at busybox.net, recipient=rommel at layer-7.net Sep 6 20:45:21 ns1 postfix/qmgr[500]: 4A5F31FFF4: from=<[email protected]>, size=18060, nrcpt=1 (queue active) Sep 6 22:25:25 ns1 postgrey[805]: action=pass, reason=triplet found, client_name=silver.osuosl.org, client_address=140.211.166.136, sender=buildroot-bounces at busybox.net, recipient=rommel at layer-7.net Sep 6 22:25:25 ns1 postfix/qmgr[500]: 92704202C8: from=<[email protected]>, size=10288, nrcpt=1 (queue active) Sep 6 22:27:27 ns1 postgrey[805]: action=pass, reason=triplet found, client_name=hemlock.osuosl.org, client_address=140.211.166.133, sender=buildroot-bounces at busybox.net, recipient=rommel at layer-7.net Sep 6 22:27:27 ns1 postfix/qmgr[500]: 76A4F202C8: from=<[email protected]>, size=6662, nrcpt=1 (queue active) Sep 6 22:54:14 ns1 postgrey[805]: action=pass, reason=triplet found, client_name=fraxinus.osuosl.org, client_address=140.211.166.137, sender=buildroot-bounces at busybox.net, recipient=rommel at layer-7.net Sep 6 22:54:14 ns1 postfix/qmgr[500]: 9236F1FFF4: from=<[email protected]>, size=5519, nrcpt=1 (queue active) Sep 6 23:36:33 ns1 postgrey[805]: action=pass, reason=triplet found, client_name=hemlock.osuosl.org, client_address=140.211.166.133, sender=buildroot-bounces at busybox.net, recipient=rommel at layer-7.net Sep 6 23:36:34 ns1 postfix/qmgr[500]: 0141C1FEB4: from=<[email protected]>, size=6758, nrcpt=1 (queue active)And we have routed about 400 mail through the server today.
Quoted 3 lines
The list administrator is Peter Korsgaard (the maintainer of buildroot). If you feel there is a problem on the list side, you could contact him to see if he can find out more...
Since he is reading the mailing list and it seems that I can still send to the list, I refrain from mailing him separately - Peter, if you can see what's wrong with my address, I would be glad to know. I wonder if there is some kind of blacklist or blocker involved here. Our mailserver here is:
;; QUESTION SECTION:
;layer-7.net. IN MX
Quoted 10 lines
;; ANSWER SECTION:
layer-7.net. 86400 IN MX 20 smtp.tschaeche.com.;; ANSWER SECTION:
smtp.tschaeche.com. 84097 IN A 188.40.196.194 smtp.tschaeche.com. 86400 IN MX 30 smtp.tschaeche.com. smtp.tschaeche.com. 86400 IN MX 40 ns1.tschaeche.com.
Hmm, I also seem to be missing some mails now, with a standard gmail account.