From owner-freebsd-libh Mon Nov 26 20:59: 1 2001 Delivered-To: freebsd-libh@freebsd.org Received: from tomts7-srv.bellnexxia.net (tomts7.bellnexxia.net [209.226.175.40]) by hub.freebsd.org (Postfix) with ESMTP id 2994337B41C for ; Mon, 26 Nov 2001 20:58:55 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.177.56]) by tomts6-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011127045835.GXYU9997.tomts6-srv.bellnexxia.net@khan.anarcat.dyndns.org> for ; Mon, 26 Nov 2001 23:58:35 -0500 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id B2FC719E5 for ; Tue, 27 Nov 2001 00:01:10 -0500 (EST) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id 53C6B20ACB; Tue, 27 Nov 2001 00:00:01 -0500 (EST) Date: Tue, 27 Nov 2001 00:00:00 -0500 From: The Anarcat To: Libh Subject: package tools Message-ID: <20011127045959.GA5828@shall.anarcat.dyndns.org> Mail-Followup-To: The Anarcat , Libh Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline User-Agent: Mutt/1.3.23.2i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! I'm looking around the package stuff of libh, and it looks good! I've experimented a bit with the pkg_install, create_db and friends, basically. A few random things: 1- we should start to hardcode the db path (/var/db/hpkg?) We could keep an option to give an alternate, but at least provide a default for the clueless or lazy. :) I think we'll have to have some kind of included file that will define stuff as this path, and create the db there if not created. I'm not sure where this belongs. Probably in libsysinstall. 2- Why "SYSINSTALL/" as meta-info directory? I mean, it's a bikeshed but sysinstall is the installation program, which is not necessary related to the package facilities. Is it realistic at all to challenge that convention? Might as well change it now, if it is. I suggest a name less "accessible", something like +hpkg/ or some evil-looking name, in order for people to think twice before hacking around this. 3- I will probably start working on basic package tools implementation (pkg_*) to be complete before starting to work on a GUI. In other words, I'll be hacking on pkgtools. In other words, I'm asking for advice/permission/gotcha, etc. :) 4- Have anyone explored the problems of libh/ports system interaction? For example, how to handle @exec directives, or other @* directives from pkg_create? Anyways, can we *hope* to have a pkg_create wrapper for libh? Is it possible, using libh's format, to reimplement pkg_create? In the same vein, can we request libh's package tools to operate on or read from /usr/ports[/INDEX] like pkg_version or portupgrade does??? I guess that's enough for now. ;) A. --FL5UXtIhxfXey3p5 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 iEYEARECAAYFAjwDHc4ACgkQttcWHAnWiGdkZwCdEOmX/IE/Bt3j2vfS2tKibx1c KrIAnj3/XKrFoflQiEB+F0gHVZQTkjN1 =7Kal -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Nov 27 0:29:33 2001 Delivered-To: freebsd-libh@freebsd.org Received: from winston.freebsd.org (adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by hub.freebsd.org (Postfix) with ESMTP id 24CC937B61E for ; Tue, 27 Nov 2001 00:29:28 -0800 (PST) Received: from winston.freebsd.org (jkh@localhost [127.0.0.1]) by winston.freebsd.org (8.11.6/8.11.6) with ESMTP id fAR8TNq01824; Tue, 27 Nov 2001 00:29:23 -0800 (PST) (envelope-from jkh@winston.freebsd.org) To: The Anarcat Cc: Libh Subject: Re: package tools In-Reply-To: Message from The Anarcat of "Tue, 27 Nov 2001 00:00:00 EST." <20011127045959.GA5828@shall.anarcat.dyndns.org> Date: Tue, 27 Nov 2001 00:29:23 -0800 Message-ID: <1820.1006849763@winston.freebsd.org> From: Jordan Hubbard Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 2- Why "SYSINSTALL/" as meta-info directory? I mean, it's a bikeshed but > sysinstall is the installation program, which is not necessary related > to the package facilities. Is it realistic at all to challenge that > convention? Sure. As you say, they're separate and were probably only associated at that level for convenience or because someone was confused. > 3- I will probably start working on basic package tools implementation > (pkg_*) to be complete before starting to work on a GUI. In other words, > I'll be hacking on pkgtools. In other words, I'm asking for > advice/permission/gotcha, etc. :) Sounds like a very reasonable place to start, though bear in mind those will probably be straight TCL scripts if you want to implement this the most direct way. :) > 4- Have anyone explored the problems of libh/ports system interaction? I think at some point the ports collection could be mined for some examples of how to transition from the old package meta-data to the new, but that's so far along the line that I don't think it's really worth even looking at yet. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Nov 27 10: 4:54 2001 Delivered-To: freebsd-libh@freebsd.org Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by hub.freebsd.org (Postfix) with ESMTP id B725F37B405 for ; Tue, 27 Nov 2001 10:04:50 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.177.56]) by tomts14-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011127180449.NIFU21779.tomts14-srv.bellnexxia.net@khan.anarcat.dyndns.org>; Tue, 27 Nov 2001 13:04:49 -0500 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 9CF841A4B; Tue, 27 Nov 2001 13:07:33 -0500 (EST) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id 7B6E020ADB; Tue, 27 Nov 2001 13:06:14 -0500 (EST) Date: Tue, 27 Nov 2001 13:06:14 -0500 From: The Anarcat To: Jordan Hubbard Cc: Libh Subject: Re: package tools Message-ID: <20011127180613.GA520@shall.anarcat.dyndns.org> Mail-Followup-To: The Anarcat , Jordan Hubbard , Libh References: <20011127045959.GA5828@shall.anarcat.dyndns.org> <1820.1006849763@winston.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <1820.1006849763@winston.freebsd.org> User-Agent: Mutt/1.3.23.2i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue Nov 27, 2001 at 12:29:23AM -0800, Jordan Hubbard wrote: > > 2- Why "SYSINSTALL/" as meta-info directory? I mean, it's a bikeshed but > > sysinstall is the installation program, which is not necessary related > > to the package facilities. Is it realistic at all to challenge that > > convention? >=20 > Sure. As you say, they're separate and were probably only associated > at that level for convenience or because someone was confused. I'll see what I can do. > > 3- I will probably start working on basic package tools implementation > > (pkg_*) to be complete before starting to work on a GUI. In other words, > > I'll be hacking on pkgtools. In other words, I'm asking for > > advice/permission/gotcha, etc. :) >=20 > Sounds like a very reasonable place to start, though bear in mind those > will probably be straight TCL scripts if you want to implement this the > most direct way. :) Indeed. They will be tcl scripts. Well, actually, they *could* be C++, no? > > 4- Have anyone explored the problems of libh/ports system interaction? >=20 > I think at some point the ports collection could be mined for some exampl= es > of how to transition from the old package meta-data to the new, but that's > so far along the line that I don't think it's really worth even looking > at yet. Hmm.. I don't know. Because in order to have packages to work with in the first place, on *must* interact either with the ports collection, or with the old package database, which comes back to the same issue, IMHO: backwards compatibility. Anyways, Alex has already written a makepackage.sh, so I don't think it's too far-seeing. :) a. --2fHTh5uZTiUOsy+g 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 iEYEARECAAYFAjwD1hQACgkQttcWHAnWiGcHeACdEot/Ralv0IvmHC1WfXMJdA4C i9YAn1o8oMTfN28fhn7JjGX+ss4yE+M4 =wziv -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Nov 27 10:38: 5 2001 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 210F337B405 for ; Tue, 27 Nov 2001 10:38:04 -0800 (PST) Received: (from antoine@localhost) by usw4.freebsd.org (8.11.6/8.11.6) id fARIc3P30678 for libh@FreeBSD.org; Tue, 27 Nov 2001 12:38:03 -0600 (CST) (envelope-from antoine) Message-Id: <200111271838.fARIc3P30678@usw4.freebsd.org> From: Antoine Beaupré Date: Tue, 27 Nov 2001 12:38:03 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh BUGS Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2001/11/27 12:38:03 CST Modified files: . BUGS Log: new bug: make install doesn't respect PREFIX Revision Changes Path 1.10 +3 -1 libh/BUGS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Nov 27 10:48:36 2001 Delivered-To: freebsd-libh@freebsd.org Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by hub.freebsd.org (Postfix) with ESMTP id 0D79D37B41B for ; Tue, 27 Nov 2001 10:48:29 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.177.56]) by tomts9-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011127184828.UJQD20714.tomts9-srv.bellnexxia.net@khan.anarcat.dyndns.org> for ; Tue, 27 Nov 2001 13:48:28 -0500 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 68C101A3D for ; Tue, 27 Nov 2001 13:51:14 -0500 (EST) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id A996C20ADB; Tue, 27 Nov 2001 13:49:56 -0500 (EST) Date: Tue, 27 Nov 2001 13:49:56 -0500 From: The Anarcat To: Libh Subject: make install doesn't respect PREFIX Message-ID: <20011127184955.GD520@shall.anarcat.dyndns.org> Mail-Followup-To: The Anarcat , Libh Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DiL7RhKs8rK9YGuF" Content-Disposition: inline User-Agent: Mutt/1.3.23.2i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --DiL7RhKs8rK9YGuF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! Problem:=20 root@shall [~anarcat/libh]# make install PREFIX=3D/usr/local =3D=3D=3D> compile =3D=3D=3D> compile/none /usr/bin/env NOTVISION=3DYES NOQT=3DYES make -f ../Makefile.inc1 BSUBDIR=3Dcommon install install -C -c -o root -g wheel -m 444 libh.a /usr/lib install -C -c -s -o root -g wheel -m 444 libh.so.0 /usr/lib Workaround: root@shall [~anarcat/libh]# make install BINDIR=3D/usr/local/bin LIBDIR=3D/= usr/local/lib =3D=3D=3D> compile =3D=3D=3D> compile/none /usr/bin/env NOTVISION=3DYES NOQT=3DYES make -f ../Makefile.inc1 BSUBDIR=3Dcommon install install -C -c -o root -g wheel -m 444 libh.a /usr/local/lib I think there is something wrong with bsd.prog.mk here, though. Isn't it supposed to respect PREFIX? It would be ridiculous to have it other wise: we plead for PREFIX-independance with 3rd party apps, but we don't do it ourselves? ;) A. --DiL7RhKs8rK9YGuF 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 iEYEARECAAYFAjwD4FMACgkQttcWHAnWiGeT/ACdGZyDZx4f+f9K0X3YcqTWs7S8 1SUAn03wSIzEot+MtJS+Wx9eSfXRS67p =P71O -----END PGP SIGNATURE----- --DiL7RhKs8rK9YGuF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message