Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2005 17:41:33 +0300 (MSK)
From:      "Boris B. Samorodov" <bsam@ipt.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88731: [update] emulators/linux_base-8: tiny fix for pkg-plist
Message-ID:  <200511091441.jA9EfXub056831@mi.ipt.ru>
Resent-Message-ID: <200511091450.jA9EoHwS065138@freefall.freebsd.org>

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

>Number:         88731
>Category:       ports
>Synopsis:       [update] emulators/linux_base-8: tiny fix for pkg-plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 09 14:50:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Boris B. Samorodov
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
InPharmTech, Co. http://www.ipt.ru
>Environment:
System: FreeBSD mi.ipt.ru 6.0-STABLE FreeBSD 6.0-STABLE #0: Wed Nov 2 17:58:38 MSK 2005 bsam@mi.ipt.ru:/usr/obj/usr/src/sys/PROBA1 i386


>Description:
	When installed as a package, two (empty) directories are missing:
	# pkg_add /usr/ports/packages/All/linux_base-8-8.0_8.tbz
	# pkg_delete linux_base-8-8.0_8

	pkg_delete: file '/compat/linux/usr/lib/bash' doesn't exist
	pkg_delete: unable to completely remove directory '/compat/linux/usr/lib/bash'
	pkg_delete: file '/compat/linux/proc' doesn't exist
	pkg_delete: unable to completely remove directory '/compat/linux/proc'
	pkg_delete: couldn't entirely delete package (perhaps the packing list is
	incorrectly specified?)
>How-To-Repeat:
>Fix:

	The patch should be applied to the port:
	# cd /usr/ports/emulators
	# patch -p0 < _the_patch_

--- linux_base.patch begins here ---
diff -ruN linux_base-8.orig/Makefile linux_base-8/Makefile
--- linux_base-8.orig/Makefile	Wed Nov  9 17:08:03 2005
+++ linux_base-8/Makefile	Wed Nov  9 17:16:16 2005
@@ -8,7 +8,7 @@
 
 PORTNAME=		linux_base-8
 PORTVERSION=		8.0
-PORTREVISION=		8
+PORTREVISION=		9
 CATEGORIES=		emulators linux
 MASTER_SITES=		${MASTER_SITE_REDHAT_LINUX} \
 			${MASTER_SITE_REDHAT_LINUX:S/$/:new/} \
diff -ruN linux_base-8.orig/pkg-plist linux_base-8/pkg-plist
--- linux_base-8.orig/pkg-plist	Wed Nov  9 17:08:03 2005
+++ linux_base-8/pkg-plist	Wed Nov  9 17:16:02 2005
@@ -10126,6 +10126,7 @@
 @dirrm usr/lib/gcc-lib
 @exec /bin/mkdir -p %D/usr/lib/games
 @dirrm usr/lib/games
+@exec /bin/mkdir -p %D/usr/lib/bash
 @dirrm usr/lib/bash
 @dirrm usr/lib
 @dirrm usr/include
@@ -10149,6 +10150,7 @@
 @dirrm usr/X11R6
 @dirrm usr
 @dirrm sbin
+@exec /bin/mkdir -p %D/proc
 @dirrm proc
 @exec /bin/mkdir -p %D/opt
 @dirrm opt
--- linux_base.patch ends here ---

WBR
-- 
bsam

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



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