aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2019-09-02 11:52:44 +0000
committerKai Knoblich <kai@FreeBSD.org>2019-09-02 11:52:44 +0000
commit086c9974374b5fca352ba02d90e20f5648000e44 (patch)
tree2dfb54b39b01b5dd6bfa5fbeac4fe39332df5e2b /security
parentf0aa0449dbf5189769c0cde4bb9ab19eaa32e9b5 (diff)
downloadports-086c9974374b5fca352ba02d90e20f5648000e44.tar.gz
ports-086c9974374b5fca352ba02d90e20f5648000e44.zip
security/spass{-qt5}: Update to 3.2
* Introduce security/spass-qt5 as a slave port that contains only the GUI version which was added with the 3.1 release. * Use the latest commit d38d173 to make use of the WITH_GUI boolean flag that enables the GUI/CLI-only build. Changelog since 3.0: * Minor tweaks for the CLI version * Additional Qt5 GUI version PR: 238621 Submitted by: Thomas Merkel <tm@NetBSD.org> (initial patch) Reviewed by: mat (portmgr, to determine if FLAVORS can be used or not) Differential Revision: https://reviews.freebsd.org/D21084
Notes
Notes: svn path=/head/; revision=510779
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/spass-qt5/Makefile18
-rw-r--r--security/spass/Makefile18
-rw-r--r--security/spass/distinfo5
4 files changed, 33 insertions, 9 deletions
diff --git a/security/Makefile b/security/Makefile
index 94cd892189b9..a6d50ef6817a 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1227,6 +1227,7 @@
SUBDIR += softhsm2
SUBDIR += sops
SUBDIR += spass
+ SUBDIR += spass-qt5
SUBDIR += spike-proxy
SUBDIR += spybye
SUBDIR += sqlmap
diff --git a/security/spass-qt5/Makefile b/security/spass-qt5/Makefile
new file mode 100644
index 000000000000..a4dd22a9ce46
--- /dev/null
+++ b/security/spass-qt5/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PKGNAMESUFFIX= -qt5
+
+COMMENT= Secure password generator with a true RNG (Qt5 GUI)
+
+USES= qmake:no_env qt:5
+USE_QT= buildtools_build core gui widgets
+
+MASTERDIR= ${.CURDIR}/../spass
+
+PLIST_FILES= bin/spass-qt
+
+# Delete the CLI-only binary which is already provided via security/spass
+post-install:
+ ${RM} ${STAGEDIR}${PREFIX}/bin/spass
+
+.include "${MASTERDIR}/Makefile"
diff --git a/security/spass/Makefile b/security/spass/Makefile
index bc8481c2bf0e..2917be3b98a2 100644
--- a/security/spass/Makefile
+++ b/security/spass/Makefile
@@ -1,12 +1,13 @@
# $FreeBSD$
PORTNAME= spass
-PORTVERSION= 3.0
-PORTREVISION= 16
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.2-5
+DISTVERSIONSUFFIX= -gd38d173
CATEGORIES= security
MAINTAINER= ports@FreeBSD.org
-COMMENT= Secure password generator with a true random number generator
+COMMENT?= Secure password generator with a true random number generator
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
@@ -14,14 +15,17 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/boost/format.hpp:devel/boost-libs
LIB_DEPENDS= libboost_program_options.so:devel/boost-libs
+USES+= cmake compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= guyru
-GH_TAGNAME= cb0de64
-
-USES= cmake compiler:c++11-lang
CMAKE_ARGS= -DWITH_ALSA:BOOL=off -DWITH_OSS:BOOL=on
-PLIST_FILES= bin/spass
+PLIST_FILES?= bin/spass
+
+# Disable the Qt5 GUI if we build the master port
+.if !defined(PKGNAMESUFFIX)
+CMAKE_ARGS+= -DWITH_GUI:BOOL=off
+.endif
.include <bsd.port.mk>
diff --git a/security/spass/distinfo b/security/spass/distinfo
index b1af8e9082f1..225b22ba8d11 100644
--- a/security/spass/distinfo
+++ b/security/spass/distinfo
@@ -1,2 +1,3 @@
-SHA256 (guyru-spass-3.0-cb0de64_GH0.tar.gz) = 3b3bd505f03645838125377d9db5e2a3bac339c2aba2ed36ff5d95aec1d525ca
-SIZE (guyru-spass-3.0-cb0de64_GH0.tar.gz) = 47733
+TIMESTAMP = 1564168089
+SHA256 (guyru-spass-v3.2-5-gd38d173_GH0.tar.gz) = af2fac7c18e8dea881d65bcf780bfd777353e1aa402462c67a9b6c4e37d71dfa
+SIZE (guyru-spass-v3.2-5-gd38d173_GH0.tar.gz) = 53482