Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2024 20:23:37 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b207e67b3d5d - main - security/sslscan: Move man pages to share/man
Message-ID:  <202403212023.42LKNbkI063481@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b207e67b3d5dedaba045267e623301df989a4415

commit b207e67b3d5dedaba045267e623301df989a4415
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 18:55:39 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 20:22:59 +0000

    security/sslscan: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 security/sslscan/Makefile             |  1 +
 security/sslscan/files/patch-Makefile | 19 +++++++------------
 security/sslscan/pkg-plist            |  2 +-
 3 files changed, 9 insertions(+), 13 deletions(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403212023.42LKNbkI063481>