1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Remove WITH_APR_FROM_PORTS knob

- Add a note to UPDATING, to warn users they won't be able to build apache2
  if they keep apr 0.9.x

Discussed with: Craig Rodrigues (apr maintainer), kuriyama
This commit is contained in:
Clement Laforet 2004-10-16 14:45:40 +00:00
parent c170774221
commit 3b4c9025f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119592
5 changed files with 164 additions and 190 deletions

View File

@ -6,6 +6,14 @@ You should get into the habit of checking this file for changes each
time you update your ports collection, before attempting any port
upgrades.
20041015
AFFECTS: users of www/apache2 with devel/apr
AUTHOR: clement@FreeBSD.org
WITH_APR_FROM_PORTS knob is no longer supported, since apr > 1.0
doesn't conflict with apache2's one. If you use apr 0.9.x you
won't be able to upgrade apache2 anymore.
20041014:
AFFECTS: users of security/clamav
AUTHOR: eik@FreeBSD.org

View File

@ -126,25 +126,8 @@ CONFIGURE_ARGS+= --with-ldap \
.include <bsd.port.pre.mk>
# Untested and may fail !
.if defined(WITH_APR_FROM_PORTS)
. if defined (WITH_BDB) || defined(WITH_BERKELEYDB)
IGNORE= "You can't set WITH_BDB or WITH_BERKELEYDB when WITH_APR_FROM_PORTS is defined"
. endif
LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr
CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-1-config \
--with-apr-util=${LOCALBASE}/bin/apu-1-config
CONFIGURE_ENV+= LTFLAGS="--tag=CXX"
PLIST_SUB+= PORTS_APR="@comment "
.else
. if exists(${LOCALBASE}/lib/libapr-1.so)
IGNORE= apr is installed and may conflict with apache one\
(if you want to use apr port define WITH_APR_FROM_PORTS,\
at your own risk)
. endif
PLIST_SUB+= PORTS_APR=""
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/apache2
.if exists(${LOCALBASE}/lib/libapr-0.so) || defined(WITH_APR_FROM_PORTS)
IGNORE= : apr from ports (WITH_APR_FROM_PORTS) is no longer supported
.endif
WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//:S/-//}

View File

