[Iftop-users] Re: Portability to GNU/kFreeBSD

Alexander Reichle-Schmehl tolimar at debian.org
Wed, 26 Oct 2011 12:22:28 +0200


Hi Mats!

Am 25.10.2011 21:01, schrieb Mats Erik Andersson:

> I feel compelled to clarify the changes needed to get a valid
> and buildable support for GNU/kFreeBSD:
> 
>     * config.guess, config.sub, config/config.guess, config/config.sub
>       are outdated and must be renewed.
> 
>     * The patch below must be used to insert correct conditionals.
>       The originals are misconceived. (I am myself to blame for that,
>       but they were sufficient for the Debian package improvements,
>       my original target!) One could argue that
> 
>           defined __GLIBC__ && defined __FreeBSD_kernel__
> 
>       is even more precise, as it avoids capturing GNU/Hurd,
>       but the check on __GLIBC__ alone is preferred for user land,
>       so __FreeBSD_kernel__ is best avoided.
>
> Make an informed choice from this additional points,
> 
>   Mats Erik Andersson, Debian Maintainer (but not for this software)

Well, I am the maintainer of the package, and you see me quite confused.
 I uploaded 1.0pre2 (relabeled as 1.0~pre2 due do Debian's version
comparison scheme) about a week ago to Debian's experimental branch,
without any further changes to the source (but with update
config/config.{guess,sub} files).  And the package got build on our
kfreebsd Architectures without any problems.

I haven't checked the package on the specific architectures, but the
buildlogs look fine:
https://buildd.debian.org/status/package.php?p=iftop&suite=experimental.
 Only hurd-i386 failed to build.


Best regards,
  Alexander