From ea6a1636751c03f5a13652a9a41627fe5ee65dc4 Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Fri, 7 May 2010 02:26:46 +0000 Subject: [PATCH] 1/2: OPTIONS+= EGD and DEVRANDOM which allow mod_auth_digest to build next www/apache2* need to pass it through Default package doesn't change PR: ports/134577 Requested by: Pascal Vizeli With Hat: apache@ --- devel/apr/Makefile | 26 +++++++++++++++++++++++++- devel/apr0/Makefile | 26 +++++++++++++++++++++++++- devel/apr1/Makefile | 26 +++++++++++++++++++++++++- devel/apr2/Makefile | 26 +++++++++++++++++++++++++- 4 files changed, 100 insertions(+), 4 deletions(-) diff --git a/devel/apr/Makefile b/devel/apr/Makefile index 16d240de1e9b..cdd070cbfda6 100644 --- a/devel/apr/Makefile +++ b/devel/apr/Makefile @@ -26,7 +26,9 @@ OPTIONS= THREADS "Enable Threads in apr" on \ MYSQL "Enable MySQL suport in apr-util" off \ NDBM "Enable NDBM support in apr-util" off \ PGSQL "Enable Postgresql suport in apr-util" off \ - SQLITE "Enable SQLite3 support in apr-util" off + SQLITE "Enable SQLite3 support in apr-util" off \ + EGD "Use EGD compatible sockets in apr" off \ + DEVRANDOM "Use /dev/random or compatible in apr" off APR_VERSION= 1.4.2 APU_VERSION= 1.3.9 @@ -78,6 +80,28 @@ PKGNAMESUFFIX= -ipv6 .endif .endif +.if defined(WITHOUT_EGD) +APR_CONF_ARGS+= --without-egd +.else +APR_CONF_ARGS+= --with-egd +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-egd +.else +PKGNAMESUFFIX= -egd +.endif +.endif + +.if defined(WITHOUT_DEVRANDOM) +APR_CONF_ARGS+= --without-devrandom +.else +APR_CONF_ARGS+= --with-devrandom +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-devrandom +.else +PKGNAMESUFFIX= -devrandom +.endif +.endif + ######### APR-Util Options .if defined(WITHOUT_GDBM) PLIST_SUB+= GDBM="@comment " diff --git a/devel/apr0/Makefile b/devel/apr0/Makefile index 16d240de1e9b..cdd070cbfda6 100644 --- a/devel/apr0/Makefile +++ b/devel/apr0/Makefile @@ -26,7 +26,9 @@ OPTIONS= THREADS "Enable Threads in apr" on \ MYSQL "Enable MySQL suport in apr-util" off \ NDBM "Enable NDBM support in apr-util" off \ PGSQL "Enable Postgresql suport in apr-util" off \ - SQLITE "Enable SQLite3 support in apr-util" off + SQLITE "Enable SQLite3 support in apr-util" off \ + EGD "Use EGD compatible sockets in apr" off \ + DEVRANDOM "Use /dev/random or compatible in apr" off APR_VERSION= 1.4.2 APU_VERSION= 1.3.9 @@ -78,6 +80,28 @@ PKGNAMESUFFIX= -ipv6 .endif .endif +.if defined(WITHOUT_EGD) +APR_CONF_ARGS+= --without-egd +.else +APR_CONF_ARGS+= --with-egd +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-egd +.else +PKGNAMESUFFIX= -egd +.endif +.endif + +.if defined(WITHOUT_DEVRANDOM) +APR_CONF_ARGS+= --without-devrandom +.else +APR_CONF_ARGS+= --with-devrandom +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-devrandom +.else +PKGNAMESUFFIX= -devrandom +.endif +.endif + ######### APR-Util Options .if defined(WITHOUT_GDBM) PLIST_SUB+= GDBM="@comment " diff --git a/devel/apr1/Makefile b/devel/apr1/Makefile index 16d240de1e9b..cdd070cbfda6 100644 --- a/devel/apr1/Makefile +++ b/devel/apr1/Makefile @@ -26,7 +26,9 @@ OPTIONS= THREADS "Enable Threads in apr" on \ MYSQL "Enable MySQL suport in apr-util" off \ NDBM "Enable NDBM support in apr-util" off \ PGSQL "Enable Postgresql suport in apr-util" off \ - SQLITE "Enable SQLite3 support in apr-util" off + SQLITE "Enable SQLite3 support in apr-util" off \ + EGD "Use EGD compatible sockets in apr" off \ + DEVRANDOM "Use /dev/random or compatible in apr" off APR_VERSION= 1.4.2 APU_VERSION= 1.3.9 @@ -78,6 +80,28 @@ PKGNAMESUFFIX= -ipv6 .endif .endif +.if defined(WITHOUT_EGD) +APR_CONF_ARGS+= --without-egd +.else +APR_CONF_ARGS+= --with-egd +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-egd +.else +PKGNAMESUFFIX= -egd +.endif +.endif + +.if defined(WITHOUT_DEVRANDOM) +APR_CONF_ARGS+= --without-devrandom +.else +APR_CONF_ARGS+= --with-devrandom +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-devrandom +.else +PKGNAMESUFFIX= -devrandom +.endif +.endif + ######### APR-Util Options .if defined(WITHOUT_GDBM) PLIST_SUB+= GDBM="@comment " diff --git a/devel/apr2/Makefile b/devel/apr2/Makefile index 16d240de1e9b..cdd070cbfda6 100644 --- a/devel/apr2/Makefile +++ b/devel/apr2/Makefile @@ -26,7 +26,9 @@ OPTIONS= THREADS "Enable Threads in apr" on \ MYSQL "Enable MySQL suport in apr-util" off \ NDBM "Enable NDBM support in apr-util" off \ PGSQL "Enable Postgresql suport in apr-util" off \ - SQLITE "Enable SQLite3 support in apr-util" off + SQLITE "Enable SQLite3 support in apr-util" off \ + EGD "Use EGD compatible sockets in apr" off \ + DEVRANDOM "Use /dev/random or compatible in apr" off APR_VERSION= 1.4.2 APU_VERSION= 1.3.9 @@ -78,6 +80,28 @@ PKGNAMESUFFIX= -ipv6 .endif .endif +.if defined(WITHOUT_EGD) +APR_CONF_ARGS+= --without-egd +.else +APR_CONF_ARGS+= --with-egd +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-egd +.else +PKGNAMESUFFIX= -egd +.endif +.endif + +.if defined(WITHOUT_DEVRANDOM) +APR_CONF_ARGS+= --without-devrandom +.else +APR_CONF_ARGS+= --with-devrandom +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-devrandom +.else +PKGNAMESUFFIX= -devrandom +.endif +.endif + ######### APR-Util Options .if defined(WITHOUT_GDBM) PLIST_SUB+= GDBM="@comment "