On Thursday 18 October 2007, Michael Halcrow wrote: > I agree. But we need to keep the build process behavior the same for > existing RPM and DEB packages until we can push updates, and right > now, the packages all expect the OpenSSL token to build by default if > the dependencies exist in the distro build system, and they don't > expect it to bomb out if the dependencies aren't there (the key module > just doesn't get built).
I thought that every new version someone create a package for this version... So this can easily be added... Packages are version dependent. > If anyone has time to run around to Debian, Ubuntu, Gentoo, and > Fedora, and update all their package metadata, then we can get change > things so that key modules are built only if --enable-X is > specified. Until then, we can't go changing the build behavior, or it > will break the distro packages. This argument will always be true... Better sooner than later. I can take care of Gentoo, you said you are the RPM maintainer, all that is left is debian, right? But anyway, you can test the attached. Best Regards, Alon Bar-Lev. --- --- ecryptfs-utils-27/configure.ac 2007-10-15 23:54:56.000000000 +0200 +++ ecryptfs-utils-27.ossl/configure.ac 2007-10-18 20:31:46.000000000 +0200 @@ -26,9 +26,9 @@ AC_SUBST([LIBECRYPTFS_LT_AGE]) AC_ARG_ENABLE( [openssl], - [AC_HELP_STRING([--enable-openssl], [Build OpenSSL key module])], + [AC_HELP_STRING([--disable-openssl], [Build OpenSSL key module])], , - [enable_openssl="yes"] + [enable_openssl="detect"] ) AC_ARG_ENABLE( @@ -208,6 +208,8 @@ CFLAGS="${CFLAGS} ${OPENSSL_CFLAGS}" AC_CHECK_HEADER([openssl/rsa.h],, [have_openssl="no"]) CFLAGS="${OLD_CFLAGS}" +test "${enable_openssl}" = "detect" && enable_openssl="${have_openssl}" + if test "${enable_openssl}" = "yes" ; then test "${have_openssl}" != "yes" && AC_MSG_ERROR([OpenSSL not found]) fi ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ eCryptfs-devel mailing list eCryptfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecryptfs-devel