Bug 88731 - [update] emulators/linux_base-8: tiny fix for pkg-plist
Summary: [update] emulators/linux_base-8: tiny fix for pkg-plist
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-09 14:50 UTC by Boris B.Samorodov
Modified: 2005-11-11 20:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris B.Samorodov 2005-11-09 14:50:16 UTC
	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?)

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



WBR
-- 
bsam--WBYfu6kN4pMJYlUsA29ibRSTVDV82pooiJ2JbwhnOfAMyQ95
Content-Type: text/plain; name="linux_base.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="linux_base.patch"

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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-11-09 14:54:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-emulation

Over to maintainer
Comment 2 Alexander Leidinger freebsd_committer freebsd_triage 2005-11-11 20:04:50 UTC
State Changed
From-To: open->closed

Committet. Thank you.
Comment 3 Alexander Leidinger freebsd_committer freebsd_triage 2005-11-11 20:04:50 UTC
State Changed
From-To: open->closed

Committet. Thank you.