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@os2.kiev.ua (maintainer)
Approved by:	tcberner (mentor, implicit)
This commit is contained in:
Yuri Victorovich 2018-02-12 07:58:18 +00:00
parent 57d3430b71
commit 7c0ec45bc8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461562
4 changed files with 17 additions and 25 deletions

View File

@ -2,39 +2,34 @@
# $FreeBSD$
PORTNAME= stoken
PORTVERSION= 0.91
DISTVERSION= 0.92
CATEGORIES= security
MASTER_SITES= SF/stoken
MAINTAINER= samm@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
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
X11_USE= GNOME=gtk30,cairo,gdkpixbuf2
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>

View File

@ -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

View File

@ -2,4 +2,4 @@ Stoken is an open source tokencode generator compatible with RSA SecurID 128-bit
(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/

View File

@ -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