pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
go-gomail: Import go-gomail-2.0.0+ as wip/go-gomail
Module Name: pkgsrc-wip
Committed By: Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By: iquiw
Date: Sun Mar 31 13:54:06 2019 +0900
Changeset: d522ca8e839d7fb96ff573a746f92ec7d4c44415
Added Files:
go-gomail/DESCR
go-gomail/Makefile
go-gomail/PLIST
go-gomail/buildlink3.mk
go-gomail/distinfo
Log Message:
go-gomail: Import go-gomail-2.0.0+ as wip/go-gomail
Gomail is a simple and efficient package to send emails.
It is well tested and documented.
Gomail can only send emails using an SMTP server. But the API is flexible
and it is easy to implement other methods for sending emails using a local
Postfix, an API, etc.
This is newer than version 2.0.0 as mailsend-go requires it.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d522ca8e839d7fb96ff573a746f92ec7d4c44415
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
go-gomail/DESCR | 6 ++++++
go-gomail/Makefile | 21 +++++++++++++++++++++
go-gomail/PLIST | 19 +++++++++++++++++++
go-gomail/buildlink3.mk | 15 +++++++++++++++
go-gomail/distinfo | 6 ++++++
5 files changed, 67 insertions(+)
diffs:
diff --git a/go-gomail/DESCR b/go-gomail/DESCR
new file mode 100644
index 0000000000..abc44b7d49
--- /dev/null
+++ b/go-gomail/DESCR
@@ -0,0 +1,6 @@
+Gomail is a simple and efficient package to send emails.
+It is well tested and documented.
+
+Gomail can only send emails using an SMTP server. But the API is flexible
+and it is easy to implement other methods for sending emails using a local
+Postfix, an API, etc.
diff --git a/go-gomail/Makefile b/go-gomail/Makefile
new file mode 100644
index 0000000000..cee278031d
--- /dev/null
+++ b/go-gomail/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+PKGNAME= go-gomail-2.0.0
+DISTNAME= go-gomail
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_GITHUB:=go-gomail/}
+GITHUB_PROJECT= gomail
+GITHUB_TAG= 81ebce5c23dfd25c6c67194b37d3dd3f338c98b1
+
+MAINTAINER= iku.iwasa%gmail.com@localhost
+HOMEPAGE= https://github.com/go-gomail/gomail
+COMMENT= The best way to send emails in Go
+LICENSE= mit
+
+EXTRACT_USING= bsdtar
+
+GO_SRCPATH= gopkg.in/gomail.v2
+GO_DIST_BASE= ${DISTNAME:S/go-//}-${GITHUB_TAG}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-gomail/PLIST b/go-gomail/PLIST
new file mode 100644
index 0000000000..a35c438d3d
--- /dev/null
+++ b/go-gomail/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/gopkg.in/gomail.v2.a
+gopkg/src/gopkg.in/gomail.v2/CHANGELOG.md
+gopkg/src/gopkg.in/gomail.v2/CONTRIBUTING.md
+gopkg/src/gopkg.in/gomail.v2/LICENSE
+gopkg/src/gopkg.in/gomail.v2/README.md
+gopkg/src/gopkg.in/gomail.v2/auth.go
+gopkg/src/gopkg.in/gomail.v2/auth_test.go
+gopkg/src/gopkg.in/gomail.v2/doc.go
+gopkg/src/gopkg.in/gomail.v2/example_test.go
+gopkg/src/gopkg.in/gomail.v2/message.go
+gopkg/src/gopkg.in/gomail.v2/message_test.go
+gopkg/src/gopkg.in/gomail.v2/mime.go
+gopkg/src/gopkg.in/gomail.v2/mime_go14.go
+gopkg/src/gopkg.in/gomail.v2/send.go
+gopkg/src/gopkg.in/gomail.v2/send_test.go
+gopkg/src/gopkg.in/gomail.v2/smtp.go
+gopkg/src/gopkg.in/gomail.v2/smtp_test.go
+gopkg/src/gopkg.in/gomail.v2/writeto.go
diff --git a/go-gomail/buildlink3.mk b/go-gomail/buildlink3.mk
new file mode 100644
index 0000000000..cc9c8dbdd5
--- /dev/null
+++ b/go-gomail/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= go-gomail
+
+.if !defined(GO_GOMAIL_BUILDLINK3_MK)
+GO_GOMAIL_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-gomail= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-gomail?= build
+
+BUILDLINK_API_DEPENDS.go-gomail+= go-gomail>=2.0
+BUILDLINK_PKGSRCDIR.go-gomail?= ../../wip/go-gomail
+.endif # GO_GOMAIL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-gomail
diff --git a/go-gomail/distinfo b/go-gomail/distinfo
new file mode 100644
index 0000000000..8e00a8b5bb
--- /dev/null
+++ b/go-gomail/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-gomail-81ebce5c23dfd25c6c67194b37d3dd3f338c98b1.tar.gz) = 94cb6a2e16146dab4fab978c7b3f5beabed2a141
+RMD160 (go-gomail-81ebce5c23dfd25c6c67194b37d3dd3f338c98b1.tar.gz) = b0e3907e84a4cdae2faa64b7b4684a373c6763b0
+SHA512 (go-gomail-81ebce5c23dfd25c6c67194b37d3dd3f338c98b1.tar.gz) = 2e4dea73584508144b277ca26a4735d15ea8a0362155cca65b03b247a0078bd7f7b7ddfebbea62ab8aac5ce8503f525814fa560fc416e722f869ea48e4ffa3a2
+Size (go-gomail-81ebce5c23dfd25c6c67194b37d3dd3f338c98b1.tar.gz) = 16566 bytes
Home |
Main Index |
Thread Index |
Old Index