ports/158194: www/squid31 cannot be built when www/squid30 is installed

Fedor A Borshev fedor9 at gmail.com
Thu Jun 23 07:20:08 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list