# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem      1.0

PortGroup       github          1.0
PortGroup       legacysupport   1.1
PortGroup       makefile        1.0
PortGroup       openssl         1.0

# memmem
legacysupport.newest_darwin_requires_legacy 10

github.setup    rbsec sslscan 2.2.3
github.tarball_from \
                archive
revision        0
categories      net
maintainers     {gmail.com:herby.gillot @herbygillot} \
                openmaintainer
description     Fast SSL scanner
long_description \
    SSLScan determines what ciphers are supported on \
    SSL-based services, such as HTTPS. The output will \
    include the certificate and the prefered ciphers of \
    the SSL service in plaintext or XML.
license         {GPL-3+ OpenSSLException}

checksums       rmd160  4f6b610470fc0f3d33ccd2c33bdd0d460b897755 \
                sha256  b0498467604c3f4eb7a1b3258ee9f37b709f7844d7edf338d40e85af40ede960 \
                size    118501

# implicit declaration of inet_ntop
patchfiles      sslscan.c.patch
# do not search for libraries or headers in /usr, /usr/local and similar paths
patchfiles-append \
                Makefile.no-usr.patch

# cc1: error: unrecognized command line option "-std=gnu11"
compiler.c_standard 2011
