Install this version:
emerge -a =net-misc/mercure-1.1.5
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-misc/mercure-1.1.5
Or alternatively:
emerge --autounmask-write -a =net-misc/mercure-1.1.5
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.1.5 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd tmpfiles
DESCRIPTION="Server-sent live updates: protocol and reference implementation"
HOMEPAGE="https://mercure.rocks"
SRC_URI="https://github.com/dunglas/${PN}/releases/download/v${PV}/${PN}_Linux_x86_64.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-group/mercure
acct-user/mercure
"
# fowners in src_install needs them on the build host.
DEPEND="${RDEPEND}"
DOCS=(README.md)
src_install() {
default
insinto /usr/bin
dobin mercure
insinto /etc/logrotate.d
newins "${FILESDIR}/mercure.logrotate" mercure
insinto /etc/${PN}
doins Caddyfile
fowners -R mercure:mercure /etc/${PN}
newinitd "${FILESDIR}/mercure.initd" mercure
dotmpfiles "${FILESDIR}"/${PN}.conf
systemd_newunit "${FILESDIR}/${PN}.service" "${PN}.service"
}
pkg_postinst() {
tmpfiles_process mercure.conf
}
acct-group/mercure acct-user/mercure
acct-group/mercure acct-user/mercure
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | mercure-1.1.5.tar.gz | 36633868 bytes | https://github.com/dunglas/mercure/releases/download/v1.1.5/mercure_Linux_x86_64.tar.gz |