aboutsummaryrefslogtreecommitdiff
path: root/ftp/tftp-hpa
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2009-02-13 17:28:49 +0000
committerBrooks Davis <brooks@FreeBSD.org>2009-02-13 17:28:49 +0000
commit42ec65c154f3ea66a08c9e835e9da24ee3462325 (patch)
treedc2a4016513e131ef577936e6514b96d517f77e4 /ftp/tftp-hpa
parent4240b2297c5957a590e7dfd3fd2d220dd726a00a (diff)
downloadports-42ec65c154f3ea66a08c9e835e9da24ee3462325.tar.gz
ports-42ec65c154f3ea66a08c9e835e9da24ee3462325.zip
Notes
Diffstat (limited to 'ftp/tftp-hpa')
-rw-r--r--ftp/tftp-hpa/Makefile3
-rw-r--r--ftp/tftp-hpa/distinfo6
-rw-r--r--ftp/tftp-hpa/files/patch-tftpd_tftpd.c25
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