Zitat von Geert Stappers <geert.stapp...@vanadgroup.com>: > Op 20120814 om 15:10 schreef lst_ho...@kwsoft.de: >> Hello List >> >> is it possible to get the compile time options used for building the >> binary? It would be nice to have so we could build updates as close as >> possible to original packages for example on Ubuntu. > > Beware the next information is untested: > > cd /usr/scr > apt-get source bacula > cd bacula* # wildcard for version > cd debian > grep configure rules > > That should give you the compile time options. > > >> Many Thanks > > Please verify and provide feedback. >
Ouput of the grep command: # These are used for cross-compiling and for saving the configure script configure-stamp-%: extract-stamp-% QMAKE=/usr/bin/qmake-qt4 ./configure --config-cache \ build-stamp-%: configure-stamp-% But the "rules" file is the place to look. It has also the following: ----- CONF_ALL = --enable-smartalloc \ --with-python --with-tcp-wrappers \ --with-openssl \ --with-libiconv-prefix=/usr/include --with-readline=/usr/include/readline \ --disable-conio \ --with-libintl-prefix=/usr/include --with-x \ --docdir=\$${prefix}/share/doc/bacula-common \ --htmldir=\$${prefix}/share/doc/bacula-common/html \ --libdir=\$${prefix}/lib/bacula \ --enable-batch-insert \ --disable-bwx-console \ --without-qwt \ --enable-ipv6 \ --with-dir-passowrd=XXX_DIRPASSWORD_XXX \ --with-fd-password=XXX_FDPASSWORD_XXX \ --with-sd-password=XXX_SDPASSWORD_XXX \ --with-mon-dir-password=XXX_MONDIRPASSWORD_XXX \ --with-mon-fd-password=XXX_MONFDPASSWORD_XXX \ --with-mon-sd-password=XXX_MONSDPASSWORD_XXX \ --with-db-name=XXX_DBNAME_XXX \ --with-db-user=XXX_DBUSER_XXX \ --with-db-password=XXX_DBPASSWORD_XXX CONF_common = --disable-gnome --disable-bwx-console --disable-tray-monitor \ --disable-bat ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) CONF_ALL += --disable-acl --disable-xattr endif CONF_sqlite3 = --with-sqlite3 --without-mysql --without-postgresql --without-sqlite \ --enable-tray-monitor --enable-bat CONF_mysql = --with-mysql --without-sqlite --without-postgresql --without-sqlite3 $(CONF_common) CONF_pgsql = --with-postgresql --without-sqlite --without-mysql --without-sqlite3 $(CONF_common) ########################################################################### extract: extract-stamp extract-stamp: $(foreach s,$(VARIANTS),extract-stamp-$(s)) extract-stamp-%: @echo " *** DEBIAN *** VARIANT $(*): EXTRACTING to $(BUILDDIR)-$(*)" mkdir $(BUILDDIR)-$(*) tar -cSf - --exclude=./.git --exclude=./debian . | tar -xSpf - -C $(BUILDDIR)-$(*) touch $@ configure-stamp-%: extract-stamp-% dh_testdir @echo " *** DEBIAN *** CONFIGURING VARIANT $*" cp /usr/share/misc/config.guess /usr/share/misc/config.sub \ $(BUILDDIR)-$(*)/autoconf/ cd $(BUILDDIR)-$(*) && \ QMAKE=/usr/bin/qmake-qt4 ./configure --config-cache \ --host=${DEB_HOST_GNU_TYPE} --build=${DEB_BUILD_GNU_TYPE} \ --prefix=/usr \ --with-archivedir=/nonexistant/path/to/file/archive/dir \ --sysconfdir=/etc/bacula --with-scriptdir=/etc/bacula/scripts \ --sharedstatedir=/var/lib/bacula \ --localstatedir=/var/lib/bacula \ --with-pid-dir=/var/run/bacula --with-smtp-host=localhost \ --with-working-dir=/var/lib/bacula \ --with-subsys-dir=/var/lock \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ $(CONF_ALL) $(CONF_$(*)) ---- BTW (OT): Is it possible to simply replace the content of the "src" dir with the later release and maybe even build a deb-package?? Regards Andreas ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users