From owner-freebsd-stable@FreeBSD.ORG Tue Sep 2 13:23:46 2014 Return-Path: Delivered-To: freebsd-stable@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 ESMTPS id 5C43D78A for ; Tue, 2 Sep 2014 13:23:46 +0000 (UTC) Received: from dec.sakura.ne.jp (dec.sakura.ne.jp [210.188.226.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB824158F for ; Tue, 2 Sep 2014 13:23:45 +0000 (UTC) Received: from fortune.joker.local (180-198-225-68.nagoya1.commufa.jp [180.198.225.68]) (authenticated bits=0) by dec.sakura.ne.jp (8.14.3/8.14.2/[SAKURA-WEB]/20080708) with ESMTP id s82CVIbW002419 for ; Tue, 2 Sep 2014 21:31:18 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Tue, 2 Sep 2014 21:31:18 +0900 From: Tomoaki AOKI To: freebsd-stable@freebsd.org Subject: Re: [HEADSUP] pkg(8) is now the only package management tool Message-Id: <20140902213118.9115bada29ee27f2466fb938@dec.sakura.ne.jp> In-Reply-To: <54052981.7010502@freebsd.org> References: <20140901195520.GB77917@ivaldir.etoilebsd.net> <54050D07.4010404@sorbs.net> <54052981.7010502@freebsd.org> Organization: Junchoon corps X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 13:23:46 -0000 You can generate old style (pkg_* style) database by pkg convert -r -d somewhere_you_like at least pkg-1.3.7 for now. ;-) The default output directory is /var/db/pkg. Are they insufficient for your purpose (your tool)? But please beware. The data generated by pkg are POSSIBLY NOT 100% match the ones generated by pkg_add, as they are generated from existing pkg database (by default: /var/db/pkg/local.sqlite). Regards. On Mon, 01 Sep 2014 19:20:49 -0700 Julian Elischer wrote: > On 9/1/14, 6:39 PM, Sam Fourman Jr. wrote: > >> And for the portsnap users? > >> > >> > > In short, this change doesn't directly effect portsnap users. > > > > Portsnap is a tool that used to obtain a copy of the ports tree. > > > > Portsnap is only one way, another way to get a copy of the ports tree is by > > using subversion and checking it out by using the svn command. > > > > pkg(8) is a package management tool, and to make use of most packages > > having a copy of the ports tree is not required. > But it is if you don't want the options that a pkg is built with. > We need to do a lot of pkg munging for that reason, generating > our own versions (which is ok, that's not a complaint, just a fact of > life). > > I've warmed to pkg after using it a bit, and many of its initial > shortcomings have been fixed. > But one thing I'd like to request (a very minor thing).. > Could the packing list have some newlines inserted into it to make it > more humanly readable? Our old tools for auditing and controlling (old > style) packages would print out that information. > The new tools we need to write will need to do similar. > We did an experiment at work here and wrote a small script that parsed > it and then rewrote it back to the package with newlines added and > pkg handled it just fine, so it should be a very minor thing to add > some newlines when generating it in the first place. > I don't think anything else needs to be changed. > > > >> > >> -- > >> Michelle Sullivan > >> http://www.mhix.org/ > >> > >> _______________________________________________ > >> freebsd-ports@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports > >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > >> > > > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- 青木 知明 [Tomoaki AOKI] junchoon@dec.sakura.ne.jp MXE02273@nifty.com