From 7b8a28a9cd791b3aa0f49ca1e94141282e2539a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Fri, 18 Sep 2020 09:39:26 +0000 Subject: [PATCH] New port for tmpmail, a CLI to create and use temporary mail addresses --- mail/Makefile | 1 + mail/tmpmail/Makefile | 30 ++++++++++++++++++++++++++++++ mail/tmpmail/distinfo | 3 +++ mail/tmpmail/pkg-descr | 10 ++++++++++ 4 files changed, 44 insertions(+) create mode 100644 mail/tmpmail/Makefile create mode 100644 mail/tmpmail/distinfo create mode 100644 mail/tmpmail/pkg-descr diff --git a/mail/Makefile b/mail/Makefile index 43bf926c45ad..4bb105ea8529 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -691,6 +691,7 @@ SUBDIR += thunderbird-dictionaries SUBDIR += tlb SUBDIR += tmda + SUBDIR += tmpmail SUBDIR += tpop3d SUBDIR += trojita SUBDIR += tumgreyspf diff --git a/mail/tmpmail/Makefile b/mail/tmpmail/Makefile new file mode 100644 index 000000000000..8c9eb72a105c --- /dev/null +++ b/mail/tmpmail/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= tmpmail +DISTVERSION= 1.0.3 +CATEGORIES= mail + +MAINTAINER= se@FreeBSD.org +COMMENT= CLI for the creation and use of temporary mail addresses + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= bash:shells/bash \ + w3m:www/w3m \ + curl:ftp/curl \ + jq:textproc/jq + +NO_BUILD= yes +NO_ARCH= yes + +USE_GITHUB= yes +GH_ACCOUNT= sdushantha +GH_TAGNAME= 39d0bac + +PLIST_FILES= bin/tmpmail + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/tmpmail ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/mail/tmpmail/distinfo b/mail/tmpmail/distinfo new file mode 100644 index 000000000000..acf09bb957ae --- /dev/null +++ b/mail/tmpmail/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1600417645 +SHA256 (sdushantha-tmpmail-1.0.3-39d0bac_GH0.tar.gz) = 5b7fec32470ef78ab8de551a430e4d7bbdd92497b4b22ae016887a5495a3b3b5 +SIZE (sdushantha-tmpmail-1.0.3-39d0bac_GH0.tar.gz) = 96312 diff --git a/mail/tmpmail/pkg-descr b/mail/tmpmail/pkg-descr new file mode 100644 index 000000000000..ea6631b1cc29 --- /dev/null +++ b/mail/tmpmail/pkg-descr @@ -0,0 +1,10 @@ +tmpmail is a command line utility that allows you to create a temporary +email address and receive emails to the temporary email address. It uses +1secmail's API to receive emails. + +By default w3m is used to render the HTML emails on the terminal. But if +you prefer another text based web browser or would rather view the email +in a GUI web browser such as Firefox, simply use the --browser argument +followed by the command needed to launch the web browser of your choice. + +WWW: https://github.com/sdushantha/tmpmail