git: 1f7f0c4b9fc7 - main - security/osslsigncode: Update version 1.7.1=>2.5

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 01 May 2023 18:18:48 UTC
The branch main has been updated by bofh:

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

commit 1f7f0c4b9fc7e0db21fc77ceacf8c76d75ec7b97
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-01 13:51:47 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-01 18:18:39 +0000

    security/osslsigncode: Update version 1.7.1=>2.5
    
    - Change MASTER_SITES to USE_GITHUB
    - Update WWW
    - Add LICENSE GPLv3
    - Pet portclippy
    - Unbreak with OpenSSL
    - Adopt
---
 security/osslsigncode/Makefile | 37 +++++++++++++++++--------------------
 security/osslsigncode/distinfo |  5 +++--
 2 files changed, 20 insertions(+), 22 deletions(-)

diff --git a/security/osslsigncode/Makefile b/security/osslsigncode/Makefile
index fced955a147b..2bffff52d409 100644
--- a/security/osslsigncode/Makefile
+++ b/security/osslsigncode/Makefile
@@ -1,35 +1,32 @@
 PORTNAME=	osslsigncode
-PORTVERSION=	1.7.1
-PORTREVISION=	1
+PORTVERSION=	2.5
 CATEGORIES=	security devel
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	OpenSSL-based signcode utility
-WWW=		https://sourceforge.net/projects/osslsigncode/
+WWW=		https://github.com/mtrojnar/osslsigncode
 
-PLIST_FILES=	bin/osslsigncode
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING.txt
 
-USES=		pkgconfig ssl
-GNU_CONFIGURE=	yes
+USES=		cmake pkgconfig python ssl
+USE_GITHUB=	yes
+GH_ACCOUNT=	mtrojnar
+
+PLIST_FILES=	bin/osslsigncode \
+		share/bash-completion/completions/osslsigncode.bash
 
 OPTIONS_DEFINE=		CURL GSF
 OPTIONS_DEFAULT=	CURL GSF
-CURL_CONFIGURE_WITH=	curl
-CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
-GSF_DESC?=		GSF support (enables signing of e.g. MSI files)
-GSF_CONFIGURE_WITH=	gsf
-GSF_LIB_DEPENDS=	libgsf-1.so:devel/libgsf
 
-.include <bsd.port.pre.mk>
+GSF_DESC?=		GSF support (enables signing of e.g. MSI files)
 
-.if ${SSL_DEFAULT} == base
-BROKEN_FreeBSD_12=	variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
-BROKEN_FreeBSD_13=	variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
-BROKEN_FreeBSD_14=	variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
-.endif
+CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
+CURL_CONFIGURE_WITH=	curl
+GSF_LIB_DEPENDS=	libgsf-1.so:devel/libgsf
+GSF_CONFIGURE_WITH=	gsf
 
 post-patch:
 	${TOUCH} ${WRKSRC}/stamp-h1 ${WRKSRC}/config.h.in
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/osslsigncode/distinfo b/security/osslsigncode/distinfo
index 4d7d2e539a3d..50a55292bea9 100644
--- a/security/osslsigncode/distinfo
+++ b/security/osslsigncode/distinfo
@@ -1,2 +1,3 @@
-SHA256 (osslsigncode-1.7.1.tar.gz) = f9a8cdb38b9c309326764ebc937cba1523a3a751a7ab05df3ecc99d18ae466c9
-SIZE (osslsigncode-1.7.1.tar.gz) = 127631
+TIMESTAMP = 1682948672
+SHA256 (mtrojnar-osslsigncode-2.5_GH0.tar.gz) = 1b9229fa48c2694e23aa6f85b0e33767b18d4697f422629bb10abc67c0497e0d
+SIZE (mtrojnar-osslsigncode-2.5_GH0.tar.gz) = 154984