Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2008 17:47:47 GMT
From:      Dmitriy Kirhlarov <dimma@higis.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121836: [PATCH] sysutils/ezjail: amd64 install problem
Message-ID:  <200803181747.m2IHllDg087483@www.freebsd.org>
Resent-Message-ID: <200803181750.m2IHo1BG097637@freefall.freebsd.org>

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

>Number:         121836
>Category:       ports
>Synopsis:       [PATCH] sysutils/ezjail: amd64 install problem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 18 17:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitriy Kirhlarov
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
vega
>Environment:
FreeBSD dimma.masterhost.ru 6.3-STABLE FreeBSD 6.3-STABLE #9: Wed Feb 27 19:18:48 MSK 2008

>Description:
usr/lib32 doesn't installed

>How-To-Repeat:
run:
ezjail-admin install

basejail/usr doesn't containt lib32 directory
>Fix:


Patch attached with submission follows:

--- ezjail-2.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/ezjail/files/patch-ezjail-admin /usr/home/dkirhlarov/work/ports/sysutils/ezjail/files/patch-ezjail-admin
--- /usr/ports/sysutils/ezjail/files/patch-ezjail-admin	1970-01-01 03:00:00.000000000 +0300
+++ /usr/home/dkirhlarov/work/ports/sysutils/ezjail/files/patch-ezjail-admin	2008-03-18 20:36:49.000000000 +0300
@@ -0,0 +1,12 @@
+--- ezjail-admin.orig	2008-03-05 15:53:21.000000000 +0300
++++ ezjail-admin	2008-03-05 17:08:28.000000000 +0300
+@@ -590,7 +590,8 @@
+   DESTDIR=${ezjail_jailfull}
+ 
+   rm -rf ${ezjail_jailtemp}
+-  for pkg in base ${ezjail_installmanpages} ${ezjail_installsources}; do
++  [ "`uname -p`" = "amd64" ] && _pkg_list="base lib32" || _pkg_list="base"
++  for pkg in ${_pkg_list} ${ezjail_installmanpages} ${ezjail_installsources}; do
+ 
+     # The first case means, that a remote host has been specified.
+     if [ "${ezjail_dir}" = "${ezjail_ftphost}" ]; then
--- ezjail-2.1.patch ends here ---



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



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