# -*- 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.1
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  87f26882c0de8aac30885b7fdad88f30e60bc5ef \
                sha256  188b94d99072727e8abd1439359611c18ea6983c2c535eaef726bbc2144c933d \
                size    117840

# 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
