Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 19:56:25 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187982: [PATCH] sysutils/vagrant - fix orphan directories
Message-ID:  <201403261956.s2QJuP3Y022000@cgiserv.freebsd.org>
Resent-Message-ID: <201403262000.s2QK00pw036493@freefall.freebsd.org>

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

>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@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%%
+@unexec rmdir %D/%%GEMS_DIR%%/doc 2>/dev/null || true
+@unexec rmdir %D/lib/ruby/gems/%%RUBY_VER%% 2>/dev/null || true
+@unexec rmdir %D/lib/ruby/gems 2>/dev/null || true
+@unexec rmdir %D/lib/ruby 2>/dev/null || true
+@unexec rmdir %D/%%GEMS_DIR%%/specifications 2>/dev/null || true
+@unexec rmdir %D/%%GEMS_DIR%%/gems 2>/dev/null || true
+@unexec rmdir %D/%%GEMS_DIR%%/cache 2>/dev/null || true
+


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



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