From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 17 06:20:03 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B08C37B401 for ; Thu, 17 Jul 2003 06:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7955543FB1 for ; Thu, 17 Jul 2003 06:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6HDK2Up030104 for ; Thu, 17 Jul 2003 06:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6HDK2lf030103; Thu, 17 Jul 2003 06:20:02 -0700 (PDT) Resent-Date: Thu, 17 Jul 2003 06:20:02 -0700 (PDT) Resent-Message-Id: <200307171320.h6HDK2lf030103@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rasmus Kaj Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69EE637B401 for ; Thu, 17 Jul 2003 06:11:30 -0700 (PDT) Received: from elixir.e.kth.se (elixir.e.kth.se [130.237.48.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CCEC43FA3 for ; Thu, 17 Jul 2003 06:11:29 -0700 (PDT) (envelope-from kaj@e.kth.se) Received: from pythagoras.math.kth.se (pythagoras.math.kth.se [130.237.41.165]) by elixir.e.kth.se (8.12.9/8.12.9) with ESMTP id h6HDBShW448401; Thu, 17 Jul 2003 15:11:28 +0200 (CEST) Received: (from kaj@localhost) by pythagoras.math.kth.se (8.11.6/8.9.3) id h6HDBSq12248; Thu, 17 Jul 2003 15:11:28 +0200 Message-Id: Date: 17 Jul 2003 15:11:28 +0200 From: Rasmus Kaj Sender: kaj@e.kth.se To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54581: Upgrade / unbreak of www/webredirect X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 13:20:03 -0000 >Number: 54581 >Category: ports >Synopsis: Upgrade / unbreak of www/webredirect >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jul 17 06:20:01 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Rasmus Kaj >Release: FreeBSD 5.0-RELEASE-p1 i386 >Organization: Stacken Computer Club, KTH, Stockholm >Environment: System: FreeBSD franchine.kaj 5.0-RELEASE-p1 FreeBSD 5.0-RELEASE-p1 #1: Tue Feb 18 00:38:39 CET 2003 root@franchine.kaj:/usr/src/sys/i386/compile/FRANCHINE i386 >Description: The port www/webredirect has been broken since gcc 3.x was introduced in CURRENT. I have now (at long last) made a new release of webredirect, which works with gcc. This is an upgrade of the port to that new release. >How-To-Repeat: Build the port as ususal. >Fix: Apply the following patch, note that webredirect/files/patch-incu::Makefile is no longer needed. -- start of patch -- diff -ruN webredirect.old/Makefile webredirect/Makefile --- webredirect.old/Makefile Wed Jul 16 13:37:03 2003 +++ webredirect/Makefile Thu Jul 17 14:16:02 2003 @@ -6,7 +6,7 @@ # PORTNAME= webredirect -PORTVERSION= 0.2 +PORTVERSION= 0.3 CATEGORIES= www MASTER_SITES= ftp://ftp.stacken.kth.se/pub/projects/webredirect/ @@ -19,12 +19,9 @@ .include -.if ${OSVERSION} >= 500035 -BROKEN= "Does not compile on 5.0" -.endif - pre-build: @${TOUCH} ${WRKSRC}/incu/depend.mk + @${TOUCH} ${WRKSRC}/depend.mk do-install: ${INSTALL_PROGRAM} ${WRKSRC}/webredirect ${PREFIX}/bin diff -ruN webredirect.old/distinfo webredirect/distinfo --- webredirect.old/distinfo Wed Jul 16 13:37:03 2003 +++ webredirect/distinfo Wed Jul 16 13:38:09 2003 @@ -1 +1 @@ -MD5 (webredirect-0.2.tar.gz) = c4bf0a99d0482124fecd558c27cfbd53 +MD5 (webredirect-0.3.tar.gz) = dd25c18d46935cbfb7ced046de5ace69 diff -ruN webredirect.old/files/patch-incu::Makefile webredirect/files/patch-incu::Makefile --- webredirect.old/files/patch-incu::Makefile Wed Jul 16 13:37:03 2003 +++ webredirect/files/patch-incu::Makefile Wed Jul 16 13:43:14 2003 @@ -6,7 +6,7 @@ @@ -1,6 +1,6 @@ SRC = error.cc socket.cc log.cc system.cc time.cc pipe.cc OBJS = ${SRC:.cc=.o} --CXXFLAGS = -I. -pipe -Wall -O2 +-CXXFLAGS = -I. -pipe -g -Wall -O2 +CXXFLAGS += -I. -pipe -Wall RANLIB = ranlib diff -ruN webredirect.old/files/patch-incu::incu::socket.hh webredirect/files/patch-incu::incu::socket.hh --- webredirect.old/files/patch-incu::incu::socket.hh Wed Jul 16 13:37:03 2003 +++ webredirect/files/patch-incu::incu::socket.hh Thu Jan 1 01:00:00 1970 @@ -1,12 +0,0 @@ - -$FreeBSD: ports/www/webredirect/files/patch-incu::incu::socket.hh,v 1.1 2001/03/14 15:21:00 sobomax Exp $ - ---- incu/incu/socket.hh 2001/03/14 15:11:52 1.1 -+++ incu/incu/socket.hh 2001/03/14 15:12:11 -@@ -1,5 +1,6 @@ - #ifndef INCU_SOCKET - #define INCU_SOCKET -+#include - #include // Needed by on some systems - #include - #include diff -ruN webredirect.old/pkg-descr webredirect/pkg-descr --- webredirect.old/pkg-descr Wed Jul 16 13:37:03 2003 +++ webredirect/pkg-descr Thu Jul 17 14:55:17 2003 @@ -1,9 +1,9 @@ The webredirect program is an extremely small web server that gives the -"301 Moved Permanently" response to all "GET", "HEAD" and "POST" respons- -es. At the moment, all other requests are unsupported and result in a -"501 Not Supported" response. +"301 Moved Permanently" (or "302 Moved Temporarily") response to all +"GET", "HEAD" and "POST" requests. At the moment, all other requests are +unsupported and result in a "501 Not Supported" response. -WWW: http://Raditex.se/opensrc/ +WWW: http://www.Stacken.KTH.se/~kaj/hack/webredirect - Rasmus Kaj -kaj@Raditex.se +rasmus@kaj.se -- end of patch -- -- Rasmus Kaj ----------------------------------------------- rasmus@kaj.se \ COBOL programs are an exercise in Artificial Inelegance \------------------------------------- http://www.stacken.kth.se/~kaj/ >Release-Note: >Audit-Trail: >Unformatted: