Skip site navigation (1)Skip section navigation (2)
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:   ports/171423: [PATCH] net/istgt: fix dirrm of etc subdirectory
Message-ID:  <20120907203010.0F4C99F0@hades.panopticon>
Resent-Message-ID: <201209072040.q87Ke2Gd024390@freefall.freebsd.org>

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

>Number:         171423
>Category:       ports
>Synopsis:       [PATCH] net/istgt: fix dirrm of etc subdirectory
>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:   Fri Sep 07 20:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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