From owner-freebsd-current@FreeBSD.ORG Sun Apr 11 02:03:29 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3CA4106566B; Sun, 11 Apr 2010 02:03:28 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 5211B8FC14; Sun, 11 Apr 2010 02:03:27 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so570288fgb.13 for ; Sat, 10 Apr 2010 19:03:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=huDah91mX7x8KVGxwigwCtoMNySymqw1GoltjGh6sYY=; b=pPNecEuIA1J8NVJKO4UJ68VsNkG9XEeR30hcFK0Vy3DG1pDRBXjXGSTpUtfoyiikaU SD16lCbPtKZfRB4aP90D11MJw5z0tfwtq8fpW4yS3P8MM4kwk8ZIVK2tjH2vHLb3nefj ouI8lZzZ4jywrsbKH5aAg+aEet8OB6uDWujbc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tPIRJrz1+H91PbfaA6iuMVTVGxiGFoktcn7aynVn7AB6u9Ib+iQTEH0mqPwBUgnhWp ZVTsm1TNh9DtV92yzAgESyyFBcBtIkqwzlDrBhvHCbN7E4JePOXjibLwUzqjA23erHW5 Jq7xMSLUfDoKEdt7/jjL1tq+kg+LCQcRMHE4k= MIME-Version: 1.0 Received: by 10.239.180.11 with HTTP; Sat, 10 Apr 2010 18:40:05 -0700 (PDT) In-Reply-To: <20100410234700.GG6166@lonesome.com> References: <4BBFD502.1010507@elischer.org> <20100410234700.GG6166@lonesome.com> Date: Sat, 10 Apr 2010 21:40:05 -0400 Received: by 10.239.132.5 with SMTP id 5mr153595hbp.137.1270950005339; Sat, 10 Apr 2010 18:40:05 -0700 (PDT) Message-ID: From: Mehmet Erol Sanliturk To: Mark Linimon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org, Julian Elischer , FreeBSD Current Subject: Re: ports and PBIs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2010 02:03:29 -0000 On Sat, Apr 10, 2010 at 7:47 PM, Mark Linimon wrote: > not to be a troll but ... > > ... for those that want the ease-of-use of PBIs, why not just use PC-BSD > in the first place? They seem to have their own QA process in place in > terms of keeping the various large applications at a sane level. > > Kernel development could (just like it is on the Macs) be done in some > kind of virtualization context. > > My own experience with helping people who try to run FreeBSD-CURRENT with > an up-to-date ports tree is that there are far too many moving parts for > it to be dependable. (For more on how often ports get broken by changes > in -CURRENT, see http://wiki.freebsd.org/PortsBrokenOnCurrent. Note that > that list is not complete.) > > mcl > I have tried PC-BSD . I think it has an important draw back : Its theme is changing its colour cyclically . Any person having chronic illness Vertigo can not endure such continuous colour change . I could not find any place to stop that colour cycling other than to remove PC-BSD and install another operating systems onto its hard disk . In FreeBSD ports system , for me , problem is not the current port system . My idea is to have additional information about ports . For example , when a package is desired to be added by pkg_add , it is downloading the requested package , decompressing it , and saying that it is already installed , and it is not necessary to install it . Instead of this , the following structure ( a more proper one may be suggested , this is only an idea ) may be useful : In the ports , instead of using short names , use after a certain character a signature name of the port : As an example : kde4.version.signature.tbz . In installed systems , always install in directories having that name with signature . When an install is attempted , again use pkg_add kde4 for easiness , not its long name , or kde4.version to select a specified version . pkg_add should compute the signature of the installed port kde4, and check its value to installed signature name . If they are different , the port is destroyed ( install it unconditionally ) , otherwise proper . pkg_add should check port kde4... in ports . If their signatures are the same , it is not necessary to download and install it . For the dependencies , with a port kde4.....tbz , maintain a kde4.....xml listing all the dependencies , in which they may be inspected recursively ( Such lists are displayed in ports related web pages in www.freebsd.org ) . By checking all the related xml files and installed ports in a system , it will be possible to decide installation possibility of a port attempted to be installed without downloading actual port files . In a directory in the system , maintain a subdirectory of ports : Failed_Builds . Into this directory , store names of the packages which failed during building . When a package is attempted to be build , for itself and its dependencies , check that Failed_Builds directory for matching names . If there exists any one of them , do not start to build , because it will not be successfully completed . ( Entries from that directory may be deleted manually to allow build tries , and successful build may check this directory to remove matching entries if it is present . ) This Failed_Builds list is important , because when that information is not used , the same failed build is attempted many times for an install of some packages . Personally , I am not against an additionally available PBI directory in ports tree . Some users may prefer to use them although some packages will be repeatedly stored in different PBI packages and will be downloaded for each of them . Thank you very much . Mehmet Erol Sanliturk