From owner-freebsd-ports@FreeBSD.ORG Wed Sep 27 16:43:01 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3A7016A415 for ; Wed, 27 Sep 2006 16:43:01 +0000 (UTC) (envelope-from novel@yoda.fannet.ru) Received: from yoda.fannet.ru (yoda.fannet.ru [82.116.56.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1F9943D7E for ; Wed, 27 Sep 2006 16:42:50 +0000 (GMT) (envelope-from novel@yoda.fannet.ru) Received: from yoda.fannet.ru (localhost [127.0.0.1]) by yoda.fannet.ru (Postfix) with ESMTP id EF12B4571F; Wed, 27 Sep 2006 20:42:48 +0400 (MSD) Received: by yoda.fannet.ru (Postfix, from userid 1003) id CC3E345715; Wed, 27 Sep 2006 20:42:48 +0400 (MSD) X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on yoda.fannet.ru X-Spam-Status: No, score=-0.6 required=3.5 tests=ALL_TRUSTED=-1.44, AWL=-0.024, DATE_IN_PAST_12_24=0.881 Received: from underworld.novel.ru (FIXED-82-116-56-159.fannet.ru [82.116.56.159]) by yoda.fannet.ru (Postfix) with ESMTP id 0885345706; Wed, 27 Sep 2006 20:42:42 +0400 (MSD) Date: Tue, 26 Sep 2006 20:42:03 +0000 From: Roman Bogorodskiy To: Fabian Keil Message-ID: <20060926204203.GA1086@underworld.novel.ru> Mail-Followup-To: Fabian Keil , ports@FreeBSD.org References: <20060926114220.31363149@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <20060926114220.31363149@localhost> X-PGP: http://people.freebsd.org/~novel/novel.key.asc X-Virus-Scanned: ClamAV Cc: ports@FreeBSD.org Subject: Re: CONFLICTS not working as expected 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, 27 Sep 2006 16:43:01 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Fabian Keil wrote: > While trying to create a port for Privoxy 3.0.5 beta > I noticed that on my system CONFLICTS aren't working > as expecting. >=20 > The port is: > http://www.fabiankeil.de/sourcecode/freebsd/privoxy-devel-3.0.5.shar >=20 > Inside the Makefile I have the line: > "CONFLICTS=3D privoxy-[0-9]*" > which is supposed to conflict with www/privoxy. This line is OK. > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/conflic= ts..html > says: "You can use shell globs like * and ? here. Packages names should be > enumerated the same way they appear in /var/db/pkg." >=20 > "echo /var/db/pkg/privoxy-[0-9]*" lists: > /var/db/pkg/privoxy-3.0.3_5 > therefore I would expect a conflict here, however I don't > get one. >=20 > My system is FreeBSD 6.2-PRERELEASE, and I have the feeling > that CONFLICTS aren't working at all, at least for the "conflicting" > ports I tried: >=20 > porttest# pkg_info | egrep -e '^(gnutls|tor-|privoxy)' > gnutls-1.4.4 GNU Transport Layer Security library > gnutls-devel-1.5.0 GNU Transport Layer Security library > privoxy-3.0.3_5 Privoxy is a web proxy with advanced filtering capabi= lities > privoxy-devel-3.0.5 A web proxy with advanced filtering capabilities > tor-0.1.1.23 An anonymizing overlay network for TCP > tor-devel-0.1.2.1 An anonymizing overlay network for TCP >=20 > There is a PR about CONFLICTS being ignored if DESTDIR > is set (http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/102300), > but it is supposed to be fixed and I'm not using DESTDIR anyway. It's actually about that CONFLICTS does *not* work with default (not set) DESTDIR. However, current DESTDIR implementation is going to be replaced with the new one which would probably avoid this inconvenient bug.=20 Anyway, I'd suggest you to keep the CONFLICTS line in your port. > In make.conf I have DISTDIR, PACKAGES and PKGREPOSITORY set, > but if I comment them out, the problem persists. >=20 > Am I the only on seeing this? > Can someone please comment on whether my CONFLICT line is correct? >=20 > Fabian > --=20 > http://www.fabiankeil.de/ Roman Bogorodskiy --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iQCVAwUBRRmQm4B0WzgdqspGAQKhRwQAgEgc95zoANo+xe3Fp0v+iveGLKWP6QJk F/LzWBP5gddQPIQCJikDGjpSeF4ArlcfhBmmju2e8wQUBynpxPeTLKWIWzQJv6To AEyFduGXPLeoyoCZRggRZgp9UpiOsB6Z1Vai2WRWiXpmFJ3Yha5TNeo+1tIWNX1r ZWTSRQqRLqg= =yS95 -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--