# -*- 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.2
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  63a23497ff6e26cb3e43e775e13310b3c1f2d988 \
                sha256  a1b4e4f1a52920089aaade85a7b900c8f2683937f49025c821b9c9f2b25db9a1 \
                size    117873

# 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
