On 12/8/03 9:19 AM, "Michael Schloh von Bennewitz" <[EMAIL PROTECTED]>
wrote:

> On Mon, Dec 08, 2003, Michael Schloh von Bennewitz wrote:
>> OpenPKG doesn't use anything called 'pam-devel'. If you want to install
>> pureftpd with the PAM option turned on then:
>> 
>>   $ rpm --rebuild pam-20030715-1.3.0.src.rpm
>>   $ rpm --rebuild --define 'with_pam yes' pureftpd-1.1.0-1.3.0.src.rpm
>> 
> Whoops, the most recent pam release package is called
> 
> 'pam-1.3.1-1.3.1.src.rpm'
> 
> in the UPD directory. And of course, you have to installed '-Uvh' the
> resulting binary packages as well as building '--rebuild' their sources.

I'm looking to build Apache with some of the options turned on.  Do I need
to specify --define on the --rebuild of the .src.rpm step, or can I specify
that after the binary RPM has been built?  ...or, is it when the binary RPM
is built, there are no options that can be specified?

Also, I saw this message:

[quote]
On Fri, Dec 05, 2003 at 10:05:15AM -0800, Bill Campbell wrote:

> >And if I build a package whith a desired option (--with-ldap) when OpenPKG
> >release an update would the openpkg tool be smart enouth to rebuild the new
> >package with the same option ?
> 
> Only if it's in your ~/.openpkg/build file where one can specify
> everything needed by the ``openpkg'' program.

'openpkg build' will update packages with the same options that
were used when installing the packages unless you explicitely
override them on the command line (or in the .openpkg/build file).

It is still useful to have the options saved somewhere if you
need to remove a package and then install it from scratch.

Greetings,
-- 
                                Michael van Elst
[/quote]

...and I'm left wondering how does the .openpkg folder get created and save
these build options?  I do not have one, and I've installed many packages
through the process of "rpm --rebuild
ftp://ftp.openpkg.org/release/1.3/SRC/pkg-name.src.rpm"; and then "rpm
-Uvh/Fvh pkg-name.rpm" from the /cw/RPM/PKG folder.  I have the openpkg-tool
installed....I really have not seen any good documentation on how to use it
though....and the man page doesn't seem to really help pull it all together.

Thanks,
Frank

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to