From patchwork Fri Dec 26 17:38:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 424153 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 844911400DD for ; Sat, 27 Dec 2014 04:45:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2B19B8A2F2; Fri, 26 Dec 2014 17:45:23 +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 WcGSwSABnnr8; Fri, 26 Dec 2014 17:45:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 8DA098A1F2; Fri, 26 Dec 2014 17:45:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id C7D131BFA9F for ; Fri, 26 Dec 2014 17:45:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C483B2F6CC for ; Fri, 26 Dec 2014 17:45:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lnaqY9Gwrmtk for ; Fri, 26 Dec 2014 17:45:15 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by silver.osuosl.org (Postfix) with ESMTPS id C545D26AF7 for ; Fri, 26 Dec 2014 17:45:15 +0000 (UTC) Received: from localhost.localdomain (unknown [88.184.220.198]) by smtp6-g21.free.fr (Postfix) with ESMTP id 1B464822DE; Fri, 26 Dec 2014 18:44:10 +0100 (CET) From: Romain Naour To: buildroot@buildroot.org Date: Fri, 26 Dec 2014 18:38:11 +0100 Message-Id: <1419615491-8238-1-git-send-email-romain.naour@openwide.fr> X-Mailer: git-send-email 1.9.3 Subject: [Buildroot] [PATCH] package/leafnode2: fix news user check 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" --enable-runas-user use 'news' as default but the configure stop if news doesn't exist on the build host. Use 'root' while cross-compiling Signed-off-by: Romain Naour --- package/leafnode2/leafnode2.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/leafnode2/leafnode2.mk b/package/leafnode2/leafnode2.mk index 3bc1c68..0fc2a8d 100644 --- a/package/leafnode2/leafnode2.mk +++ b/package/leafnode2/leafnode2.mk @@ -14,9 +14,13 @@ LEAFNODE2_DEPENDENCIES = host-pcre pcre LEAFNODE2_CONF_ENV = \ PCRECONFIG="$(STAGING_DIR)/usr/bin/pcre-config" +# --enable-runas-user use 'news' as default but the configure stop +# if news doesn't exist on the build host. +# Use 'root' while cross-compiling LEAFNODE2_CONF_OPTS = \ --sysconfdir=/etc/leafnode2 \ - --enable-spooldir=/var/spool/news + --enable-spooldir=/var/spool/news \ + --enable-runas-user=root # Leafnode2 needs the host version of b_sortnl during # compilation. Instead of creating a seperate host package and