Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 11:42:20 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        ports@FreeBSD.org
Subject:   CONFLICTS not working as expected
Message-ID:  <20060926114220.31363149@localhost>

next in thread | raw e-mail | index | archive | help
--Sig_k3Zwc3HQUD0_NwCxWP5fl/5
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

While trying to create a port for Privoxy 3.0.5 beta
I noticed that on my system CONFLICTS aren't working
as expecting.

The port is:
http://www.fabiankeil.de/sourcecode/freebsd/privoxy-devel-3.0.5.shar

Inside the Makefile I have the line:
"CONFLICTS=3D	privoxy-[0-9]*"
which is supposed to conflict with www/privoxy.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/conflicts=
.html
says: "You can use shell globs like * and ? here. Packages names should be
enumerated the same way they appear in /var/db/pkg."

"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.

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:

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 capabili=
ties
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

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.

In make.conf I have DISTDIR, PACKAGES and PKGREPOSITORY set,
but if I comment them out, the problem persists.

Am I the only on seeing this?
Can someone please comment on whether my CONFLICT line is correct?

Fabian
--=20
http://www.fabiankeil.de/

--Sig_k3Zwc3HQUD0_NwCxWP5fl/5
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFGPYOBYqIVf93VJ0RAmGhAJ9rfdtQMAxBq1Um56jgMqKHsLKIsACgi6+9
lhhyQ+6aR9MywLgXuJIlHxQ=
=WWCx
-----END PGP SIGNATURE-----

--Sig_k3Zwc3HQUD0_NwCxWP5fl/5--



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