aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2023-01-10 13:42:52 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2023-01-10 16:41:15 +0000
commit77596f35d15b9912a888c5403f77f0be95650067 (patch)
treea3c04048155a5a7894d38a07eff1af35a5f8f15a
parentfa9149f2b1118e14e1963f7bca6473f17a163b75 (diff)
downloadports-77596f35d15b9912a888c5403f77f0be95650067.tar.gz
ports-77596f35d15b9912a888c5403f77f0be95650067.zip
security/keysmith: new port - Application to generate 2fa tokens
Keysmith is an application to generate two-factor authentication (2FA) tokens when logging in to your (online) accounts. Currently it supports both HOTP and TOTP tokens. WWW: https://invent.kde.org/utilities/keysmith
-rw-r--r--security/Makefile1
-rw-r--r--security/keysmith/Makefile21
-rw-r--r--security/keysmith/distinfo3
-rw-r--r--security/keysmith/pkg-descr3
-rw-r--r--security/keysmith/pkg-plist33
5 files changed, 61 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 34524905156a..821d924775a0 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -247,6 +247,7 @@
SUBDIR += keychain
SUBDIR += keynote
SUBDIR += keyprint
+ SUBDIR += keysmith
SUBDIR += kf5-kdesu
SUBDIR += kgpg
SUBDIR += kickpass
diff --git a/security/keysmith/Makefile b/security/keysmith/Makefile
new file mode 100644
index 000000000000..7d1035d3ee57
--- /dev/null
+++ b/security/keysmith/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= keysmith
+DISTVERSION= 22.11
+CATEGORIES= security kde
+MASTER_SITES= KDE/stable/plasma-mobile/${DISTVERSION}/
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Application to generate two-factor authentication tokens
+WWW= https://invent.kde.org/utilities/keysmith
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libsodium.so:security/libsodium
+
+USES= cmake desktop-file-utils gettext kde:5 pkgconfig qt:5 tar:xz xorg
+USE_KDE= dbusaddons ecm i18n kirigami2 windowsystem
+USE_QT= concurrent core dbus declarative gui network quickcontrols2 svg widgets \
+ buildtools:build qmake:build
+USE_XORG= x11
+
+.include <bsd.port.mk>
diff --git a/security/keysmith/distinfo b/security/keysmith/distinfo
new file mode 100644
index 000000000000..1a56490e0cf5
--- /dev/null
+++ b/security/keysmith/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1673357992
+SHA256 (keysmith-22.11.tar.xz) = 65365cf3ec639d092206dbf1db0079c423a94cde5d59a917b3db0334f9d335aa
+SIZE (keysmith-22.11.tar.xz) = 158952
diff --git a/security/keysmith/pkg-descr b/security/keysmith/pkg-descr
new file mode 100644
index 000000000000..66a045a63edf
--- /dev/null
+++ b/security/keysmith/pkg-descr
@@ -0,0 +1,3 @@
+Keysmith is an application to generate two-factor authentication (2FA) tokens
+when logging in to your (online) accounts. Currently it supports both HOTP and
+TOTP tokens.
diff --git a/security/keysmith/pkg-plist b/security/keysmith/pkg-plist
new file mode 100644
index 000000000000..f835294f5fda
--- /dev/null
+++ b/security/keysmith/pkg-plist
@@ -0,0 +1,33 @@
+bin/keysmith
+share/applications/org.kde.keysmith.desktop
+share/icons/hicolor/scalable/apps/keysmith.svg
+share/locale/ca/LC_MESSAGES/keysmith.mo
+share/locale/ca@valencia/LC_MESSAGES/keysmith.mo
+share/locale/cs/LC_MESSAGES/keysmith.mo
+share/locale/de/LC_MESSAGES/keysmith.mo
+share/locale/en_GB/LC_MESSAGES/keysmith.mo
+share/locale/es/LC_MESSAGES/keysmith.mo
+share/locale/et/LC_MESSAGES/keysmith.mo
+share/locale/fi/LC_MESSAGES/keysmith.mo
+share/locale/fr/LC_MESSAGES/keysmith.mo
+share/locale/hu/LC_MESSAGES/keysmith.mo
+share/locale/ia/LC_MESSAGES/keysmith.mo
+share/locale/it/LC_MESSAGES/keysmith.mo
+share/locale/ka/LC_MESSAGES/keysmith.mo
+share/locale/ko/LC_MESSAGES/keysmith.mo
+share/locale/nl/LC_MESSAGES/keysmith.mo
+share/locale/nn/LC_MESSAGES/keysmith.mo
+share/locale/pa/LC_MESSAGES/keysmith.mo
+share/locale/pl/LC_MESSAGES/keysmith.mo
+share/locale/pt/LC_MESSAGES/keysmith.mo
+share/locale/pt_BR/LC_MESSAGES/keysmith.mo
+share/locale/ro/LC_MESSAGES/keysmith.mo
+share/locale/ru/LC_MESSAGES/keysmith.mo
+share/locale/sk/LC_MESSAGES/keysmith.mo
+share/locale/sl/LC_MESSAGES/keysmith.mo
+share/locale/sv/LC_MESSAGES/keysmith.mo
+share/locale/tr/LC_MESSAGES/keysmith.mo
+share/locale/uk/LC_MESSAGES/keysmith.mo
+share/locale/zh_CN/LC_MESSAGES/keysmith.mo
+share/locale/zh_TW/LC_MESSAGES/keysmith.mo
+share/metainfo/org.kde.keysmith.appdata.xml