pkgsrc/net/yale-tftpd/patches/patch-ac
he 4b48e335d6 Update patches for this package so that it builds with -Werror and
-Wall with the gcc in NetBSD 5.1, i.e. gcc 4.1.3.  Fixes prompted
by reports that a build outside of pkgsrc for "64-bit Linux" (amd64)
but using this set of patches, gets a segfault, and this fixes that
problem.  Bump pkgrevision.
2012-01-25 09:56:08 +00:00

34 lines
887 B
Text

$NetBSD: patch-ac,v 1.4 2012/01/25 09:56:08 he Exp $
Adapt for build with pkgsrc.
--- tftpd.8.orig Wed Oct 5 06:18:21 1994
+++ tftpd.8
@@ -9,7 +9,7 @@
.SH NAME
tftpd \- DARPA Trivial File Transfer Protocol server
.SH SYNOPSIS
-.B /etc/tftpd
+.B @PREFIX@/libexec/tftpd
[
.B \-d
]
@@ -60,7 +60,7 @@
If the optional configuration file argument is provided on the command
line,
.B tftpd
-will use that, otherwise the default file is ``/usr/local/etc/tftpd.conf''.
+will use that, otherwise the default file is ``@ETCDIR@/tftpd.conf''.
.sp
Configuration commands are:
.IP defaultDirectory
@@ -266,7 +266,7 @@
services(5),
inetd(8)
.SH "FILES"
-.ta \w'/usr/local/etc/tftpd.conf~~'u
-/usr/local/etc/tftpd.conf default tftpd configuration file
+.ta \w'@ETCDIR@/tftpd.conf~~'u
+@ETCDIR@/tftpd.conf default tftpd configuration file
.br
/etc/inetd.conf inetd configuration file