diff options
author | brooks <brooks@FreeBSD.org> | 2009-02-14 01:28:49 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2009-02-14 01:28:49 +0800 |
commit | 8d47d0e787b7ba250049ab55aa449fd098d5040c (patch) | |
tree | 42c3b325cebad3f290e31dbebd15438a4594cd8f | |
parent | 82183c2cbb0e5b4a7b2bf34d35568c95048bbb52 (diff) | |
download | freebsd-ports-gnome-8d47d0e787b7ba250049ab55aa449fd098d5040c.tar.gz freebsd-ports-gnome-8d47d0e787b7ba250049ab55aa449fd098d5040c.tar.zst freebsd-ports-gnome-8d47d0e787b7ba250049ab55aa449fd098d5040c.zip |
Upgrade to 0.49:
Add IPv6 support.
Support systems with editline instead of readline.
Support long options in the server.
Prodded by: portscout (via miwi)
-rw-r--r-- | ftp/tftp-hpa/Makefile | 3 | ||||
-rw-r--r-- | ftp/tftp-hpa/distinfo | 6 | ||||
-rw-r--r-- | ftp/tftp-hpa/files/patch-tftpd_tftpd.c | 25 |
3 files changed, 22 insertions, 12 deletions
diff --git a/ftp/tftp-hpa/Makefile b/ftp/tftp-hpa/Makefile index 25d3430c9696..2473a8881602 100644 --- a/ftp/tftp-hpa/Makefile +++ b/ftp/tftp-hpa/Makefile @@ -6,8 +6,7 @@ # PORTNAME= tftp-hpa -PORTVERSION= 0.48 -PORTREVISION= 1 +PORTVERSION= 0.49 CATEGORIES= ftp MASTER_SITES= ftp://ftp.kernel.org/pub/software/network/tftp/ diff --git a/ftp/tftp-hpa/distinfo b/ftp/tftp-hpa/distinfo index 4e401f00d5bf..45032e7aa304 100644 --- a/ftp/tftp-hpa/distinfo +++ b/ftp/tftp-hpa/distinfo @@ -1,3 +1,3 @@ -MD5 (tftp-hpa-0.48.tar.bz2) = f2e0a1ca0c49ae46ecad26a54df3e887 -SHA256 (tftp-hpa-0.48.tar.bz2) = 12b41855c7317e753955c18e24e7b6f4328ae1540efc8b342c9d561bb2c56d29 -SIZE (tftp-hpa-0.48.tar.bz2) = 83818 +MD5 (tftp-hpa-0.49.tar.bz2) = 64b7db6525b189831a7df0565cdfab67 +SHA256 (tftp-hpa-0.49.tar.bz2) = 9055064ea0aea223e82e99cbdead970dc46fa9456c91a7b3d6c0b37b62b6dd8c +SIZE (tftp-hpa-0.49.tar.bz2) = 91829 diff --git a/ftp/tftp-hpa/files/patch-tftpd_tftpd.c b/ftp/tftp-hpa/files/patch-tftpd_tftpd.c index bf0cbf4218c4..45220432ff09 100644 --- a/ftp/tftp-hpa/files/patch-tftpd_tftpd.c +++ b/ftp/tftp-hpa/files/patch-tftpd_tftpd.c @@ -3,13 +3,24 @@ $FreeBSD$ --- tftpd/tftpd.c.orig +++ tftpd/tftpd.c -@@ -302,6 +302,9 @@ +@@ -355,7 +355,10 @@ + p = strrchr(argv[0], '/'); + __progname = (p && p[1]) ? p + 1 : argv[0]; - p = strrchr(argv[0], '/'); - __progname = (p && p[1]) ? p+1 : argv[0]; +- openlog(__progname, LOG_PID | LOG_NDELAY, LOG_DAEMON); ++ /* syslog in localtime */ ++ tzset(); + -+ /* syslog in localtime */ -+ tzset(); - - openlog(__progname, LOG_PID|LOG_NDELAY, LOG_DAEMON); ++ openlog(__progname, LOG_PID | LOG_NDELAY, LOG_FTP); + srand(time(NULL) ^ getpid()); + +@@ -841,7 +844,7 @@ + sizeof(bindaddr4.sin_addr)); + #ifdef HAVE_IPV6 + } else if ((from.sa.sa_family == AF_INET6) && +- IN6_IS_ADDR_UNSPECIFIED(SOCKADDR_P(&myaddr))) { ++ IN6_IS_ADDR_UNSPECIFIED((struct in6_addr*)SOCKADDR_P(&myaddr))) { + memcpy(SOCKADDR_P(&myaddr), &bindaddr6.sin6_addr, + sizeof(bindaddr6.sin6_addr)); + #endif |