Bug#568358: remerge cyrus-sasl2-heimdal with cyrus-sasl2

Russ Allbery rra at debian.org
Tue Aug 10 03:46:37 UTC 2010


Roberto C. Sánchez <roberto at connexer.com> writes:

> Do you happen to have or know of an example that uses debhelper version
> 5?  I ask because libpam-krb5 uses debhelper 7, but I would like to
> minimize the diff since I will be requesting a freeze exception.  I
> think I might be able to figure it out eventually, but a version 5
> example would help me get there quicker.

Unfortunately, no, but the basic idea is relatively straightforward.
Rather than doing one build in the same directory as the source directory,
you use the facility in Autoconf for building in a separate directory.
Create a subdirectory, cd into it, and run configure from there, and then
repeat for the Heimdal build.  Then run make in each of those
subdirectories, run make install from the MIT one, and either run make
install from the Heimdal one into a different directory or just copy out
only the Heimdal module.

You'll also need to pass the -I and -L flags to the
/usr/include/{mit-krb5,heimdal} and /usr/lib/{mit-krb5,heimdal} via
configure (probably by setting CPPFLAGS and LDFLAGS.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>





More information about the Pkg-cyrus-sasl2-debian-devel mailing list