Re: a few questions
On Thu, Aug 15, 2002, Miles Egan wrote: [...] One more thing we'd like: we'd like to be able to specify that some packages are only buildable/installable on certain platforms. I know rpm supports this, but is openpkg designed to assume that every package must build on every platform? grin Yes, that's OpenPKG cross-platform focus. Every _has to_ build on every officially supported platform, i.e., it is not acceptable to have an OpenPKG package which just works (by design or intention) on a single platform. All packages inherently have to work on all platforms (plus/minus the usual brokeness because of vendor source brokeness, of course). But you can nevertheless build a sub-set of packages just for a particular platform: the src2make.pl scripts generates a Makefile individually for the SRPMs it finds. It does _NOT_ assume that it gets _all_ OpenPKG-CURRENT packages. It's fully acceptable to build binary RPMs just for a subset of packages. The only point you have to be aware of is that the selected subset has to be self-consistent, i.e., it has no dependencies to other packages not part of the subset. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: a few questions
On Wed, Aug 14, 2002 at 07:02:32AM +0200, Ralf S. Engelschall wrote: 1. we want to make sure that all packages in an openpkg instance are built by the same compiler and we want to be able to specify that compiler on a per-instance basis. Not obvious, but possible (at least with OpenPKG-CURRENT and the forthcoming 1.1): Use a ~/.rpmmacros (in the home of the user who builds the packages) with l_cc /path/to/your/cc and perhaps l_cflags -flags -of -your -cc. This seems to work. Thanks! from their source rpms. Also not obvious, but possible (at least with OpenPKG-CURRENT and the forthcoming 1.1): Use the release engineering scripts you find under http://www.openpkg.org/cvsweb/cvsweb.cgi/openpkg-re/. In particular what you need us the src2make.pl script which is given the source RPMs. It generates a Makefile which allows you to build the corresponding binary RPMs. Trying this now. I like the idea of using make for this. Clever. One more thing we'd like: we'd like to be able to specify that some packages are only buildable/installable on certain platforms. I know rpm supports this, but is openpkg designed to assume that every package must build on every platform? -- miles egan [EMAIL PROTECTED] OpenPGP/GPG Key 0x01F53D51 @ wwwkeys.us.pgp.net __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]
Re: a few questions
On Tue, Aug 13, 2002, Miles Egan wrote: I've been investigating openpkg for a few days now and overall I find it very interesting. We have two requirements for a software pacakge system that aren't obviously met by the current openpkg: 1. we want to make sure that all packages in an openpkg instance are built by the same compiler and we want to be able to specify that compiler on a per-instance basis. Not obvious, but possible (at least with OpenPKG-CURRENT and the forthcoming 1.1): Use a ~/.rpmmacros (in the home of the user who builds the packages) with l_cc /path/to/your/cc and perhaps l_cflags -flags -of -your -cc. 2. we want to be able to automatically rebuild an entire collection of rpms from their source rpms. Also not obvious, but possible (at least with OpenPKG-CURRENT and the forthcoming 1.1): Use the release engineering scripts you find under http://www.openpkg.org/cvsweb/cvsweb.cgi/openpkg-re/. In particular what you need us the src2make.pl script which is given the source RPMs. It generates a Makefile which allows you to build the corresponding binary RPMs. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org User Communication List [EMAIL PROTECTED]