pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mailsend-go: update to 1.0.11



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iquiw%NetBSD.org@localhost>
Pushed By:	iquiw
Date:		Sun Apr 5 10:15:56 2026 +0900
Changeset:	421b78196c5bf465bb14d586d7b152f16591875b

Modified Files:
	mailsend-go/Makefile
	mailsend-go/distinfo
	mailsend-go/go-modules.mk
Added Files:
	mailsend-go/COMMIT_MSG

Log Message:
mailsend-go: update to 1.0.11

v1.0.11

* Fixed duplicate charset in Content-Type header. Resolved issue where
  http.DetectContentType() was adding charset=utf-8 to the MIME type, causing
  duplicate charset parameters in headers. The MIME type detection code now
  strips charset params, letting gomail handle charset assignment based on
  the -cs flag. Added more test scripts in test/ dir.

  (Jan-16-2026)

* Update document about oauth-helper. Switch to markdown-toc-go from
  markdown_helper for document generation. Add oauth-helper link at the end
  of usage.

  (Apr-01-2026)

v1.0.11-b2

* ServerName was missing from tls.Config, needed for -verifyCert
  option.

* Added flag -printCerts to print details certificate chain during
  displaying SMTP information with -info for SSL or StartTLS. The code is in
  cert_info.go, created with with Assistance from Claude AI Sonnet 4, much
  better than my original cert info. My version was also wrong, it was
  printing a intermediate cert as server cert.

* Use build-time version injection via ldflags instead of hardcoded version
  in main.go using -X ldflags and VERSION file.

  (Sep-26-2025)

v1.0.11-b1

* Initial support to send mail via XOAUTH2. The flags are:

    auth -oauth2 -token "access token"

  Or specify the Access token with environament variable SMTP_OAUTH_TOKEN

  Note: mailsend-go itself does not do any OAUTH flow. It just needs the
  OAUTH2 access token. You've to get it from your SMTP email provider and
  use it with mailsend-go to send mail.

  Please look at the following projects on how an Access Token is Obtained
  - Instructions are for Google and gmail at this time. But it is similar
  for other providers.

    smtp-oauth-setup-guide
    oauth-helper

  (Aug-23-2025)

* Since gomail.v2 is no longer maintained, I forked it to
  https://github.com/muquit/gomail. The main purpose of this fork is to add
  XOAUTH2 support)

* Initialize EHLO domian to localhost for smtp info

  (Feb-14-2025)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=421b78196c5bf465bb14d586d7b152f16591875b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mailsend-go/COMMIT_MSG    |  3 +++
 mailsend-go/Makefile      |  2 +-
 mailsend-go/distinfo      | 30 +++++++++++++++---------------
 mailsend-go/go-modules.mk |  8 ++++----
 4 files changed, 23 insertions(+), 20 deletions(-)

diffs:
diff --git a/mailsend-go/COMMIT_MSG b/mailsend-go/COMMIT_MSG
new file mode 100644
index 0000000000..63f8f7236d
--- /dev/null
+++ b/mailsend-go/COMMIT_MSG
@@ -0,0 +1,3 @@
+mail/mailsend-go: import mailsend-go version 1.0.11
+
+Packaged in wip by iquiw
diff --git a/mailsend-go/Makefile b/mailsend-go/Makefile
index 47146a9819..468526171a 100644
--- a/mailsend-go/Makefile
+++ b/mailsend-go/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	mailsend-go-1.0.10
+DISTNAME=	mailsend-go-1.0.11
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_GITHUB:=muquit/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
diff --git a/mailsend-go/distinfo b/mailsend-go/distinfo
index 53a6727fa1..16505f50f8 100644
--- a/mailsend-go/distinfo
+++ b/mailsend-go/distinfo
@@ -1,17 +1,17 @@
 $NetBSD$
 
