Skip to content

Commit

Permalink
security/osslsigncode: Update version 1.7.1=>2.5
Browse files Browse the repository at this point in the history
- Change MASTER_SITES to USE_GITHUB
- Update WWW
- Add LICENSE GPLv3
- Pet portclippy
- Unbreak with OpenSSL
- Adopt
  • Loading branch information
5u623l20 committed May 1, 2023
1 parent 9ce21f8 commit 1f7f0c4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 22 deletions.
37 changes: 17 additions & 20 deletions 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>
5 changes: 3 additions & 2 deletions 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

0 comments on commit 1f7f0c4

Please sign in to comment.