Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2000 14:54:04 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/17723: Update port: www/boa to 0.94.6
Message-ID:  <200003312254.OAA36260@freefall.freebsd.org>

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

>Number:         17723
>Category:       ports
>Synopsis:       Update port: www/boa to 0.94.6
>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:   Fri Mar 31 15:00:06 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.94.6

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/www/boa/Makefile www/boa/Makefile
--- /usr/ports/www/boa/Makefile	Wed Mar 29 20:07:44 2000
+++ www/boa/Makefile	Thu Mar 30 20:32:40 2000
@@ -1,29 +1,36 @@
 # New ports collection makefile for:	boa
-# Version required:			0.92
+# Version required:			0.94.6
 # Date created:				21 May 1998
 # Whom:					Andrey Zakhvatov
 #
 # $FreeBSD: ports/www/boa/Makefile,v 1.3 2000/03/29 07:18:26 kris Exp $
 #
 
-DISTNAME=	boa-0.92
+DISTNAME=	boa-0.94.6
 CATEGORIES=	www
 MASTER_SITES=	http://www.boa.org/
 
 MAINTAINER=	ports@FreeBSD.org
 
-do-build:
-	@ cd ${WRKSRC}/src; make
+WRKSRC=		${WRKDIR}/${DISTNAME}/src
+USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+
+BOA_DOCS=	boa-1.html boa-2.html boa-3.html boa-4.html boa.html \
+		boa.ps boa.txt boa_banner.png
+
+post-patch:
+	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/defines.h
 
 do-install:
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/src/boa ${PREFIX}/sbin
-	@ ${MKDIR} ${PREFIX}/share/examples/boa
-	@ ${INSTALL_DATA} ${WRKSRC}/conf/* ${PREFIX}/share/examples/boa
+	${INSTALL_PROGRAM} ${WRKSRC}/boa ${PREFIX}/sbin
+	${INSTALL_DATA} ${WRKSRC}/../boa.conf ${PREFIX}/etc/boa.conf.sample
+	@${MKDIR} ${PREFIX}/share/examples/boa
+	${INSTALL_DATA} ${WRKSRC}/../examples/* ${PREFIX}/share/examples/boa
 .if !defined(NOPORTDOCS)
-	@ ${MKDIR} ${PREFIX}/share/doc/boa
-	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/boa
-.for file in Changelog Gnu_License biblio.html details.html details.txt logos.html newboa7.gif poweredbyboa.gif readme.html readme.txt todo.txt
-	@ ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/boa
+	@${MKDIR} ${PREFIX}/share/doc/boa
+.for file in ${BOA_DOCS}
+	${INSTALL_DATA} ${WRKSRC}/../docs/${file} ${PREFIX}/share/doc/boa
 .endfor
 .endif
 
diff -urN /usr/ports/www/boa/files/md5 www/boa/files/md5
--- /usr/ports/www/boa/files/md5	Sun Jul  5 04:38:12 1998
+++ www/boa/files/md5	Thu Mar 30 19:45:49 2000
@@ -1 +1 @@
-MD5 (boa-0.92.tar.gz) = f3a28c2c911727f43eaf3e9e2703ab45
+MD5 (boa-0.94.6.tar.gz) = abb44d3c2b9d6dba19c647ac7474d63f
diff -urN /usr/ports/www/boa/patches/patch-aa www/boa/patches/patch-aa
--- /usr/ports/www/boa/patches/patch-aa	Fri Jan 21 18:43:22 2000
+++ www/boa/patches/patch-aa	Thu Mar 30 20:23:34 2000
@@ -1,19 +1,13 @@
---- src/Makefile.orig	Fri Dec 20 20:45:00 1996
-+++ src/Makefile	Fri Jan 21 01:42:21 2000
-@@ -9,13 +9,13 @@
+--- 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
  
- # Add -DVERBOSE_CGI_LOGS if you want logs of CGI program start and stop times
- 
--CMDARGS = -c -O2
-+CMDARGS = -c ${CFLAGS}
+-LDFLAGS = @LIBS@ -g 
+-CFLAGS = -O -Wall -g
++LDFLAGS = @LIBS@
++CFLAGS = @CFLAGS@
  
  # Change these if necessary
- 
--YACC = bison -y
-+YACC = yacc
- LEX = flex
--CC = gcc
-+#CC = gcc
- 
- all:	boa
  
diff -urN /usr/ports/www/boa/patches/patch-ab www/boa/patches/patch-ab
--- /usr/ports/www/boa/patches/patch-ab	Sun Jul  5 04:38:12 1998
+++ www/boa/patches/patch-ab	Thu Mar 30 20:31:56 2000
@@ -1,11 +1,20 @@
---- src/defines.h	Sun Dec 22 22:20:16 1996
-+++ /home/andy/tmp/wrk/src/defines.h	Thu May 21 22:10:31 1998
-@@ -23,7 +23,7 @@
- 
+--- defines.h.orig	Fri Feb 18 13:18:42 2000
++++ defines.h	Thu Mar 30 20:31:43 2000
+@@ -27,7 +27,7 @@
  /***** Change this, or use -c on the command line to specify it *****/
  
--#define SERVER_ROOT "/usr/local/boa"
-+#define SERVER_ROOT "/usr/local/www"
+ #ifndef SERVER_ROOT
+-#define SERVER_ROOT "/etc/boa"
++#define SERVER_ROOT "%%PREFIX%%/etc"
+ #endif
  
  /***** Various stuff that you may want to tweak, but probably shouldn't *****/
+@@ -44,7 +44,7 @@
+ #define REQUEST_TIMEOUT				60
+ 
+ #define CGI_MIME_TYPE    "application/x-httpd-cgi"
+-#define DEFAULT_PATH     "/bin:/usr/bin:/usr/local/bin"
++#define DEFAULT_PATH     "/bin:/usr/bin:%%PREFIX%%/bin"
  
+ /***** CHANGE ANYTHING BELOW THIS LINE AT YOUR OWN PERIL *****/
+ /***** You will probably introduce buffer overruns unless you know
diff -urN /usr/ports/www/boa/pkg/PLIST www/boa/pkg/PLIST
--- /usr/ports/www/boa/pkg/PLIST	Sun Jul  5 04:38:12 1998
+++ www/boa/pkg/PLIST	Thu Mar 30 20:13:46 2000
@@ -1,17 +1,15 @@
+etc/boa.conf.sample
 sbin/boa
-share/doc/boa/Changelog
-share/doc/boa/Gnu_License
-share/doc/boa/README
-share/doc/boa/biblio.html
-share/doc/boa/details.html
-share/doc/boa/details.txt
-share/doc/boa/logos.html
-share/doc/boa/newboa7.gif
-share/doc/boa/poweredbyboa.gif
-share/doc/boa/readme.html
-share/doc/boa/readme.txt
-share/doc/boa/todo.txt
-share/examples/boa/boa.conf
-share/examples/boa/mime.types
-@dirrm share/doc/boa
+share/doc/boa/boa-1.html
+share/doc/boa/boa-2.html
+share/doc/boa/boa-3.html
+share/doc/boa/boa-4.html
+share/doc/boa/boa.html
+share/doc/boa/boa.ps
+share/doc/boa/boa.txt
+share/doc/boa/boa_banner.png
+share/examples/boa/cgi-test.cgi
+share/examples/boa/nph-test.cgi
+share/examples/boa/resolver.pl
 @dirrm share/examples/boa
+@dirrm share/doc/boa


>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?200003312254.OAA36260>