From a0ff809a2bda235a69ed468b01543c45a57b6f8c Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Fri, 11 Nov 2022 20:44:43 +0100 Subject: [PATCH] misc/vote: new port -- a simple, transparent git based voting system Teams like core and portmgr regularly hold votes on certain topics. In the past these votes were held via email. This script tries to lessen the burden of the secretary of those teams. Vote's can be created using: > vote create People can vote using > vote vote People can also vote in-stead of other people > vote votefor All votes and results are neatly tracked inside a git repository. --- misc/Makefile | 1 + misc/vote/Makefile | 16 ++++++++++++++++ misc/vote/distinfo | 3 +++ misc/vote/pkg-descr | 1 + 4 files changed, 21 insertions(+) create mode 100644 misc/vote/Makefile create mode 100644 misc/vote/distinfo create mode 100644 misc/vote/pkg-descr diff --git a/misc/Makefile b/misc/Makefile index 62f5ac79115a..caf51b51cfbc 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -544,6 +544,7 @@ SUBDIR += vifm SUBDIR += visp SUBDIR += viz + SUBDIR += vote SUBDIR += vxl SUBDIR += wego SUBDIR += whichman diff --git a/misc/vote/Makefile b/misc/vote/Makefile new file mode 100644 index 000000000000..9f9a4b897479 --- /dev/null +++ b/misc/vote/Makefile @@ -0,0 +1,16 @@ +PORTNAME= vote +DISTVERSION= 1.1 +CATEGORIES= misc +MASTER_SITES= https://codeberg.org/tcberner/${PORTNAME}/archive/ + +MAINTAINER= tcberner@FreeBSD.org +COMMENT= Transparent git based voting system + +NO_BUILD= yes + +PLIST_FILES= bin/vote + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/vote/vote ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/misc/vote/distinfo b/misc/vote/distinfo new file mode 100644 index 000000000000..d9414c8ce104 --- /dev/null +++ b/misc/vote/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1668195518 +SHA256 (vote-1.1.tar.gz) = de2ad0d28cf777239fdb7e6c7c44a5dda528283bef6b807ade5ca02246497705 +SIZE (vote-1.1.tar.gz) = 5196 diff --git a/misc/vote/pkg-descr b/misc/vote/pkg-descr new file mode 100644 index 000000000000..c373668d2e00 --- /dev/null +++ b/misc/vote/pkg-descr @@ -0,0 +1 @@ +Transparent git-based vote tool for FreeBSD's teams.