aiccu: removed, upstream dead and SIXXS gone.
RIP
This commit is contained in:
parent
92f763756b
commit
e4aa5de752
3 changed files with 0 additions and 82 deletions
|
@ -1,20 +0,0 @@
|
||||||
--- common/common.c 2015-04-17 23:08:32.543680010 +0200
|
|
||||||
+++ common/common.c.new 2015-04-17 23:14:02.152457972 +0200
|
|
||||||
@@ -272,7 +272,6 @@
|
|
||||||
{
|
|
||||||
#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 };
|
|
||||||
int ret;
|
|
||||||
#endif /* AICCU_GNUTLS*/
|
|
||||||
|
|
||||||
@@ -300,8 +299,7 @@
|
|
||||||
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! */
|
|
||||||
+ gnutls_priority_set_direct(sock->session, "NORMAL:+CTYPE-OPENPGP", NULL);
|
|
||||||
|
|
||||||
/* Configure the x509 credentials for the current session */
|
|
||||||
gnutls_credentials_set(sock->session, GNUTLS_CRD_CERTIFICATE, g_aiccu->tls_cred);
|
|
|
@ -1,29 +0,0 @@
|
||||||
--- common/resolver.c
|
|
||||||
+++ common/resolver.c
|
|
||||||
@@ -26,7 +26,7 @@
|
|
||||||
|
|
||||||
int getrrs(const char *label, int rrtype, void gotrec(unsigned int num, int type, const char *record))
|
|
||||||
{
|
|
||||||
-#ifdef _LINUX
|
|
||||||
+#ifdef __GLIBC__
|
|
||||||
struct __res_state res;
|
|
||||||
#endif
|
|
||||||
unsigned char answer[8192];
|
|
||||||
@@ -38,7 +38,7 @@
|
|
||||||
uint16_t type = 0, class = 0;
|
|
||||||
uint32_t ttl = 0;
|
|
||||||
|
|
||||||
-#ifdef _LINUX
|
|
||||||
+#ifdef __GLIBC__
|
|
||||||
memset(&res, 0, sizeof(res));
|
|
||||||
res.options = RES_DEBUG;
|
|
||||||
res_ninit(&res);
|
|
||||||
@@ -47,7 +47,7 @@
|
|
||||||
#endif
|
|
||||||
|
|
||||||
memset(answer, 0, sizeof(answer));
|
|
||||||
-#ifdef _LINUX
|
|
||||||
+#ifdef __GLIBC__
|
|
||||||
ret = res_nquery(&res, label, C_IN, rrtype, answer, sizeof(answer));
|
|
||||||
#else
|
|
||||||
ret = res_query(label, C_IN, rrtype, answer, sizeof(answer));
|
|
|
@ -1,33 +0,0 @@
|
||||||
# Template file for 'aiccu'
|
|
||||||
pkgname=aiccu
|
|
||||||
version=20070115
|
|
||||||
revision=4
|
|
||||||
wrksrc=aiccu
|
|
||||||
conf_files="etc/aiccu.conf"
|
|
||||||
makedepends="gnutls-devel"
|
|
||||||
depends="iproute2"
|
|
||||||
short_desc="SixXS Automatic IPv6 Connectivity Client Utility"
|
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
||||||
license="BSD"
|
|
||||||
homepage="http://www.sixxs.net/tools/aiccu/"
|
|
||||||
distfiles="http://www.sixxs.net/archive/sixxs/aiccu/unix/${pkgname}_${version}.tar.gz"
|
|
||||||
checksum=2260f426c13471169ccff8cb4a3908dc5f79fda18ddb6a55363e7824e6c4c760
|
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
*-musl) CFLAGS+="-D_LINUX_IF_ETHER_H";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
sed -i 's/\$(CC) \$(CFLAGS) \$(LDFLAGS) -o $@ \$(OBJS)/$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)/; /strip/d' unix-console/Makefile
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
make ${makejobs} CC="$CC" LD="$LD" RPM_OPT_FLAGS="$CFLAGS"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin unix-console/aiccu
|
|
||||||
vinstall doc/aiccu.conf 0640 etc
|
|
||||||
vman doc/aiccu.1
|
|
||||||
vlicense doc/LICENSE
|
|
||||||
}
|
|
Loading…
Reference in a new issue