Re: build 2 similar binary packages from one source tree

2017-12-30 Thread Wouter Verhelst
On Sun, Dec 24, 2017 at 08:16:19PM +0100, Adam Borowski wrote: > While autotools in principle do support out-of-tree builds, a particular > program might still fail. In practice, this is rare, unless the developer doesn't try to run "make distcheck" before a build (like they really really should).

Re: build 2 similar binary packages from one source tree

2017-12-25 Thread Russ Allbery
Osamu Aoki writes: > maildrop source tree can be build with different build option to produce > maildrop program in 2 ways for each arch. > * set GID mail without restricted caller (maildrop) > * set UID root with restricted caller for courier-mta >(maildrop-courier) -- This is now missing

Re: build 2 similar binary packages from one source tree

2017-12-25 Thread Ryan Kavanagh
Hi Osamu, On Mon, Dec 25, 2017 at 01:43:13AM +0900, Osamu Aoki wrote: > Any pointer to a simple example which uses autotools as its build script > is appreciated. The rxvt-unicode source package generates three binary packages, each containing a version of rxvt-unicode built with different config

Re: build 2 similar binary packages from one source tree

2017-12-24 Thread Adam Borowski
On Mon, Dec 25, 2017 at 01:43:13AM +0900, Osamu Aoki wrote: > maildrop source tree can be build with different build option to produce > maildrop program in 2 ways for each arch. > > * set GID mail without restricted caller (maildrop) > * set UID root with restricted caller for courier-mta >

Re: build 2 similar binary packages from one source tree

2017-12-24 Thread Simon McVittie
On Mon, 25 Dec 2017 at 01:43:13 +0900, Osamu Aoki wrote: > Of course we can build 2 source packages to do this. But is there any > easy clean way to do [two builds with different options] without making > 2 source packages with identical upstream tarball. > > Any pointer to a simple example which

build 2 similar binary packages from one source tree

2017-12-24 Thread Osamu Aoki
Hi, maildrop source tree can be build with different build option to produce maildrop program in 2 ways for each arch. * set GID mail without restricted caller (maildrop) * set UID root with restricted caller for courier-mta (maildrop-courier) -- This is now missing in archive but we used to