On Thu, 10 Feb 2005 14:36:21 +0100, Robert Millan writes:
>This patch adds support for kfreebsd-gnu.  You need to copy debian/control
>into debian/control.in before appliing.

on further reflection i see a few problems with your patch.

* the tun-source package is arch-indep; all it contains is the 
/usr/src/tun-module.tgz. 
 
as such it's useless to specify build-dependencies that have no effect
on the actual machine where tun-module-KVERS is built - which is 
the end-user's box.

* there is no way (that i can think of) to specify build-dependencies
for the tun-module-KVERS package :-((

the tun-module-KVERS thing has no source in the debian archive, and is 
built by kernel-package or the module-assistant, neither of which
care about (build)dependencies.

and i can't upload tun-module-KVERS into the archive, as it has to be
built against the actual kernel in use.

* emulating the build-depends by using depends: for tun-source 
doesn't work: "depends: blabla [freebsd]" is not supported by dpkg,
that works only for build-dependencies.

* the rules file hardcodes freebsd in lots of spots (necessarily as
i assume), so why not simply have the explicit freebsd stanza fixed
in control and do without the type-handling dependency? 
(this is a minor and slightly moot point, as i can't use the 
freebsd-specific dependency anywhere anyway as per above)

i don't see any good way out of this quagmire; your rules changes look
fine but without specifying the extra stuff required for building on
freebsd that's not much good.

regards
az


-- 
+ Alexander Zangerl + DSA 42BD645D + (RSA 5B586291)
"Ein Blitzableiter auf einem Kirchturm ist das denkbar stärkste 
Mißtrauensvotum gegen den lieben Gott." -- Karl Kraus

Attachment: pgp5DrkhrB5xa.pgp
Description: PGP signature

Reply via email to