Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Dec 2006 09:59:48 -0400
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        freebsd@orchid.homeunix.org
Cc:        ports@freebsd.org
Subject:   Re: bsdstats 5.3 on 6-STABLE and netcat weirdness
Message-ID:  <8194EEE8E22BA574C20015C8@ganymede.hub.org>
In-Reply-To: <4576A4F6.7070407@orchid.homeunix.org>
References:  <4576A4F6.7070407@orchid.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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@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@hub.org                              MSN . scrappy@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-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8194EEE8E22BA574C20015C8>