Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2019 11:52:44 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510779 - in head/security: . spass spass-qt5
Message-ID:  <201909021152.x82Bqi3N005869@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Mon Sep  2 11:52:44 2019
New Revision: 510779
URL: https://svnweb.freebsd.org/changeset/ports/510779

Log:
  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

Added:
  head/security/spass-qt5/
  head/security/spass-qt5/Makefile   (contents, props changed)
Modified:
  head/security/Makefile
  head/security/spass/Makefile
  head/security/spass/distinfo

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Mon Sep  2 11:52:13 2019	(r510778)
+++ head/security/Makefile	Mon Sep  2 11:52:44 2019	(r510779)
@@ -1227,6 +1227,7 @@
     SUBDIR += softhsm2
     SUBDIR += sops
     SUBDIR += spass
+    SUBDIR += spass-qt5
     SUBDIR += spike-proxy
     SUBDIR += spybye
     SUBDIR += sqlmap

Added: head/security/spass-qt5/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/spass-qt5/Makefile	Mon Sep  2 11:52:44 2019	(r510779)
@@ -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"

Modified: head/security/spass/Makefile
==============================================================================
--- head/security/spass/Makefile	Mon Sep  2 11:52:13 2019	(r510778)
+++ head/security/spass/Makefile	Mon Sep  2 11:52:44 2019	(r510779)
@@ -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>

Modified: head/security/spass/distinfo
==============================================================================
--- head/security/spass/distinfo	Mon Sep  2 11:52:13 2019	(r510778)
+++ head/security/spass/distinfo	Mon Sep  2 11:52:44 2019	(r510779)
@@ -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



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