[147648] trunk/dports/net/sslscan
raimue at macports.org
raimue at macports.org
Mon Apr 11 06:38:33 PDT 2016
Revision: 147648
https://trac.macports.org/changeset/147648
Author: raimue at macports.org
Date: 2016-04-11 06:38:32 -0700 (Mon, 11 Apr 2016)
Log Message:
-----------
net/sslscan:
Update to version 1.11.6-rbsec, switch to rbsec fork of sslscan, since the original version on sourceforge is abandoned.
Modified Paths:
--------------
trunk/dports/net/sslscan/Portfile
Added Paths:
-----------
trunk/dports/net/sslscan/files/patch-Makefile.diff
Removed Paths:
-------------
trunk/dports/net/sslscan/files/patch-Makefile
Modified: trunk/dports/net/sslscan/Portfile
===================================================================
--- trunk/dports/net/sslscan/Portfile 2016-04-11 13:14:48 UTC (rev 147647)
+++ trunk/dports/net/sslscan/Portfile 2016-04-11 13:38:32 UTC (rev 147648)
@@ -1,38 +1,34 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
-name sslscan
-version 1.8.2
-revision 3
+github.setup rbsec sslscan 1.11.6-rbsec
categories net
-maintainers nomaintainer
-description SSL port scanner
+maintainers raimue \
+ openmaintainer
+description Fast SSL scanner
long_description \
SSLScan determines what ciphers are supported on \
- SSL-based services, such as HTTPS. Furthermore, \
- SSLScan will determine the prefered ciphers of \
- the SSL service.
-homepage http://test.titania.co.uk/index.php?option=com_content&view=article&id=56&Itemid=68
+ SSL-based services, such as HTTPS. The output will \
+ include the certificate and the prefered ciphers of \
+ the SSL service in plaintext or XML.
platforms darwin
license GPL-3
depends_lib path:lib/libssl.dylib:openssl
-master_sites sourceforge
-extract.suffix .tgz
-checksums md5 1a890d031996ab252efb535511bd58db \
- sha1 4982ff622ca1f05829a3910be5e3903e91cfdd68 \
- rmd160 a048d3a29d56b34a0fb2ea8e5a5dc2ba3e773d76
+checksums rmd160 0c28b2426ee66826d018cec806a20867e55e1ec5 \
+ sha256 1e3dd9958efaa6ab1cc3d73939d804d3464954f1caea85b1e3b228faeda6c162
-patchfiles patch-Makefile
+patchfiles patch-Makefile.diff
-configure {
+post-patch {
reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile
- reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/Makefile
}
-destroot {
- xinstall -m 0755 ${worksrcpath}/sslscan ${destroot}${prefix}/bin
- xinstall -m 0644 ${worksrcpath}/sslscan.1 ${destroot}${prefix}/share/man/man1
-}
+use_configure no
+
+build.args CC="${configure.cc}" \
+ CFLAGS="[get_canonical_archflags cc]" \
+ LDFLAGS="[get_canonical_archflags ld]"
Deleted: trunk/dports/net/sslscan/files/patch-Makefile
===================================================================
--- trunk/dports/net/sslscan/files/patch-Makefile 2016-04-11 13:14:48 UTC (rev 147647)
+++ trunk/dports/net/sslscan/files/patch-Makefile 2016-04-11 13:38:32 UTC (rev 147648)
@@ -1,11 +0,0 @@
---- Makefile.orig 2009-10-03 00:52:43.000000000 -0700
-+++ Makefile 2009-10-03 00:53:56.000000000 -0700
-@@ -3,7 +3,7 @@
- MANPATH = /usr/share/man/
-
- all:
-- gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
-+ __CC__ -g -Wall -I__PREFIX__/include -L__PREFIX__/lib -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
-
- install:
- cp sslscan $(BINPATH)
Copied: trunk/dports/net/sslscan/files/patch-Makefile.diff (from rev 147647, trunk/dports/net/sslscan/files/patch-Makefile)
===================================================================
--- trunk/dports/net/sslscan/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/net/sslscan/files/patch-Makefile.diff 2016-04-11 13:38:32 UTC (rev 147648)
@@ -0,0 +1,22 @@
+--- Makefile.orig 2016-04-11 15:09:41.000000000 +0200
++++ Makefile 2016-04-11 15:11:50.000000000 +0200
+@@ -14,7 +14,7 @@
+ OS := $(shell uname)
+
+ SRCS = sslscan.c
+-PREFIX = /usr
++PREFIX = __PREFIX__
+ BINDIR = $(PREFIX)/bin
+ MANDIR = $(PREFIX)/share/man
+ MAN1DIR = $(MANDIR)/man1
+@@ -40,8 +40,8 @@
+ GIT_VERSION := $(GIT_VERSION)-static
+ else
+ # for dynamic linking
+-LDFLAGS += -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/opt/openssl/lib -L/opt/local/lib
+-CFLAGS += -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl -I/usr/local/opt/openssl/include -I/opt/local/include -I/opt/local/include/openssl
++LDFLAGS += -L__PREFIX__/lib
++CFLAGS += -I__PREFIX__/include -I__PREFIX__/include/openssl
+ endif
+
+ .PHONY: all sslscan clean install uninstall static opensslpull
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160411/778fbc69/attachment-0001.html>
More information about the macports-changes
mailing list