diff --git a/security/stoken/Makefile b/security/stoken/Makefile index d23f5739f4c9..960b878441fa 100644 --- a/security/stoken/Makefile +++ b/security/stoken/Makefile @@ -1,35 +1,35 @@ PORTNAME= stoken DISTVERSION= 0.93 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= samm@FreeBSD.org COMMENT= Software Token for UNIX compatible with RSA SecurID WWW= https://sourceforge.net/p/stoken/wiki/Home/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libtomcrypt.so:security/libtomcrypt # can alternatively use nettle, potentially port option can be created USES= gnome libtool localbase pkgconfig autoreconf GNU_CONFIGURE= yes USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_TAGNAME= v${DISTVERSION} GH_ACCOUNT= stoken-dev INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS X11 OPTIONS_SUB= yes X11_CONFIGURE_WITH= gtk X11_DESC= Build GUI token interface X11_USE= GNOME=gtk30,cairo,gdkpixbuf2 X11_USES= desktop-file-utils do-test: build cd ${WRKSRC} && ${MAKE} check .include diff --git a/security/stoken/files/patch-libstoken.map b/security/stoken/files/patch-libstoken.map new file mode 100644 index 000000000000..f8026b48156b --- /dev/null +++ b/security/stoken/files/patch-libstoken.map @@ -0,0 +1,11 @@ +--- libstoken.map.orig 2023-03-09 18:40:27 UTC ++++ libstoken.map +@@ -58,8 +58,6 @@ global: + __stoken_read_rcfile; + __stoken_write_rcfile; + __stoken_zap_rcfile_data; +- stoken__strcasestr; +- stoken__mkstemps; + /* NOTE: this can break non-GNU toolchains */ + Java_*; + local: