[OpenAFS] Pre-built packages: build options?

Russ Allbery eagle@eyrie.org
Wed, 09 Apr 2014 18:54:29 -0700


Jeff Blaine <jblaine@kickflop.net> writes:

> How does one determine how these packages were built? What configure
> args? Are they all done with bare ./configure && make dest ?

For the record, the Debian packages are built with:

afslogsdir=/var/log/openafs afslocaldir=/var/lib/openafs/local     \
    sh configure CFLAGS='-g -O2'                                   \
    --with-afs-sysname=$(SYS_NAME) --disable-kernel-module         \
    --prefix=/usr --mandir=\$${prefix}/share/man                   \
    --sysconfdir=/etc --libexecdir=/usr/lib --with-krb5            \
    --localstatedir=/var/lib --enable-supergroups                  \
    --enable-fuse-client --enable-debug --enable-debug-lwp         \
    --with-docbook2pdf=dblatex --with-xslt-processor=xsltproc      \
    --with-html-xsl=/usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl

and also built with hardening-wrapper to force use of hardening flags
since the OpenAFS build system makes it impossible to override compiler
flags.

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