Package: dpkg
Version: 1.15.8.10
Severity: normal
Tags: patch

Hi,

We've been implementing Built-Using support in the archive to allow us
to better deal with GPL compliance:

http://lists.debian.org/debian-devel/2011/03/msg00852.html

As discussed on IRC, I'd like to make dpkg-gencontrol not complain about the
field:

15:36 < mhy> buxy: just looking at Fields.pm and trying to work out how I 
should declare Built-Using in my patch for it.  I think it should be dependency 
=> 
             'union' and dep_order => 10, but I'm not sure
15:40 < buxy> mhy: yeah, should be ok and allowed => ALL_PKG
15:41  * mhy nods - that's what I had
15:41 < mhy> I'll push a git branch and submit a bug / merge request
15:42 < buxy> mhy: please document the field in man/deb-control.5 also
15:43 < buxy> (and man/deb-src-control.5)
15:50 < mhy> buxy: done.  I'll submit a bug pointing at my branch
15:50 < buxy> thanks
15:51 < mhy> we might want helper scripts and so on later to make life easier 
for maintainers, but my first priority was to get dpkg-gencontrol not to throw 
             it out by default (obviously it can be worked around using -D for 
now


I've pushed a built-using branch to:

git://git.debian.org/users/mhy/dpkg.git

The commit is:

http://git.debian.org/?p=users/mhy/dpkg.git;a=commitdiff;h=6ccb466ffc71ac8f497c881dfa6e0441719caed5

Please consider merging it.  Note that dpkg-deb still complains that it's a
user-defined field although it gets added to the binary control file anyways.
I looked at patching it into lib/dpkg/parse.c as well but wasn't sure how far
down this road to go - do I need to patch it in as a true dependency field in
lib/dpkg/dpkg-db.h even though it doesn't matter for dep resolution?  If so,
does support need to be added to dselect/pkgdepcon.cc and src/depcon.c even
if just to ignore it?

Thanks,

Mark

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'oldstable'), (500, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  coreutils               8.5-1            GNU core utilities
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libselinux1             2.0.96-1         SELinux runtime shared libraries
ii  xz-utils                5.0.0-2          XZ-format compression utilities
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.8.10.3   Advanced front-end for dpkg

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to