Bug 36834 - Update port: www/apache2 (to the first general release)
Summary: Update port: www/apache2 (to the first general release)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-07 04:30 UTC by Hye-Shik Chang
Modified: 2002-04-08 07:45 UTC (History)
0 users

See Also:


Attachments
file.diff (63.63 KB, patch)
2002-04-07 04:30 UTC, Hye-Shik Chang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hye-Shik Chang 2002-04-07 04:30:00 UTC
- Update to 2.0.35 which is the first GA release.
- */apache/* directories are moved to */apache2/*
- added WITH_SUEXEC support as option

FYI:
 WITH_MPM=worker is still unavailable.
 apache developers said FreeBSD's pthread implementation seems to have a scheduling problem.
 see: the 205th line of http://cvs.apache.org/viewcvs.cgi/httpd-2.0/STATUS?annotate=1.569
Comment 1 Hye-Shik Chang 2002-04-07 17:03:17 UTC
Here's additional patches for FreeBSD-current


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	files/patch-srclib:apr:build:ltmain.sh
#	files/patch-srclib:apr:include:apr_atomic.h
#
echo x - files/patch-srclib:apr:build:ltmain.sh
sed 's/^X//' >files/patch-srclib:apr:build:ltmain.sh << 'END-of-files/patch-srclib:apr:build:ltmain.sh'
X--- srclib/apr/build/ltmain.sh.orig	Sun Apr  7 23:04:28 2002
X+++ srclib/apr/build/ltmain.sh	Sun Apr  7 23:05:33 2002
X@@ -1959,14 +1959,14 @@
X 	  if test $? -eq 0 ; then
X 	    ldd_output=`ldd conftest`
X 	    for i in $deplibs; do
X-	      name="`expr $i : '-l\(.*\)'`"
X+	      name="`expr -- $i : '-l\(.*\)'`"
X 	      # If $name is empty we are operating on a -L argument.
X 	      if test "$name" != "" ; then
X 		libname=`eval \\$echo \"$libname_spec\"`
X 		deplib_matches=`eval \\$echo \"$library_names_spec\"`
X 		set dummy $deplib_matches
X 		deplib_match=$2
X-		if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
X+		if test `expr -- "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
X 		  newdeplibs="$newdeplibs $i"
X 		else
X 		  droppeddeps=yes
X@@ -1984,7 +1984,7 @@
X 	    # Error occured in the first compile.  Let's try to salvage the situation:
X 	    # Compile a seperate program for each library.
X 	    for i in $deplibs; do
X-	      name="`expr $i : '-l\(.*\)'`"
X+	      name="`expr -- $i : '-l\(.*\)'`"
X 	     # If $name is empty we are operating on a -L argument.
X 	      if test "$name" != "" ; then
X 		$rm conftest
X@@ -1996,7 +1996,7 @@
X 		  deplib_matches=`eval \\$echo \"$library_names_spec\"`
X 		  set dummy $deplib_matches
X 		  deplib_match=$2
X-		  if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
X+		  if test `expr -- "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
X 		    newdeplibs="$newdeplibs $i"
X 		  else
X 		    droppeddeps=yes
X@@ -2022,9 +2022,9 @@
X 	  ;;
X 	file_magic*)
X 	  set dummy $deplibs_check_method
X-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"$2 \(.*\)\"`"
X+	  file_magic_regex="`expr -- \"$deplibs_check_method\" : \"$2 \(.*\)\"`"
X 	  for a_deplib in $deplibs; do
X-	    name="`expr $a_deplib : '-l\(.*\)'`"
X+	    name="`expr -- $a_deplib : '-l\(.*\)'`"
X 	    # If $name is empty we are operating on a -L argument.
X 	    if test "$name" != "" ; then
X 	      libname=`eval \\$echo \"$libname_spec\"`
END-of-files/patch-srclib:apr:build:ltmain.sh
echo x - files/patch-srclib:apr:include:apr_atomic.h
sed 's/^X//' >files/patch-srclib:apr:include:apr_atomic.h << 'END-of-files/patch-srclib:apr:include:apr_atomic.h'
X--- srclib/apr/include/apr_atomic.h.orig	Sun Apr  7 22:54:09 2002
X+++ srclib/apr/include/apr_atomic.h	Sun Apr  7 22:55:03 2002
X@@ -191,10 +191,10 @@
X #include <machine/atomic.h>
X 
X #define apr_atomic_t apr_uint32_t
X-#define apr_atomic_add(mem, val)     atomic_add_int(mem,val)
X-#define apr_atomic_dec(mem)          atomic_subtract_int(mem,1)
X-#define apr_atomic_inc(mem)          atomic_add_int(mem,1)
X-#define apr_atomic_set(mem, val)     atomic_set_int(mem, val)
X+#define apr_atomic_add(mem, val)     (atomic_add_int(mem,val),mem)
X+#define apr_atomic_dec(mem)          (atomic_subtract_int(mem,1),mem)
X+#define apr_atomic_inc(mem)          (atomic_add_int(mem,1),mem)
X+#define apr_atomic_set(mem, val)     (atomic_set_int(mem, val),mem)
X #define apr_atomic_read(mem)         *mem
X 
X #define APR_ATOMIC_NEED_CAS_DEFAULT 1
END-of-files/patch-srclib:apr:include:apr_atomic.h
exit
Comment 2 Patrick Li freebsd_committer freebsd_triage 2002-04-08 07:45:36 UTC
State Changed
From-To: open->closed

Committed, Thanks!