diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2009-06-08 10:54:14 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2009-06-08 10:54:14 +0800 |
commit | f15ca5dbc2a563ed88cc663dab5384a23139a4d9 (patch) | |
tree | 069f9d265af649831205a6e737e2aa8311eb9f40 | |
parent | 187a8a9d1a379fcfb20197436b5587d8b48e22ab (diff) | |
download | freebsd-ports-graphics-f15ca5dbc2a563ed88cc663dab5384a23139a4d9.tar.gz freebsd-ports-graphics-f15ca5dbc2a563ed88cc663dab5384a23139a4d9.tar.zst freebsd-ports-graphics-f15ca5dbc2a563ed88cc663dab5384a23139a4d9.zip |
- Update to apr: 1.3.5, apr: 1.3.7
- Pet Portlint
- Fix APU_EXTRAs in pkg-plist
Security: http://www.vuxml.org/freebsd/eb9212f7-526b-11de-bbf2-001b77d09812
PR: ports/135310
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
-rw-r--r-- | devel/apr/Makefile | 33 | ||||
-rw-r--r-- | devel/apr/distinfo | 12 | ||||
-rw-r--r-- | devel/apr/files/patch-apr_hints.m4 | 4 | ||||
-rw-r--r-- | devel/apr/pkg-plist | 12 | ||||
-rw-r--r-- | devel/apr0/Makefile | 33 | ||||
-rw-r--r-- | devel/apr0/distinfo | 12 | ||||
-rw-r--r-- | devel/apr0/files/patch-apr_hints.m4 | 4 | ||||
-rw-r--r-- | devel/apr0/pkg-plist | 12 | ||||
-rw-r--r-- | devel/apr1/Makefile | 33 | ||||
-rw-r--r-- | devel/apr1/distinfo | 12 | ||||
-rw-r--r-- | devel/apr1/files/patch-apr_hints.m4 | 4 | ||||
-rw-r--r-- | devel/apr1/pkg-plist | 12 | ||||
-rw-r--r-- | devel/apr2/Makefile | 33 | ||||
-rw-r--r-- | devel/apr2/distinfo | 12 | ||||
-rw-r--r-- | devel/apr2/files/patch-apr_hints.m4 | 4 | ||||
-rw-r--r-- | devel/apr2/pkg-plist | 12 |
16 files changed, 168 insertions, 76 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile index 7c2791c078f..8d9438f35b7 100644 --- a/devel/apr/Makefile +++ b/devel/apr/Makefile @@ -6,7 +6,6 @@ PORTNAME= apr PORTVERSION= ${APR_VERSION}.${APU_VERSION} -PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR= apr @@ -17,7 +16,7 @@ COMMENT= Apache Portability Library LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2 -MAKE_JOBS_SAFE= yes +MAKE_JOBS_SAFE= yes OPTIONS= THREADS "Enable Threads in apr" on \ IPV6 "Enable IPV6 Support in apr" off \ @@ -28,8 +27,8 @@ OPTIONS= THREADS "Enable Threads in apr" on \ MYSQL "Enable MySQL suport in apr-util" off \ PGSQL "Enable Postgresql suport in apr-util" off -APR_VERSION= 1.3.3 -APU_VERSION= 1.3.4 +APR_VERSION= 1.3.5 +APU_VERSION= 1.3.7 USE_ICONV= yes USE_AUTOTOOLS= automake:19 autoconf:262 libtool:15:env @@ -45,19 +44,13 @@ APU_WRKDIR= ${WRKDIR}/apr-util-${APU_VERSION} PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" SHLIB_MAJOR= 3 -APR_CONF_ARGS= +APR_CONF_ARGS= APU_CONF_ARGS= --with-apr=${APR_WRKDIR} \ --with-expat=${LOCALBASE} \ --with-iconv=${LOCALBASE} .include <bsd.port.pre.mk> -.if defined(WITH_MYSQL) || defined(WITH_PGSQL) || defined (WITH_LDAP) -PLIST_SUB+= APU_EXTRAS="" -.else -PLIST_SUB+= APU_EXTRAS="@comment " -.endif - ########## APR Options .if defined(WITHOUT_THREADS) APR_CONF_ARGS+= --disable-threads @@ -83,8 +76,10 @@ PKGNAMESUFFIX= -ipv6 ######### APR-Util Options .if defined(WITHOUT_GDBM) +PLIST_SUB+= GDBM="@comment " APU_CONF_ARGS+= --without-gdbm .elif defined(WITH_GDBM) || exists(${LOCALBASE}/lib/libgdbm.so.3) +PLIST_SUB+= GDBM="" LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm APU_CONF_ARGS+= --with-gdbm=${LOCALBASE} .if defined(PKGNAMESUFFIX) @@ -93,12 +88,16 @@ PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gdbm PKGNAMESUFFIX= -gdbm .endif .else +PLIST_SUB+= GDBM="@comment " APR_UTIL_CONF_ARGS+= --without-gdbm .endif .if defined(WITHOUT_BDB) +PLIST_SUB+= BDB="@comment " APU_CONF_ARGS+= --without-berkeley-db .elif defined(WITH_BDB) || exists(${LOCALBASE}/lib/libdb-4.2.so.2) +APU_EXTRAS= yes +PLIST_SUB+= BDB="" USE_BDB= 42+ APU_CONF_ARGS+= --with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR} .if defined(PKGNAMESUFFIX) @@ -109,8 +108,11 @@ PKGNAMESUFFIX= -${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,} .endif .if defined(WITHOUT_NDBM) +PLIST_SUB+= NDBM="@comment " APU_CONF_ARGS+= --without-ndbm .elif defined(WITH_NDBM) +APU_EXTRAS= yes +PLIST_SUB+= NDBM="" APU_CONF_ARGS+= --with-ndbm=/usr .if defined(PKGNAMESUFFIX) PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ndbm @@ -120,6 +122,7 @@ PKGNAMESUFFIX= -ndbm .endif .if defined(WITH_LDAP) +APU_EXTRAS= yes PLIST_SUB+= LDAP="" USE_OPENLDAP= yes APU_CONF_ARGS+= --with-ldap-include=${LOCALBASE}/include \ @@ -134,6 +137,7 @@ PLIST_SUB+= LDAP="@comment " .endif .if defined(WITH_MYSQL) +APU_EXTRAS= yes PLIST_SUB+= MYSQL="" USE_MYSQL= YES APU_CONF_ARGS+= --with-mysql=${LOCALBASE} @@ -150,6 +154,7 @@ PLIST_SUB+= MYSQL="@comment " .endif .if defined(WITH_PGSQL) +APU_EXTRAS= yes PLIST_SUB+= PGSQL="" USE_PGSQL= YES APU_CONF_ARGS+= --with-pgsql=${LOCALBASE} @@ -163,6 +168,12 @@ PKGNAMESUFFIX= -pgsql PLIST_SUB+= PGSQL="@comment " .endif +.if defined(APU_EXTRAS) +PLIST_SUB+= APU_EXTRAS="" +.else +PLIST_SUB+= APU_EXTRAS="@comment " +.endif + post-patch: ${REINPLACE_CMD} -e 's/OSVERSION/'${OSVERSION}'/g' \ ${APR_WRKDIR}/build/apr_hints.m4 diff --git a/devel/apr/distinfo b/devel/apr/distinfo index 52713d463fd..7e787e6109f 100644 --- a/devel/apr/distinfo +++ b/devel/apr/distinfo @@ -1,6 +1,6 @@ -MD5 (apr-1.3.3.tar.gz) = b254a9abecaedb05efde71daa7517480 -SHA256 (apr-1.3.3.tar.gz) = 390af2f94c38d9fa03cd6caac3549058bb3e2c4d9f7408b7b829ad75bd5cc273 -SIZE (apr-1.3.3.tar.gz) = 1160542 -MD5 (apr-util-1.3.4.tar.gz) = a10e2ca150ff07f484c724c36142211f -SHA256 (apr-util-1.3.4.tar.gz) = 3f07ffdb18fb853290c9b83e82cd5cae66b8fbc357bd391e846c0afdd24fed7e -SIZE (apr-util-1.3.4.tar.gz) = 778902 +MD5 (apr-1.3.5.tar.gz) = 2a3f33c2186f456fd60a34a7c2989580 +SHA256 (apr-1.3.5.tar.gz) = f047422b39a5e5d933d598bd9fca2a1184e1506e4cd66364a990c7f2cd76960d +SIZE (apr-1.3.5.tar.gz) = 1162875 +MD5 (apr-util-1.3.7.tar.gz) = 0a6802ef6d874db645150ae4a75f41fa +SHA256 (apr-util-1.3.7.tar.gz) = fadd6a0c55596b2c21375942e3acefc33715e647ed4770dc398d08d8783a39e0 +SIZE (apr-util-1.3.7.tar.gz) = 788206 diff --git a/devel/apr/files/patch-apr_hints.m4 b/devel/apr/files/patch-apr_hints.m4 index 5549809f5b3..a360c89bbf9 100644 --- a/devel/apr/files/patch-apr_hints.m4 +++ b/devel/apr/files/patch-apr_hints.m4 @@ -1,5 +1,5 @@ ---- apr-1.3.3/build/apr_hints.m4.orig Wed Oct 27 11:12:28 2004 -+++ apr-1.3.3/build/apr_hints.m4 Wed Oct 27 11:25:32 2004 +--- apr-1.3.5/build/apr_hints.m4.orig Wed Oct 27 11:12:28 2004 ++++ apr-1.3.5/build/apr_hints.m4 Wed Oct 27 11:25:32 2004 @@ -137,11 +137,7 @@ ;; *-freebsd*) diff --git a/devel/apr/pkg-plist b/devel/apr/pkg-plist index 18e965e5d10..a091c1c5475 100644 --- a/devel/apr/pkg-plist +++ b/devel/apr/pkg-plist @@ -84,6 +84,18 @@ lib/libaprutil-1.a lib/libaprutil-1.la lib/libaprutil-1.so lib/libaprutil-1.so.%%SHLIB_MAJOR%% +%%BDB%%lib/apr-util-1/apr_dbm_db-1.so +%%BDB%%lib/apr-util-1/apr_dbm_db.so +%%BDB%%lib/apr-util-1/apr_dbm_db.la +%%BDB%%lib/apr-util-1/apr_dbm_db.a +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm-1.so +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.so +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.la +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.a +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm-1.so +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.so +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.la +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.a %%LDAP%%lib/apr-util-1/apr_ldap-1.so %%LDAP%%lib/apr-util-1/apr_ldap.so %%LDAP%%lib/apr-util-1/apr_ldap.la diff --git a/devel/apr0/Makefile b/devel/apr0/Makefile index 7c2791c078f..8d9438f35b7 100644 --- a/devel/apr0/Makefile +++ b/devel/apr0/Makefile @@ -6,7 +6,6 @@ PORTNAME= apr PORTVERSION= ${APR_VERSION}.${APU_VERSION} -PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR= apr @@ -17,7 +16,7 @@ COMMENT= Apache Portability Library LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2 -MAKE_JOBS_SAFE= yes +MAKE_JOBS_SAFE= yes OPTIONS= THREADS "Enable Threads in apr" on \ IPV6 "Enable IPV6 Support in apr" off \ @@ -28,8 +27,8 @@ OPTIONS= THREADS "Enable Threads in apr" on \ MYSQL "Enable MySQL suport in apr-util" off \ PGSQL "Enable Postgresql suport in apr-util" off -APR_VERSION= 1.3.3 -APU_VERSION= 1.3.4 +APR_VERSION= 1.3.5 +APU_VERSION= 1.3.7 USE_ICONV= yes USE_AUTOTOOLS= automake:19 autoconf:262 libtool:15:env @@ -45,19 +44,13 @@ APU_WRKDIR= ${WRKDIR}/apr-util-${APU_VERSION} PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" SHLIB_MAJOR= 3 -APR_CONF_ARGS= +APR_CONF_ARGS= APU_CONF_ARGS= --with-apr=${APR_WRKDIR} \ --with-expat=${LOCALBASE} \ --with-iconv=${LOCALBASE} .include <bsd.port.pre.mk> -.if defined(WITH_MYSQL) || defined(WITH_PGSQL) || defined (WITH_LDAP) -PLIST_SUB+= APU_EXTRAS="" -.else -PLIST_SUB+= APU_EXTRAS="@comment " -.endif - ########## APR Options .if defined(WITHOUT_THREADS) APR_CONF_ARGS+= --disable-threads @@ -83,8 +76,10 @@ PKGNAMESUFFIX= -ipv6 ######### APR-Util Options .if defined(WITHOUT_GDBM) +PLIST_SUB+= GDBM="@comment " APU_CONF_ARGS+= --without-gdbm .elif defined(WITH_GDBM) || exists(${LOCALBASE}/lib/libgdbm.so.3) +PLIST_SUB+= GDBM="" LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm APU_CONF_ARGS+= --with-gdbm=${LOCALBASE} .if defined(PKGNAMESUFFIX) @@ -93,12 +88,16 @@ PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gdbm PKGNAMESUFFIX= -gdbm .endif .else +PLIST_SUB+= GDBM="@comment " APR_UTIL_CONF_ARGS+= --without-gdbm .endif .if defined(WITHOUT_BDB) +PLIST_SUB+= BDB="@comment " APU_CONF_ARGS+= --without-berkeley-db .elif defined(WITH_BDB) || exists(${LOCALBASE}/lib/libdb-4.2.so.2) +APU_EXTRAS= yes +PLIST_SUB+= BDB="" USE_BDB= 42+ APU_CONF_ARGS+= --with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR} .if defined(PKGNAMESUFFIX) @@ -109,8 +108,11 @@ PKGNAMESUFFIX= -${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,} .endif .if defined(WITHOUT_NDBM) +PLIST_SUB+= NDBM="@comment " APU_CONF_ARGS+= --without-ndbm .elif defined(WITH_NDBM) +APU_EXTRAS= yes +PLIST_SUB+= NDBM="" APU_CONF_ARGS+= --with-ndbm=/usr .if defined(PKGNAMESUFFIX) PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ndbm @@ -120,6 +122,7 @@ PKGNAMESUFFIX= -ndbm .endif .if defined(WITH_LDAP) +APU_EXTRAS= yes PLIST_SUB+= LDAP="" USE_OPENLDAP= yes APU_CONF_ARGS+= --with-ldap-include=${LOCALBASE}/include \ @@ -134,6 +137,7 @@ PLIST_SUB+= LDAP="@comment " .endif .if defined(WITH_MYSQL) +APU_EXTRAS= yes PLIST_SUB+= MYSQL="" USE_MYSQL= YES APU_CONF_ARGS+= --with-mysql=${LOCALBASE} @@ -150,6 +154,7 @@ PLIST_SUB+= MYSQL="@comment " .endif .if defined(WITH_PGSQL) +APU_EXTRAS= yes PLIST_SUB+= PGSQL="" USE_PGSQL= YES APU_CONF_ARGS+= --with-pgsql=${LOCALBASE} @@ -163,6 +168,12 @@ PKGNAMESUFFIX= -pgsql PLIST_SUB+= PGSQL="@comment " .endif +.if defined(APU_EXTRAS) +PLIST_SUB+= APU_EXTRAS="" +.else +PLIST_SUB+= APU_EXTRAS="@comment " +.endif + post-patch: ${REINPLACE_CMD} -e 's/OSVERSION/'${OSVERSION}'/g' \ ${APR_WRKDIR}/build/apr_hints.m4 diff --git a/devel/apr0/distinfo b/devel/apr0/distinfo index 52713d463fd..7e787e6109f 100644 --- a/devel/apr0/distinfo +++ b/devel/apr0/distinfo @@ -1,6 +1,6 @@ -MD5 (apr-1.3.3.tar.gz) = b254a9abecaedb05efde71daa7517480 -SHA256 (apr-1.3.3.tar.gz) = 390af2f94c38d9fa03cd6caac3549058bb3e2c4d9f7408b7b829ad75bd5cc273 -SIZE (apr-1.3.3.tar.gz) = 1160542 -MD5 (apr-util-1.3.4.tar.gz) = a10e2ca150ff07f484c724c36142211f -SHA256 (apr-util-1.3.4.tar.gz) = 3f07ffdb18fb853290c9b83e82cd5cae66b8fbc357bd391e846c0afdd24fed7e -SIZE (apr-util-1.3.4.tar.gz) = 778902 +MD5 (apr-1.3.5.tar.gz) = 2a3f33c2186f456fd60a34a7c2989580 +SHA256 (apr-1.3.5.tar.gz) = f047422b39a5e5d933d598bd9fca2a1184e1506e4cd66364a990c7f2cd76960d +SIZE (apr-1.3.5.tar.gz) = 1162875 +MD5 (apr-util-1.3.7.tar.gz) = 0a6802ef6d874db645150ae4a75f41fa +SHA256 (apr-util-1.3.7.tar.gz) = fadd6a0c55596b2c21375942e3acefc33715e647ed4770dc398d08d8783a39e0 +SIZE (apr-util-1.3.7.tar.gz) = 788206 diff --git a/devel/apr0/files/patch-apr_hints.m4 b/devel/apr0/files/patch-apr_hints.m4 index 5549809f5b3..a360c89bbf9 100644 --- a/devel/apr0/files/patch-apr_hints.m4 +++ b/devel/apr0/files/patch-apr_hints.m4 @@ -1,5 +1,5 @@ ---- apr-1.3.3/build/apr_hints.m4.orig Wed Oct 27 11:12:28 2004 -+++ apr-1.3.3/build/apr_hints.m4 Wed Oct 27 11:25:32 2004 +--- apr-1.3.5/build/apr_hints.m4.orig Wed Oct 27 11:12:28 2004 ++++ apr-1.3.5/build/apr_hints.m4 Wed Oct 27 11:25:32 2004 @@ -137,11 +137,7 @@ ;; *-freebsd*) diff --git a/devel/apr0/pkg-plist b/devel/apr0/pkg-plist index 18e965e5d10..a091c1c5475 100644 --- a/devel/apr0/pkg-plist +++ b/devel/apr0/pkg-plist @@ -84,6 +84,18 @@ lib/libaprutil-1.a lib/libaprutil-1.la lib/libaprutil-1.so lib/libaprutil-1.so.%%SHLIB_MAJOR%% +%%BDB%%lib/apr-util-1/apr_dbm_db-1.so +%%BDB%%lib/apr-util-1/apr_dbm_db.so +%%BDB%%lib/apr-util-1/apr_dbm_db.la +%%BDB%%lib/apr-util-1/apr_dbm_db.a +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm-1.so +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.so +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.la +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.a +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm-1.so +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.so +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.la +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.a %%LDAP%%lib/apr-util-1/apr_ldap-1.so %%LDAP%%lib/apr-util-1/apr_ldap.so %%LDAP%%lib/apr-util-1/apr_ldap.la diff --git a/devel/apr1/Makefile b/devel/apr1/Makefile index 7c2791c078f..8d9438f35b7 100644 --- a/devel/apr1/Makefile +++ b/devel/apr1/Makefile @@ -6,7 +6,6 @@ PORTNAME= apr PORTVERSION= ${APR_VERSION}.${APU_VERSION} -PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR= apr @@ -17,7 +16,7 @@ COMMENT= Apache Portability Library LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2 -MAKE_JOBS_SAFE= yes +MAKE_JOBS_SAFE= yes OPTIONS= THREADS "Enable Threads in apr" on \ IPV6 "Enable IPV6 Support in apr" off \ @@ -28,8 +27,8 @@ OPTIONS= THREADS "Enable Threads in apr" on \ MYSQL "Enable MySQL suport in apr-util" off \ PGSQL "Enable Postgresql suport in apr-util" off -APR_VERSION= 1.3.3 -APU_VERSION= 1.3.4 +APR_VERSION= 1.3.5 +APU_VERSION= 1.3.7 USE_ICONV= yes USE_AUTOTOOLS= automake:19 autoconf:262 libtool:15:env @@ -45,19 +44,13 @@ APU_WRKDIR= ${WRKDIR}/apr-util-${APU_VERSION} PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" SHLIB_MAJOR= 3 -APR_CONF_ARGS= +APR_CONF_ARGS= APU_CONF_ARGS= --with-apr=${APR_WRKDIR} \ --with-expat=${LOCALBASE} \ --with-iconv=${LOCALBASE} .include <bsd.port.pre.mk> -.if defined(WITH_MYSQL) || defined(WITH_PGSQL) || defined (WITH_LDAP) -PLIST_SUB+= APU_EXTRAS="" -.else -PLIST_SUB+= APU_EXTRAS="@comment " -.endif - ########## APR Options .if defined(WITHOUT_THREADS) APR_CONF_ARGS+= --disable-threads @@ -83,8 +76,10 @@ PKGNAMESUFFIX= -ipv6 ######### APR-Util Options .if defined(WITHOUT_GDBM) +PLIST_SUB+= GDBM="@comment " APU_CONF_ARGS+= --without-gdbm .elif defined(WITH_GDBM) || exists(${LOCALBASE}/lib/libgdbm.so.3) +PLIST_SUB+= GDBM="" LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm APU_CONF_ARGS+= --with-gdbm=${LOCALBASE} .if defined(PKGNAMESUFFIX) @@ -93,12 +88,16 @@ PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gdbm PKGNAMESUFFIX= -gdbm .endif .else +PLIST_SUB+= GDBM="@comment " APR_UTIL_CONF_ARGS+= --without-gdbm .endif .if defined(WITHOUT_BDB) +PLIST_SUB+= BDB="@comment " APU_CONF_ARGS+= --without-berkeley-db .elif defined(WITH_BDB) || exists(${LOCALBASE}/lib/libdb-4.2.so.2) +APU_EXTRAS= yes +PLIST_SUB+= BDB="" USE_BDB= 42+ APU_CONF_ARGS+= --with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR} .if defined(PKGNAMESUFFIX) @@ -109,8 +108,11 @@ PKGNAMESUFFIX= -${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,} .endif .if defined(WITHOUT_NDBM) +PLIST_SUB+= NDBM="@comment " APU_CONF_ARGS+= --without-ndbm .elif defined(WITH_NDBM) +APU_EXTRAS= yes +PLIST_SUB+= NDBM="" APU_CONF_ARGS+= --with-ndbm=/usr .if defined(PKGNAMESUFFIX) PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ndbm @@ -120,6 +122,7 @@ PKGNAMESUFFIX= -ndbm .endif .if defined(WITH_LDAP) +APU_EXTRAS= yes PLIST_SUB+= LDAP="" USE_OPENLDAP= yes APU_CONF_ARGS+= --with-ldap-include=${LOCALBASE}/include \ @@ -134,6 +137,7 @@ PLIST_SUB+= LDAP="@comment " .endif .if defined(WITH_MYSQL) +APU_EXTRAS= yes PLIST_SUB+= MYSQL="" USE_MYSQL= YES APU_CONF_ARGS+= --with-mysql=${LOCALBASE} @@ -150,6 +154,7 @@ PLIST_SUB+= MYSQL="@comment " .endif .if defined(WITH_PGSQL) +APU_EXTRAS= yes PLIST_SUB+= PGSQL="" USE_PGSQL= YES APU_CONF_ARGS+= --with-pgsql=${LOCALBASE} @@ -163,6 +168,12 @@ PKGNAMESUFFIX= -pgsql PLIST_SUB+= PGSQL="@comment " .endif +.if defined(APU_EXTRAS) +PLIST_SUB+= APU_EXTRAS="" +.else +PLIST_SUB+= APU_EXTRAS="@comment " +.endif + post-patch: ${REINPLACE_CMD} -e 's/OSVERSION/'${OSVERSION}'/g' \ ${APR_WRKDIR}/build/apr_hints.m4 diff --git a/devel/apr1/distinfo b/devel/apr1/distinfo index 52713d463fd..7e787e6109f 100644 --- a/devel/apr1/distinfo +++ b/devel/apr1/distinfo @@ -1,6 +1,6 @@ -MD5 (apr-1.3.3.tar.gz) = b254a9abecaedb05efde71daa7517480 -SHA256 (apr-1.3.3.tar.gz) = 390af2f94c38d9fa03cd6caac3549058bb3e2c4d9f7408b7b829ad75bd5cc273 -SIZE (apr-1.3.3.tar.gz) = 1160542 -MD5 (apr-util-1.3.4.tar.gz) = a10e2ca150ff07f484c724c36142211f -SHA256 (apr-util-1.3.4.tar.gz) = 3f07ffdb18fb853290c9b83e82cd5cae66b8fbc357bd391e846c0afdd24fed7e -SIZE (apr-util-1.3.4.tar.gz) = 778902 +MD5 (apr-1.3.5.tar.gz) = 2a3f33c2186f456fd60a34a7c2989580 +SHA256 (apr-1.3.5.tar.gz) = f047422b39a5e5d933d598bd9fca2a1184e1506e4cd66364a990c7f2cd76960d +SIZE (apr-1.3.5.tar.gz) = 1162875 +MD5 (apr-util-1.3.7.tar.gz) = 0a6802ef6d874db645150ae4a75f41fa +SHA256 (apr-util-1.3.7.tar.gz) = fadd6a0c55596b2c21375942e3acefc33715e647ed4770dc398d08d8783a39e0 +SIZE (apr-util-1.3.7.tar.gz) = 788206 diff --git a/devel/apr1/files/patch-apr_hints.m4 b/devel/apr1/files/patch-apr_hints.m4 index 5549809f5b3..a360c89bbf9 100644 --- a/devel/apr1/files/patch-apr_hints.m4 +++ b/devel/apr1/files/patch-apr_hints.m4 @@ -1,5 +1,5 @@ ---- apr-1.3.3/build/apr_hints.m4.orig Wed Oct 27 11:12:28 2004 -+++ apr-1.3.3/build/apr_hints.m4 Wed Oct 27 11:25:32 2004 +--- apr-1.3.5/build/apr_hints.m4.orig Wed Oct 27 11:12:28 2004 ++++ apr-1.3.5/build/apr_hints.m4 Wed Oct 27 11:25:32 2004 @@ -137,11 +137,7 @@ ;; *-freebsd*) diff --git a/devel/apr1/pkg-plist b/devel/apr1/pkg-plist index 18e965e5d10..a091c1c5475 100644 --- a/devel/apr1/pkg-plist +++ b/devel/apr1/pkg-plist @@ -84,6 +84,18 @@ lib/libaprutil-1.a lib/libaprutil-1.la lib/libaprutil-1.so lib/libaprutil-1.so.%%SHLIB_MAJOR%% +%%BDB%%lib/apr-util-1/apr_dbm_db-1.so +%%BDB%%lib/apr-util-1/apr_dbm_db.so +%%BDB%%lib/apr-util-1/apr_dbm_db.la +%%BDB%%lib/apr-util-1/apr_dbm_db.a +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm-1.so +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.so +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.la +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.a +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm-1.so +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.so +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.la +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.a %%LDAP%%lib/apr-util-1/apr_ldap-1.so %%LDAP%%lib/apr-util-1/apr_ldap.so %%LDAP%%lib/apr-util-1/apr_ldap.la diff --git a/devel/apr2/Makefile b/devel/apr2/Makefile index 7c2791c078f..8d9438f35b7 100644 --- a/devel/apr2/Makefile +++ b/devel/apr2/Makefile @@ -6,7 +6,6 @@ PORTNAME= apr PORTVERSION= ${APR_VERSION}.${APU_VERSION} -PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR= apr @@ -17,7 +16,7 @@ COMMENT= Apache Portability Library LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2 -MAKE_JOBS_SAFE= yes +MAKE_JOBS_SAFE= yes OPTIONS= THREADS "Enable Threads in apr" on \ IPV6 "Enable IPV6 Support in apr" off \ @@ -28,8 +27,8 @@ OPTIONS= THREADS "Enable Threads in apr" on \ MYSQL "Enable MySQL suport in apr-util" off \ PGSQL "Enable Postgresql suport in apr-util" off -APR_VERSION= 1.3.3 -APU_VERSION= 1.3.4 +APR_VERSION= 1.3.5 +APU_VERSION= 1.3.7 USE_ICONV= yes USE_AUTOTOOLS= automake:19 autoconf:262 libtool:15:env @@ -45,19 +44,13 @@ APU_WRKDIR= ${WRKDIR}/apr-util-${APU_VERSION} PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" SHLIB_MAJOR= 3 -APR_CONF_ARGS= +APR_CONF_ARGS= APU_CONF_ARGS= --with-apr=${APR_WRKDIR} \ --with-expat=${LOCALBASE} \ --with-iconv=${LOCALBASE} .include <bsd.port.pre.mk> -.if defined(WITH_MYSQL) || defined(WITH_PGSQL) || defined (WITH_LDAP) -PLIST_SUB+= APU_EXTRAS="" -.else -PLIST_SUB+= APU_EXTRAS="@comment " -.endif - ########## APR Options .if defined(WITHOUT_THREADS) APR_CONF_ARGS+= --disable-threads @@ -83,8 +76,10 @@ PKGNAMESUFFIX= -ipv6 ######### APR-Util Options .if defined(WITHOUT_GDBM) +PLIST_SUB+= GDBM="@comment " APU_CONF_ARGS+= --without-gdbm .elif defined(WITH_GDBM) || exists(${LOCALBASE}/lib/libgdbm.so.3) +PLIST_SUB+= GDBM="" LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm APU_CONF_ARGS+= --with-gdbm=${LOCALBASE} .if defined(PKGNAMESUFFIX) @@ -93,12 +88,16 @@ PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gdbm PKGNAMESUFFIX= -gdbm .endif .else +PLIST_SUB+= GDBM="@comment " APR_UTIL_CONF_ARGS+= --without-gdbm .endif .if defined(WITHOUT_BDB) +PLIST_SUB+= BDB="@comment " APU_CONF_ARGS+= --without-berkeley-db .elif defined(WITH_BDB) || exists(${LOCALBASE}/lib/libdb-4.2.so.2) +APU_EXTRAS= yes +PLIST_SUB+= BDB="" USE_BDB= 42+ APU_CONF_ARGS+= --with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR} .if defined(PKGNAMESUFFIX) @@ -109,8 +108,11 @@ PKGNAMESUFFIX= -${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,} .endif .if defined(WITHOUT_NDBM) +PLIST_SUB+= NDBM="@comment " APU_CONF_ARGS+= --without-ndbm .elif defined(WITH_NDBM) +APU_EXTRAS= yes +PLIST_SUB+= NDBM="" APU_CONF_ARGS+= --with-ndbm=/usr .if defined(PKGNAMESUFFIX) PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ndbm @@ -120,6 +122,7 @@ PKGNAMESUFFIX= -ndbm .endif .if defined(WITH_LDAP) +APU_EXTRAS= yes PLIST_SUB+= LDAP="" USE_OPENLDAP= yes APU_CONF_ARGS+= --with-ldap-include=${LOCALBASE}/include \ @@ -134,6 +137,7 @@ PLIST_SUB+= LDAP="@comment " .endif .if defined(WITH_MYSQL) +APU_EXTRAS= yes PLIST_SUB+= MYSQL="" USE_MYSQL= YES APU_CONF_ARGS+= --with-mysql=${LOCALBASE} @@ -150,6 +154,7 @@ PLIST_SUB+= MYSQL="@comment " .endif .if defined(WITH_PGSQL) +APU_EXTRAS= yes PLIST_SUB+= PGSQL="" USE_PGSQL= YES APU_CONF_ARGS+= --with-pgsql=${LOCALBASE} @@ -163,6 +168,12 @@ PKGNAMESUFFIX= -pgsql PLIST_SUB+= PGSQL="@comment " .endif +.if defined(APU_EXTRAS) +PLIST_SUB+= APU_EXTRAS="" +.else +PLIST_SUB+= APU_EXTRAS="@comment " +.endif + post-patch: ${REINPLACE_CMD} -e 's/OSVERSION/'${OSVERSION}'/g' \ ${APR_WRKDIR}/build/apr_hints.m4 diff --git a/devel/apr2/distinfo b/devel/apr2/distinfo index 52713d463fd..7e787e6109f 100644 --- a/devel/apr2/distinfo +++ b/devel/apr2/distinfo @@ -1,6 +1,6 @@ -MD5 (apr-1.3.3.tar.gz) = b254a9abecaedb05efde71daa7517480 -SHA256 (apr-1.3.3.tar.gz) = 390af2f94c38d9fa03cd6caac3549058bb3e2c4d9f7408b7b829ad75bd5cc273 -SIZE (apr-1.3.3.tar.gz) = 1160542 -MD5 (apr-util-1.3.4.tar.gz) = a10e2ca150ff07f484c724c36142211f -SHA256 (apr-util-1.3.4.tar.gz) = 3f07ffdb18fb853290c9b83e82cd5cae66b8fbc357bd391e846c0afdd24fed7e -SIZE (apr-util-1.3.4.tar.gz) = 778902 +MD5 (apr-1.3.5.tar.gz) = 2a3f33c2186f456fd60a34a7c2989580 +SHA256 (apr-1.3.5.tar.gz) = f047422b39a5e5d933d598bd9fca2a1184e1506e4cd66364a990c7f2cd76960d +SIZE (apr-1.3.5.tar.gz) = 1162875 +MD5 (apr-util-1.3.7.tar.gz) = 0a6802ef6d874db645150ae4a75f41fa +SHA256 (apr-util-1.3.7.tar.gz) = fadd6a0c55596b2c21375942e3acefc33715e647ed4770dc398d08d8783a39e0 +SIZE (apr-util-1.3.7.tar.gz) = 788206 diff --git a/devel/apr2/files/patch-apr_hints.m4 b/devel/apr2/files/patch-apr_hints.m4 index 5549809f5b3..a360c89bbf9 100644 --- a/devel/apr2/files/patch-apr_hints.m4 +++ b/devel/apr2/files/patch-apr_hints.m4 @@ -1,5 +1,5 @@ ---- apr-1.3.3/build/apr_hints.m4.orig Wed Oct 27 11:12:28 2004 -+++ apr-1.3.3/build/apr_hints.m4 Wed Oct 27 11:25:32 2004 +--- apr-1.3.5/build/apr_hints.m4.orig Wed Oct 27 11:12:28 2004 ++++ apr-1.3.5/build/apr_hints.m4 Wed Oct 27 11:25:32 2004 @@ -137,11 +137,7 @@ ;; *-freebsd*) diff --git a/devel/apr2/pkg-plist b/devel/apr2/pkg-plist index 18e965e5d10..a091c1c5475 100644 --- a/devel/apr2/pkg-plist +++ b/devel/apr2/pkg-plist @@ -84,6 +84,18 @@ lib/libaprutil-1.a lib/libaprutil-1.la lib/libaprutil-1.so lib/libaprutil-1.so.%%SHLIB_MAJOR%% +%%BDB%%lib/apr-util-1/apr_dbm_db-1.so +%%BDB%%lib/apr-util-1/apr_dbm_db.so +%%BDB%%lib/apr-util-1/apr_dbm_db.la +%%BDB%%lib/apr-util-1/apr_dbm_db.a +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm-1.so +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.so +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.la +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.a +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm-1.so +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.so +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.la +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.a %%LDAP%%lib/apr-util-1/apr_ldap-1.so %%LDAP%%lib/apr-util-1/apr_ldap.so %%LDAP%%lib/apr-util-1/apr_ldap.la |