Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2012 02:07:37 GMT
From:      "M." <michael.schuh@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172892: Wrong/Missing CONFLICTS in istgt
Message-ID:  <201210200207.q9K27bpA091222@red.freebsd.org>
Resent-Message-ID: <201210200210.q9K2A0Nn081351@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172892
>Category:       ports
>Synopsis:       Wrong/Missing CONFLICTS in istgt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 20 02:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     M.
>Release:        9-STABLE
>Organization:
michael-schuh.net
>Environment:
Not important here cause of the portsdir is affected
>Description:
http://www.freebsd.org/cgi/ports.cgi?query=istgt&stype=all
<<< according to the both port Makefiles
my comments begin with ##
the Makefile of the port openistgt:

# New ports collection makefile for:	istgt
## where it is derived from          ^^^^^^^^^^^^
# Date created:		2009-02-23
# Whom:			Daisuke Aoyama <aoyama@peach.ne.jp>
#
# $FreeBSD: ports/net/openistgt/Makefile,v 1.32 2012/06/10 09:54:18 pav Exp $
#

PORTNAME=	openistgt
PORTVERSION=	20120516
CATEGORIES=	net
MASTER_SITES=	SF/${PORTNAME}

MAINTAINER=	jpaetzel@FreeBSD.org
COMMENT=	An iSCSI target for FreeBSD

SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKDIR}/pkg-message
CONFLICTS=	istgt-2*
##^^^^^^^^^^^^^^^^^^^^^^^ an approbiate counterpart is missing in the 
## Makefile of istgt port, please correct that at least
## even if i think it would be better/more clever to have two versions with
## the same prefix e.g. istgt-2xxxxxxxx in the ports tree

GNU_CONFIGURE=	yes

MAN1=		istgt.1
MANCOMPRESSED=	yes

ETCDIR=		${PREFIX}/etc/istgt
PLIST_FILES=	bin/istgt \
		bin/istgtcontrol \
		etc/rc.d/openistgt \
		%%ETCDIR%%/auth.conf.sample \
		%%ETCDIR%%/istgt.conf.sample \
		%%ETCDIR%%/istgt.large.conf.sample \
		%%ETCDIR%%/istgtcontrol.conf.sample
## this looks weird ^^^^^^^ but i haven't investigated it further
PLIST_DIRS=	%%ETCDIR%%
PORTDOCS=	${DOCS:T}

>How-To-Repeat:
Check the ports Makefile
install the openistgt port
afterwards install the istgt port
>Fix:
#1 preferred/wished solution:
rename the openistgt port to istgt-<version-stamp> 
and add a approbiate CONFLICTS declaration and definition to both Makefiles

OR
#2 more simple solution but irritating for some users:
( which one is now the real istgt? )

adding a line like

CONFLICTS=	openistgt*

to the Makefile of the istgt port 



>Release-Note:
>Audit-Trail:
>Unformatted:



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