diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2008-05-11 20:27:04 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2008-05-11 20:27:04 +0000 |
commit | f5239b02762c92ea0c0778b358bb48a0421ed661 (patch) | |
tree | 05b36edd102da10fd81c5f578373b5a4b172557d /net/mtftpd | |
parent | a896ef145e58ab1ab1e414e0e965acebc6e116bd (diff) | |
download | pkgsrc-f5239b02762c92ea0c0778b358bb48a0421ed661.tar.gz |
Import mtftpd-20080229, an open-loop multicast TFTP server implementation
for NetBSD and Linux.
Diffstat (limited to 'net/mtftpd')
-rw-r--r-- | net/mtftpd/DESCR | 1 | ||||
-rw-r--r-- | net/mtftpd/Makefile | 22 | ||||
-rw-r--r-- | net/mtftpd/PLIST | 4 | ||||
-rw-r--r-- | net/mtftpd/distinfo | 6 | ||||
-rw-r--r-- | net/mtftpd/patches/patch-aa | 12 |
5 files changed, 45 insertions, 0 deletions
diff --git a/net/mtftpd/DESCR b/net/mtftpd/DESCR new file mode 100644 index 00000000000..449f90f7042 --- /dev/null +++ b/net/mtftpd/DESCR @@ -0,0 +1 @@ +mtftpd is a portable open-loop multicast TFTP server. diff --git a/net/mtftpd/Makefile b/net/mtftpd/Makefile new file mode 100644 index 00000000000..89c8734dfc7 --- /dev/null +++ b/net/mtftpd/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/05/11 20:27:04 jmcneill Exp $ + +DISTNAME= mtftpd-20080229 +CATEGORIES= net +MASTER_SITES= http://www.invisible.ca/~jmcneill/netbsd/ + +MAINTAINER= jmcneill@invisible.ca +COMMENT= Open-loop multicast TFTP server + +WRKSRC= ${WRKDIR}/mtftpd + +USE_BSD_MAKEFILE= yes + +.include "../../mk/bsd.prefs.mk" + +CFLAGS+= -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR}\" + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mtftpd + ${INSTALL_DATA} ${WRKSRC}/mtftpd.plist ${PREFIX}/share/examples/mtftpd + +.include "../../mk/bsd.pkg.mk" diff --git a/net/mtftpd/PLIST b/net/mtftpd/PLIST new file mode 100644 index 00000000000..679654e2b78 --- /dev/null +++ b/net/mtftpd/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/05/11 20:27:04 jmcneill Exp $ +bin/mtftpd +share/examples/mtftpd/mtftpd.plist +@dirrm share/examples/mtftpd diff --git a/net/mtftpd/distinfo b/net/mtftpd/distinfo new file mode 100644 index 00000000000..1b9858f22dd --- /dev/null +++ b/net/mtftpd/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/05/11 20:27:04 jmcneill Exp $ + +SHA1 (mtftpd-20080229.tar.gz) = f4ca14fa9dfd3ba6fa92abe9b87bcc1b4f071810 +RMD160 (mtftpd-20080229.tar.gz) = af3d046ea7a57fcc00d7955a7707d8c007e7aeca +Size (mtftpd-20080229.tar.gz) = 135499 bytes +SHA1 (patch-aa) = 2a6c77a7481500fcf41b4fe89905447b346c5569 diff --git a/net/mtftpd/patches/patch-aa b/net/mtftpd/patches/patch-aa new file mode 100644 index 00000000000..e7d3db63d30 --- /dev/null +++ b/net/mtftpd/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/05/11 20:27:04 jmcneill Exp $ + +--- pathnames.h.orig 2008-05-11 16:10:05.000000000 -0400 ++++ pathnames.h +@@ -35,6 +35,6 @@ + #ifndef _MTFTPD_PATHNAMES_H + #define _MTFTPD_PATHNAMES_H + +-#define MTFTPD_PLIST "mtftpd.plist" ++#define MTFTPD_PLIST PKG_SYSCONFDIR"/mtftpd.plist" + + #endif /* !_MTFTPD_PATHNAMES_H */ |