From owner-freebsd-stable@FreeBSD.ORG Fri Aug 17 09:42:40 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93098106566B for ; Fri, 17 Aug 2012 09:42:40 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3CA178FC12 for ; Fri, 17 Aug 2012 09:42:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; d=embarqmail.com; s=s012408; c=relaxed/simple; q=dns/txt; i=@embarqmail.com; t=1345195353; h=From:Subject:Date:To:Mime-Version:Content-Type; bh=v0MNWvWRkWVgt07rizZLyMdvqZY=; b=IHAavL2/9+3BpyvpoL0narwc8KVP1HML4L/wqe944ExcPmhTuG9raLQXhnVq981e RLDvaZVUu0HEGU48CgDgQvJMTPY9LiLxNCn0+JaEuCGWte/MeTwS4O8oX5ryu72M; X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=E4JPVNhl c=1 sm=0 a=Ox2yDYyBu3Pdez2sjuIefw==:17 a=fV4xQn8aG1cA:10 a=1poGYrevpj8A:10 a=kj9zAlcOel0A:10 a=f_rBqEVidLgA:10 a=1oqGTYSLAAAA:8 a=pGLkceISAAAA:8 a=fA_PuPstAAAA:8 a=7Dw7ozE-t28SgoN0LGsA:9 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 a=2Ar7-VhXjRkA:10 a=Ox2yDYyBu3Pdez2sjuIefw==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.embarq.synacor.com smtp.user=rpratt1950@embarqmail.com; auth=pass (LOGIN) Received: from [74.4.87.190] ([74.4.87.190:50070] helo=tv.weeeble.com) by mailrelay.embarq.synacor.com (envelope-from ) (ecelerity 2.2.3.47 r(39797/39798)) with ESMTPA id A4/28-17989-85D0E205; Fri, 17 Aug 2012 05:22:33 -0400 Date: Fri, 17 Aug 2012 05:22:31 -0400 From: Randy Pratt To: Kimmo Paasiala Message-Id: <20120817052231.e8d319c9.bsd-unix@embarqmail.com> In-Reply-To: References: X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd6.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-ports@freebsd.org, Michael Schnell Subject: Re: Get ports tree of the current pkgng repository X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2012 09:42:40 -0000 On Fri, 17 Aug 2012 06:25:36 +0300 Kimmo Paasiala wrote: > On Thu, Aug 16, 2012 at 10:56 PM, Michael Schnell wrote: > > Hi, > > I don't know if this came up already, but not as far as I know. So, I > > was thinking it would be nice to add a mechanism to pkgng, which enables > > the user to get the ports tree corresponding to the current repository. > > > > At least I've the problem that I really like the idea of the pkgng > > system, but I need a few custom build packages. For instance rawtherapee > > is not working for me with OpenMP, so I have to disable it to get it > > working, or I made some patches for openbox, which of course then needs > > to be compiled. In order to get not in conflict with a more recent > > ports tree the exact version of the repository build would be nice. > > > > At the moment I can think of two ways to implement it. The easiest way > > would be to add the ports tree as a packages into the repository. A more > > complicated thing is to add a mechanism to portsnap synchronised with > > the pkgng system to direct fetch it, or at least a revision number of > > the current repo, so you can check it out of the subversion. > > > > How do you guys feel about this? > > > > > > Greetings > > Michael > > > > Why not just include the SVN revision of the ports tree that was used > to create the packages in the package metadata? I asked this same question about syncronizing the ports tree with CVS a long time ago. At the time it seemed that manual tweaking was done to get the packages built so there was no actual tree that matched the package repository. I hope this is no longer the case since mixing ports and packages is likely to cause some mismatch eventually if there is no syncronization. I quit using packages because of this over ten years ago. I'd like to see a way to easily be able to mix building ports and using packages without problems. Randy