svn commit: r461562 - head/security/stoken

Yuri Victorovich yuri at FreeBSD.org
Mon Feb 12 07:58:19 UTC 2018


Author: yuri
Date: Mon Feb 12 07:58:18 2018
New Revision: 461562
URL: https://svnweb.freebsd.org/changeset/ports/461562

Log:
  security/stoken: Update to 0.92
  
  Additional port changes:
  * Changed license
  * Added LICENSE_FILE
  * Added USES=localbase
  * Added to Gnome USES
  * Silenced patch commands in post-patch
  * Removed docs because 2 files weren't docs, and README isn't really helpful
  * Updated WWW
  
  PR:		224978
  Submitted by:	samm at os2.kiev.ua (maintainer)
  Approved by:	tcberner (mentor, implicit)

Modified:
  head/security/stoken/Makefile
  head/security/stoken/distinfo
  head/security/stoken/pkg-descr
  head/security/stoken/pkg-plist

Modified: head/security/stoken/Makefile
==============================================================================
--- head/security/stoken/Makefile	Mon Feb 12 07:35:36 2018	(r461561)
+++ head/security/stoken/Makefile	Mon Feb 12 07:58:18 2018	(r461562)
@@ -2,39 +2,34 @@
 # $FreeBSD$
 
 PORTNAME=	stoken
-PORTVERSION=	0.91
+DISTVERSION=	0.92
 CATEGORIES=	security
 MASTER_SITES=	SF/stoken
 
 MAINTAINER=	samm at os2.kiev.ua
 COMMENT=	Software Token for UNIX compatible with RSA SecurID
 
-LICENSE=	GPLv2
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/COPYING.LIB
 
-LIB_DEPENDS=	libtomcrypt.so:security/libtomcrypt
+LIB_DEPENDS=	libtomcrypt.so:security/libtomcrypt # can alternatively use nettle, potentially port option can be created
 
+USES=		libtool localbase pkgconfig
+GNU_CONFIGURE=	yes
+USE_GNOME=	libxml2
+USE_LDCONFIG=	yes
+INSTALL_TARGET=	install-strip
+
 OPTIONS_DEFINE=	X11
 OPTIONS_SUB=	yes
 
 X11_CONFIGURE_WITH=	gtk
 X11_DESC=	Build GUI token interface
-X11_USE=		GNOME=gtk30
+X11_USE=	GNOME=gtk30,cairo,gdkpixbuf2
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=	--with-pkgconfigdir="${PREFIX}/libdata/pkgconfig"
-
-USE_LDCONFIG=	yes
-USE_GNOME=	libxml2
-USES=		pkgconfig libtool
-
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
-INSTALL_TARGET=	install-strip
-
 post-patch:
-	${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/Makefile.in
-	${REINPLACE_CMD} -e 's|LTC_LTC_PKCS_1_V1_5|LTC_PKCS_1_V1_5|g' \
+	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g ; s|^dist_doc_DATA|#dist_doc_DATA|' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|LTC_LTC_PKCS_1_V1_5|LTC_PKCS_1_V1_5|g' \
 	    ${WRKSRC}/src/stc-tomcrypt.c
 
 .include <bsd.port.mk>

Modified: head/security/stoken/distinfo
==============================================================================
--- head/security/stoken/distinfo	Mon Feb 12 07:35:36 2018	(r461561)
+++ head/security/stoken/distinfo	Mon Feb 12 07:58:18 2018	(r461562)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1484076907
-SHA256 (stoken-0.91.tar.gz) = 419ed84000bc455ef77c78e3ebfd4c6fd2d932384563989f864becbafd51bcf4
-SIZE (stoken-0.91.tar.gz) = 425328
+TIMESTAMP = 1518349781
+SHA256 (stoken-0.92.tar.gz) = aa2b481b058e4caf068f7e747a2dcf5772bcbf278a4f89bc9efcbf82bcc9ef5a
+SIZE (stoken-0.92.tar.gz) = 425835

Modified: head/security/stoken/pkg-descr
==============================================================================
--- head/security/stoken/pkg-descr	Mon Feb 12 07:35:36 2018	(r461561)
+++ head/security/stoken/pkg-descr	Mon Feb 12 07:58:18 2018	(r461562)
@@ -2,4 +2,4 @@ Stoken is an open source tokencode generator compatibl
 (AES) tokens. It is a hobbyist project, not affiliated with or endorsed by RSA
 Security.
 
-WWW: http://stoken.sourceforge.net
+WWW: https://sourceforge.net/p/stoken/wiki/Home/

Modified: head/security/stoken/pkg-plist
==============================================================================
--- head/security/stoken/pkg-plist	Mon Feb 12 07:35:36 2018	(r461561)
+++ head/security/stoken/pkg-plist	Mon Feb 12 07:58:18 2018	(r461562)
@@ -13,8 +13,5 @@ man/man1/stoken.1.gz
 %%X11%%%%DATADIR%%/pin-dialog.ui
 %%X11%%%%DATADIR%%/tokencode-detail.ui
 %%X11%%%%DATADIR%%/tokencode-small.ui
-%%PORTDOCS%%%%DOCSDIR%%/README.md
-%%PORTDOCS%%%%DOCSDIR%%/libstoken-test.c
-%%PORTDOCS%%%%DOCSDIR%%/sdtid-test.pl
 %%X11%%share/pixmaps/stoken-gui.png
 libdata/pkgconfig/stoken.pc


More information about the svn-ports-head mailing list