Where do I find out how this package was built with ./configure?

Asked by DigiAngel

Where do I find out what ./configure options were used when this package was built? Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu squid Edit question
Assignee:
No assignee Edit question
Solved by:
DigiAngel
Solved:
Last query:
Last reply:
Revision history for this message
Ubfan (ubfan1) said :
#1

Check the contents of the file config.log. That records what happened.

Revision history for this message
DigiAngel (jlay) said :
#2

Thanks Ubfan. I don't think I'm explaining this well, so I'll try again. On 12.0.4...I do:

sudo apt-get install squid

This installs the squid package. How do I find out how that squid package was ./configure'd? Thank you.

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) said :
#3

AH, you can't do that, except by asking the maintainer how they built it. config.log only exists in the source tree, and is very likely not going to be included in a package, still, you could download the package and open it with an archive manager and browse through it, you might get lucky :)

Hamish

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

The buildlog in launchpad should contain that information.

e.g. squid3 package 3.1.19-1ubuntu3.12.04.2 in ubuntu precise i386
https://launchpad.net/~ubuntu-security/+archive/ppa/+build/4260457

The buildlog contains the line (reformatted for easier reading):

CFLAGS="-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security" CXXFLAGS="-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now"
/build/buildd/squid3-3.1.19/./configure
--build=i686-linux-gnu
--prefix=/usr
--includedir="\${prefix}/include"
--mandir="\${prefix}/share/man"
--infodir="\${prefix}/share/info"
--sysconfdir=/etc
--localstatedir=/var
--libexecdir="\${prefix}/lib/squid3"
--srcdir=.
--disable-maintainer-mode
--disable-dependency-tracking
--disable-silent-rules
--datadir=/usr/share/squid3
--sysconfdir=/etc/squid3
--mandir=/usr/share/man
--with-cppunit-basedir=/usr
--enable-inline
--enable-async-io=8
--enable-storeio="ufs,aufs,diskd"
--enable-removal-policies="lru,heap"
--enable-delay-pools
--enable-cache-digests
--enable-underscores
--enable-icap-client
--enable-follow-x-forwarded-for
--enable-auth="basic,digest,ntlm,negotiate"
--enable-basic-auth-helpers="LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,DB,POP3,getpwnam,squid_radius_auth,multi-domain-NTLM"
--enable-ntlm-auth-helpers="smb_lm,"
--enable-digest-auth-helpers="ldap,password"
--enable-negotiate-auth-helpers="squid_kerb_auth"
--enable-external-acl-helpers="ip_user,ldap_group,session,unix_group,wbinfo_group"
--enable-arp-acl
--enable-esi
--enable-zph-qos
--enable-wccpv2
--disable-translation
--with-logdir=/var/log/squid3
--with-pidfile=/var/run/squid3.pid
--with-filedescriptors=65536
--with-large-files
--with-default-user=proxy
--enable-linux-netfilter

Is that the information you are looking for?

Revision history for this message
DigiAngel (jlay) said :
#5

Thanks Manfred...that's exactly what I was looking for.