1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

security/sslscan: Move man pages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Nuno Teixeira 2024-03-21 18:55:39 +00:00
parent fd8d9696fa
commit b207e67b3d
3 changed files with 9 additions and 13 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= sslscan PORTNAME= sslscan
DISTVERSION= 2.1.3 DISTVERSION= 2.1.3
PORTREVISION= 1
CATEGORIES= security CATEGORIES= security
MASTER_SITES= https://www.openssl.org/source/:openssl \ MASTER_SITES= https://www.openssl.org/source/:openssl \
ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/:openssl ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/:openssl

View File

@ -1,5 +1,5 @@
--- Makefile.orig 2023-11-14 21:36:52.000000000 +0000 --- Makefile.orig 2024-01-21 13:41:31 UTC
+++ Makefile 2023-11-20 13:57:16.349229000 +0000 +++ Makefile
@@ -1,12 +1,7 @@ @@ -1,12 +1,7 @@
# set gcc as default if CC is not set # set gcc as default if CC is not set
@ -14,12 +14,7 @@
# Detect OS # Detect OS
OS := $(shell uname) OS := $(shell uname)
ARCH := $(shell uname -m) ARCH := $(shell uname -m)
@@ -26,11 +21,11 @@ @@ -30,7 +25,7 @@ WARNINGS = -Wall -Wformat=2 -Wformat-security -Wno-de
SRCS = sslscan.c
BINDIR = $(PREFIX)/bin
-MANDIR = $(PREFIX)/share/man
+MANDIR = $(PREFIX)/man
MAN1DIR = $(MANDIR)/man1 MAN1DIR = $(MANDIR)/man1
WARNINGS = -Wall -Wformat=2 -Wformat-security -Wno-deprecated-declarations WARNINGS = -Wall -Wformat=2 -Wformat-security -Wno-deprecated-declarations
@ -28,7 +23,7 @@
# for dynamic linking # for dynamic linking
LIBS = -lssl -lcrypto LIBS = -lssl -lcrypto
@@ -58,38 +53,12 @@ @@ -58,38 +53,12 @@ CFLAGS += -std=gnu11
CFLAGS += -std=gnu11 CFLAGS += -std=gnu11
# for static linking # for static linking
@ -68,7 +63,7 @@
.PHONY: all sslscan clean install uninstall static opensslpull .PHONY: all sslscan clean install uninstall static opensslpull
all: sslscan all: sslscan
@@ -116,6 +85,9 @@ @@ -116,6 +85,9 @@ ifeq ($(OS), Darwin)
install sslscan $(DESTDIR)$(BINDIR)/sslscan; install sslscan $(DESTDIR)$(BINDIR)/sslscan;
install -d $(DESTDIR)$(MAN1DIR)/; install -d $(DESTDIR)$(MAN1DIR)/;
install sslscan.1 $(DESTDIR)$(MAN1DIR)/sslscan.1; install sslscan.1 $(DESTDIR)$(MAN1DIR)/sslscan.1;
@ -78,7 +73,7 @@
else else
install -D sslscan $(DESTDIR)$(BINDIR)/sslscan; install -D sslscan $(DESTDIR)$(BINDIR)/sslscan;
install -D sslscan.1 $(DESTDIR)$(MAN1DIR)/sslscan.1; install -D sslscan.1 $(DESTDIR)$(MAN1DIR)/sslscan.1;
@@ -128,11 +100,7 @@ @@ -128,11 +100,7 @@ opensslpull:
.openssl.is.fresh: opensslpull .openssl.is.fresh: opensslpull
true true
opensslpull: opensslpull:
@ -91,7 +86,7 @@
# Need to build OpenSSL differently on OSX # Need to build OpenSSL differently on OSX
ifeq ($(OS), Darwin) ifeq ($(OS), Darwin)
@@ -146,16 +114,15 @@ @@ -146,16 +114,15 @@ openssl/Makefile: .openssl.is.fresh
# Any other *NIX platform # Any other *NIX platform
else else
openssl/Makefile: .openssl.is.fresh openssl/Makefile: .openssl.is.fresh

View File

@ -1,2 +1,2 @@
bin/sslscan bin/sslscan
man/man1/sslscan.1.gz share/man/man1/sslscan.1.gz