Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04F5218C0B for ; Fri, 20 Nov 2015 22:35:25 +0000 (UTC) Received: (qmail 58215 invoked by uid 500); 20 Nov 2015 22:35:24 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 58162 invoked by uid 500); 20 Nov 2015 22:35:24 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 58150 invoked by uid 99); 20 Nov 2015 22:35:23 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2015 22:35:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 80894C0288 for ; Fri, 20 Nov 2015 22:35:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.012 X-Spam-Level: X-Spam-Status: No, score=-0.012 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.008, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id iOwoiU_iLloy for ; Fri, 20 Nov 2015 22:35:08 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id D725E429AA for ; Fri, 20 Nov 2015 22:35:07 +0000 (UTC) Received: by wmvv187 with SMTP id v187so91169483wmv.1 for ; Fri, 20 Nov 2015 14:35:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=Tt0bh6Wt/xmLMvtYnlIVYDj40ZQfJ+vNpmgSpgk8nh0=; b=CUjuW5lx5iExq4W3kMI2jsh6yUauOkPoyDxjvCMQjoUH+14Q0phPyyLJhuNN6s/vVF lG8Ln5VLf8xJOzP2tUvzirpytvmMuKa7bcoPxG++nYUCAwg3dmXT35naXR0XNVMl21/V f2hp3s/V914klqIdtLOwTLSwFPWwnch+Hy235LfhkiFhG7dwEcG6fe9BdSzYRiymAiR+ 7YTBkF0d4FFn5RjSxYYnEVVYn2qyjKuiGGcSnMFfE43ZmZdNQgjMOMNOIWzRpPefJz77 j/itOw3D53r7jlrB1oCN4UHUVgX8ZIPOGg+9VfxVoinXO/4Sl0icBv4GL+VB5Nmg7BKX yn+Q== X-Received: by 10.28.47.212 with SMTP id v203mr4717218wmv.37.1448058906968; Fri, 20 Nov 2015 14:35:06 -0800 (PST) Received: from [192.168.1.64] (host109-157-100-103.range109-157.btcentralplus.com. [109.157.100.103]) by smtp.gmail.com with ESMTPSA id vu4sm1465882wjc.2.2015.11.20.14.35.05 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Nov 2015 14:35:05 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: ZooKeeper dependencies From: Flavio Junqueira In-Reply-To: Date: Fri, 20 Nov 2015 22:35:03 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <47BB9C56-5205-4051-BA52-CBD66177E584@apache.org> To: user@zookeeper.apache.org X-Mailer: Apple Mail (2.2104) Happy to help! > On 20 Nov 2015, at 19:51, Christopher wrote: >=20 > Thanks for the info. What's the best way to distinguish between > dependencies needed for core and contrib? I'd say you just list the dependencies in the ivy.xml file under the = project root. >=20 > I'm not really an ant/ivy developer, and just trying to help out with > this package created by another Fedora maintainer. I'm much more > familiar with maven builds. >=20 > It does look like we're including some of the contrib stuff in this > package. I'm not sure why. We probably shouldn't be, unless we put > them in separate RPMs (subpackages). I'll look into separating them a > bit in the future. As for license, it looks like BSD was included > because of the hashtable bits which are compiled into the shared > library? SLF4J isn't packaged in this, it's just a dependency, so its > license is specified in its own RPM. Here is what you'll find at the bottom of the LICENSE file: This distribution bundles jline 0.9.94, which is available under the 2-clause BSD License. For details, see a copy of the license in lib/jline-0.9.94.LICENSE.txt This distribution bundles SLF4J 1.6.1, which is available under the MIT License. For details, see a copy of the license in lib/slf4j-1.6.1.LICENSE.txt This distribution bundles a modified version of 'JZLib' as part of Netty-3.7.0, which is available under the 3-clause BSD licence. For details, see a copy of the licence in META-INF/license/LICENSE-jzlib.txt as part of the Netty jar in lib/netty-3.7.0.Final.jar. We ship slf4j in our artifact, that's why we list its license, perhaps = you don't need it as you say. >=20 > -- > Christopher L Tubbs II > http://gravatar.com/ctubbsii >=20 >=20 > On Thu, Nov 19, 2015 at 12:41 PM, Flavio Junqueira = wrote: >> Hi Christopher, >>=20 >> I had a look and couldn't see any major problem. You seem to be = including dependencies for both core and contrib. Just keep in mind that = contrib contains projects that aren't active and consequently might not = build or run properly. You may also want to MIT to the list of licenses. = slf4j is under that license. >>=20 >> -Flavio >>=20 >>> On 16 Nov 2015, at 16:43, Christopher wrote: >>>=20 >>> Hi all, >>>=20 >>> I'm trying to remove unneeded dependencies and classpath items from >>> ZooKeeper, as packaged in Fedora. >>>=20 >>> If I could get somebody to review the Requires and BuildRequires for >>> anything obvious: >>> http://pkgs.fedoraproject.org/cgit/zookeeper.git/tree/zookeeper.spec >>>=20 >>> and the default zkEnv.sh CLASSPATH=3D... items for any obvious = problems: >>> http://pkgs.fedoraproject.org/cgit/zookeeper.git/tree/zkEnv.sh >>>=20 >>> I would very much appreciate it. This would also help get ZooKeeper >>> packaged for EPEL7, by reducing the work needed to package = unnecessary >>> dependencies there. >>>=20 >>> Thanks, >>>=20 >>> Christopher >>=20