# -*- 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.0
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  859a61cf3b4babf711de538af6af436503e22b84 \
                sha256  17c6fe4a7822e1949bc8975feea59fcf042c4a46d62d9f5acffe59afc466cc1c \
                size    117569

# 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
