[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#820151: kfreebsd-10: non-DFSG mode (for ubuntuBSD)



Hi,

Guillem Jover wrote:
> On Tue, 2016-04-05 at 23:17:08 +0200, Jon Boden wrote:
> > This patch has no effect on Debian but it enables "non-DFSG mode" when
> > compiling kfreebsd-10 on ubuntuBSD. Please could you apply it to make
> > it easier for us to resync with kfreebsd-10?
> 
> Is this acceptable for the Ubuntu archive? In any case that's
> something for the current kFreeBSD manintainers to agree with.

I didn't like the vendor detection part of Jon's patch anyway.  I still
would like to offer a solution though.

If simply moving from Debian to *buntu, adds non-free things to the
source package or affects the build, I'd like that to be more obvious.

And although Jon provided a way to override this in debian/rules, it is
still necessary to get-orig-source again for a change to take effect.
That makes me think it is not really a build-time setting but more of a
get-orig-source setting, which is persistent after that.


My first thought is to use the Version field;  that already determines
what SVN revision is checked out from which branch.  If it contained
something like "+nonfree", get-orig-source could retain the non-free
stuff, and build targets could alter their behaviour.  The non-free
source package would be easily identifiable as such, and as being
different from Debian's own.

Can anyone tell me if that's a bad idea for any reason?

It's intended the "+nonfree" would be in the upstream part of the
version number, so that the .orig.tar.xz gets a new name, e.g.
    10.3~svn296998-2 -> 10.3~svn296998+nonfree-2
though I'd happily grep the entire version string for it, and still try
to do the right thing in case someone mistakenly did:
    10.3~svn296998-2+nonfree

I'm considering to also add +nonfree to the abiname when building
non-free source.  Side effects are that this appears in `uname -a`
output and the names of binary packages;  it makes them
co-installable with the original DFSG kernels, and GRUB2 would give them
separate menu entries.


Having different package versions in Debian / *buntu is quite normal and
I think it would fit into Jon's workflow.  He needs to get-orig-source
anyway, adding a "+nonfree" version suffix is easy to do, and nothing
else should need patching to get the result he wants.

And, this is useful to Debian users, as an easier way to locally make a
non-free kfreebsd-10 package, for those who want to do that.

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org

Attachment: signature.asc
Description: Digital signature


Reply to: