Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2002 13:51:15 -0800 (PST)
From:      Paul Marquis <pmarquis@pobox.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/35065: Update port: www/boa - update to version 0.94.11.1
Message-ID:  <200202172151.g1HLpFW93210@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         35065
>Category:       ports
>Synopsis:       Update port: www/boa - update to version 0.94.11.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 17 14:00:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paul Marquis
>Release:        4-STABLE
>Organization:
>Environment:
FreeBSD sboy.pmarquis.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Feb  6 07:49:53
EST 2002     pmarquis@sboy.pmarquis.com:/usr/obj/home/src/sys/SBOY  i386

>Description:
Update to boa 0.94.11.1.  Diff against current ports tree attached.
>How-To-Repeat:
      
>Fix:
diff -Naur boa.orig/Makefile boa/Makefile
--- boa.orig/Makefile	Mon Apr  2 05:24:28 2001
+++ boa/Makefile	Sun Feb 17 16:37:06 2002
@@ -2,11 +2,11 @@
 # Date created:				21 May 1998
 # Whom:					Andrey Zakhvatov
 #
-# $FreeBSD: ports/www/boa/Makefile,v 1.10 2001/04/02 09:24:28 mharo Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	boa
-PORTVERSION=	0.94.8.3
+PORTVERSION=	0.94.11.1
 CATEGORIES=	www
 MASTER_SITES=	http://www.boa.org/
 
@@ -17,20 +17,25 @@
 GNU_CONFIGURE=	yes
 
 MAN8=		boa.8
+ONLY_FOR_ARCHS=	i386
+
+post-extract:
+	@find . -type d -name CVS -print | xargs rm -rf
 
 post-patch:
 	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/defines.h
+	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/../boa.conf
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/boa ${PREFIX}/sbin
+	${INSTALL_PROGRAM} ${WRKSRC}/boa ${WRKSRC}/boa_indexer ${PREFIX}/sbin
 	${INSTALL_MAN} ${WRKSRC}/../docs/boa.8 ${PREFIX}/man/man8
 	${INSTALL_DATA} ${WRKSRC}/../boa.conf ${PREFIX}/etc/boa.conf.sample
-	@${MKDIR} ${PREFIX}/share/examples/boa
-	${INSTALL_DATA} ${WRKSRC}/../examples/* ${PREFIX}/share/examples/boa
+	@${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/../examples/* ${EXAMPLESDIR}
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/boa
-	${INSTALL_DATA} ${WRKSRC}/../docs/boa.sgml ${PREFIX}/share/doc/boa
-	${INSTALL_DATA} ${WRKSRC}/../docs/boa_banner.png ${PREFIX}/share/doc/boa
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/../docs/boa.texi ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/../docs/boa_banner.png ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -Naur boa.orig/distinfo boa/distinfo
--- boa.orig/distinfo	Sat Oct  7 08:18:16 2000
+++ boa/distinfo	Sun Feb 17 13:42:27 2002
@@ -1 +1 @@
-MD5 (boa-0.94.8.3.tar.gz) = 492b474bf0adf9e00e6289fe70b104ef
+MD5 (boa-0.94.11.1.tar.gz) = 686ea6790e1e345962082cb3bf09bc2e
diff -Naur boa.orig/files/patch-aa boa/files/patch-aa
--- boa.orig/files/patch-aa	Sun Apr 30 16:13:48 2000
+++ boa/files/patch-aa	Wed Dec 31 19:00:00 1969
@@ -1,13 +0,0 @@
---- Makefile.in.orig	Sun Feb 13 06:52:45 2000
-+++ Makefile.in	Thu Mar 30 20:22:55 2000
-@@ -12,8 +12,8 @@
- # Add -lefence to LDFLAGS to link with ElectricFence
- # Add -pg to CFLAGS and LDFLAGS to get profiling output with gcc/gprof
- 
--LDFLAGS = @LIBS@ -g 
--CFLAGS = -O -Wall -g
-+LDFLAGS = @LIBS@
-+CFLAGS = @CFLAGS@
- 
- # Change these if necessary
- 
diff -Naur boa.orig/files/patch-ab boa/files/patch-ab
--- boa.orig/files/patch-ab	Sun Apr 30 16:13:48 2000
+++ boa/files/patch-ab	Sun Feb 17 13:41:12 2002
@@ -1,5 +1,5 @@
---- defines.h.orig	Fri Feb 18 13:18:42 2000
-+++ defines.h	Thu Mar 30 20:31:43 2000
+--- defines.h.orig	Thu Nov  1 23:37:46 2001
++++ defines.h	Sun Feb 17 13:40:30 2002
 @@ -27,7 +27,7 @@
  /***** Change this, or use -c on the command line to specify it *****/
  
diff -Naur boa.orig/files/patch-ac boa/files/patch-ac
--- boa.orig/files/patch-ac	Wed Dec 31 19:00:00 1969
+++ boa/files/patch-ac	Sun Feb 17 16:43:16 2002
@@ -0,0 +1,17 @@
+--- configure.orig	Sun Nov  4 19:37:34 2001
++++ configure	Sun Feb 17 14:57:17 2002
+@@ -1574,7 +1574,13 @@
+   echo "$ac_t""no" 1>&6
+ fi
+ 
+-
++# Do not check the number of places to shift.
++# In the test below, the value of ULONG_MAX is all lowercase (0xffffffff),
++# but numbers in bc must be uppercase.  The default value works on i386,
++# but not on alpha, so be sure to build only on i386 architecture.
++# Why do they use tr/bc to determine this?  What's wrong with a C program?
++ac_cv_path_TR=
++ac_cv_path_BC=
+ if test -z "$ac_cv_path_TR" -o -z "$ac_cv_path_BC"; then
+   echo "configure: warning: Unable to find either tr or bc -- assuming 32 bits per unsigned long" 1>&2
+ else
diff -Naur boa.orig/files/patch-ad boa/files/patch-ad
--- boa.orig/files/patch-ad	Wed Dec 31 19:00:00 1969
+++ boa/files/patch-ad	Sun Feb 17 16:34:27 2002
@@ -0,0 +1,11 @@
+--- ../boa.conf.orig	Mon Sep 24 23:28:30 2001
++++ ../boa.conf	Sun Feb 17 16:33:43 2002
+@@ -127,7 +127,7 @@
+ # DirectoryIndex are commented out, accessing a directory will give
+ # an error (though accessing files in the directory are still ok).
+ 
+-DirectoryMaker /usr/lib/boa/boa_indexer
++DirectoryMaker %%PREFIX%%/sbin/boa_indexer
+ 
+ # DirectoryCache: If DirectoryIndex doesn't exist, and DirectoryMaker
+ # has been commented out, the the on-the-fly indexing of Boa can be used
diff -Naur boa.orig/pkg-plist boa/pkg-plist
--- boa.orig/pkg-plist	Sun Dec 23 21:16:58 2001
+++ boa/pkg-plist	Sun Feb 17 16:14:41 2002
@@ -1,6 +1,7 @@
 etc/boa.conf.sample
 sbin/boa
-%%PORTDOCS%%share/doc/boa/boa.sgml
+sbin/boa_indexer
+%%PORTDOCS%%share/doc/boa/boa.texi
 %%PORTDOCS%%share/doc/boa/boa_banner.png
 share/examples/boa/cgi-test.cgi
 share/examples/boa/nph-test.cgi

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202172151.g1HLpFW93210>