diff --git a/security/sslscan/Makefile b/security/sslscan/Makefile index c3a93286e713..eab0cc2820f8 100644 --- a/security/sslscan/Makefile +++ b/security/sslscan/Makefile @@ -1,5 +1,6 @@ PORTNAME= sslscan DISTVERSION= 2.1.3 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://www.openssl.org/source/:openssl \ ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/:openssl diff --git a/security/sslscan/files/patch-Makefile b/security/sslscan/files/patch-Makefile index 8319713a5c77..a7b15c0a6b56 100644 --- a/security/sslscan/files/patch-Makefile +++ b/security/sslscan/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig 2023-11-14 21:36:52.000000000 +0000 -+++ Makefile 2023-11-20 13:57:16.349229000 +0000 +--- Makefile.orig 2024-01-21 13:41:31 UTC ++++ Makefile @@ -1,12 +1,7 @@ # set gcc as default if CC is not set @@ -14,12 +14,7 @@ # Detect OS OS := $(shell uname) ARCH := $(shell uname -m) -@@ -26,11 +21,11 @@ - - SRCS = sslscan.c - BINDIR = $(PREFIX)/bin --MANDIR = $(PREFIX)/share/man -+MANDIR = $(PREFIX)/man +@@ -30,7 +25,7 @@ WARNINGS = -Wall -Wformat=2 -Wformat-security -Wno-de MAN1DIR = $(MANDIR)/man1 WARNINGS = -Wall -Wformat=2 -Wformat-security -Wno-deprecated-declarations @@ -28,7 +23,7 @@ # for dynamic linking LIBS = -lssl -lcrypto -@@ -58,38 +53,12 @@ +@@ -58,38 +53,12 @@ CFLAGS += -std=gnu11 CFLAGS += -std=gnu11 # for static linking @@ -68,7 +63,7 @@ .PHONY: all sslscan clean install uninstall static opensslpull all: sslscan -@@ -116,6 +85,9 @@ +@@ -116,6 +85,9 @@ ifeq ($(OS), Darwin) install sslscan $(DESTDIR)$(BINDIR)/sslscan; install -d $(DESTDIR)$(MAN1DIR)/; install sslscan.1 $(DESTDIR)$(MAN1DIR)/sslscan.1; @@ -78,7 +73,7 @@ else install -D sslscan $(DESTDIR)$(BINDIR)/sslscan; install -D sslscan.1 $(DESTDIR)$(MAN1DIR)/sslscan.1; -@@ -128,11 +100,7 @@ +@@ -128,11 +100,7 @@ opensslpull: .openssl.is.fresh: opensslpull true opensslpull: @@ -91,7 +86,7 @@ # Need to build OpenSSL differently on OSX ifeq ($(OS), Darwin) -@@ -146,16 +114,15 @@ +@@ -146,16 +114,15 @@ openssl/Makefile: .openssl.is.fresh # Any other *NIX platform else openssl/Makefile: .openssl.is.fresh diff --git a/security/sslscan/pkg-plist b/security/sslscan/pkg-plist index 0166b954ca92..43ad2bcb81b0 100644 --- a/security/sslscan/pkg-plist +++ b/security/sslscan/pkg-plist @@ -1,2 +1,2 @@ bin/sslscan -man/man1/sslscan.1.gz +share/man/man1/sslscan.1.gz