summaryrefslogtreecommitdiff
path: root/www/webfs
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2001-05-08 22:34:20 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2001-05-08 22:34:20 +0000
commitd24961e8ecc441266dd7993054aa3595c44d42e7 (patch)
tree7e404a29216f54dea2a778db8cddb91e36cce5c3 /www/webfs
parent- Update MASTER_SITES (diff)
Update port to 1.10
Notes
Notes: svn path=/head/; revision=42432
Diffstat (limited to 'www/webfs')
-rw-r--r--www/webfs/Makefile14
-rw-r--r--www/webfs/distinfo2
-rw-r--r--www/webfs/files/patch-ab13
-rw-r--r--www/webfs/pkg-descr4
4 files changed, 10 insertions, 23 deletions
diff --git a/www/webfs/Makefile b/www/webfs/Makefile
index 51ec31ff351e..d3fa12e71f0d 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 cdc6c198bffb..622c1a6a6990 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 37fdda0a0b50..000000000000
--- 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 4955a0781602..b1d27d5c3482 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>