[Pkg-openldap-devel] where are the configuration options used by Debian to build a package

Dan White dwhite at olp.net
Mon Jan 21 14:49:27 UTC 2013


dwhite at quark:~$ cd /tmp
dwhite at quark:/tmp$ apt-get source slapd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Picking 'openldap' as source package instead of 'slapd'
NOTICE: 'openldap' packaging is maintained in the 'Svn' version control
system at:
svn://svn.debian.org/pkg-openldap/openldap/trunk
Need to get 4,883 kB of source archives.
Get:1 http://debian.osuosl.org/debian/ sid/main openldap 2.4.31-1 (dsc)
[2,727 B]
Get:2 http://debian.osuosl.org/debian/ sid/main openldap 2.4.31-1 (tar)
[4,721 kB]
Get:3 http://debian.osuosl.org/debian/ sid/main openldap 2.4.31-1 (diff)
[160 kB]                                     
Fetched 4,883 kB in 8s (563 kB/s)                                                                                     
dpkg-source: info: extracting openldap in openldap-2.4.31
dpkg-source: info: unpacking openldap_2.4.31.orig.tar.gz
dpkg-source: info: applying openldap_2.4.31-1.diff.gz
dpkg-source: info: upstream files that have been modified: 
  openldap-2.4.31/contrib/ldapc++/LICENSE
  openldap-2.4.31/doc/guide/COPYRIGHT
  openldap-2.4.31/doc/guide/LICENSE
dwhite at quark:/tmp$ cat openldap-2.4.31/debian/configure.options | grep -v
'^#'
--prefix=/usr
--libexecdir='${prefix}/lib'
--sysconfdir=/etc
--localstatedir=/var
--mandir='${prefix}/share/man'
--enable-debug
--enable-dynamic
--enable-syslog
--enable-proctitle
--enable-ipv6
--enable-local
--enable-slapd
--enable-dynacl
--enable-aci
--enable-cleartext
--enable-crypt
--disable-lmpasswd
--enable-spasswd
--enable-modules
--enable-rewrite
--enable-rlookups
--enable-slapi
--enable-slp
--enable-wrappers
--enable-backends=mod
--disable-ndb
--enable-overlays=mod
--with-subdir=ldap
--with-cyrus-sasl
--with-threads
--with-tls=gnutls
--with-odbc=unixodbc

On 01/21/13 15:46 +0100, Benin Technologies wrote:
>nope, no configure.options file, and no debian directory either
>
>I extracted the archive "openldap_2.4.31.orig.tar.gz" I downloaded 
>from http://packages.debian.org/source/sid/openldap, but there is no 
>"configure.options" file, neither a "debian" directory in this 
>archive. I've searched within the whole archive, including the 
>subdirectories.
>
>
>Le 21/01/2013 15:26, Dan White a écrit :
>>On 01/21/13 12:32 +0100, Benin Technologies wrote:
>>>Hi,
>>>
>>>I'd like to install from source the latest release of openldap 
>>>(2.4.33) on Debian, but I'd like to do it using the same 
>>>configuration options as Debian when installing through the 
>>>packages (i.e. the same directories, and so on...)
>>>
>>>Where can I find the configuration options used by Debian for 
>>>their package ?
>>>
>>>PS : on various websites they talk about a debian/rules file 
>>>which is supposed to contain these informations, so I download 
>>>Debian's OpenLDAP source for their package (2.4.31) on 
>>>http://packages.debian.org/source/sid/openldap, but I didn't find 
>>>any "rules" file in it.
>>
>>The configure options are contained within the 'configure.options' file
>>within the debian directory.
>>
>
>

-- 
Dan White



More information about the Pkg-openldap-devel mailing list