diff options
Diffstat (limited to 'www/mathopd')
-rw-r--r-- | www/mathopd/Makefile | 7 | ||||
-rw-r--r-- | www/mathopd/distinfo | 4 | ||||
-rw-r--r-- | www/mathopd/files/patch-aa | 21 | ||||
-rw-r--r-- | www/mathopd/pkg-plist | 3 |
4 files changed, 22 insertions, 13 deletions
diff --git a/www/mathopd/Makefile b/www/mathopd/Makefile index e71cf4f8c220..3093a9f0fbbe 100644 --- a/www/mathopd/Makefile +++ b/www/mathopd/Makefile @@ -6,15 +6,14 @@ # PORTNAME= mathopd -PORTVERSION= 1.4p2 +PORTVERSION= 1.5p3 CATEGORIES= www -MASTER_SITES= http://www.mathopd.org/dist/ \ - http://www.tobez.org/download/port-mirrors/www/mathopd/ +MASTER_SITES= http://www.mathopd.org/dist/ MAINTAINER= tobez@FreeBSD.org COMMENT= A very small, yet very fast HTTP server -DOCS= CHANGES cgi.txt config.txt processing.txt running.txt sample.cfg syntax.txt +DOCS= CHANGES cgi.txt config.txt running.txt sample.cfg syntax.txt post-install: @${INSTALL_DATA} ${WRKSRC}/doc/sample.cfg ${PREFIX}/etc/mathopd.conf.sample diff --git a/www/mathopd/distinfo b/www/mathopd/distinfo index e02dce284e53..e3976c4df825 100644 --- a/www/mathopd/distinfo +++ b/www/mathopd/distinfo @@ -1,2 +1,2 @@ -MD5 (mathopd-1.4p2.tar.gz) = 6d319309636e0f5a0149a2599546a18f -SIZE (mathopd-1.4p2.tar.gz) = 43883 +MD5 (mathopd-1.5p3.tar.gz) = 6e0fea187134cb52509c2f98a8644d11 +SIZE (mathopd-1.5p3.tar.gz) = 58549 diff --git a/www/mathopd/files/patch-aa b/www/mathopd/files/patch-aa index ab71aa95ef9d..c2884e390323 100644 --- a/www/mathopd/files/patch-aa +++ b/www/mathopd/files/patch-aa @@ -1,6 +1,6 @@ ---- src/Makefile.orig Fri Dec 5 00:20:58 2003 -+++ src/Makefile Fri Dec 5 00:23:13 2003 -@@ -1,38 +1,8 @@ +--- src/Makefile.orig Sun Dec 14 20:37:51 2003 ++++ src/Makefile Thu May 6 12:16:48 2004 +@@ -1,49 +1,8 @@ -BIN = mathopd -CC = gcc -CFLAGS = -O -Wall @@ -11,7 +11,7 @@ -SBINDIR = $(PREFIX)/sbin +PROG= mathopd +SRCS= base64.c cgi.c config.c core.c dump.c imap.c log.c \ -+ main.c redirect.c request.c util.c ++ main.c redirect.c request.c util.c stub.c +BINDIR?=${PREFIX}/sbin +NOMAN= yes +LDADD= -lcrypt @@ -24,7 +24,7 @@ -# CPPFLAGS = -DHAVE_CRYPT_H - -OBJS = base64.o cgi.o config.o core.o dump.o imap.o log.o main.o \ -- redirect.o request.o util.o +- redirect.o request.o util.o stub.o -DEPENDS = mathopd.h Makefile - -# Uncomment the following if your system does not support the poll() function @@ -34,6 +34,17 @@ -# Uncomment the following if your system does not have the socklen_t type -# CPPFLAGS += -DNEED_SOCKLEN_T - +-# Unomment the following if your system has a working vfork() function +-# CPPFLAGS += -DHAVE_VFORK +- +-# Currently, sendfile support is available in two flavours: Linux and FreeBSD +-# Uncomment one of the following two to enable sendfile() support +-# CPPFLAGS += -DLINUX_SENDFILE +-# CPPFLAGS += -DFREEBSD_SENDFILE +-# If you define any of the SENDFILE conditionals, make sure to uncomment +-# the next line as well. +-# OBJS += sendfile.o +- -all: $(BIN) -install: $(BIN) - install -c $(BIN) $(SBINDIR) diff --git a/www/mathopd/pkg-plist b/www/mathopd/pkg-plist index c5aed7416477..21d6055190a1 100644 --- a/www/mathopd/pkg-plist +++ b/www/mathopd/pkg-plist @@ -6,8 +6,7 @@ sbin/mathopd %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/cgi.txt %%PORTDOCS%%%%DOCSDIR%%/config.txt -%%PORTDOCS%%%%DOCSDIR%%/processing.txt %%PORTDOCS%%%%DOCSDIR%%/running.txt %%PORTDOCS%%%%DOCSDIR%%/sample.cfg %%PORTDOCS%%%%DOCSDIR%%/syntax.txt -%%PORTDOCS%%@dirrm share/doc/mathopd +%%PORTDOCS%%@dirrm %%DOCSDIR%% |