From amdmi3@amdmi3.ru  Fri Sep  7 20:30:18 2012
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 81E33106564A
	for <freebsd-gnats-submit@freebsd.org>; Fri,  7 Sep 2012 20:30:18 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15])
	by mx1.freebsd.org (Postfix) with ESMTP id 385978FC14
	for <freebsd-gnats-submit@freebsd.org>; Fri,  7 Sep 2012 20:30:18 +0000 (UTC)
Received: from [213.148.20.85] (helo=hive.panopticon)
	by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256)
	(Exim 4.76)
	(envelope-from <amdmi3@amdmi3.ru>)
	id 1TA5Bq-00079P-Bu; Sat, 08 Sep 2012 00:30:10 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
	by hive.panopticon (Postfix) with ESMTP id 18E76B867;
	Sat,  8 Sep 2012 00:30:10 +0400 (MSK)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 0F4C99F0; Sat,  8 Sep 2012 00:30:10 +0400 (MSK)
Message-Id: <20120907203010.0F4C99F0@hades.panopticon>
Date: Sat,  8 Sep 2012 00:30:10 +0400 (MSK)
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: aoyama@peach.ne.jp
Subject: [PATCH] net/istgt: fix dirrm of etc subdirectory
X-Send-Pr-Version: 3.113
X-GNATS-Notify: aoyama@peach.ne.jp

>Number:         171423
>Category:       ports
>Synopsis:       [PATCH] net/istgt: fix dirrm of etc subdirectory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bdrewery
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 07 20:40:01 UTC 2012
>Closed-Date:    Fri Sep 07 23:51:25 UTC 2012
>Last-Modified:  Fri Sep 07 23:51:25 UTC 2012
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Wed Jun 13 17:39:20 MSK 2012
>Description:
If the user creates istgt.conf (or other configs) in %%PREFIX%%/etc/istgt and the deinstalls istgt, an error will be given on being unable to remove non-empty directory %%PREFIX%%/etc/istgt.
To fix that, use silent dirrmtry instead of dirrm, as other ports with user-modifiable configs do. 

Port maintainer (aoyama@peach.ne.jp) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- istgt-20120901.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/istgt/Makefile ./Makefile
--- /usr/ports/net/istgt/Makefile	2012-09-03 23:27:45.000000000 +0400
+++ ./Makefile	2012-09-08 00:18:28.556753529 +0400
@@ -2,7 +2,7 @@
 # Date created:		2009-02-23
 # Whom:			Daisuke Aoyama <aoyama@peach.ne.jp>
 #
-# $FreeBSD: ports/net/istgt/Makefile,v 1.35 2012/09/03 19:27:45 cs Exp $
+# $FreeBSD: head/net/istgt/Makefile 303614 2012-09-03 19:27:45Z cs $
 #
 
 PORTNAME=	istgt
@@ -28,7 +28,7 @@
 		%%ETCDIR%%/istgt.conf.sample \
 		%%ETCDIR%%/istgt.large.conf.sample \
 		%%ETCDIR%%/istgtcontrol.conf.sample
-PLIST_DIRS=	%%ETCDIR%%
+PLIST_DIRSTRY=	%%ETCDIR%%
 PORTDOCS=	${DOCS:T}
 
 DOCS=		ChangeLog.jp README doc/QUICKSTART doc/QUICKSTART.jp
--- istgt-20120901.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Sep 7 20:40:18 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171423 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: aoyama@peach.ne.jp
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/171423: [PATCH] net/istgt: fix dirrm of etc subdirectory
Date: Fri, 7 Sep 2012 20:40:11 UT

 Maintainer of net/istgt,
 
 Please note that PR ports/171423 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/171423
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: "Daisuke Aoyama" <aoyama@peach.ne.jp>
To: <bug-followup@FreeBSD.org>
Cc: <bug-followup@FreeBSD.org>
Subject: Re: ports/171423: [PATCH] net/istgt: fix dirrm of etc subdirectory
Date: Sat, 8 Sep 2012 06:43:25 +0900

 > The full text of the PR can be found at:
 >    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/171423
 
 I confirmed that this patch worked as expected.
 
 -- 
 Daisuke Aoyama
  
Responsible-Changed-From-To: freebsd-ports-bugs->bdrewery 
Responsible-Changed-By: bdrewery 
Responsible-Changed-When: Fri Sep 7 22:49:41 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171423 
State-Changed-From-To: feedback->closed 
State-Changed-By: bdrewery 
State-Changed-When: Fri Sep 7 23:51:22 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171423 
>Unformatted:
