Package Details: hydroxide 0.2.28-4

Git Clone URL: https://aur.archlinux.org/hydroxide.git (read-only, click to copy)
Package Base: hydroxide
Description: A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge
Upstream URL: https://github.com/emersion/hydroxide
Keywords: carddav go imap protonmail protonmail-bridge smtp
Licenses: MIT
Submitter: arnottcr
Maintainer: arnottcr (Stetsed)
Last Packager: Stetsed
Votes: 15
Popularity: 0.65
First Submitted: 2020-01-04 21:41 (UTC)
Last Updated: 2023-08-29 17:24 (UTC)

Latest Comments

1 2 Next › Last »

Stetsed commented on 2023-05-15 08:29 (UTC)

@atomicfs thank you for this but in the future instead of requesting an Orphan please mark it as out of date as in this case I get an email which tells me that it requires an update.

atomicfs commented on 2023-05-14 10:54 (UTC)

Hi @Stetsed, I assumed that no-one was maintaining it anymore.

Stetsed commented on 2023-05-14 05:36 (UTC)

Sorry for the long update time, I hadn't checked on this package for a while because there seemed to have been a halt in development on Hydroxide for a few months. Updated now.

javiorfo commented on 2023-03-30 15:25 (UTC)

Hello, This is out of date (0.2.24)

I have this issue when login: 2023/03/30 12:12:37 request failed: POST https://mail.proton.me/api/auth/info: [5003] This web page is out of date, please refresh the page to continue using it 2023/03/30 12:12:37 [5003] This web page is out of date, please refresh the page to continue using it

I have read that It was fixed on 0.2.25 version

Thanks!

Ranguvar commented on 2022-05-11 03:42 (UTC)

Please consider adding options=(!lto).

Some packages in core repos already do, for the benefit of users who have LTO enabled globally.

This package fails to build with LTO enabled.

tam1m commented on 2021-11-29 09:51 (UTC) (edited on 2021-11-29 10:02 (UTC) by tam1m)

Edit:

Don't really get whats happening. https://aur.archlinux.org/packages/hydroxide-git builds fine with my default config including lto.

These are my flags

CFLAGS="-march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection"

CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS


Could you add options=('!lto')?

Build breaks for me with lto enabled

==> Starting build()...
# github.com/emersion/hydroxide/cmd/hydroxide
_cgo_callers: relocation target x_cgo_callers not defined
_cgo_init: relocation target x_cgo_init not defined
_cgo_mmap: relocation target x_cgo_mmap not defined
_cgo_munmap: relocation target x_cgo_munmap not defined
_cgo_notify_runtime_init_done: relocation target x_cgo_notify_runtime_init_done not defined
_cgo_sigaction: relocation target x_cgo_sigaction not defined
_cgo_thread_start: relocation target x_cgo_thread_start not defined
net._cgo_3c1cec0c9a4e_C2func_getaddrinfo: relocation target _cgo_3c1cec0c9a4e_C2func_getaddrinfo not defined
net._cgo_3c1cec0c9a4e_Cfunc_freeaddrinfo: relocation target _cgo_3c1cec0c9a4e_Cfunc_freeaddrinfo not defined
net._cgo_3c1cec0c9a4e_Cfunc_gai_strerror: relocation target _cgo_3c1cec0c9a4e_Cfunc_gai_strerror not defined
runtime._cgo_setenv: relocation target x_cgo_setenv not defined
runtime._cgo_unsetenv: relocation target x_cgo_unsetenv not defined
runtime.cgo_yield: relocation target _cgo_yield not defined
.rela: relocation target _cgo_yield not defined
.rela: relocation target x_cgo_setenv not defined
.rela: relocation target x_cgo_unsetenv not defined
.rela: relocation target _cgo_3c1cec0c9a4e_C2func_getaddrinfo not defined
.rela: relocation target _cgo_3c1cec0c9a4e_Cfunc_freeaddrinfo not defined
.rela: relocation target _cgo_3c1cec0c9a4e_Cfunc_gai_strerror not defined
.rela: relocation target x_cgo_init not defined
.rela: relocation target x_cgo_thread_start not defined
/usr/lib/go/pkg/tool/linux_amd64/link: too many errors
unexpected fault address 0x7f8f9c9f9e08
fatal error: fault
==> ERROR: A failure occurred in build().
Aborting...

rEnr3n commented on 2021-10-10 01:54 (UTC)

You need to import the dev's key.

gpg --recv-keys 34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48

djdeets commented on 2021-10-09 21:33 (UTC)

For me Hydroxide fails to build with the error:

==> Validating source files with sha512sums...
    hydroxide-0.2.20.tar.gz ... Passed
    hydroxide-0.2.20.tar.gz.sig ... Skipped
==> Verifying source file signatures with gpg...
    hydroxide-0.2.20.tar.gz ... FAILED (unknown public key 0FDE7BE0E88F5E48)
==> ERROR: One or more PGP signatures could not be verified!
Failed to build hydroxide

Ranguvar commented on 2021-08-27 01:52 (UTC)

Please consider adding options=(!lto) as some packages in core repos already do, for the benefit of users who have LTO enabled globally.

This package fails to build with LTO enabled.

Ultracoolguy commented on 2021-06-08 18:06 (UTC)

So I noticed the package was flagged out of date, so I went ahead and updated it. Note that I removed the .sig and the pgp key because the former had expired.

If you need help with something else let me know.

# Maintainer: Colin Arnott <colin@urandom.co.uk>
# Maintainer: Nitroretro <nitroretro@protonmail.com>

pkgname=hydroxide
pkgver=0.2.18
pkgrel=1
pkgdesc="A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge"
arch=('x86_64')
url="https://github.com/emersion/${pkgname}"
license=('MIT')
depends=('glibc')
makedepends=('go')
source=("${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('79997fb1aaa4c942f169a27c66cc3a92fd765e846a3278b809d732105a58eb6bfe9980ed8de3bdcdd3cebce824382fba226dd68fd4805f0b63ce0e68486c04be')

prepare() {
    cd "${pkgname}-${pkgver}"
    mkdir -p build
}

build() {
    cd "${pkgname}-${pkgver}"

    export CGO_CPPFLAGS="$CPPFLAGS"
    export CGO_CFLAGS="$CFLAGS"
    export CGO_CXXFLAGS="$CXXFLAGS"
    export CGO_LDFLAGS="$LDFLAGS"
    export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"

    go build -o build ./cmd/...
}

package() {
    cd "${pkgname}-${pkgver}"
    install -Dm755 -- "build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
    install -Dm644 -- "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}