From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 30 16:25:49 2013 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C11486BC; Fri, 30 Aug 2013 16:25:49 +0000 (UTC) (envelope-from joeb1@a1poweruser.com) Received: from mailch-2.name-services.com (mailch-2.name-services.com [98.124.252.184]) by mx1.freebsd.org (Postfix) with ESMTP id 9A4EE2084; Fri, 30 Aug 2013 16:25:49 +0000 (UTC) Received: from mailch.name-services.com (localhost [127.0.0.1]) by mailch.name-services.com (Postfix) with SMTP id C534D62D79C; Fri, 30 Aug 2013 09:25:45 -0700 (PDT) X-Sender-Id: 173.88.219.204 Received: from mail-24.name-services.com (sjl0vwsmail09.prod.dm.local [10.7.17.59]) by 0.0.0.0:2500 (trex/4.8.23); Fri, 30 Aug 2013 16:25:45 GMT X-Pool-Id: 3 Received: from laptop (cpe-173-88-219-204.neo.res.rr.com [173.88.219.204]) by mail-24.name-services.com with SMTP; Fri, 30 Aug 2013 09:25:39 -0700 From: "joeb1" To: , , Subject: RE: ports/180773: [Maintainer update] sysutils/qjail Bug fix. Date: Fri, 30 Aug 2013 12:25:38 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: joeb1@a1poweruser.com List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 16:25:49 -0000 Pawel Thanks for committing my port. The svn change log looks great, but some thing is very wrong. I had qjail-3.1 installed on my system and after doing portsnap to get qjail-3.2 I did a 'make install' on it and the check to see if qjail was already installed did not happen. Pkg_info shows both qjail-3.1 and qjail-3.2 are installed. This is an error. This should not happen. The install of the new port qjail-3.2 should have found qjail-3.1 was already installed and the make install should have terminated. I have a development box running 9.1 which has a ports tree which is 3 months old. This behavior does not happen there. There have been some updates to the base ports environment which now causes the check for port already installed to be ignored. Can you look into this problem or should I submit a bug report? I also see you removed the "post-fetch" messages and the port update-instruction file. The reason I set up the makefiles as I submitted them is because of major internal differences between qjail2, qjail-3.0, qjail-3.1 that causes major incompatibilities. The fact is Jails have to run the same version of the operating system as the host and as such have the same ports requirement as the host. IE: when crossing FreeBSD major version boundaries 8.2 to 9.1, ports have to be updated, and when the host operating system updates are within the same sub-version 8.0 to 8.1 the ports do not have to be updated. The ports in a jail are also effected by this same requirement, IE; all the existing jails have to be recreated and populated with the desired ports just like the host does. By design qjail is intended to only be updated to the current version when the host update crosses a major version of FreeBSD, say from 8.2 to 9.0, when going from 8.0 to 8.1 they should stay at the same version of qjail so they don't have to recreate all there jails under the new version of qjail. I have tried to configure the qjail make files in such a way as to stop the user from ending up with jails he has no control over because he updated his version of the qjail port. To achieve that goal in the simplest manner I created the port make files I submitted. It performs this way, When 'make install' finds qjail is already installed the "post-fetch" messages have already been displayed so the user will have access to the update-instruction file that is included in the port make files. This way he will learn he has to rename the qjail script before continuing. If the user is installing the package version the "post-fetch" messages have been dropped from the package but the pkg-message is shown that points him to the update instruction file that is contained with the installed port. Please remove your changes to the make files and use the one I submitted as it works the way I intended. If doing so breaks some port rules please open a dialog with me so we can talk things over. Thanks Joe