ports/171423: [PATCH] net/istgt: fix dirrm of etc subdirectory

Dmitry Marakasov amdmi3 at amdmi3.ru
Fri Sep 7 20:40:03 UTC 2012


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



More information about the freebsd-ports-bugs mailing list