From patchwork Wed Sep 13 12:29:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 813416 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xsgws0ZRPz9sPk for ; Wed, 13 Sep 2017 22:30:21 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EF6D1889B4; Wed, 13 Sep 2017 12:30:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R8iU8Z23pB3z; Wed, 13 Sep 2017 12:30:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 7C1BA88981; Wed, 13 Sep 2017 12:30:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id B3BA21CEB72 for ; Wed, 13 Sep 2017 12:30:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id AFECC83A51 for ; Wed, 13 Sep 2017 12:30:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SakTYKwHFX-z for ; Wed, 13 Sep 2017 12:30:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by hemlock.osuosl.org (Postfix) with ESMTPS id 2915C83379 for ; Wed, 13 Sep 2017 12:30:04 +0000 (UTC) Received: from fwd18.aul.t-online.de (fwd18.aul.t-online.de [172.20.26.244]) by mailout03.t-online.de (Postfix) with SMTP id 9D41842407D6 for ; Wed, 13 Sep 2017 14:30:01 +0200 (CEST) Received: from fli4l.lan.fli4l (TJ8jysZbrhYnxGkkisoOaKvv5p6aLsJRiaJWUMYt83DL63FHVlWP1B9NOR6SKuLwvy@[79.228.1.99]) by fwd18.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1ds6no-16jfxw0; Wed, 13 Sep 2017 14:30:00 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:38228 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.89) (envelope-from ) id 1ds6nn-0005C2-1H for buildroot@buildroot.org; Wed, 13 Sep 2017 14:29:59 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Wed, 13 Sep 2017 14:29:54 +0200 Message-Id: <20170913122958.11805-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 X-ID: TJ8jysZbrhYnxGkkisoOaKvv5p6aLsJRiaJWUMYt83DL63FHVlWP1B9NOR6SKuLwvy X-TOI-MSGID: a5e6448b-2b83-4e89-b4ed-4a8cc545f4e2 Subject: [Buildroot] [PATCH 1/5] package/ngircd: bump version to 24 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switched _SITE to https, added patch to fix compile error. Signed-off-by: Bernd Kuhls --- package/ngircd/0001-Fix-Get_error-usage.patch | 44 +++++++++++++++++++++++++++ package/ngircd/ngircd.hash | 2 +- package/ngircd/ngircd.mk | 4 +-- 3 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 package/ngircd/0001-Fix-Get_error-usage.patch diff --git a/package/ngircd/0001-Fix-Get_error-usage.patch b/package/ngircd/0001-Fix-Get_error-usage.patch new file mode 100644 index 0000000000..3724e46d89 --- /dev/null +++ b/package/ngircd/0001-Fix-Get_error-usage.patch @@ -0,0 +1,44 @@ +From 543f44bff8d56785dc13a74a14d4eaa96465bf05 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Wed, 13 Sep 2017 14:07:11 +0200 +Subject: [PATCH] Fix Get_error usage + +The usage of Get_Error is guarded by "ifdef h_errno" in this file, the +definition of this function should follow the same rules. + +Fixes a build error when cross-compiling: +https://github.com/ngircd/ngircd/issues/223 + +Patch sent upstream: https://github.com/ngircd/ngircd/pull/240 + +Signed-off-by: Bernd Kuhls +--- + src/ngircd/resolve.c | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/src/ngircd/resolve.c b/src/ngircd/resolve.c +index 32791901..e1903254 100644 +--- a/src/ngircd/resolve.c ++++ b/src/ngircd/resolve.c +@@ -108,9 +108,7 @@ Resolve_Name( PROC_STAT *s, const char *Host, void (*cbfunc)(int, short)) + return false; + } /* Resolve_Name */ + +- +-#if !defined(HAVE_GETADDRINFO) || !defined(HAVE_GETNAMEINFO) +-#if !defined(WANT_IPV6) && defined(h_errno) ++#ifdef h_errno + static char * + Get_Error( int H_Error ) + { +@@ -128,7 +126,6 @@ Get_Error( int H_Error ) + return "unknown error"; + } + #endif +-#endif + + + /* Do "IDENT" (aka "AUTH") lookup and append result to resolved_addr array */ +-- +2.11.0 + diff --git a/package/ngircd/ngircd.hash b/package/ngircd/ngircd.hash index 45e2d9e825..128867bfd8 100644 --- a/package/ngircd/ngircd.hash +++ b/package/ngircd/ngircd.hash @@ -1,2 +1,2 @@ # Locally calculated after checking pgp signature -sha256 93f953b2785ff0e6e29b8b3794ba5a64754b86251ce71bf39fc27f4f5074eada ngircd-20.3.tar.xz +sha256 173fa0ea10788a8ba08ef2f7e64ea8951d7c88862e744128c8b87bae424b1008 ngircd-24.tar.xz diff --git a/package/ngircd/ngircd.mk b/package/ngircd/ngircd.mk index f7857e85dd..5f03b66001 100644 --- a/package/ngircd/ngircd.mk +++ b/package/ngircd/ngircd.mk @@ -4,9 +4,9 @@ # ################################################################################ -NGIRCD_VERSION = 20.3 +NGIRCD_VERSION = 24 NGIRCD_SOURCE = ngircd-$(NGIRCD_VERSION).tar.xz -NGIRCD_SITE = http://arthur.barton.de/pub/ngircd +NGIRCD_SITE = https://arthur.barton.de/pub/ngircd NGIRCD_DEPENDENCIES = zlib NGIRCD_LICENSE = GPL-2.0+ NGIRCD_LICENSE_FILES = COPYING