Ncrack is a high-speed network authentication cracking tool. Ncrack was
designed using a modular approach, a command-line syntax similar to
Nmap and a dynamic engine that can adapt its behaviour based on network
feedback. It allows for rapid, yet reliable large-scale auditing of
multiple hosts.
security/ncrack: fix build on -CURRENT
This port seems to have been affected by the recent FORTIFY_SOURCE
update on -CURRENT. The error message was:
In file included from strlcpy.c:21:
In file included from ./includes.h:190:
In file included from ./entropy.h:30:
In file included from ./buffer.h:28:
In file included from ./sshbuf.h:29:
In file included from /usr/local/include/openssl/bn.h:26:
In file included from /usr/local/include/openssl/crypto.h:25:
In file included from /usr/include/stdlib.h:73:
/usr/include/ssp/stdlib.h:41:33: error: static declaration of
'_ssh_compat_realpath' follows non-static declaration
41 | __ssp_redirect_raw_impl(char *, realpath, realpath,
| ^
./openbsd-compat.h:98:7: note: previous declaration is here
98 | char *realpath(const char *path, char *resolved);
| ^
./openbsd-compat.h:95:26: note: expanded from macro 'realpath'
95 | # define realpath(x, y) _ssh_compat_realpath(x, y)
| ^
2 errors generated.
security/ncrack: fix bad assumption in configure check
A version check in opensshlib/configure assumed that the zlib version
had 3 elements (e.g. 1.2.3), but the latest version is 1.3 (not 1.3.0).
Adjust the configure check to accept a 2-element version number.
No PORTREVISION bump, since this is just a fix for a build check that
caused an abort of the port build on recent -CURRENT and 14-ALPHA.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
security: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Dupre <ale@FreeBSD.org>
* Alex Kapranoff <kappa@rambler-co.ru>
* Alex Samorukov <samm@freebsd.org>
* Alexander Botero-Lowry <alex@foxybanana.com>
* Alexander Kriventsov <avk@vl.ru>
* Alexander Leidinger <netchild@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
security/ncrack: Return 'Created by' to lx@
This was accidentally switched to ports@ in
04b57ef63827658d18cdf14af056a2a89f5f9f3f
Reported by: salvadore
Sponsored by: The FreeBSD Foundation
security/ncrack: mark broken for FreeBSD-11 with base OpenSSL
OpenSSL versions before 1.0 do not provide all required functions in
libcrypto. On FreeBSD-11 the ports version of OpenSSL is required to
build this port.
security/ncrack: resurrect and update to version 0.7
The port has been recovered after deletion and upgraded to the latest
version available on Github.
The build has been tested with base and ports versions of openssl.