diff options
author | leeym <leeym@FreeBSD.org> | 2003-07-18 11:34:53 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-07-18 11:34:53 +0800 |
commit | b6ca3e04affb5351e5c46122f737a8c0090ca2cf (patch) | |
tree | 4313e51f6b7eb7fc5c7aedee53c906fc6faca458 /www | |
parent | 0a55eb74d93c1038adf8e82ec7ed5c6440f36fa5 (diff) | |
download | freebsd-ports-gnome-b6ca3e04affb5351e5c46122f737a8c0090ca2cf.tar.gz freebsd-ports-gnome-b6ca3e04affb5351e5c46122f737a8c0090ca2cf.tar.zst freebsd-ports-gnome-b6ca3e04affb5351e5c46122f737a8c0090ca2cf.zip |
unbreak webredirect and update to webredirect-0.3
PR: 54581
Submitted by: Rasmus Kaj <kaj@e.kth.se>
Diffstat (limited to 'www')
-rw-r--r-- | www/webredirect/Makefile | 9 | ||||
-rw-r--r-- | www/webredirect/distinfo | 2 | ||||
-rw-r--r-- | www/webredirect/files/patch-incu::Makefile | 2 | ||||
-rw-r--r-- | www/webredirect/files/patch-incu::incu::socket.hh | 12 | ||||
-rw-r--r-- | www/webredirect/pkg-descr | 10 | ||||
-rw-r--r-- | www/webredirect/pkg-message | 2 |
6 files changed, 11 insertions, 26 deletions
diff --git a/www/webredirect/Makefile b/www/webredirect/Makefile index aa1fdd34c6ba..05a4347d5f78 100644 --- a/www/webredirect/Makefile +++ b/www/webredirect/Makefile @@ -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,18 +19,15 @@ MAN1= webredirect.1 .include <bsd.port.pre.mk> -.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 ${INSTALL_MAN} ${WRKSRC}/webredirect.1 ${PREFIX}/man/man1 post-install: - @${CAT} ${PKGMESSAGE} + @${SETENV} ${MAKE_ENV} ${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/www/webredirect/distinfo b/www/webredirect/distinfo index 0c1089a1a718..e250f365c5e1 100644 --- a/www/webredirect/distinfo +++ b/www/webredirect/distinfo @@ -1 +1 @@ -MD5 (webredirect-0.2.tar.gz) = c4bf0a99d0482124fecd558c27cfbd53 +MD5 (webredirect-0.3.tar.gz) = dd25c18d46935cbfb7ced046de5ace69 diff --git a/www/webredirect/files/patch-incu::Makefile b/www/webredirect/files/patch-incu::Makefile index 6494f9a70ce5..e239c4567f32 100644 --- a/www/webredirect/files/patch-incu::Makefile +++ b/www/webredirect/files/patch-incu::Makefile @@ -6,7 +6,7 @@ $FreeBSD$ @@ -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 --git a/www/webredirect/files/patch-incu::incu::socket.hh b/www/webredirect/files/patch-incu::incu::socket.hh deleted file mode 100644 index 84c76ad5e224..000000000000 --- a/www/webredirect/files/patch-incu::incu::socket.hh +++ /dev/null @@ -1,12 +0,0 @@ - -$FreeBSD$ - ---- 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 <sys/types.h> - #include <netdb.h> // Needed by <sys/socket.h> on some systems - #include <sys/socket.h> - #include <netinet/in.h> diff --git a/www/webredirect/pkg-descr b/www/webredirect/pkg-descr index 602c5f79f18f..0d8915510622 100644 --- a/www/webredirect/pkg-descr +++ b/www/webredirect/pkg-descr @@ -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 diff --git a/www/webredirect/pkg-message b/www/webredirect/pkg-message index 13d0b628334c..7cfd7b2bd771 100644 --- a/www/webredirect/pkg-message +++ b/www/webredirect/pkg-message @@ -1,4 +1,4 @@ Webredirect is installed but does not start automatically. Read the manpage to find out what options you like. Then start webredirect manually. If you want webredirect to start automatically on boot, create a small script in -/usr/local/etc/rc.d to do so. +${PREFIX}/etc/rc.d to do so. |