-BLAKE2s (gopkg.in_alexcesaro_quotedprintable.v3_@v_v3.0.0-20150716171945-2caba252f4dc.mod) = 4f37e4c01a4eae869b11c8c055dff014af5be2ca6d84acda22bef05b92b6eca3
-SHA512 (gopkg.in_alexcesaro_quotedprintable.v3_@v_v3.0.0-20150716171945-2caba252f4dc.mod) = 569c3dd48ed6428aa08baee2f13e9cb11428f68d04ecff4a27c8d15123d1379e5e6c5a1c772dd9f09e7f49148592fae24ed64317ff14040755dccb54c57da05d
-Size (gopkg.in_alexcesaro_quotedprintable.v3_@v_v3.0.0-20150716171945-2caba252f4dc.mod) = 46 bytes
-BLAKE2s (gopkg.in_alexcesaro_quotedprintable.v3_@v_v3.0.0-20150716171945-2caba252f4dc.zip) = 087b733995c4e01e692262b5a9dc8a2bd5176800800724f9844d586031230393
-SHA512 (gopkg.in_alexcesaro_quotedprintable.v3_@v_v3.0.0-20150716171945-2caba252f4dc.zip) = a6c647b7550450c400b8fa0400cb868596e55ef784edc258b6fa37fe0c72bd3c2c05e6b870dbbb8d80facb581d934523e113d16b99a5a1d8e0f4ecaeec814b8e
-Size (gopkg.in_alexcesaro_quotedprintable.v3_@v_v3.0.0-20150716171945-2caba252f4dc.zip) = 14184 bytes
-BLAKE2s (gopkg.in_gomail.v2_@v_v2.0.0-20160411212932-81ebce5c23df.mod) = 0b88596ec6713d5b9a89e5c0bbcdd218a0b9fced431d83996a37bb85cde150b7
-SHA512 (gopkg.in_gomail.v2_@v_v2.0.0-20160411212932-81ebce5c23df.mod) = 545f42205191069b9b22fe7eea431c7ff2e22e5f605ee898b6e283810a0fd0a70f4376471c752588629460272a0cfb820bfac1cea60de8d8bdaa608cf17b067e
-Size (gopkg.in_gomail.v2_@v_v2.0.0-20160411212932-81ebce5c23df.mod) = 26 bytes
-BLAKE2s (gopkg.in_gomail.v2_@v_v2.0.0-20160411212932-81ebce5c23df.zip) = 27b467268eb8646e451fb6d54916aa9d82a9f8d10fcaee74fac4c8d64ad8bfb7
-SHA512 (gopkg.in_gomail.v2_@v_v2.0.0-20160411212932-81ebce5c23df.zip) = f3c91deed973913cc46767e7a9202768ee64d2d315a7494dd7ad40674df5b4e4b9abd6eefabab80d9ca822a557c59459b5e651d307f39eca7c0e500d618e3ee2
-Size (gopkg.in_gomail.v2_@v_v2.0.0-20160411212932-81ebce5c23df.zip) = 22966 bytes
-BLAKE2s (mailsend-go-1.0.10.tar.gz) = 70dba5f1b433dc12575e9a908e6750b77ea099ebc70004bfcc0ddbda1272e62f
-SHA512 (mailsend-go-1.0.10.tar.gz) = 552916acc7fbcbe44c02c9dbecb66710ba3ddfba7afc466f0000ed1c919c886bdd16750f57abafb5a5e3ca92335cbb243b02f7cd41f0d41874cc43175b5970d9
-Size (mailsend-go-1.0.10.tar.gz) = 237159 bytes
+BLAKE2s (github.com_muquit_gomail_@v_v0.0.0-20250704205629-a34fa7a15a08.mod) = c0e9999f7c8a67ece0c90139b4653cb1aca5ccaf40f3b7927188d0c1e2c4b404
+SHA512 (github.com_muquit_gomail_@v_v0.0.0-20250704205629-a34fa7a15a08.mod) = ec635bfb081d2d134bed10ed133fef16d7e2e0d096b0231fdefb369e91f666a8fe2418da5bb66cb62178c6f64f4106be0e9c05e1b95ed95f66a268fbc7ba487c
+Size (github.com_muquit_gomail_@v_v0.0.0-20250704205629-a34fa7a15a08.mod) = 141 bytes
+BLAKE2s (github.com_muquit_gomail_@v_v0.0.0-20250704205629-a34fa7a15a08.zip) = d39511f51bfb6607a41bdf06003e36f4aed21a4b189013626a6fbf31faafcbe2
+SHA512 (github.com_muquit_gomail_@v_v0.0.0-20250704205629-a34fa7a15a08.zip) = acb7bf29adaf6187b3c123435533f3b94945b80bc660f403b82a16e701b16af2534f96a9d1653e4f8c48563f097acf6cd64747e83430f22ae9c1c440824cdefc
+Size (github.com_muquit_gomail_@v_v0.0.0-20250704205629-a34fa7a15a08.zip) = 25315 bytes
+BLAKE2s (github.com_muquit_quotedprintable_@v_v0.0.0-20250204043250-71206103869d.mod) = 266dad5321cefa01b7d71a4d18013d589b550953e0655c13b2c6afef358ac9b8
+SHA512 (github.com_muquit_quotedprintable_@v_v0.0.0-20250204043250-71206103869d.mod) = ed95d3b35b7e0c9e9ee3d8f05f88bde1d0d39258bcfb65f62e83eef1e1220d0a15d0e235243aacd9b4968b5fbb3fdb11ee1667f1a4b7f285d3a4e0e85e6efe28
+Size (github.com_muquit_quotedprintable_@v_v0.0.0-20250204043250-71206103869d.mod) = 52 bytes
+BLAKE2s (github.com_muquit_quotedprintable_@v_v0.0.0-20250204043250-71206103869d.zip) = 2a0fd955716953f6ad816b1c260f239a5ed841fce81ad9f3cadf9bca39178ddc
+SHA512 (github.com_muquit_quotedprintable_@v_v0.0.0-20250204043250-71206103869d.zip) = ba43b3b55a3c93e93857cfa9d4c1f99aba71725328d6e88a443ff6b19997f60ad81f82556c48873784edc20c198cd7c94ffa584090b40ddb69e6e19ba90a1dfd
+Size (github.com_muquit_quotedprintable_@v_v0.0.0-20250204043250-71206103869d.zip) = 14384 bytes
+BLAKE2s (mailsend-go-1.0.11.tar.gz) = 1109d0cff5ab77f6c36c30fe62f3c59579810e3575cf5d39a63d8921927b0d6f
+SHA512 (mailsend-go-1.0.11.tar.gz) = 7b947b3748e7d80fb2d0afbd36cd96dd025fbb4306f63331cd8be0590fb6241d074222bf4c8c0c4a785115d4121611551f4f5ad681f22f6099d6b2b046bdaa0b
+Size (mailsend-go-1.0.11.tar.gz) = 263925 bytes
diff --git a/mailsend-go/go-modules.mk b/mailsend-go/go-modules.mk
index fb0b654fc9..862db7a4ef 100644
--- a/mailsend-go/go-modules.mk
+++ b/mailsend-go/go-modules.mk
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-GO_MODULE_FILES+=	gopkg.in/alexcesaro/quotedprintable.v3/@v/v3.0.0-20150716171945-2caba252f4dc.mod
-GO_MODULE_FILES+=	gopkg.in/alexcesaro/quotedprintable.v3/@v/v3.0.0-20150716171945-2caba252f4dc.zip
-GO_MODULE_FILES+=	gopkg.in/gomail.v2/@v/v2.0.0-20160411212932-81ebce5c23df.mod
-GO_MODULE_FILES+=	gopkg.in/gomail.v2/@v/v2.0.0-20160411212932-81ebce5c23df.zip
+GO_MODULE_FILES+=	github.com/muquit/gomail/@v/v0.0.0-20250704205629-a34fa7a15a08.mod
+GO_MODULE_FILES+=	github.com/muquit/gomail/@v/v0.0.0-20250704205629-a34fa7a15a08.zip
+GO_MODULE_FILES+=	github.com/muquit/quotedprintable/@v/v0.0.0-20250204043250-71206103869d.mod
+GO_MODULE_FILES+=	github.com/muquit/quotedprintable/@v/v0.0.0-20250204043250-71206103869d.zip


Home | Main Index | Thread Index | Old Index