From owner-freebsd-ports@FreeBSD.ORG Wed Dec 6 14:02:35 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6084216A4D1 for ; Wed, 6 Dec 2006 14:02:35 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2666C43D6B for ; Wed, 6 Dec 2006 13:58:59 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.191]) by hub.org (Postfix) with ESMTP id 93BE5118C6FC; Wed, 6 Dec 2006 09:59:39 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 08915-04; Wed, 6 Dec 2006 09:59:44 -0400 (AST) Received: from ganymede.hub.org (blk-137-79-174.eastlink.ca [24.137.79.174]) by hub.org (Postfix) with ESMTP id 1BCCB118C6FB; Wed, 6 Dec 2006 09:59:39 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id A8B293DA18; Wed, 6 Dec 2006 09:59:48 -0400 (AST) Date: Wed, 06 Dec 2006 09:59:48 -0400 From: "Marc G. Fournier" To: freebsd@orchid.homeunix.org Message-ID: <8194EEE8E22BA574C20015C8@ganymede.hub.org> In-Reply-To: <4576A4F6.7070407@orchid.homeunix.org> References: <4576A4F6.7070407@orchid.homeunix.org> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: ports@freebsd.org Subject: Re: bsdstats 5.3 on 6-STABLE and netcat weirdness X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 14:02:35 -0000 -----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 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 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 > 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-----