bsdstats 5.3 on 6-STABLE and netcat weirdness

Marc G. Fournier scrappy at hub.org
Wed Dec 6 06:02:35 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


'k, I don't know how to fix this one ... I thought about doing:

.if ${OSVERSION} <= 492101
RUN_DEPENDS=    nc:${PORTSDIR}/net/netcat
.endif

not sure which version brought in nc, but 492101 is the last of the 4.x series 
... but it portlint fails miserably if I don't put bsd.port.pre.mk before it, 
but also fails if I do:

WARN: Makefile: no MASTER_SITES found. is it ok?
WARN: Makefile: "RUN_DEPENDS" has to appear earlier.
0 fatal errors and 2 warnings found.

Is there a better way of doing this ... ?

- --On Wednesday, December 06, 2006 12:09:42 +0100 Karol Kwiatkowski 
<freebsd at orchid.homeunix.org> wrote:

> Hello,
>
> I'm not sure what's to blame here: bsdstats port, ports, portupgrade
> or me :)
>
> I've got two problems - 'make clean' is cleaning net/netcat work
> directory (even though on 6-STABLE nc is a part of base system) and,
> more importantly, pkgdb reports stale dependency.
>
> That started after adding this line to the Makefile (ports/106373):
> RUN_DEPENDS=    nc:${PORTSDIR}/net/netcat
>
> I haven't seen any problem reports, is it just me? Details below.
>
> Best regards,
>
> Karol
>
>
># uname -srp
> FreeBSD 6.2-PRERELEASE i386
># which nc
> /usr/bin/nc
>
># pkgdb -Fr
> --->  Checking the package registry database
># cd /usr/ports/sysutils/bsdstats/
># make install clean
> ===>  Extracting for bsdstats-5.3
> ===>  Patching for bsdstats-5.3
> ===>  Configuring for bsdstats-5.3
> ===>  Installing for bsdstats-5.3
> ===>   bsdstats-5.3 depends on executable in : nc - found
> ===>   Generating temporary packing list
> [ snipped ]
> ===>   Registering installation for bsdstats-5.3
> ===>  Cleaning for netcat-1.10_2
> ===>  Cleaning for bsdstats-5.3
># pkgdb -F
> --->  Checking the package registry database
> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 640
> packages found (-0 +1) . done]
> Stale dependency: bsdstats-5.3 -> netcat-1.10_2 (net/netcat):
> netpbm-10.26.34 (score:17%) ? ([y]es/[n]o/[a]ll) [no]
>
> --
> Karol Kwiatkowski  <freebsd at orchid dot homeunix dot org>
> OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc
>



- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org                              MSN . scrappy at hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFdszU4QvfyHIvDvMRAvUrAKCmSYaEa8by3oYbgWr+0mBiS+33JQCgnM45
AKxZlt46J0+snTI+o8V4Oys=
=kCmR
-----END PGP SIGNATURE-----



More information about the freebsd-ports mailing list