1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

2/5: Update to httpd 2.2.15, default to using devel/apr instead of bundled apr

PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@
This commit is contained in:
Philip M. Gollucci 2010-05-05 21:43:30 +00:00
parent ed701bd5db
commit 830db6ab99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253782
5 changed files with 40 additions and 42 deletions

View File

@ -8,8 +8,7 @@
#
PORTNAME= apache
PORTVERSION= 2.2.14
PORTREVISION= 6
PORTVERSION= 2.2.15
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
DISTNAME= httpd-${PORTVERSION}
@ -58,7 +57,7 @@ APACHEDIR= ${MASTERDIR}
.if !defined(WITHOUT_APACHE_OPTIONS)
OPTIONS= \
APR_FROM_PORTS "Use devel/apr as APR (preferred)" Off \
APR_FROM_PORTS "Use devel/apr (recommended)" On \
THREADS "Enable threads support in APR" Off \
MYSQL "Enable MySQL support for apr-dbd" Off \
PGSQL "Enable PostgreSQL support for apr-dbd" Off \

View File

@ -1,3 +1,3 @@
MD5 (apache22/httpd-2.2.14.tar.bz2) = a5226203aaf97e5b941c41a71c112704
SHA256 (apache22/httpd-2.2.14.tar.bz2) = b2deab8a5e797fde7a04fb4a5ebfa9c80f767d064dd19dcd2857c94838ae3ac6
SIZE (apache22/httpd-2.2.14.tar.bz2) = 5147171
MD5 (apache22/httpd-2.2.15.tar.bz2) = 016cec97337eccead2aad6a7c27f2e14
SHA256 (apache22/httpd-2.2.15.tar.bz2) = 5ae0c428e7abd87eecbac8564d90a7182104325bae7086c21db7b3a1e3140ca7
SIZE (apache22/httpd-2.2.15.tar.bz2) = 4959582

View File

@ -1,32 +0,0 @@
--- srclib/apr/buildconf.orig Tue Jun 14 14:11:15 2005
+++ srclib/apr/buildconf Sun Sep 24 15:17:36 2006
@@ -23,7 +23,7 @@
#
build/buildcheck.sh || exit 1
-libtoolize=`build/PrintPath glibtoolize1 glibtoolize libtoolize15 libtoolize14 libtoolize`
+libtoolize="${LIBTOOLIZE}"
if [ "x$libtoolize" = "x" ]; then
echo "libtoolize not found in path"
exit 1
@@ -60,7 +60,7 @@
# Expecting the code above to be very portable, but just in case...
if [ -z "$ltfile" -o ! -f "$ltfile" ]; then
ltpath=`dirname $libtoolize`
- ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
+ ltfile=${LIBTOOL_M4}
fi
fi
@@ -95,8 +95,11 @@
# Remove autoconf 2.5x's cache directory
rm -rf autom4te*.cache
+
+if [ "x${FULLBUILD}" = "xon" ] ; then
echo "Generating 'make' outputs ..."
build/gen-build.py make
+fi
# Create RPM Spec file
if [ -f `which cut` ]; then

View File

@ -1,6 +1,24 @@
--- ./srclib/apr/buildconf.orig 2009-12-12 00:36:35.693177242 +0000
+++ ./srclib/apr/buildconf 2009-12-12 00:37:00.222653819 +0000
@@ -71,6 +71,7 @@
--- srclib/apr/buildconf.orig 2009-11-12 17:19:49.000000000 -0500
+++ srclib/apr/buildconf 2010-04-30 19:22:40.116834529 -0400
@@ -28,7 +28,7 @@
#
build/buildcheck.sh $verbose || exit 1
-libtoolize=`build/PrintPath glibtoolize1 glibtoolize libtoolize15 libtoolize14 libtoolize`
+libtoolize="${LIBTOOLIZE}"
if [ "x$libtoolize" = "x" ]; then
echo "libtoolize not found in path"
exit 1
@@ -65,7 +65,7 @@
# Expecting the code above to be very portable, but just in case...
if [ -z "$ltfile" -o ! -f "$ltfile" ]; then
ltpath=`dirname $libtoolize`
- ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
+ ltfile=${LIBTOOL_M4}
fi
fi
@@ -76,6 +76,7 @@
echo "buildconf: Using libtool.m4 at ${ltfile}."
@ -8,3 +26,16 @@
cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
# libtool.m4 from 1.6 requires ltsugar.m4
@@ -100,8 +101,10 @@
# Remove autoconf 2.5x's cache directory
rm -rf autom4te*.cache
-echo "Generating 'make' outputs ..."
-build/gen-build.py $verbose make
+if [ "x${FULLBUILD}" = "xon" ] ; then
+ echo "Generating 'make' outputs ..."
+ build/gen-build.py $verbose make
+fi
# Create RPM Spec file
if [ -f `which cut` ]; then

View File

@ -170,7 +170,7 @@ include/apache22/util_xml.h
%%APR_PORTS%%lib/libapr-1.a
%%APR_PORTS%%lib/libapr-1.la
%%APR_PORTS%%lib/libapr-1.so
%%APR_PORTS%%lib/libapr-1.so.3
%%APR_PORTS%%lib/libapr-1.so.4
%%APR_PORTS%%lib/libaprutil-1.a
%%APR_PORTS%%lib/libaprutil-1.la
%%APR_PORTS%%lib/libaprutil-1.so