1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

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
This commit is contained in:
Yusuf Yaman 2024-09-24 02:20:44 +03:00 committed by Vladimir Druzenko
parent 44c309b0d9
commit 9dcbff870a
3 changed files with 22 additions and 5 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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 {