<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6bf12ada1598f3fcec5a0043ea39e58f897cb581">https://github.com/macports/macports-ports/commit/6bf12ada1598f3fcec5a0043ea39e58f897cb581</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6bf12ada1598f3fcec5a0043ea39e58f897cb581
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Nov 24 10:50:45 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> ftpmap: Fix implicit declaration of functions
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fix implicit declaration of functions; modernize checksums; and use
</span><span style='display:block; white-space:pre;color:#404040;'> archived homepage.
</span>---
net/ftpmap/Portfile | 9 +++++++--
net/ftpmap/files/implicit.patch | 21 +++++++++++++++++++++
2 files changed, 28 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/ftpmap/Portfile b/net/ftpmap/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 83a3229a04e..07c6baa1c58 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/ftpmap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/ftpmap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,21 +3,26 @@ PortSystem 1.0
</span> name ftpmap
version 0.4
revision 1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 7b0b080dc09e16525db31b95b68b51ba98ce3203 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f16a705c6aa82aacb83e3b9ff09d2a4007cdaa54d40e62d13bde26d952c87550 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 95371
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories net
license GPL-2
platforms darwin
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.Jedi.Claranet.Fr/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description Scans remote FTP servers to see what ftpd is used
long_description Ftpmap uses program-specific fingerprints to discover the name of the \
software even when banners have been changed or removed, or when some \
featureshave been disabled. IPv6 is fully supported.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://web.archive.org/web/20031008221224/http://www.jedi.claranet.fr/
</span> master_sites ftp://ftp.pureftpd.org/pub/pure-ftpd/ftpmap/ \
ftp://sunsite.dk/disk1/pure-ftpd/ftpmap/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 5095c0712e4a906dae75f082acbabffb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch
</span>
configure.args --mandir=${prefix}/share/man \
--infodir=${prefix}/share/info
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/ftpmap/files/implicit.patch b/net/ftpmap/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4b0b93d52e9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/ftpmap/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix implicit declaration of functions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2002-06-07 04:54:43.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2021-11-24 10:47:14.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3033,6 +3033,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #line $LINENO "configure"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "confdefs.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <ctype.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if ((' ' & 0x0FF) == 0x020)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/ftpmap.h.orig 2002-06-07 05:20:36.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/ftpmap.h 2021-11-24 10:48:26.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,6 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* (C)opyleft 2001-2002 by Jedi/Sector One <j@4u.net> */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <time.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef STDC_HEADERS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # include <stddef.h>
</span></pre><pre style='margin:0'>
</pre>