pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tnftp Update to tnftp 20050610.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be5a4cb3aad9
branches:  trunk
changeset: 495453:be5a4cb3aad9
user:      lukem <lukem%pkgsrc.org@localhost>
date:      Fri Jun 10 05:10:02 2005 +0000

description:
Update to tnftp 20050610.
Notable changes (see files/ChangeLog for full details):
* Convert to use getline() instead of fgets() whenever reading user input to
  ensure that an overly long input line doesn't leave excess characters for
  the next input operation to accidentally use as input.
  Should fix PR 23953.
* Improve method used in fileindir() to determine if `file' is in or under
  `dir': realpath(3) on non-NetBSD systems may fail if the target filename
  doesn't exist, so instead use realpath(3) on the parent directory of `file'.
  (The previous code was over-aggressive in preventing transfers on systems
  with a realpath(3) that had different semantics to NetBSD.)
* Various portability fixes.

diffstat:

 net/tnftp/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (14 lines):

diff -r b714dce1edc8 -r be5a4cb3aad9 net/tnftp/Makefile
--- a/net/tnftp/Makefile        Fri Jun 10 05:06:25 2005 +0000
+++ b/net/tnftp/Makefile        Fri Jun 10 05:10:02 2005 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2005/05/14 06:06:26 lukem Exp $
+# $NetBSD: Makefile,v 1.15 2005/06/10 05:10:02 lukem Exp $
 #
 
-DISTNAME=              tnftp-20050514
-PKGREVISION=           1
+DISTNAME=              tnftp-20050610
 SVR4_PKGNAME=          tnftp
 CATEGORIES=            net
 MASTER_SITES=          # empty



Home | Main Index | Thread Index | Old Index