ports/187982: [PATCH] sysutils/vagrant - fix orphan directories

Joseph Benden joe at thrallingpenguin.com
Wed Mar 26 20:00:01 UTC 2014


>Number:         187982
>Category:       ports
>Synopsis:       [PATCH] sysutils/vagrant - fix orphan directories
>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:   Wed Mar 26 20:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Benden
>Release:        FreeBSD 11
>Organization:
>Environment:
FreeBSD freebsd-11 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r262966: Sun Mar  9 19:35:40 MST 2014     root at freebsd-11:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The attached patch causes Poudriere to cleanly build (technically uninstall) Vagrant.
>How-To-Repeat:
Build sysutils/vagrant inside Poudriere.
>Fix:


Patch attached with submission follows:

Index: pkg-plist
===================================================================
--- pkg-plist	(revision 348738)
+++ pkg-plist	(working copy)
@@ -969,3 +969,11 @@
 @dirrm %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/contrib
 @dirrm %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/bin
 @dirrm %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%
+ at unexec rmdir %D/%%GEMS_DIR%%/doc 2>/dev/null || true
+ at unexec rmdir %D/lib/ruby/gems/%%RUBY_VER%% 2>/dev/null || true
+ at unexec rmdir %D/lib/ruby/gems 2>/dev/null || true
+ at unexec rmdir %D/lib/ruby 2>/dev/null || true
+ at unexec rmdir %D/%%GEMS_DIR%%/specifications 2>/dev/null || true
+ at unexec rmdir %D/%%GEMS_DIR%%/gems 2>/dev/null || true
+ at unexec rmdir %D/%%GEMS_DIR%%/cache 2>/dev/null || true
+


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


More information about the freebsd-ports-bugs mailing list