From owner-freebsd-binup Sun Jan 13 20:34:25 2002 Delivered-To: freebsd-binup@freebsd.org Received: from groovie.org (adsl-64-170-152-89.dsl.sntc01.pacbell.net [64.170.152.89]) by hub.freebsd.org (Postfix) with ESMTP id 28EBA37B405; Sun, 13 Jan 2002 20:34:21 -0800 (PST) Received: from skyline by groovie.org with local (Exim 3.34 #2) id 16Pyp1-000Nvj-00; Sun, 13 Jan 2002 20:34:11 -0800 Date: Sun, 13 Jan 2002 20:34:11 -0800 From: Philip Jenvey To: Paul Richards , Eric Melville , binup@FreeBSD.org Cc: Josef Karthauser Subject: Rewrite of pkg_* tools. (was: Re: pkg api status) Message-ID: <20020113203411.A63612@groovie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-binup@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG FYI. ----- Forwarded message from Jeremy Lea ----- From: Jeremy Lea To: op-tech@openpackages.org Subject: Rewrite of pkg_* tools. User-Agent: Mutt/1.2.5i Date: Sun, 13 Jan 2002 10:51:47 +0200 Hi, I was asked to forward this message here. It comes from a thread on one of the FreeBSD mailing lists regarding the portupgrade utility. I've just put a new version of my code at http://people.freebsd.org/~reg/. This time it's a tarball and not a patch, since the patch is bigger than the code... Regards, -Jeremy ----- Forwarded message from Jeremy Lea ----- From: Jeremy Lea To: Andrew J Caines Cc: Pat Wendorf , Nuno Teixeira , stable@FreeBSD.ORG Subject: Re: Portupgrade Utility Date: Sat, 12 Jan 2002 21:24:31 +0200 User-Agent: Mutt/1.2.5i In-Reply-To: <20020112151622.H40697@hal9000.halplant.com>; from A.J.Caines@halplant.com on Sat, Jan 12, 2002 at 03:16:22PM -0500 List-ID: Hi, On Sat, Jan 12, 2002 at 03:16:22PM -0500, Andrew J Caines wrote: > Pat, > > > Anyone thought of re-coding it in perl? I know little about either > > language, so I applogize if this sounds stupid. > > While the dependencies would be a big issue affecting consideration of > making a tool part of the base system, in this case we are talking about a > tool for the ports system only. > > It would make little sense to put it in the base system even if it had no > dependencies. -stable is the wrong list for this. -ports would be better. I began coding this functionality into the pkg_* tools some time ago, along with some other enhancements. At the time no one was interested. This was before portupgrade was written. The two people with the greatest interest in the pkg_* tools are Jordan (jkh), who's backing libh as a replacement, and Maxim (sobomax). I don't know if either of them ever looked at my patches. See http://people.freebsd.org/~reg/ As to incoroporation into the base system: if the code was in C, or perl it would be incorporated. Package management is an integral part of the FreeBSD base system, because without it we would have to add everything to the base system. Since no one was interested, I lost interest. Then I lost to real life... I've still got a working copy on my development box, and I'd be willing to supply it on my web page. Occasionally I get time to work on it. At the moment I'm more likely to contribute the finished product to OpenPackages.org. My next target is to add pkgdb functionallity (which is already in C), because my code can use a lot of cycles doing this the hard way. Then actually make the upgrade functionallity work. After that, changes from the last year or so need to be merged, and then any useful features from portupgrade, NetBSD and OpenBSD. I would love contributions from anyone else. I've been very careful to actually design my code, and tried to comment it... Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message ----- End forwarded message ----- -- | If I was not so weak, if I was not so cold, --+-- If I was not so scared of being broken, growing old, | I would be. I would be... frail. | - jars of clay / much afraid / frail _______________________________________________ op-tech@openpackages.org http://openpackages.org/mailman/listinfo/op-tech ----- End forwarded message ----- -- -- Philip Jenvey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-binup" in the body of the message From owner-freebsd-binup Mon Jan 14 7:19:11 2002 Delivered-To: freebsd-binup@freebsd.org Received: from mao.stokely.org (mao.stokely.org [65.84.64.228]) by hub.freebsd.org (Postfix) with ESMTP id 7AAEC37B402; Mon, 14 Jan 2002 07:19:07 -0800 (PST) Received: by mao.stokely.org (Postfix, from userid 2074) id 2EC104B65D; Mon, 14 Jan 2002 07:19:05 -0800 (PST) Date: Mon, 14 Jan 2002 07:19:05 -0800 From: Murray Stokely To: Maxim Sobolev Cc: Steve Price , Murray Stokely , portmgr@FreeBSD.org, re-x86@FreeBSD.org, binup@FreeBSD.org Subject: Re: RC2 - Saturday? Message-ID: <20020114071905.K27556@windriver.com> References: <20020109223847.P15454@windriver.com> <20020112035210.P22273@windriver.com> <20020112125908.K816@bsd.havk.org> <20020112142950.O73815@squall.waterspout.com> <20020112141029.M816@bsd.havk.org> <20020112161652.V22273@windriver.com> <20020113131341.Y816@bsd.havk.org> <20020114053946.E27556@windriver.com> <20020114090342.D816@bsd.havk.org> <3C42F55C.F16390BD@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C42F55C.F16390BD@FreeBSD.org>; from sobomax@FreeBSD.org on Mon, Jan 14, 2002 at 05:12:28PM +0200 X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D Sender: owner-freebsd-binup@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jan 14, 2002 at 05:12:28PM +0200, Maxim Sobolev wrote: > Why not use bzip2 compressed packages? This will give you extra 5-10% > (30-60MB). Everyone seems to be in favor of this, but no one has added support for sysinstall. We need a small lightweight package library that the pkg_* tools can also use. As it stands now, it's possible for the pkg_add tools to successfully manipulate a package that sysinstall claims is invalid, because the package handling code is totally different. Of course, whenever anyone opens this can of worms, they embark upon a N year quest to write the mother of all packaging systems, when all we really need is an incremental step towards a generic library until something better is completed. - Murray To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-binup" in the body of the message From owner-freebsd-binup Mon Jan 14 7:39:12 2002 Delivered-To: freebsd-binup@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id EB03837B41C; Mon, 14 Jan 2002 07:39:07 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id 3D84743E; Mon, 14 Jan 2002 15:38:58 +0000 (GMT) Date: Mon, 14 Jan 2002 15:38:58 +0000 From: Josef Karthauser To: Murray Stokely Cc: Maxim Sobolev , Steve Price , portmgr@FreeBSD.org, re-x86@FreeBSD.org, binup@FreeBSD.org Subject: Re: RC2 - Saturday? Message-ID: <20020114153858.C45893@genius.tao.org.uk> References: <20020112035210.P22273@windriver.com> <20020112125908.K816@bsd.havk.org> <20020112142950.O73815@squall.waterspout.com> <20020112141029.M816@bsd.havk.org> <20020112161652.V22273@windriver.com> <20020113131341.Y816@bsd.havk.org> <20020114053946.E27556@windriver.com> <20020114090342.D816@bsd.havk.org> <3C42F55C.F16390BD@FreeBSD.org> <20020114071905.K27556@windriver.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="69pVuxX8awAiJ7fD" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020114071905.K27556@windriver.com>; from murray@FreeBSD.org on Mon, Jan 14, 2002 at 07:19:05AM -0800 Sender: owner-freebsd-binup@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --69pVuxX8awAiJ7fD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 14, 2002 at 07:19:05AM -0800, Murray Stokely wrote: > On Mon, Jan 14, 2002 at 05:12:28PM +0200, Maxim Sobolev wrote: > > Why not use bzip2 compressed packages? This will give you extra 5-10% > > (30-60MB). >=20 > Everyone seems to be in favor of this, but no one has added support > for sysinstall. We need a small lightweight package library that the > pkg_* tools can also use. As it stands now, it's possible for the > pkg_add tools to successfully manipulate a package that sysinstall > claims is invalid, because the package handling code is totally > different. Of course, whenever anyone opens this can of worms, they > embark upon a N year quest to write the mother of all packaging > systems, when all we really need is an incremental step towards a > generic library until something better is completed. Paul Richards and I are working on a generic library, but time availability isn't as copious as we'd hoped :(. Once we have something legible in writing I'll let you know. Joe --69pVuxX8awAiJ7fD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjxC+5EACgkQXVIcjOaxUBakBACgzacM1rbJ5pU1/ZCtqcGjqqGU qysAoI6t0gsUZ0EZKa5vOGKHMdTsNQq0 =MrUI -----END PGP SIGNATURE----- --69pVuxX8awAiJ7fD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-binup" in the body of the message From owner-freebsd-binup Mon Jan 14 9:14:13 2002 Delivered-To: freebsd-binup@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 3BB9337B400; Mon, 14 Jan 2002 09:14:05 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id TAA34009; Mon, 14 Jan 2002 19:14:01 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h189.229.dialup.iptcom.net [212.9.229.189]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id TAA58019; Mon, 14 Jan 2002 19:13:47 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g0EHDF811573; Mon, 14 Jan 2002 19:13:15 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C4311D3.B097B22B@FreeBSD.org> Date: Mon, 14 Jan 2002 19:13:55 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Murray Stokely Cc: Steve Price , portmgr@FreeBSD.org, re-x86@FreeBSD.org, binup@FreeBSD.org Subject: Re: RC2 - Saturday? References: <20020109223847.P15454@windriver.com> <20020112035210.P22273@windriver.com> <20020112125908.K816@bsd.havk.org> <20020112142950.O73815@squall.waterspout.com> <20020112141029.M816@bsd.havk.org> <20020112161652.V22273@windriver.com> <20020113131341.Y816@bsd.havk.org> <20020114053946.E27556@windriver.com> <20020114090342.D816@bsd.havk.org> <3C42F55C.F16390BD@FreeBSD.org> <20020114071905.K27556@windriver.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-binup@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Murray Stokely wrote: > > On Mon, Jan 14, 2002 at 05:12:28PM +0200, Maxim Sobolev wrote: > > Why not use bzip2 compressed packages? This will give you extra 5-10% > > (30-60MB). > > Everyone seems to be in favor of this, but no one has added support > for sysinstall. We need a small lightweight package library that the > pkg_* tools can also use. As it stands now, it's possible for the > pkg_add tools to successfully manipulate a package that sysinstall > claims is invalid, because the package handling code is totally > different. Of course, whenever anyone opens this can of worms, they > embark upon a N year quest to write the mother of all packaging > systems, when all we really need is an incremental step towards a > generic library until something better is completed. Ah, I see. Anyway, following are some numbers obtained using 4.5RC2 disk1 package set: gzip compressed: 409,947,077 bytes bzip2 compressed: 373,533,755 bytes Which gives us additional 34.7MB (36,413,322 bytes) - really not a bad gain. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-binup" in the body of the message