git: 9dcbff870a87 - main - mail/hydroxide: switched to upstream
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Sep 2024 23:25:30 UTC
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=9dcbff870a876642120cd71a51d1e95c7362817f commit 9dcbff870a876642120cd71a51d1e95c7362817f Author: Yusuf Yaman <nxjoseph@protonmail.com> AuthorDate: 2024-09-23 23:20:44 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-09-23 23:22:49 +0000 mail/hydroxide: switched to upstream Port has been switched to use upstream because I think it's better to just use a patch rather than forking the upstream and making the change there. PR: 281669 --- mail/hydroxide/Makefile | 4 ++-- mail/hydroxide/distinfo | 6 +++--- mail/hydroxide/files/patch-config_config.go | 17 +++++++++++++++++ 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/mail/hydroxide/Makefile b/mail/hydroxide/Makefile index 594006fcfe90..4f9ba94283df 100644 --- a/mail/hydroxide/Makefile +++ b/mail/hydroxide/Makefile @@ -1,7 +1,7 @@ PORTNAME= hydroxide DISTVERSIONPREFIX= v DISTVERSION= 0.2.29 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= mail MAINTAINER= nxjoseph@protonmail.com @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules USE_GITHUB= yes -GH_ACCOUNT= nxjosephofficial +GH_ACCOUNT= emersion GH_TUPLE= ProtonMail:go-crypto:v1.0.0:protonmail_go_crypto/vendor/github.com/ProtonMail/go-crypto \ boltdb:bolt:v1.3.1:boltdb_bolt/vendor/github.com/boltdb/bolt \ cloudflare:circl:v1.3.7:cloudflare_circl/vendor/github.com/cloudflare/circl \ diff --git a/mail/hydroxide/distinfo b/mail/hydroxide/distinfo index 6f93acce324c..b74655e66e82 100644 --- a/mail/hydroxide/distinfo +++ b/mail/hydroxide/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1723902839 -SHA256 (nxjosephofficial-hydroxide-v0.2.29_GH0.tar.gz) = 504732b22d97d95db73e799878fa5dc974a151b491cd4c11867970d6aadbf45e -SIZE (nxjosephofficial-hydroxide-v0.2.29_GH0.tar.gz) = 45559 +TIMESTAMP = 1727105515 +SHA256 (emersion-hydroxide-v0.2.29_GH0.tar.gz) = 96f1f1cc058544365a31d9b9c64fe44073092b36f95784c044b88641849448bc +SIZE (emersion-hydroxide-v0.2.29_GH0.tar.gz) = 45566 SHA256 (ProtonMail-go-crypto-v1.0.0_GH0.tar.gz) = 596e264d2df6beb3ec40e47286f86960845ab227cb635150ef3bd35a90a79e43 SIZE (ProtonMail-go-crypto-v1.0.0_GH0.tar.gz) = 333515 SHA256 (boltdb-bolt-v1.3.1_GH0.tar.gz) = b5ae498b780f535a5d308c188dee1329b3536275d29ad6758876084c0b8586a8 diff --git a/mail/hydroxide/files/patch-config_config.go b/mail/hydroxide/files/patch-config_config.go new file mode 100644 index 000000000000..4d5b5d95927d --- /dev/null +++ b/mail/hydroxide/files/patch-config_config.go @@ -0,0 +1,17 @@ +--- config/config.go.orig 2024-09-23 15:32:25 UTC ++++ config/config.go +@@ -6,12 +6,9 @@ func Path(filename string) (string, error) { + ) + + func Path(filename string) (string, error) { +- configHome, err := os.UserConfigDir() +- if err != nil { +- return "", err +- } ++ configHome := "/var/db/hydroxide" + +- p := filepath.Join(configHome, "hydroxide", filename) ++ p := filepath.Join(configHome, filename) + + dirname, _ := filepath.Split(p) + if err := os.MkdirAll(dirname, 0700); err != nil {