diff options
author | hwr <hwr> | 1999-06-06 17:08:36 +0000 |
---|---|---|
committer | hwr <hwr> | 1999-06-06 17:08:36 +0000 |
commit | 52f1eca8f46d9fd45e184589e131ee36bb498661 (patch) | |
tree | d375608b2025fa83182918483bca91f13c44d6af /net/sendfile | |
parent | 236a04b913f86270670c5caa27d66437f7deb9da (diff) | |
download | pkgsrc-52f1eca8f46d9fd45e184589e131ee36bb498661.tar.gz |
Reference implementation of the SAFT (simple asynchronous file
transfer) protocol. Sendfile allows to send arbitrary files to a
remote user.
This ist version 2.1 of sendfile.
Diffstat (limited to 'net/sendfile')
-rw-r--r-- | net/sendfile/Makefile | 13 | ||||
-rw-r--r-- | net/sendfile/files/md5 | 3 | ||||
-rw-r--r-- | net/sendfile/patches/patch-aa | 19 | ||||
-rw-r--r-- | net/sendfile/patches/patch-ab | 13 | ||||
-rw-r--r-- | net/sendfile/pkg/COMMENT | 1 | ||||
-rw-r--r-- | net/sendfile/pkg/DESCR | 3 | ||||
-rw-r--r-- | net/sendfile/pkg/PLIST | 28 | ||||
-rwxr-xr-x | net/sendfile/scripts/post-configure | 21 | ||||
-rwxr-xr-x | net/sendfile/scripts/post-patch | 7 |
9 files changed, 108 insertions, 0 deletions
diff --git a/net/sendfile/Makefile b/net/sendfile/Makefile new file mode 100644 index 00000000000..4051a8b3459 --- /dev/null +++ b/net/sendfile/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/06/06 17:08:36 hwr Exp $ +# + +DISTNAME= sendfile-2.1 +CATEGORIES= net +MASTER_SITES= ftp://ftp.uni-stuttgart.de/pub/unix/comm/sendfile/current/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.belwue.de/aktivitaeten/projekte/saft/ + +WRKSRC= ${WRKDIR}/${DISTNAME} + +.include "../../mk/bsd.pkg.mk" diff --git a/net/sendfile/files/md5 b/net/sendfile/files/md5 new file mode 100644 index 00000000000..c7a99196357 --- /dev/null +++ b/net/sendfile/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/06/06 17:08:37 hwr Exp $ + +MD5 (sendfile-2.1.tar.gz) = 89d142b12ce005599842f11c59e840cc diff --git a/net/sendfile/patches/patch-aa b/net/sendfile/patches/patch-aa new file mode 100644 index 00000000000..a584959ee3a --- /dev/null +++ b/net/sendfile/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/06/06 17:08:37 hwr Exp $ + +--- makeconfig.orig Tue Jul 14 12:52:25 1998 ++++ makeconfig Sun Jun 6 17:05:23 1999 +@@ -16,10 +16,10 @@ + + # default installation settings + SPOOL=/var/spool/sendfile +-BINDIR=/usr/local/bin +-MANDIR=/usr/local/man +-CONFIG=/usr/local/etc +-SERVERDIR=/usr/local/sbin ++BINDIR=@PREFIX@/bin ++MANDIR=@PREFIX@/man ++CONFIG=@PREFIX@/etc ++SERVERDIR=@PREFIX@/sbin + INETDCONF=/etc/inetd.conf + SERVICES=/etc/services + diff --git a/net/sendfile/patches/patch-ab b/net/sendfile/patches/patch-ab new file mode 100644 index 00000000000..67940b504fc --- /dev/null +++ b/net/sendfile/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/06/06 17:08:37 hwr Exp $ + +--- src/sendfiled.c Sun Jun 6 18:31:25 1999 ++++ src/sendfiled.c.orig Thu Oct 29 17:48:08 1998 +@@ -2945,7 +2945,7 @@ + exit(1); + } + if (wlock_file(lockf)<0) { +- snprintf(MAXS(tmp),"cannot lock %s : %s",lockfn,strerror(errno)); ++ snprintf(MAXS(tmp),"cannot lock %s : ",lockfn,strerror(errno)); + dbgout(tmp); + exit(1); + } diff --git a/net/sendfile/pkg/COMMENT b/net/sendfile/pkg/COMMENT new file mode 100644 index 00000000000..5730555b8ad --- /dev/null +++ b/net/sendfile/pkg/COMMENT @@ -0,0 +1 @@ +Implementation of the Simple asynchronous file transfer protocol. diff --git a/net/sendfile/pkg/DESCR b/net/sendfile/pkg/DESCR new file mode 100644 index 00000000000..be4359d7b22 --- /dev/null +++ b/net/sendfile/pkg/DESCR @@ -0,0 +1,3 @@ +Reference implementation of the SAFT (simple asynchronous file +transfer) protocol. Sendfile allows to send arbitrary files to a +remote user. diff --git a/net/sendfile/pkg/PLIST b/net/sendfile/pkg/PLIST new file mode 100644 index 00000000000..96dd2b824da --- /dev/null +++ b/net/sendfile/pkg/PLIST @@ -0,0 +1,28 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/06/06 17:08:36 hwr Exp $ +bin/sf_cleanup +bin/sfdconf +bin/sfconf +bin/check_sendfile +bin/utf7encode +bin/wlock +bin/fetchfile +bin/ewl +bin/receive +bin/sendmsg +bin/sendfile +bin/utf7decode +bin/sf +bin/sm +bin/rf +etc/sendfile.deny +etc/sendfile.cf +man/man1/sendfile.1 +man/man1/sendmsg.1 +man/man1/receive.1 +man/man1/fetchfile.1 +man/man1/utf7encode.1 +man/man1/wlock.1 +man/man1/utf7decode.1 +man/man7/fetchfile.7 +man/man8/sendfiled.8 +sbin/sendfiled diff --git a/net/sendfile/scripts/post-configure b/net/sendfile/scripts/post-configure new file mode 100755 index 00000000000..67046216653 --- /dev/null +++ b/net/sendfile/scripts/post-configure @@ -0,0 +1,21 @@ +#!/bin/sh +# $NetBSD: post-configure,v 1.1.1.1 1999/06/06 17:08:37 hwr Exp $ + +echo "post-configure" + +cd ${WRKSRC} +make config +cd ${WRKSRC}/src +patch <<-MOUSE- +--- config.h.orig Sun Jun 6 18:23:52 1999 ++++ config.h Sun Jun 6 18:24:18 1999 +@@ -86,7 +86,7 @@ + /* #undef HAVE_SOCKET */ + + /* Define if you have the strerror function. */ +-/* #undef HAVE_STRERROR */ ++#define HAVE_STRERROR + + /* Define if you have the uname function. */ + /* #undef HAVE_UNAME */ +-MOUSE- diff --git a/net/sendfile/scripts/post-patch b/net/sendfile/scripts/post-patch new file mode 100755 index 00000000000..487e88abfc3 --- /dev/null +++ b/net/sendfile/scripts/post-patch @@ -0,0 +1,7 @@ +#!/bin/sh +# $NetBSD: post-patch,v 1.1.1.1 1999/06/06 17:08:37 hwr Exp $ + +cd ${WRKSRC} +mv makeconfig makeconfig.configured +sed -e 's/@PREFIX@/${PREFIX}/' < makeconfig.configured > makeconfig +chmod +x makeconfig |