This is a discussion on Re: [courier-users] rpmbuild for authlib within the Courier-Imap forums, part of the Mail Servers and Related category; This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages. --=_mimegpg-commodore.email-scan.com-31793-1116868158-0003 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Bowie Bailey writes: > From: Bowie Bailey >> >> From: Sam Varshavchik [mailto:mrsam@courier-mta.com] >> > >> > Bowie Bailey writes: >> > >> > > I built courier-authlib like this: >> > > >> > > rpmbuild -tb --define 'xflags --with-mailuser=mailuser >> > > --with-mailgroup=mailuser' courier-authlib-0.56.tar.bz2 >> > > >> > > This process works fine with courier, but when I do this with authlib, >> > > it ignores my user/group settings and installs everything as >> > > daemon:daemon. >> > > >> > > 'configure --help' indicates that these are valid options for authlib. >> > > What am I missing? >> > >> > courier-authlib's specfile does not use xflags. Extract it from the >> > tarball manually, and edit it. >> >> Ok, not being familiar with specfiles, what do I need to do to it? >> >> Based on the courier specfile, it looks like I could just add this line to >> enable xflags: >> >> %configure %{?xflags: %{xflags}} >> >> Will this work, or do I need to do something else? >> >> And is there an easier way to specify configure options during an >> rpmbuild? > > Sorry to reply to myself, but I have one other question. > > Once I get the authlib rpms built with the correct options, do I need to > rebuild the Courier-0.56 rpms as well? Yes -- in this specific case, where you're changing the userid and groupid, the Courier RPMs must also be rebuilt. You will also need to do a clean install. Do not do a straightforward upgrade. Remove the old packages, and manually clean up all the leftovers -- you'll still have leftover changed configuration files in the etc directory, and stuff in the mail spool directory. Since the userid/groupid has changed you will need to remove everything, and do a clean install. --=_mimegpg-commodore.email-scan.com-31793-1116868158-0003 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBCkg4/x9p3GYHlUOIRAhW2AJ46TMADsgB5G1hCgN+NJ3Txu1BsegCeKF 55 33XXt8w6Wvc5DvQe4V8wLqo= =karG -----END PGP SIGNATURE----- --=_mimegpg-commodore.email-scan.com-31793-1116868158-0003-- ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |