aboutsummaryrefslogtreecommitdiff
path: root/net/fspd
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2001-04-11 02:32:52 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2001-04-11 02:32:52 +0000
commit31225e0379163f1393946d8428300c61e95f70ef (patch)
tree8e4ef92ff79bc3cacaf100e6b6cc53360be9ff2e /net/fspd
parentac32f7f6450d78a2342c76e864acddd4aec3e4ef (diff)
downloadports-31225e0379163f1393946d8428300c61e95f70ef.tar.gz
ports-31225e0379163f1393946d8428300c61e95f70ef.zip
new port of an FSP daemon, for your retronetworking pleasure
Notes
Notes: svn path=/head/; revision=41259
Diffstat (limited to 'net/fspd')
-rw-r--r--net/fspd/Makefile52
-rw-r--r--net/fspd/distinfo1
-rw-r--r--net/fspd/pkg-comment1
-rw-r--r--net/fspd/pkg-descr14
4 files changed, 68 insertions, 0 deletions
diff --git a/net/fspd/Makefile b/net/fspd/Makefile
new file mode 100644
index 000000000000..8963ced4f6f0
--- /dev/null
+++ b/net/fspd/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: fspd
+# Date created: 2001-04-10
+# Whom: trevor
+#
+# $FreeBSD$
+#
+
+PORTNAME= fspd
+PORTVERSION= 2.8.1.3
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.netsw.org/netsw/Network/IP/FileTrans/FSP/
+DISTNAME= fsp.281-B3
+
+MAINTAINER= trevor@FreeBSD.org
+
+ALL_TARGET= fspserver
+DOCDIR= share/doc/${PORTNAME}
+DOCFILES= BETA.README ChangeLog FILES INFO TODO INSTALL MACHINES
+GNU_CONFIGURE= yes
+MAN1= fspd.1
+PLIST= ${WRKDIR}/pkg-plist
+WRKSRC= ${WRKDIR}/2.8.1
+
+do-patch:
+ ${PERL} -pi -e "s:/usr/fsp:${LOCALBASE}/etc:g" \
+ ${WRKSRC}/include/server_conf.h
+
+pre-install:
+ ${ECHO} "sbin/fspd" > ${PLIST}
+.if !defined(NOPORTDOCS)
+.for i in ${DOCFILES}
+ ${ECHO} ${DOCDIR}/${i} >> ${PLIST}
+.endfor
+ ${ECHO} share/examples/fspd/example.conf >> ${PLIST}
+ ${ECHO} @dirrm ${DOCDIR} >> ${PLIST}
+ ${ECHO} @dirrm share/examples/fspd >> ${PLIST}
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/server/fspd ${LOCALBASE}/sbin
+.if !defined(NO_INSTALL_MANPAGES)
+ ${INSTALL_MAN} ${WRKSRC}/man/man1/fspd.1 ${LOCALBASE}/man/man1/
+.endif
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/examples/fspd ${PREFIX}/${DOCDIR}
+.for i in ${DOCFILES}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/example.conf ${PREFIX}/share/examples/fspd
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/fspd/distinfo b/net/fspd/distinfo
new file mode 100644
index 000000000000..39b0abc1e9d0
--- /dev/null
+++ b/net/fspd/distinfo
@@ -0,0 +1 @@
+MD5 (fsp.281-B3.tar.gz) = b8ff7d267aa630ace3eefe51c32135ea
diff --git a/net/fspd/pkg-comment b/net/fspd/pkg-comment
new file mode 100644
index 000000000000..1340866796f4
--- /dev/null
+++ b/net/fspd/pkg-comment
@@ -0,0 +1 @@
+FSP daemon
diff --git a/net/fspd/pkg-descr b/net/fspd/pkg-descr
new file mode 100644
index 000000000000..85608407cd2d
--- /dev/null
+++ b/net/fspd/pkg-descr
@@ -0,0 +1,14 @@
+This is a server daemon for FSP, the File Service Protocol. With
+it, you can offer files to "anonymous" visitors. Bandwidth can
+easily be limited.
+
+Since a service contact port (well-known port) for FSP has not been
+assigned by IANA (per RFC 1700), you must choose one yourself when
+configuring fspd. Edit the example.conf file and place it in
+${LOCALBASE}/etc/fspd.conf (typically LOCALBASE is set to /usr/local).
+You can run fspd from inetd or stand-alone.
+
+WWW: http://www.xmission.com/help/faqs/fsp_faq.htm
+
+Trevor Johnson
+trevor@FreeBSD.org