ports/179470: [PATCH] www/p5-Router-Simple attempts to dirrm non-empty directories

Geraud CONTINSOUZAS geraud at gcu.info
Mon Jun 10 22:30:01 UTC 2013


>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
- at dirrm %%SITE_PERL%%/Router/Simple
+ at dirrmtry %%SITE_PERL%%/Router/Simple
 @dirrmtry %%SITE_PERL%%/Router


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list