@ -14,7 +14,7 @@ etc/apache2/mime.types-dist
@unexec if cmp -s %D/etc/apache2/ssl.conf %D/etc/apache2/ssl-std.conf; then rm -f %D/etc/apache2/ssl.conf; fi
etc/apache2/ssl-std.conf
@exec [ -f %B/ssl.conf ] || cp %B/%f %B/ssl.conf
%%PORTS_APR%%etc/rc.d/000.apache2libs.sh
etc/rc.d/000.apache2libs.sh
etc/rc.d/apache2.sh
include/apache2/ap_compat.h
include/apache2/ap_config.h
@ -26,68 +26,68 @@ include/apache2/ap_mpm.h
include/apache2/ap_provider.h
include/apache2/ap_regkey.h
include/apache2/ap_release.h
%%PORTS_APR%%include/apache2/apr.h
%%PORTS_APR%%include/apache2/apr_allocator.h
%%PORTS_APR%%include/apache2/apr_anylock.h
%%PORTS_APR%%include/apache2/apr_atomic.h
%%PORTS_APR%%include/apache2/apr_base64.h
%%PORTS_APR%%include/apache2/apr_buckets.h
%%PORTS_APR%%include/apache2/apr_compat.h
%%PORTS_APR%%include/apache2/apr_date.h
%%PORTS_APR%%include/apache2/apr_dbm.h
%%PORTS_APR%%include/apache2/apr_dso.h
%%PORTS_APR%%include/apache2/apr_env.h
%%PORTS_APR%%include/apache2/apr_errno.h
%%PORTS_APR%%include/apache2/apr_file_info.h
%%PORTS_APR%%include/apache2/apr_file_io.h
%%PORTS_APR%%include/apache2/apr_fnmatch.h
%%PORTS_APR%%include/apache2/apr_general.h
%%PORTS_APR%%include/apache2/apr_getopt.h
%%PORTS_APR%%include/apache2/apr_global_mutex.h
%%PORTS_APR%%include/apache2/apr_hash.h
%%PORTS_APR%%include/apache2/apr_hooks.h
%%PORTS_APR%%include/apache2/apr_inherit.h
%%PORTS_APR%%include/apache2/apr_ldap.h
%%PORTS_APR%%include/apache2/apr_ldap_url.h
%%PORTS_APR%%include/apache2/apr_lib.h
%%PORTS_APR%%include/apache2/apr_md4.h
%%PORTS_APR%%include/apache2/apr_md5.h
%%PORTS_APR%%include/apache2/apr_mmap.h
%%PORTS_APR%%include/apache2/apr_network_io.h
%%PORTS_APR%%include/apache2/apr_optional.h
%%PORTS_APR%%include/apache2/apr_optional_hooks.h
%%PORTS_APR%%include/apache2/apr_poll.h
%%PORTS_APR%%include/apache2/apr_pools.h
%%PORTS_APR%%include/apache2/apr_portable.h
%%PORTS_APR%%include/apache2/apr_proc_mutex.h
%%PORTS_APR%%include/apache2/apr_queue.h
%%PORTS_APR%%include/apache2/apr_reslist.h
%%PORTS_APR%%include/apache2/apr_ring.h
%%PORTS_APR%%include/apache2/apr_rmm.h
%%PORTS_APR%%include/apache2/apr_sdbm.h
%%PORTS_APR%%include/apache2/apr_sha1.h
%%PORTS_APR%%include/apache2/apr_shm.h
%%PORTS_APR%%include/apache2/apr_signal.h
%%PORTS_APR%%include/apache2/apr_strings.h
%%PORTS_APR%%include/apache2/apr_strmatch.h
%%PORTS_APR%%include/apache2/apr_support.h
%%PORTS_APR%%include/apache2/apr_tables.h
%%PORTS_APR%%include/apache2/apr_thread_cond.h
%%PORTS_APR%%include/apache2/apr_thread_mutex.h
%%PORTS_APR%%include/apache2/apr_thread_proc.h
%%PORTS_APR%%include/apache2/apr_thread_rwlock.h
%%PORTS_APR%%include/apache2/apr_time.h
%%PORTS_APR%%include/apache2/apr_uri.h
%%PORTS_APR%%include/apache2/apr_user.h
%%PORTS_APR%%include/apache2/apr_uuid.h
%%PORTS_APR%%include/apache2/apr_version.h
%%PORTS_APR%%include/apache2/apr_want.h
%%PORTS_APR%%include/apache2/apr_xlate.h
%%PORTS_APR%%include/apache2/apr_xml.h
%%PORTS_APR%%include/apache2/apu.h
%%PORTS_APR%%include/apache2/apu_compat.h
%%PORTS_APR%%include/apache2/apu_version.h
%%PORTS_APR%%include/apache2/apu_want.h
include/apache2/apr.h
include/apache2/apr_allocator.h
include/apache2/apr_anylock.h
include/apache2/apr_atomic.h
include/apache2/apr_base64.h
include/apache2/apr_buckets.h
include/apache2/apr_compat.h
include/apache2/apr_date.h
include/apache2/apr_dbm.h
include/apache2/apr_dso.h
include/apache2/apr_env.h
include/apache2/apr_errno.h
include/apache2/apr_file_info.h
include/apache2/apr_file_io.h
include/apache2/apr_fnmatch.h
include/apache2/apr_general.h
include/apache2/apr_getopt.h
include/apache2/apr_global_mutex.h
include/apache2/apr_hash.h
include/apache2/apr_hooks.h
include/apache2/apr_inherit.h
include/apache2/apr_ldap.h
include/apache2/apr_ldap_url.h
include/apache2/apr_lib.h
include/apache2/apr_md4.h
include/apache2/apr_md5.h
include/apache2/apr_mmap.h
include/apache2/apr_network_io.h
include/apache2/apr_optional.h
include/apache2/apr_optional_hooks.h
include/apache2/apr_poll.h
include/apache2/apr_pools.h
include/apache2/apr_portable.h
include/apache2/apr_proc_mutex.h
include/apache2/apr_queue.h
include/apache2/apr_reslist.h
include/apache2/apr_ring.h
include/apache2/apr_rmm.h
include/apache2/apr_sdbm.h
include/apache2/apr_sha1.h
include/apache2/apr_shm.h
include/apache2/apr_signal.h
include/apache2/apr_strings.h
include/apache2/apr_strmatch.h
include/apache2/apr_support.h
include/apache2/apr_tables.h
include/apache2/apr_thread_cond.h
include/apache2/apr_thread_mutex.h
include/apache2/apr_thread_proc.h
include/apache2/apr_thread_rwlock.h
include/apache2/apr_time.h
include/apache2/apr_uri.h
include/apache2/apr_user.h
include/apache2/apr_uuid.h
include/apache2/apr_version.h
include/apache2/apr_want.h
include/apache2/apr_xlate.h
include/apache2/apr_xml.h
include/apache2/apu.h
include/apache2/apu_compat.h
include/apache2/apu_version.h
include/apache2/apu_want.h
%%WORKER%%include/apache2/fdqueue.h
%%THREADPOOL%%include/apache2/pod.h
include/apache2/http_config.h
@ -131,16 +131,16 @@ include/apache2/util_md5.h
include/apache2/util_script.h
include/apache2/util_time.h
include/apache2/util_xml.h
%%PORTS_APR%%lib/apache2/apr-config
%%PORTS_APR%%lib/apache2/apr.exp
%%PORTS_APR%%lib/apache2/aprutil.exp
%%PORTS_APR%%lib/apache2/apu-config
%%PORTS_APR%%lib/apache2/libapr-0.a
%%PORTS_APR%%lib/apache2/libapr-0.so
%%PORTS_APR%%lib/apache2/libapr-0.so.9
%%PORTS_APR%%lib/apache2/libaprutil-0.a
%%PORTS_APR%%lib/apache2/libaprutil-0.so
%%PORTS_APR%%lib/apache2/libaprutil-0.so.9
lib/apache2/apr-config
lib/apache2/apr.exp
lib/apache2/aprutil.exp
lib/apache2/apu-config
lib/apache2/libapr-0.a
lib/apache2/libapr-0.so
lib/apache2/libapr-0.so.9
lib/apache2/libaprutil-0.a
lib/apache2/libaprutil-0.so
lib/apache2/libaprutil-0.so.9
libexec/apache2/httpd.exp
%%MOD_ACCESS%%libexec/apache2/mod_access.so
%%MOD_ACTIONS%%libexec/apache2/mod_actions.so
@ -212,12 +212,12 @@ sbin/httpd
sbin/logresolve
sbin/rotatelogs
%%MOD_SUEXEC%%sbin/suexec
%%PORTS_APR%%share/apache2/build/apr_rules.mk
share/apache2/build/apr_rules.mk
share/apache2/build/config_vars.mk
share/apache2/build/config.nice
share/apache2/build/instdso.sh
share/apache2/build/library.mk
%%PORTS_APR%%share/apache2/build/libtool
share/apache2/build/libtool
share/apache2/build/ltlib.mk
share/apache2/build/program.mk
share/apache2/build/rules.mk
@ -522,7 +522,7 @@ share/apache2/build/special.mk
@dirrm share/apache2/build
@dirrm share/apache2
@unexec rmdir %D/libexec/apache2 2> /dev/null || true
%%PORTS_APR%%@dirrm lib/apache2
@dirrm lib/apache2
@dirrm include/apache2
@exec mkdir -p %D/etc/apache2/Includes 2> /dev/null || true
@unexec rmdir %D/etc/apache2/Includes 2> /dev/null || true

