aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2001-04-11 10:32:52 +0800
committertrevor <trevor@FreeBSD.org>2001-04-11 10:32:52 +0800
commit94786a77cf314af3cc9c0fe83b7d4c2cc2478e6e (patch)
tree045454094baf88a83bfa548c060b38516c7d3915 /net
parent563478f388014e649d97c873cb9f634e0138fb52 (diff)
downloadfreebsd-ports-gnome-94786a77cf314af3cc9c0fe83b7d4c2cc2478e6e.tar.gz
freebsd-ports-gnome-94786a77cf314af3cc9c0fe83b7d4c2cc2478e6e.tar.zst
freebsd-ports-gnome-94786a77cf314af3cc9c0fe83b7d4c2cc2478e6e.zip
new port of an FSP daemon, for your retronetworking pleasure
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-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
5 files changed, 69 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 997e1f005f11..31953edbaa52 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -94,6 +94,7 @@
SUBDIR += freeradius-devel
SUBDIR += freewais-sf
SUBDIR += fspclient
+ SUBDIR += fspd
SUBDIR += fugu
SUBDIR += furi
SUBDIR += gabber
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