Message ID | 1412530744-20649-9-git-send-email-bernd.kuhls@t-online.de |
---|---|
State | Superseded |
Headers | show |
Dear Bernd Kuhls, On Sun, 5 Oct 2014 19:38:56 +0200, Bernd Kuhls wrote: > +ifeq ($(BR2_PACKAGE_OPENSSL),y) > +APR_UTIL_CONF_OPTS += --with-crypto --with-openssl="$(STAGING_DIR)/usr" > +APR_UTIL_DEPENDENCIES += openssl > +else > +APR_UTIL_CONF_OPTS += --without-ssl > +endif This looks weird, because there's no symmetry between --with-openssl --with-crypto and --without-ssl. Isn't there an issue here? Thanks, Thomas
Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8 @public.gmane.org> wrote in news:20141005203902.5d8c5dcf@free-electrons.com: >> +APR_UTIL_CONF_OPTS += --without-ssl >> +endif > > This looks weird, because there's no symmetry between --with-openssl > --with-crypto and --without-ssl. Isn't there an issue here? Hi, oops, without-ssl should have been without-crypto. To enable OpenSSL support a) --with-crypto is needed to enable the crypto stuff as such and b) --with-openssl to enable the use of the OpenSSL library itself. I will update this patch in v3, thanks! Regards, Bernd
Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8 @public.gmane.org> wrote in news:20141005203902.5d8c5dcf@free-electrons.com: > This looks weird, because there's no symmetry between --with-openssl > --with-crypto and --without-ssl. Isn't there an issue here? Hi Thomas, I sent v3 of this patch: http://patchwork.ozlabs.org/patch/396912/ and superseeded the buggy version in patchworks. Is it ok to only send a single patch and not the whole series again? This patch does not depend on the other patches of the apache/php series. Regards, Bernd
diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk index 42506bb..ed8eb28 100644 --- a/package/apr-util/apr-util.mk +++ b/package/apr-util/apr-util.mk @@ -46,4 +46,11 @@ else APR_UTIL_CONF_OPTS += --without-sqlite3 endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +APR_UTIL_CONF_OPTS += --with-crypto --with-openssl="$(STAGING_DIR)/usr" +APR_UTIL_DEPENDENCIES += openssl +else +APR_UTIL_CONF_OPTS += --without-ssl +endif + $(eval $(autotools-package))
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- package/apr-util/apr-util.mk | 7 +++++++ 1 file changed, 7 insertions(+)