View File

@ -126,25 +126,8 @@ CONFIGURE_ARGS+= --with-ldap \
.include <bsd.port.pre.mk>
# Untested and may fail !
.if defined(WITH_APR_FROM_PORTS)
. if defined (WITH_BDB) || defined(WITH_BERKELEYDB)
IGNORE= "You can't set WITH_BDB or WITH_BERKELEYDB when WITH_APR_FROM_PORTS is defined"
. endif
LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr
CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-1-config \
--with-apr-util=${LOCALBASE}/bin/apu-1-config
CONFIGURE_ENV+= LTFLAGS="--tag=CXX"
PLIST_SUB+= PORTS_APR="@comment "
.else
. if exists(${LOCALBASE}/lib/libapr-1.so)
IGNORE= apr is installed and may conflict with apache one\
(if you want to use apr port define WITH_APR_FROM_PORTS,\
at your own risk)
. endif
PLIST_SUB+= PORTS_APR=""
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/apache2
.if exists(${LOCALBASE}/lib/libapr-0.so) || defined(WITH_APR_FROM_PORTS)
IGNORE= : apr from ports (WITH_APR_FROM_PORTS) is no longer supported
.endif
WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//:S/-//}

View File

@ -14,7 +14,7 @@ etc/apache2/mime.types-dist
@unexec if cmp -s %D/etc/apache2/ssl.conf %D/etc/apache2/ssl-std.conf; then rm -f %D/etc/apache2/ssl.conf; fi
etc/apache2/ssl-std.conf
@exec [ -f %B/ssl.conf ] || cp %B/%f %B/ssl.conf
%%PORTS_APR%%etc/rc.d/000.apache2libs.sh
etc/rc.d/000.apache2libs.sh
etc/rc.d/apache2.sh
include/apache2/ap_compat.h
include/apache2/ap_config.h
@ -26,68 +26,68 @@ include/apache2/ap_mpm.h
include/apache2/ap_provider.h
include/apache2/ap_regkey.h
include/apache2/ap_release.h
%%PORTS_APR%%include/apache2/apr.h
%%PORTS_APR%%include/apache2/apr_allocator.h
%%PORTS_APR%%include/apache2/apr_anylock.h
%%PORTS_APR%%include/apache2/apr_atomic.h
%%PORTS_APR%%include/apache2/apr_base64.h
%%PORTS_APR%%include/apache2/apr_buckets.h
%%PORTS_APR%%include/apache2/apr_compat.h
%%PORTS_APR%%include/apache2/apr_date.h
%%PORTS_APR%%include/apache2/apr_dbm.h
%%PORTS_APR%%include/apache2/apr_dso.h
%%PORTS_APR%%include/apache2/apr_env.h
%%PORTS_APR%%include/apache2/apr_errno.h
%%PORTS_APR%%include/apache2/apr_file_info.h
%%PORTS_APR%%include/apache2/apr_file_io.h
%%PORTS_APR%%include/apache2/apr_fnmatch.h
%%PORTS_APR%%include/apache2/apr_general.h
%%PORTS_APR%%include/apache2/apr_getopt.h
%%PORTS_APR%%include/apache2/apr_global_mutex.h
%%PORTS_APR%%include/apache2/apr_hash.h
%%PORTS_APR%%include/apache2/apr_hooks.h
%%PORTS_APR%%include/apache2/apr_inherit.h
%%PORTS_APR%%include/apache2/apr_ldap.h
%%PORTS_APR%%include/apache2/apr_ldap_url.h
%%PORTS_APR%%include/apache2/apr_lib.h
%%PORTS_APR%%include/apache2/apr_md4.h
%%PORTS_APR%%include/apache2/apr_md5.h
%%PORTS_APR%%include/apache2/apr_mmap.h
%%PORTS_APR%%include/apache2/apr_network_io.h
%%PORTS_APR%%include/apache2/apr_optional.h
%%PORTS_APR%%include/apache2/apr_optional_hooks.h
%%PORTS_APR%%include/apache2/apr_poll.h
%%PORTS_APR%%include/apache2/apr_pools.h
%%PORTS_APR%%include/apache2/apr_portable.h
%%PORTS_APR%%include/apache2/apr_proc_mutex.h
%%PORTS_APR%%include/apache2/apr_queue.h
%%PORTS_APR%%include/apache2/apr_reslist.h
%%PORTS_APR%%include/apache2/apr_ring.h
%%PORTS_APR%%include/apache2/apr_rmm.h
%%PORTS_APR%%include/apache2/apr_sdbm.h
%%PORTS_APR%%include/apache2/apr_sha1.h
%%PORTS_APR%%include/apache2/apr_shm.h
%%PORTS_APR%%include/apache2/apr_signal.h
%%PORTS_APR%%include/apache2/apr_strings.h
%%PORTS_APR%%include/apache2/apr_strmatch.h
%%PORTS_APR%%include/apache2/apr_support.h
%%PORTS_APR%%include/apache2/apr_tables.h
%%PORTS_APR%%include/apache2/apr_thread_cond.h
%%PORTS_APR%%include/apache2/apr_thread_mutex.h
%%PORTS_APR%%include/apache2/apr_thread_proc.h
%%PORTS_APR%%include/apache2/apr_thread_rwlock.h
%%PORTS_APR%%include/apache2/apr_time.h
%%PORTS_APR%%include/apache2/apr_uri.h
%%PORTS_APR%%include/apache2/apr_user.h
%%PORTS_APR%%include/apache2/apr_uuid.h
%%PORTS_APR%%include/apache2/apr_version.h
%%PORTS_APR%%include/apache2/apr_want.h
%%PORTS_APR%%include/apache2/apr_xlate.h
%%PORTS_APR%%include/apache2/apr_xml.h
%%PORTS_APR%%include/apache2/apu.h
%%PORTS_APR%%include/apache2/apu_compat.h
%%PORTS_APR%%include/apache2/apu_version.h
%%PORTS_APR%%include/apache2/apu_want.h
include/apache2/apr.h
include/apache2/apr_allocator.h
include/apache2/apr_anylock.h
include/apache2/apr_atomic.h
include/apache2/apr_base64.h
include/apache2/apr_buckets.h
include/apache2/apr_compat.h
include/apache2/apr_date.h
include/apache2/apr_dbm.h
include/apache2/apr_dso.h
include/apache2/apr_env.h
include/apache2/apr_errno.h
include/apache2/apr_file_info.h
include/apache2/apr_file_io.h
include/apache2/apr_fnmatch.h
include/apache2/apr_general.h
include/apache2/apr_getopt.h
include/apache2/apr_global_mutex.h
include/apache2/apr_hash.h
include/apache2/apr_hooks.h
include/apache2/apr_inherit.h
include/apache2/apr_ldap.h
include/apache2/apr_ldap_url.h
include/apache2/apr_lib.h
include/apache2/apr_md4.h
include/apache2/apr_md5.h
include/apache2/apr_mmap.h
include/apache2/apr_network_io.h
include/apache2/apr_optional.h
include/apache2/apr_optional_hooks.h
include/apache2/apr_poll.h
include/apache2/apr_pools.h
include/apache2/apr_portable.h
include/apache2/apr_proc_mutex.h
include/apache2/apr_queue.h
include/apache2/apr_reslist.h
include/apache2/apr_ring.h
include/apache2/apr_rmm.h
include/apache2/apr_sdbm.h
include/apache2/apr_sha1.h
include/apache2/apr_shm.h
include/apache2/apr_signal.h
include/apache2/apr_strings.h
include/apache2/apr_strmatch.h
include/apache2/apr_support.h
include/apache2/apr_tables.h
include/apache2/apr_thread_cond.h
include/apache2/apr_thread_mutex.h
include/apache2/apr_thread_proc.h
include/apache2/apr_thread_rwlock.h
include/apache2/apr_time.h
include/apache2/apr_uri.h
include/apache2/apr_user.h
include/apache2/apr_uuid.h
include/apache2/apr_version.h
include/apache2/apr_want.h
include/apache2/apr_xlate.h
include/apache2/apr_xml.h
include/apache2/apu.h
include/apache2/apu_compat.h
include/apache2/apu_version.h
include/apache2/apu_want.h
%%WORKER%%include/apache2/fdqueue.h
%%THREADPOOL%%include/apache2/pod.h
include/apache2/http_config.h
@ -131,16 +131,16 @@ include/apache2/util_md5.h
include/apache2/util_script.h
include/apache2/util_time.h
include/apache2/util_xml.h
%%PORTS_APR%%lib/apache2/apr-config
%%PORTS_APR%%lib/apache2/apr.exp
%%PORTS_APR%%lib/apache2/aprutil.exp
%%PORTS_APR%%lib/apache2/apu-config
%%PORTS_APR%%lib/apache2/libapr-0.a
%%PORTS_APR%%lib/apache2/libapr-0.so
%%PORTS_APR%%lib/apache2/libapr-0.so.9
%%PORTS_APR%%lib/apache2/libaprutil-0.a
%%PORTS_APR%%lib/apache2/libaprutil-0.so
%%PORTS_APR%%lib/apache2/libaprutil-0.so.9
lib/apache2/apr-config
lib/apache2/apr.exp
lib/apache2/aprutil.exp
lib/apache2/apu-config
lib/apache2/libapr-0.a
lib/apache2/libapr-0.so
lib/apache2/libapr-0.so.9
lib/apache2/libaprutil-0.a
lib/apache2/libaprutil-0.so
lib/apache2/libaprutil-0.so.9
libexec/apache2/httpd.exp
%%MOD_ACCESS%%libexec/apache2/mod_access.so
%%MOD_ACTIONS%%libexec/apache2/mod_actions.so
@ -212,12 +212,12 @@ sbin/httpd
sbin/logresolve
sbin/rotatelogs
%%MOD_SUEXEC%%sbin/suexec
%%PORTS_APR%%share/apache2/build/apr_rules.mk
share/apache2/build/apr_rules.mk
share/apache2/build/config_vars.mk
share/apache2/build/config.nice
share/apache2/build/instdso.sh
share/apache2/build/library.mk
%%PORTS_APR%%share/apache2/build/libtool
share/apache2/build/libtool
share/apache2/build/ltlib.mk
share/apache2/build/program.mk
share/apache2/build/rules.mk
@ -522,7 +522,7 @@ share/apache2/build/special.mk
@dirrm share/apache2/build
@dirrm share/apache2
@unexec rmdir %D/libexec/apache2 2> /dev/null || true
%%PORTS_APR%%@dirrm lib/apache2
@dirrm lib/apache2
@dirrm include/apache2
@exec mkdir -p %D/etc/apache2/Includes 2> /dev/null || true
@unexec rmdir %D/etc/apache2/Includes 2> /dev/null || true