From nobody Sun Feb 11 14:19:24 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TXqTn1lCrz59pK1; Sun, 11 Feb 2024 14:19:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TXqTn17Xmz4THD; Sun, 11 Feb 2024 14:19:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707661165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+8ogHhPu3Xm1M/l7O1Urpe1+HGzto8X+UiPHi3coXbs=; b=kkiAwRWtt4md4XtRapdcrF6TkPuwY70dkjSRNl7bfcOedZQbX3Tf4sToYlOF34Sg/aH1wX H23ymd3p9DpupwG5mMt+uxzlJDkJBd2JsWg5K8yWGqCr6PNgi4kJyFWkxLiEiLfDEmPxAu sSJz6KtzMifmHWarICIIwQP2T4+PvDoMWLV0Sm3TavB+Rd0yQs16rjvvUmCsk5QsCpOEuY 1Okys1Fit1R8R+ptBI4OcCRqLVh7PVqrhF6H/gklRcr+chhOtDHfjFDm6Thv4uyGjork/8 dRaoCXaPeiiN8RQfLHNUSKBGV5l8gSKMM1y4oHyT6IYcVwoG51k7nsMqtj4Vyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707661165; a=rsa-sha256; cv=none; b=lBZWW2hpqL2WRY4Ofq1+mfIvH4ubGkwq9Ky94wDSj8IUUP/2QBA8NyWksGmeALpt7d+ShH 7lurK/rrbMH4Md9jToyGw8XdroVhXB+DkeSRj33/nr+eIr0RPMCgdaRwZlPiMP8i4/eyM1 mnQXV5IBqvhNZzqoi6VCtlJxuZSYX+iAeXgMsBxMPovWNd20yNWypDUQeGdWOtO3yFGdiU GKE1c02nz6Rpn9pmC9JCOMBV1g1Dl/1k8YZknua016bSbG5RgdPT0dlDhwuw9lwxlakqBU sEUiQN/MhCtLkVv5O5T8m4CXSaPC1zzErNc8sSeZlLVjK02UOm3tGOr4WH1xzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707661165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+8ogHhPu3Xm1M/l7O1Urpe1+HGzto8X+UiPHi3coXbs=; b=Nb818PIpBtpR3q3Uf8UYBruVmU8kYURjjhYe/N8pMJyhtk8ZtkojZL2KXd48rxFDuDwb34 WMJFE+J9f7fzTvE6Gq1wALai8uKfpLRimsysrZ1nqxv/ElQFVw14bmuh9/a8rgcIaEMG0Q 4VDPbY7t5RVXwktPuwjjxV0r71VDQg27im7UlM7cN1hLEbLSMOM6/3YS8/f1eJ9ps1lgEi 9AIs/RuPKOk6y3mNNyUTlzQ739kpED7LaBVmmTs8/iAmfls12ZsFHF5N2qB2zpqoKjRVPE iUa8cD/CEPz/gMgN/uAiRWeUct29FQ3gxDQJQWhcIGVYnZ2NySgDozBJEEoOQg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TXqTn01pcz12DK; Sun, 11 Feb 2024 14:19:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41BEJOZW041431; Sun, 11 Feb 2024 14:19:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41BEJOvP041428; Sun, 11 Feb 2024 14:19:24 GMT (envelope-from git) Date: Sun, 11 Feb 2024 14:19:24 GMT Message-Id: <202402111419.41BEJOvP041428@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nicola Vitale Subject: git: 64f494620b21 - main - x11/tessen: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 64f494620b21d54f4fdb66b8393ac5c20f2bf759 Auto-Submitted: auto-generated The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=64f494620b21d54f4fdb66b8393ac5c20f2bf759 commit 64f494620b21d54f4fdb66b8393ac5c20f2bf759 Author: Nicola Vitale AuthorDate: 2024-02-11 14:17:58 +0000 Commit: Nicola Vitale CommitDate: 2024-02-11 14:17:58 +0000 x11/tessen: Add new port tessen is a bash script that can autotype and copy data from password-store and gopass files. A Wayland native dmenu is required to use tessen and the following dmenu backends are recognized: - bemenu - fuzzel - rofi (default) - tofi - wofi https://github.com/ayushnix/tessen --- x11/Makefile | 1 + x11/tessen/Makefile | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++ x11/tessen/distinfo | 3 ++ x11/tessen/pkg-descr | 9 ++++++ x11/tessen/pkg-plist | 4 +++ 5 files changed, 95 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index fd8eb036ce68..2fb860abb569 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -428,6 +428,7 @@ SUBDIR += terminal.app SUBDIR += terminator SUBDIR += terminology + SUBDIR += tessen SUBDIR += thingylaunch SUBDIR += tilda SUBDIR += tilix diff --git a/x11/tessen/Makefile b/x11/tessen/Makefile new file mode 100644 index 000000000000..c4c8254c2a66 --- /dev/null +++ b/x11/tessen/Makefile @@ -0,0 +1,78 @@ +PORTNAME= tessen +DISTVERSIONPREFIX= v +DISTVERSION= 2.2.1 +CATEGORIES= x11 + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Interactive menu to autotype and copy pass and gopass data +WWW= https://github.com/ayushnix/tessen + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= bash:shells/bash + +USE_GITHUB= yes +GH_ACCOUNT= ayushnix + +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFAULT= GOPASS OPENURL ROFI WLCOPY +OPTIONS_GROUP= ADDTOOLS +OPTIONS_GROUP_ADDTOOLS= OPENURL TOTPHOTP +OPTIONS_MULTI= ACTION_BACKEND +OPTIONS_MULTI_ACTION_BACKEND= WLCOPY WTYPE +OPTIONS_RADIO= MENU_BACKEND +OPTIONS_RADIO_MENU_BACKEND= BEMENU FUZZEL ROFI TOFI WOFI +OPTIONS_SINGLE= PASS_BACKEND +OPTIONS_SINGLE_PASS_BACKEND= GOPASS PASS + +ACTION_BACKEND_DESC= Program to copy/autotype data +ADDTOOLS_DESC= Install additional tools +BEMENU_DESC= Use bemenu as menu program (wayland) +FUZZEL_DESC= Use fuzzel as menu program (wayland) +GOPASS_DESC= Use gopass to access password store +MENU_BACKEND_DESC= Menu program to show pass entries +OPENURL_DESC= Open URLs in the default web browser +PASS_BACKEND_DESC= Program to access password store +PASS_DESC= Use pass to access password store +ROFI_DESC= Use rofi as menu program (x11/wayland) +TOFI_DESC= Use tofi as menu program (wayland) +TOTPHOTP_DESC= Generate TOTP/HOTP when using pass +WLCOPY_DESC= Use wl-copy to copy data to clipboard (wayland) +WOFI_DESC= Use wofi as menu program (wayland) +WTYPE_DESC= Use wtype to autotype data (wayland) + +BEMENU_RUN_DEPENDS= bemenu:x11/bemenu +DOCS_BUILD_DEPENDS= scdoc:textproc/scdoc +FUZZEL_RUN_DEPENDS= fuzzel:x11/fuzzel +GOPASS_RUN_DEPENDS= gopass:security/gopass +OPENURL_RUN_DEPENDS= xdg-open:devel/xdg-utils +PASS_RUN_DEPENDS= pass:sysutils/password-store +ROFI_RUN_DEPENDS= rofi:x11/rofi +TOFI_RUN_DEPENDS= tofi:x11/tofi +TOTPHOTP_RUN_DEPENDS= pass-otp>=1.2.0:sysutils/pass-otp +WLCOPY_RUN_DEPENDS= wl-copy:x11/wl-clipboard +WOFI_RUN_DEPENDS= wofi:x11/wofi +WTYPE_RUN_DEPENDS= wtype:x11/wtype + +do-build: + @${DO_NADA} + +post-build-DOCS-on: +.for s in 1 5 + ${LOCALBASE}/bin/scdoc < ${WRKSRC}/man/tessen.${s}.scd > ${WRKSRC}/man/tessen.${s} +.endfor + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/tessen ${STAGEDIR}${PREFIX}/bin + +post-install-DOCS-on: +.for s in 1 5 + ${INSTALL_MAN} ${WRKSRC}/man/tessen.${s} ${STAGEDIR}${PREFIX}/share/man/man${s}/ +.endfor + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \ + ${INSTALL_DATA} ${WRKSRC}/config ${STAGEDIR}${EXAMPLESDIR}/ + +.include diff --git a/x11/tessen/distinfo b/x11/tessen/distinfo new file mode 100644 index 000000000000..bf5bc0e4bfeb --- /dev/null +++ b/x11/tessen/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1706626765 +SHA256 (ayushnix-tessen-v2.2.1_GH0.tar.gz) = 8acbc0a3934d923fbf7e7ffd75c1e17275ace1c88e96e297d23e281b1fc59f03 +SIZE (ayushnix-tessen-v2.2.1_GH0.tar.gz) = 31402 diff --git a/x11/tessen/pkg-descr b/x11/tessen/pkg-descr new file mode 100644 index 000000000000..8db84f98bd40 --- /dev/null +++ b/x11/tessen/pkg-descr @@ -0,0 +1,9 @@ +tessen is a bash script that can autotype and copy data from password-store and +gopass files. A Wayland native dmenu is required to use tessen and the +following dmenu backends are recognized: + + - bemenu + - fuzzel + - rofi (default) + - tofi + - wofi diff --git a/x11/tessen/pkg-plist b/x11/tessen/pkg-plist new file mode 100644 index 000000000000..15d9dd97b8ee --- /dev/null +++ b/x11/tessen/pkg-plist @@ -0,0 +1,4 @@ +bin/tessen +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config +share/man/man1/tessen.1.gz +share/man/man5/tessen.5.gz