From nobody@FreeBSD.org  Mon Jun 10 22:28:08 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id DA625917
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Jun 2013 22:28:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id CC81B179A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Jun 2013 22:28:08 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5AMS8kN066988
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Jun 2013 22:28:08 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5AMS8TN066987;
	Mon, 10 Jun 2013 22:28:08 GMT
	(envelope-from nobody)
Message-Id: <201306102228.r5AMS8TN066987@oldred.freebsd.org>
Date: Mon, 10 Jun 2013 22:28:08 GMT
From: Geraud CONTINSOUZAS <geraud@gcu.info>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] www/p5-Router-Simple attempts to dirrm non-empty directories
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         179470
>Category:       ports
>Synopsis:       [PATCH] www/p5-Router-Simple attempts to dirrm non-empty directories
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sunpoet
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 10 22:30:00 UTC 2013
>Closed-Date:    Thu Jun 13 11:59:13 UTC 2013
>Last-Modified:  Thu Jun 13 12:00:01 UTC 2013
>Originator:     Geraud CONTINSOUZAS
>Release:        FreeBSD 8.3-STABLE
>Organization:
>Environment:
>Description:
In ports/173546 I hinted that I wanted to add a new port that would install in %%SITE_PERL%%/Router/Simple and requested that the 'dirrm' be replaced by a 'dirrmtry' to no avail.

Somebody beat me to it, and www/p5-Router-Simple-Sinatraish is now in the tree and p5-Router-Simple will attempt to remove a directory that may not be empty.
>How-To-Repeat:
install p5-Router-Simple, p5-Router-Simple-Sinatraish. Try to reinstall p5-Router-Simple.
>Fix:
See attached patch.

Patch attached with submission follows:

--- www/p5-Router-Simple/pkg-plist.orig	2012-12-06 07:55:48.000000000 +1100
+++ www/p5-Router-Simple/pkg-plist	2012-12-06 08:01:19.000000000 +1100
@@ -3,5 +3,5 @@
 %%SITE_PERL%%/Router/Simple/Declare.pm
 %%SITE_PERL%%/Router/Simple/Route.pm
 %%SITE_PERL%%/Router/Simple/SubMapper.pm
-@dirrm %%SITE_PERL%%/Router/Simple
+@dirrmtry %%SITE_PERL%%/Router/Simple
 @dirrmtry %%SITE_PERL%%/Router


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sunpoet 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jun 10 22:30:13 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179470 
State-Changed-From-To: open->closed 
State-Changed-By: sunpoet 
State-Changed-When: Thu Jun 13 11:59:11 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179470: commit references a PR
Date: Thu, 13 Jun 2013 11:53:56 +0000 (UTC)

 Author: sunpoet
 Date: Thu Jun 13 11:52:44 2013
 New Revision: 320781
 URL: http://svnweb.freebsd.org/changeset/ports/320781
 
 Log:
   - Fix PLIST: use @dirrmtry for %%SITE_PERL%%/Router/Simple (shared with www/p5-Router-Simple-Sinatraish)
   
   PR:		ports/179470
   Submitted by:	Geraud CONTINSOUZAS <geraud@gcu.info>
 
 Modified:
   head/www/p5-Router-Simple/pkg-plist
 
 Modified: head/www/p5-Router-Simple/pkg-plist
 ==============================================================================
 --- head/www/p5-Router-Simple/pkg-plist	Thu Jun 13 11:52:40 2013	(r320780)
 +++ head/www/p5-Router-Simple/pkg-plist	Thu Jun 13 11:52:44 2013	(r320781)
 @@ -3,5 +3,5 @@
  %%SITE_PERL%%/Router/Simple/Declare.pm
  %%SITE_PERL%%/Router/Simple/Route.pm
  %%SITE_PERL%%/Router/Simple/SubMapper.pm
 -@dirrm %%SITE_PERL%%/Router/Simple
 +@dirrmtry %%SITE_PERL%%/Router/Simple
  @dirrmtry %%SITE_PERL%%/Router
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
