diff options
author | jedgar <jedgar@FreeBSD.org> | 2001-05-08 22:34:20 +0000 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2001-05-08 22:34:20 +0000 |
commit | 6f2bf42dc92738efa594019d49f6f88c15e7f9f6 (patch) | |
tree | 6f256aa23dbd5c0f99297c7ff2458db70b58a663 /www/webfs | |
parent | c089453ef36d5735c6d98900b5d98f53bb22382d (diff) | |
download | FreeBSD-ports-6f2bf42dc92738efa594019d49f6f88c15e7f9f6.zip FreeBSD-ports-6f2bf42dc92738efa594019d49f6f88c15e7f9f6.tar.gz |
Update port to 1.10
Diffstat (limited to 'www/webfs')
-rw-r--r-- | www/webfs/Makefile | 14 | ||||
-rw-r--r-- | www/webfs/distinfo | 2 | ||||
-rw-r--r-- | www/webfs/files/patch-ab | 13 | ||||
-rw-r--r-- | www/webfs/pkg-descr | 4 |
4 files changed, 10 insertions, 23 deletions
diff --git a/www/webfs/Makefile b/www/webfs/Makefile index 51ec31f..d3fa12e 100644 --- a/www/webfs/Makefile +++ b/www/webfs/Makefile @@ -6,15 +6,16 @@ # PORTNAME= webfs -PORTVERSION= 1.6 +PORTVERSION= 1.10 CATEGORIES= www ipv6 -MASTER_SITES= http://www.strusel007.de/linux/misc/ +MASTER_SITES= http://www.bytesex.org/misc/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= jedgar@FreeBSD.org WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} MAN1= webfsd.1 +MIMEFILE?= ${PREFIX}/etc/webfsd/mime.types .include <bsd.port.pre.mk> @@ -23,14 +24,13 @@ BROKEN= "Requires FreeBSD 4.x or greater due to ipv6 support" .endif do-configure: - @${CP} ${WRKSRC}/webfsd.man ${WRKSRC}/webfsd.1 -.for file in webfsd.1 main.c Makefile - @${PERL} -pi.orig -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' ${WRKSRC}/${file} -.endfor + @${PERL} -pi.orig -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/Makefile +# author forgot to bump the revision number + @${PERL} -pi.orig -e 's|1.9|1.10|' ${WRKSRC}/main.c do-install: @${INSTALL_PROGRAM} ${WRKSRC}/webfsd ${PREFIX}/sbin - @${INSTALL_MAN} ${WRKSRC}/webfsd.1 ${PREFIX}/man/man1 + @${INSTALL_MAN} ${WRKSRC}/webfsd.man ${PREFIX}/man/man1/webfsd.1 .if !exists(${PREFIX}/etc/webfsd/mime.types) @${MKDIR} ${PREFIX}/etc/webfsd @${ECHO} "# Insert mime types here" > ${PREFIX}/etc/webfsd/mime.types diff --git a/www/webfs/distinfo b/www/webfs/distinfo index cdc6c19..622c1a6 100644 --- a/www/webfs/distinfo +++ b/www/webfs/distinfo @@ -1 +1 @@ -MD5 (webfs_1.6.tar.gz) = 8be3bd865bb193c8dfc9c079e580cb9f +MD5 (webfs_1.10.tar.gz) = f667829548f9126d783661c26871950b diff --git a/www/webfs/files/patch-ab b/www/webfs/files/patch-ab deleted file mode 100644 index 37fdda0..0000000 --- a/www/webfs/files/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ ---- ls.c.orig Wed Oct 20 13:40:30 1999 -+++ ls.c Mon Oct 25 11:13:51 1999 -@@ -15,6 +15,10 @@ - - #include "httpd.h" - -+#ifdef __FreeBSD__ -+#define NAME_MAX FILENAME_MAX -+#endif -+ - #define LS_ALLOC_SIZE 8192 - #define HOMEPAGE "http://www.in-berlin.de/User/kraxel/webfs.html" - diff --git a/www/webfs/pkg-descr b/www/webfs/pkg-descr index 4955a07..b1d27d5 100644 --- a/www/webfs/pkg-descr +++ b/www/webfs/pkg-descr @@ -17,7 +17,7 @@ Features/Design: * serves byte ranges. * optional logging in common log file format. -WWW: http://me.IN-Berlin.DE/~kraxel/webfs.html +WWW: http://www.bytesex.org/webfs.html - Chris D. Faulhaber -jedgar@FreeBSD.org + <jedgar@FreeBSD.org> |