Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2013 22:28:08 GMT
From:      Geraud CONTINSOUZAS <geraud@gcu.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179470: [PATCH] www/p5-Router-Simple attempts to dirrm non-empty directories
Message-ID:  <201306102228.r5AMS8TN066987@oldred.freebsd.org>
Resent-Message-ID: <201306102230.r5AMU0IM033926@freefall.freebsd.org>

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

>Number:         179470
>Category:       ports
>Synopsis:       [PATCH] www/p5-Router-Simple attempts to dirrm non-empty directories
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 10 22:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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