This is a discussion on Re: [courier-users] Patches needed to compile courier-authlib within the Courier-Imap forums, part of the Mail Servers and Related category; --===============0608863371== Content-Type: multipart/signed; boundary="nextPart6733843.mef7A8bZzW"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0608863371==
Content-Type: multipart/signed; boundary="nextPart6733843.mef7A8bZzW"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart6733843.mef7A8bZzW Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi. On Thursday 06 March 2008, Gordon Messmer wrote: > > I started looking at the courier ebuilds for Gentoo Linux. As I am not a > > developer and my build-process-knowledge is rather limited, I will have > > to ask stupid questions. Please be kind. ;-) > If your experience building software is limited, is it wise to use a > platform that depends heavily on building software? Hm. Gentoo is not LFS. Gentoo does not require the user to have build-time-knowledge or to underst= and=20 autotool-magic. I am doing this package-maintainer-related stuff because I want a newer=20 courier package and there is no maintainer. I noone brings courier up to=20 date, it will be kicked of the Gentoo distribution very soon, I think. We all don't want that. :) > I also see that in Google, but it seems to be limited to Gentoo users > and people trying to build from CVS without following the instructions. Hm, it's a dependancy problem of the "we must re-run autotools because of t= he=20 version mismatch". See below. > sysconftool is a part of Courier, and isn't likely to be removed unless > the configuration system changes significantly. By removing sysconftool > from the Gentoo build, the maintainer has made it more difficult to > upgrade Courier on Gentoo systems. Without sysconftool, an update will > overwrite local configuration changes, and reset them to their defaults. No it won't, Gentoo is not that dumb. But it's okay, If sysconftool is=20 something local, then the package should patch it away if Gentoo does a=20 better job instead. Hint: No, I don't say Gentoo's etc-update is absolutely better than this,=20 especially as I did not really understand how to use sysconftool. But Gento= o=20 has such a tool in place and it works for all and every config file in my=20 system and it's just a matter of consistancy to use that instead. No flames= =20 please. > > The gentoo ebuild also alters authmigrate.in with the following sed > > calls: sed -i -e "s|^chk_file .* |&\${DESTDIR}|g" authmigrate.in > That doesn't make much sense anywhere but Gentoo. It looks like it'll > check for pre-authlib versions of those files, and package them if it's > executed at package build time. That's not the intended use of the > script, and isn't useful unless your build system and your production > system are the same host (which is an awful idea). It's Gentoo. ;-) > > sed -i -e'/for dir in/a@@INDENT@@/etc/courier-imap \\' authmigrate.in > > sed -i -e'/for dir in/a@@INDENT@@/etc/courier/authlib \\' > > authmigrate.in sed -i -e"s|@@INDENT@@| |g" authmigrate.in > Also probably only useful in Gentoo, since that's the only system that > uses those installation prefixes. >=20 > > sed -i -e"s|\$sbindir/makeuserdb||g" authmigrate.in > This is also only needed if you run authmigrate at build time rather > than after installing the package. It's Gentoo-specific, and would > break everyone else's use. Okay, so I'll keep that in place. > > At last, when only trying to configure courier-authlib, I get this: > > | checking for correct ltmain.sh version... no > > | configure: error: > > | > > | *** [Gentoo] sanity check failed! *** > > | *** libtool.m4 and ltmain.sh have a version mismatch! *** > > | *** (libtool.m4 =3D 1.5.26, ltmain.sh =3D 1.5.22) *** > That doesn't seem to be a problem anywhere else, and there's no way to > fix it globally. The courier tarball will always have a different > version of ltmain.sh than *some* platform. Hm, there is a very (very, very) small number of packages where a re-run of= =20 autotools is required. So I think there must be any solution. I'll stay with that, or better, I switched from running all autotools to=20 running just libtoolize and aclocal. That's a matter of a second,=20 autoconf/automake needs minutes. > I wonder why Gentoo demands exact matches when no one else does. Because there are some Variable changes about libtool. That's what I found = out=20 in the net. I'll write some statement about Gentoo later, perhaps that could make some= =20 things more clear. > configure takes a long time to run because courier is a very modular > project. Many components are reusable, and has its own configure script. autoconf and automake, not configure. Configure is (IMHO) part of the build= =20 and is absolutely okay. But autotools should not be run. regards, Bernd =2D-=20 You know it's going to be a bad day when your twin brother forgets your=20 birthday. --nextPart6733843.mef7A8bZzW Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iQIVAwUAR9DlNA0b18vi86Q/AQJg1A//TFYNXrzNxR3BKpJD1YyHtlg7YYOtaIAS ewKuUgAEwdwbdTY+Cl8Z3tX2FawJEiS52gDu+JnpFqeCGOwYTf Hi+fcBQg+A+Pfw 4g6H8Kc5tGTI2lKefpOLFaNgRfKybT1DX+ZjGwyJIW9u57N9nS 8JHFrfmJdCsrFM c/lktnFzf3NBYmS2sCW0V4eqpMYgWswwGL1LqDFKM80y3QiQQ/Nv9/uFOktwUZwV 7zJy/fFZXFgw3pvl6RCevmY55P3qDqv0S5iIxuc4+4RYFFauYWinmtY a8JIY9/on gQm/UddD1VnWth5eC25aHue/KuZSHCVzKzXhkeg/OuSz7iK0jSWtWMhFqCtUs4Wc N1KOevQ02uZM67/oEwcVC7j2v4U34uGDNz57dctznVXsK/Ve8meeabXu/M7LhSry HyGqBm+IVI6WPXQFr/VuPfla3NGCyk+dH6ApQtUmue86rtOSigaxe+dEu+6xo6b6 km7GZKxrLhpAXDy+4s0bPRqEisniAaXMHNp9i2qdNOx0bTvn6K RqW7BwsruHSTi5 Okau6ej4ulYfWFsEQUdCScGKRRSC5ELaC70S6do8uMYzFGIAdW w2SBv9tRpAzRb4 OR6qcJRbcLI4UQFAhKJTw76I76n7PkYpMEwUv22HuMtgjgOFIZ NySe6ZwwiSxXCn ++blwaqOack= =+HbR -----END PGP SIGNATURE----- --nextPart6733843.mef7A8bZzW-- --===============0608863371== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============0608863371== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users --===============0608863371==-- |