Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1acwqB-00053v-V5 for pgsql-jdbc@arkaria.postgresql.org; Mon, 07 Mar 2016 15:13:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1acwqA-0001Bo-Tr for pgsql-jdbc@arkaria.postgresql.org; Mon, 07 Mar 2016 15:12:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1acwqA-0001BX-BL for pgsql-jdbc@postgresql.org; Mon, 07 Mar 2016 15:12:58 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1acwq3-0005Uq-QP for pgsql-jdbc@postgresql.org; Mon, 07 Mar 2016 15:12:57 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id B52804C0B8; Mon, 7 Mar 2016 15:12:49 +0000 (UTC) Received: from nb.usersys.redhat.com (ovpn-200-18.brq.redhat.com [10.40.200.18]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u27FCgiJ024065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Mar 2016 10:12:48 -0500 From: Pavel Raiskup To: Dave Cramer Cc: List , hhorak@redhat.com, Pavel Kajaba , ubuntu@rossfamily.co.uk, doko@debian.org, jesse.jaara@gmail.com, ago@gentoo.org, nicolas.lecureuil@free.fr, Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= Subject: Re: Complicated re-distribution of pgjdbc the "open source way" Date: Mon, 07 Mar 2016 16:12:38 +0100 Message-ID: <1794423.Lu2CaUrfBI@nb.usersys.redhat.com> User-Agent: KMail/4.14.10 (Linux/4.3.5-300.fc23.x86_64; KDE/4.14.17; x86_64; ; ) In-Reply-To: References: <2562462.qBr8q3cvoq@nb.usersys.redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Hi Dave, On Monday 07 of March 2016 09:31:10 Dave Cramer wrote: > There is a far simpler way to do this. >=20 > Simply create a Makefile, or ant build.xml, which I imagine you will have > to do anyway, and do not include the bits of the code you don't want. >=20 > I'd be glad to include it in the source with the assumption that you > maintain it. * we were rather thinking about keeping the pom.xml as original as possible, Makefile would be additional divergence and work when pom.xml works fine * the process requires patching out some code using not-acceptable dependencies, as this is the cheapest way to deal with most of the issues for us downstream -- and we already do it to some extent * having parent-poms packaged separately just complicates the build from source, so while we are on it in separate fork, we could merge it into pgjdbc-foss Makefile or ant file would probably not lower the burden of re-distribution and build from source. Any thoughts? But yes, we can help with maintenance. Pavel > Dave Cramer >=20 > davec@postgresintl.com > www.postgresintl.com >=20 > On 7 March 2016 at 09:26, Pavel Raiskup wrote: >=20 > > Hi all, > > > > -- > > I'm taking the liberty of CCing all pgjdbc packagers I'm aware of (plea= se > > opt-out if you don't care and sorry for rush). I just want to see whet= her > > we in Fedora are thinking a constructive way. This is not GNU/Linux > > oriented effort, but it is rather about any open source > > packagers/distributors, feel free to add anybody who might be interested > > in the loop. > > -- > > > > _Open_ distribution=B9 of pgjdbc is becoming a bit painful for the last > > several releases, mostly because there are some non-free/windows-only > > related _hard_-dependencies (currently osgi.enterprise, waffle-jna) whi= ch > > disallow us to build pgjdbc on free distro. > > > > The preferred way would be to solve this upstream (making the dependenc= ies > > optional), but it is not a mandate of pgjdbc upstream to cooperate on t= his > > -- even patches from us to support pure open source build are not wante= d. > > As upstream is not interested in non-maven builds, it will be most > > probably even worse later. > > > > We've done some small observation around GNU/Linux packages, and it see= ms > > we all reinvent the very similar patches or hacks over and over again. > > > > Because PostgreSQL connector is important part of operating system, we = are > > thinking about a small friendly fork of pgjdbc, called pgjdbc-foss. Th= is > > should allow us to solve the issue rather sooner than later. > > > > That project idea: > > > > * we should provide an _easy to use_ (documented how to build from > > source) version-ed tarball, compatible with pgjdbc > > > > * this tarball would be FOSS source-only, with FOSS dependencies, > > (non-free deps could be possible in future, but only as opt-in > > feature) > > > > * the build would be 1-step process (no need to build pgjdbc-parent-p= oms > > first, and others), with some obvious system dependencies > > > > * that tarball would allow us to 100% build-from-source _without_ twe= aks > > > > * build from this tarball must not rely on maven repositories -- > > untrusted content at distribution level > > > > * the testsuite should be fixed to allow us to run it easily under > > non-root user, on a local/cloud build-box > > > > Would you be interested in having one common code-base for > > open-source-distribution-model of pgjdbc, and optionally (preferably) > > cooperate? That source should be as close as possible to pgjdbc, just > > limited limited set of patches to allow us to build/test/distribute > > correctly and what is more important we could do the job _consistently_ > > with a lot _less_ packagers effort. > > > > Just let me know if this is good/bad idea from your packackar's POV. S= ome > > links for discussion with upstream about issues [1,..N]. > > > > =B9 By that I mean ability to build from FOSS source, _against_ > > FOSS source dependencies. By FOSS source I mean software which > > _anybody_ can read, study, copy, modify, distribute. > > > > [1] > > http://www.postgresql.org/message-id/1831842355.39585708.1455624950515.= JavaMail.zimbra@redhat.com > > [2] > > http://www.postgresql.org/message-id/2113338928.20942725.1448530160996.= JavaMail.zimbra@redhat.com > > [3] > > http://www.postgresql.org/message-id/5479464.pnS2mdyLUu@nb.usersys.redh= at.com > > [4] > > http://www.postgresql.org/message-id/2217774.p6G2ev8LQ6@nb.usersys.redh= at.com > > > > Pavel > > > > > > > > -- > > Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) > > To make changes to your subscription: > > http://www.postgresql.org/mailpref/pgsql-jdbc > > --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc