mailhog: update mhsendmail to support the new args

wxt 649ec091 e4651455

+29 -24
+27 -22
pkgs/by-name/ma/mailhog/0001-Add-go.mod-go.sum.patch
··· 1 - From ba00547a25bfea641d0c8a5dba42a6ace990767b Mon Sep 17 00:00:00 2001 2 From: wxt <3264117476@qq.com> 3 - Date: Mon, 4 Nov 2024 11:04:05 +0800 4 - Subject: [PATCH] Add go.mod & go.sum 5 6 --- 7 - go.mod | 36 ++++++++++++++++++++++++++++ 8 - go.sum | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 9 - 2 files changed, 112 insertions(+) 10 create mode 100644 go.mod 11 create mode 100644 go.sum 12 13 diff --git a/go.mod b/go.mod 14 new file mode 100644 15 - index 0000000..b09f764 16 --- /dev/null 17 +++ b/go.mod 18 - @@ -0,0 +1,36 @@ 19 +module github.com/mailhog/MailHog 20 + 21 - +go 1.23.2 22 + 23 +require ( 24 + github.com/gorilla/pat v1.0.2 ··· 27 + github.com/mailhog/MailHog-Server v1.0.1 28 + github.com/mailhog/MailHog-UI v1.0.1 29 + github.com/mailhog/http v1.0.1 30 - + github.com/mailhog/mhsendmail v0.2.0 31 - + golang.org/x/crypto v0.28.0 32 +) 33 + 34 +require ( ··· 45 + github.com/ogier/pflag v0.0.1 // indirect 46 + github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c // indirect 47 + github.com/smartystreets/goconvey v1.8.1 // indirect 48 - + github.com/stretchr/testify v1.9.0 // indirect 49 + github.com/t-k/fluent-logger-golang v1.0.0 // indirect 50 - + github.com/tinylib/msgp v1.2.4 // indirect 51 + gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect 52 + gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect 53 + gopkg.in/yaml.v2 v2.4.0 // indirect 54 +) 55 diff --git a/go.sum b/go.sum 56 new file mode 100644 57 - index 0000000..9089971 58 --- /dev/null 59 +++ b/go.sum 60 - @@ -0,0 +1,76 @@ 61 +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY= 62 +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= 63 +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= ··· 100 +github.com/mailhog/http v1.0.1/go.mod h1:91oqUCI9ZoSDY2cTj4pWDJVBHCK1U762V2a4if4KlOw= 101 +github.com/mailhog/mhsendmail v0.2.0 h1:C5HUC4obHfXIkttLfGBUopYbsJmh+bnExGWHBpWQ8IA= 102 +github.com/mailhog/mhsendmail v0.2.0/go.mod h1:B0778+OoPEc5aEFqatEnSO4ZWl9FCTxvaY+c7OOQadM= 103 +github.com/mailhog/smtp v1.0.1 h1:igL3N/L+pWuGCqUaje21HX3VIVnqHoVlqWO0t+wJEYE= 104 +github.com/mailhog/smtp v1.0.1/go.mod h1:GMrAdv1hXro38xj5dsWPAk5ZiXJHFx9t7W9Yqsk0XUM= 105 +github.com/mailhog/storage v1.0.1 h1:uut2nlG5hIxbsl6f8DGznPAHwQLf3/7Na2t4gmrIais= ··· 117 +github.com/smarty/assertions v1.15.0/go.mod h1:yABtdzeQs6l1brC900WlRNwj6ZR55d7B+E8C6HtKdec= 118 +github.com/smartystreets/goconvey v1.8.1 h1:qGjIddxOk4grTu9JPOU31tVfq3cNdBlNa5sSznIX1xY= 119 +github.com/smartystreets/goconvey v1.8.1/go.mod h1:+/u4qLyY6x1jReYOp7GOM2FSt8aP9CzCZL03bI28W60= 120 - +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= 121 - +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= 122 +github.com/t-k/fluent-logger-golang v1.0.0 h1:4IQzY+/l66Zkkhk9eB3LwF9vPkgKHJ1rpYdrRiap0EI= 123 +github.com/t-k/fluent-logger-golang v1.0.0/go.mod h1:6vC3Vzp9Kva0l5J9+YDY5/ROePwkAqwLK+KneCjSm4w= 124 - +github.com/tinylib/msgp v1.2.4 h1:yLFeUGostXXSGW5vxfT5dXG/qzkn4schv2I7at5+hVU= 125 - +github.com/tinylib/msgp v1.2.4/go.mod h1:ykjzy2wzgrlvpDCRc4LA8UXy6D8bzMSuAF3WD57Gok0= 126 - +golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= 127 - +golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= 128 +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 129 +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= 130 +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= ··· 135 +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= 136 +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 137 -- 138 - 2.46.1 139
··· 1 + From 0ffd4dcbc7df1510213ec8f2c20b94fb016d390e Mon Sep 17 00:00:00 2001 2 From: wxt <3264117476@qq.com> 3 + Date: Thu, 17 Apr 2025 20:52:12 +0800 4 + Subject: [PATCH] Update go.mod & go.sum 5 6 --- 7 + go.mod | 37 +++++++++++++++++++++++++++ 8 + go.sum | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 9 + 2 files changed, 117 insertions(+) 10 create mode 100644 go.mod 11 create mode 100644 go.sum 12 13 diff --git a/go.mod b/go.mod 14 new file mode 100644 15 + index 0000000..594f99f 16 --- /dev/null 17 +++ b/go.mod 18 + @@ -0,0 +1,37 @@ 19 +module github.com/mailhog/MailHog 20 + 21 + +go 1.24.1 22 + 23 +require ( 24 + github.com/gorilla/pat v1.0.2 ··· 27 + github.com/mailhog/MailHog-Server v1.0.1 28 + github.com/mailhog/MailHog-UI v1.0.1 29 + github.com/mailhog/http v1.0.1 30 + + github.com/mailhog/mhsendmail v0.2.1-0.20170416184902-9e70164f299c 31 + + golang.org/x/crypto v0.37.0 32 +) 33 + 34 +require ( ··· 45 + github.com/ogier/pflag v0.0.1 // indirect 46 + github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c // indirect 47 + github.com/smartystreets/goconvey v1.8.1 // indirect 48 + + github.com/spf13/pflag v1.0.6 // indirect 49 + + github.com/stretchr/testify v1.10.0 // indirect 50 + github.com/t-k/fluent-logger-golang v1.0.0 // indirect 51 + + github.com/tinylib/msgp v1.2.5 // indirect 52 + gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect 53 + gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect 54 + gopkg.in/yaml.v2 v2.4.0 // indirect 55 +) 56 diff --git a/go.sum b/go.sum 57 new file mode 100644 58 + index 0000000..87a8922 59 --- /dev/null 60 +++ b/go.sum 61 + @@ -0,0 +1,80 @@ 62 +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY= 63 +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= 64 +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= ··· 101 +github.com/mailhog/http v1.0.1/go.mod h1:91oqUCI9ZoSDY2cTj4pWDJVBHCK1U762V2a4if4KlOw= 102 +github.com/mailhog/mhsendmail v0.2.0 h1:C5HUC4obHfXIkttLfGBUopYbsJmh+bnExGWHBpWQ8IA= 103 +github.com/mailhog/mhsendmail v0.2.0/go.mod h1:B0778+OoPEc5aEFqatEnSO4ZWl9FCTxvaY+c7OOQadM= 104 + +github.com/mailhog/mhsendmail v0.2.1-0.20170416184902-9e70164f299c h1:Tci7WxOyjr3Vs+oCoMT4F4LMNsaxh4eJzq9CKivNRuo= 105 + +github.com/mailhog/mhsendmail v0.2.1-0.20170416184902-9e70164f299c/go.mod h1:B0778+OoPEc5aEFqatEnSO4ZWl9FCTxvaY+c7OOQadM= 106 +github.com/mailhog/smtp v1.0.1 h1:igL3N/L+pWuGCqUaje21HX3VIVnqHoVlqWO0t+wJEYE= 107 +github.com/mailhog/smtp v1.0.1/go.mod h1:GMrAdv1hXro38xj5dsWPAk5ZiXJHFx9t7W9Yqsk0XUM= 108 +github.com/mailhog/storage v1.0.1 h1:uut2nlG5hIxbsl6f8DGznPAHwQLf3/7Na2t4gmrIais= ··· 120 +github.com/smarty/assertions v1.15.0/go.mod h1:yABtdzeQs6l1brC900WlRNwj6ZR55d7B+E8C6HtKdec= 121 +github.com/smartystreets/goconvey v1.8.1 h1:qGjIddxOk4grTu9JPOU31tVfq3cNdBlNa5sSznIX1xY= 122 +github.com/smartystreets/goconvey v1.8.1/go.mod h1:+/u4qLyY6x1jReYOp7GOM2FSt8aP9CzCZL03bI28W60= 123 + +github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= 124 + +github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= 125 + +github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= 126 + +github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= 127 +github.com/t-k/fluent-logger-golang v1.0.0 h1:4IQzY+/l66Zkkhk9eB3LwF9vPkgKHJ1rpYdrRiap0EI= 128 +github.com/t-k/fluent-logger-golang v1.0.0/go.mod h1:6vC3Vzp9Kva0l5J9+YDY5/ROePwkAqwLK+KneCjSm4w= 129 + +github.com/tinylib/msgp v1.2.5 h1:WeQg1whrXRFiZusidTQqzETkRpGjFjcIhW6uqWH09po= 130 + +github.com/tinylib/msgp v1.2.5/go.mod h1:ykjzy2wzgrlvpDCRc4LA8UXy6D8bzMSuAF3WD57Gok0= 131 + +golang.org/x/crypto v0.37.0 h1:kJNSjF/Xp7kU0iB2Z+9viTPMW4EqqsrywMXLJOOsXSE= 132 + +golang.org/x/crypto v0.37.0/go.mod h1:vg+k43peMZ0pUMhYmVAWysMK35e6ioLh3wB8ZCAfbVc= 133 +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 134 +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= 135 +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= ··· 140 +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= 141 +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 142 -- 143 + 2.48.1 144
+2 -2
pkgs/by-name/ma/mailhog/package.nix
··· 17 }; 18 19 patches = [ 20 - # Generate by go mod init github.com/mailhog/MailHog && go mod tidy 21 ./0001-Add-go.mod-go.sum.patch 22 ]; 23 24 - vendorHash = "sha256-yYMgNpthBwmDeD4pgnVj88OJWiPNWuwzxDzC6eejabU="; 25 26 deleteVendor = true; 27
··· 17 }; 18 19 patches = [ 20 + # Generate by go mod init github.com/mailhog/MailHog && go mod tidy && go get github.com/mailhog/mhsendmail@9e70164f299c9e06af61402e636f5bbdf03e7dbb 21 ./0001-Add-go.mod-go.sum.patch 22 ]; 23 24 + vendorHash = "sha256-YfqC8MEdiLcucOaXOsLI9H4NDQ/4T0newb6q7v0uDbw="; 25 26 deleteVendor = true; 27