Date: Thu, 23 Jun 2011 07:10:25 GMT From: Fedor A Borshev <fedor9@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/158194: www/squid31 cannot be built when www/squid30 is installed Message-ID: <201106230710.p5N7APhk085863@red.freebsd.org> Resent-Message-ID: <201106230720.p5N7K7vO083181@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158194 >Category: ports >Synopsis: www/squid31 cannot be built when www/squid30 is installed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 23 07:20:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Fedor A Borshev >Release: 8.1-RELEASE-p2 >Organization: >Environment: FreeBSD mallory.shogo.ru 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Sun Jan 2 15:26:14 MSK 2011 fedor@mallory.shogo.ru:/usr/obj/usr/src/sys/S1208.2 amd64 >Description: www/squid31 cannot be built when www/squid30 is installed. It makes portupgrade impossible when changing versions of squid. >How-To-Repeat: cd /usr/ports/www/squid30 && make install portupgrade -o www/squid31 squid >Fix: I think that CONFLICTS might be changed to CONFLICTS_INSTALL in the Makefile, so that user will be able to build new squid, but not able to install it if conflict is found. Patch attached with submission follows: diff -ru squid31.orig/Makefile squid31/Makefile --- squid31.orig/Makefile 2011-06-23 11:00:17.000000000 +0400 +++ squid31/Makefile 2011-06-23 11:01:44.000000000 +0400 @@ -90,7 +90,7 @@ SQUID_STABLE_VER= 12 -CONFLICTS= squid-2.[0-9].* squid-3.[^1].* cacheboy-[0-9]* lusca-head-[0-9]* +CONFLICTS_INSTALL= squid-2.[0-9].* squid-3.[^1].* cacheboy-[0-9]* lusca-head-[0-9]* GNU_CONFIGURE= yes USE_BZIP2= yes USE_PERL5= yes >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106230710.p5N7APhk085863>