X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by mail.alpinelinux.org (Postfix) with ESMTP id 80D9319ED500 for ; Tue, 12 Jul 2011 08:20:28 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 60DCFAE4001; Tue, 12 Jul 2011 08:20:26 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EcxS+Hf6eazC; Tue, 12 Jul 2011 08:20:24 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id AAD64376277; Tue, 12 Jul 2011 08:20:24 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 7C9B360A804F6; Tue, 12 Jul 2011 08:20:24 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (ncopa-desktop.nor.wtbts.net [10.65.65.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 65AE660A804EF; Tue, 12 Jul 2011 08:20:23 +0000 (UTC) Date: Tue, 12 Jul 2011 10:20:23 +0200 From: Natanael Copa To: John Keith Hohm Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] testing/mtr: new aport Message-ID: <20110712102023.10ce93fe@ncopa-desktop.nor.wtbts.net> In-Reply-To: <1310419297-15518-1-git-send-email-john@hohm.net> References: <1310419297-15518-1-git-send-email-john@hohm.net> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.5; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Mon, 11 Jul 2011 16:21:37 -0500 John Keith Hohm wrote: > Full screen ncurses traceroute tool > http://www.bitwizard.nl/mtr/ > --- > testing/mtr/APKBUILD | 48 +++++ > testing/mtr/mtr-res_mkquery.patch | 374 > +++++++++++++++++++++++++++++++++++++ 2 files changed, 422 > insertions(+), 0 deletions(-) create mode 100644 testing/mtr/APKBUILD > create mode 100644 testing/mtr/mtr-res_mkquery.patch Thanks! Looks generally good. Some minor notes below. ... > +depends_dev="ncurses-dev" > +makedepends="$depends_dev" > +install="" > +subpackages="$pkgname-doc" Since there are no mtr-dev subpackage you could have just deleted depends_dev. ... > +++ b/testing/mtr/mtr-res_mkquery.patch > @@ -0,0 +1,374 @@ > +--- a/mtr-0.80/configure > ++++ b/mtr-0.80/configure I had a look at this patch and, sure it works. It would have been preferable that it could have changed the configure.in file and then run aclocal && autoreconf or similar. Instead of error out on missing res_mkquery it could have set a config.h variable and then do something like: #ifndef HAVE_MK_QUERY /* res_mkquery from dietlibc libcruft http://www.fefe.de/dietlibc/ */ ... #endif and send that patch upstream. (even better would probably to remove the entire dns.c and use c-ares library) That said, I think its good enough for Alpine anyways. Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---