From patchwork Sat Jan 9 21:59:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Kehn X-Patchwork-Id: 565271 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id E73F1140311 for ; Sun, 10 Jan 2016 09:00:03 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=yahoo.com header.i=@yahoo.com header.b=qkWArOcB; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 368D193745; Sat, 9 Jan 2016 22:00:03 +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 TPTPW8MmfqpZ; Sat, 9 Jan 2016 22:00:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 4A3D593668; Sat, 9 Jan 2016 22:00:02 +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 5C06C1C1689 for ; Sat, 9 Jan 2016 22:00:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4733B8AC0D for ; Sat, 9 Jan 2016 22:00:01 +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 gdDoGSO1UjZn for ; Sat, 9 Jan 2016 22:00:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from nm19-vm1.bullet.mail.ne1.yahoo.com (nm19-vm1.bullet.mail.ne1.yahoo.com [98.138.91.56]) by hemlock.osuosl.org (Postfix) with ESMTPS id 30FE59368F for ; Sat, 9 Jan 2016 22:00:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1452376799; bh=kSsL11NaUAF0WcRk1PpUSG/9ELAeR+62v69praYpMvM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject; b=qkWArOcBICzId+JzUkzLwwcopxccj5yPF40CCd6xszjjhUO3josI+vH3Qrn7A/Noaxa/cMIOdmsVhANzzCtd1JR1mGh2yU1O9WanMbUygGpXlC6YoFYByFqwLY4zNiNLPKnaii1Y7IaPiWnv4FPW3tMP8JKDnjb2z18F5zhv/Hu8ZDDo2RbB7zUErZeYMv7YVMaWQ8CwMFpyzVNmxcC2+fXuawXV3l3ZcVVqz/XLCL2MidM7GqT5qi9Xw73xziJyN4KdJXBZVckTSGuzViZyNJTckhrnCMbOfOHXnnS6sKMyfM3U7anqp/pDNLit6D6pHObJo914c/mMaXychegkSg== Received: from [98.138.101.129] by nm19.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jan 2016 21:59:59 -0000 Received: from [98.138.84.39] by tm17.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jan 2016 21:59:59 -0000 Received: from [127.0.0.1] by smtp107.mail.ne1.yahoo.com with NNFMP; 09 Jan 2016 21:59:59 -0000 X-Yahoo-Newman-Id: 627867.82810.bm@smtp107.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 2WApjPsVM1k3ITgaeePGk8_Spq6DRFoiic0zAqekVGBTTg2 M.j7uh6Leoa5wJLZX6zCJtrOrP9Kzjfdbcs6ry_8wqBEeMMJgjsX86CttWmT mv.ZzfucR7JLFjCDlRf2CqUVdBJdo9lr5eNrgL3vUHGj5L7WQflG5Xp_O.Yp iDD_F5fyUS2Y_zm0J4hBrf3MKtsFsqto3bXYGLWlSF6_UDvAvX2r7ELG6vuT QI20iVoeQxQD5QklgQP.8Gt0KyA9GHTTG4bD0O0enkDMOCF0LTgUaUmbiFhQ VWmvtJzqZOKMirktZLlezqMJNiOo6weyGrdnDEixFdzOnUwYqq.PDznillAF mYNf3G8Rygr5HilYD.gKPh_xQxZsO_skV2J35iekXPM9Hj.Xjb2SFd9zANB6 QfSMC.AeAMd1si0P7j3ubK0noKzpk2mosGJpCSoy4QbKhd6QOYT9r4dY0vIn Z2oThMADanry62UKo.DbTKf.CmwNLTnfWc7tHBYYdVj0_5MsPlW67M3HN1uR SVbfq1es35YBe1hq_tLVDvwE6nsNbI50m3Jo- X-Yahoo-SMTP: tVp.douswBADms9I1_pvnFcs0w-- From: Doug Kehn To: buildroot@buildroot.org Date: Sat, 9 Jan 2016 15:59:43 -0600 Message-Id: <1452376785-31174-2-git-send-email-rdkehn@yahoo.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1452376785-31174-1-git-send-email-rdkehn@yahoo.com> References: <1452376785-31174-1-git-send-email-rdkehn@yahoo.com> Subject: [Buildroot] [RFC PATCH 1/3] package/dhcp: bump version to 4.3.3 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" Parallel builds are not supported because the bind libraries must be built first. The embedded bind configure is called as part of dhcp make instead of dhcp configure. dhcp make environment is expanded to ensure bind configure has the proper information. The embedded bind tar-ball is extracted after the source so patches can be applied to dhcp and bind before the package is built. I noticed that host ar was being called for target archives. This is fixed up. (The host ar is/was called for 4.1-ESV-R12 too.) Signed-off-by: Doug Kehn --- package/dhcp/dhcp.hash | 4 ++-- package/dhcp/dhcp.mk | 21 ++++++++++++++++++++- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/package/dhcp/dhcp.hash b/package/dhcp/dhcp.hash index 84e3c63..ae770ce 100644 --- a/package/dhcp/dhcp.hash +++ b/package/dhcp/dhcp.hash @@ -1,2 +1,2 @@ -# Verified from ftp://ftp.isc.org/isc/dhcp/4.1-ESV-R12/dhcp-4.1-ESV-R12.tar.gz.sha256.asc -sha256 53265d1bf5e2073379df03c73a1a34d38a904307609c0f9cb77223912e753e5f dhcp-4.1-ESV-R12.tar.gz +# Verified from ftp://ftp.isc.org/isc/dhcp/4.3-3/dhcp-4.3.3.tar.gz.sha256.asc +sha256 553c4945b09b1c1b904c4780f34f72aaefa2fc8c6556715de0bc9d4e3d255ede dhcp-4.3.3.tar.gz diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index c05e694..bab79c0 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -4,7 +4,7 @@ # ################################################################################ -DHCP_VERSION = 4.1-ESV-R12 +DHCP_VERSION = 4.3.3 DHCP_SITE = http://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = ISC @@ -25,6 +25,25 @@ DHCP_CONF_OPTS = \ --with-relay-pid-file=/var/run/dhcrelay.pid \ --with-relay6-pid-file=/var/run/dhcrelay6.pid +DHCP_MAKE=$(MAKE1) + +DHCP_MAKE_ENV = \ + GNU_TARGET_NAME=$(GNU_TARGET_NAME) \ + GNU_HOST_NAME=$(GNU_HOST_NAME) \ + BUILD_CC="$(HOSTCC)" + +define DHCP_EXTRACT_BIND + cd $(@D)/bind; tar -xvf bind.tar.gz +endef +DHCP_POST_EXTRACT_HOOKS += DHCP_EXTRACT_BIND + +define DHCP_TOOLCHAIN_AR_REF + for d in common dhcpctl omapip; do \ + sed -i 's#^AR.*#AR = $(TARGET_AR)#' $(@D)/$$d/Makefile; \ + done +endef +DHCP_PRE_BUILD_HOOKS += DHCP_TOOLCHAIN_AR_REF + ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) DHCP_CONF_OPTS += --enable-delayed-ack endif