net-misc/mercure - 0.21.8 (inode64-overlay)

Search

Package Information

Description:
Server-sent live updates: protocol and reference implementation
Homepage:
https://mercure.rocks
License:
AGPL-3

Ebuild Details

Version EAPI Keywords Slot
0.21.8 8 ~amd64 0
View Raw Ebuild
# 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
	app-admin/sudo
	app-crypt/certbot
	dev-java/openjdk-bin
	dev-libs/nss
"

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 dev.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
}

Dependencies

RDEPEND

	acct-group/mercure
	acct-user/mercure
	app-admin/sudo
	app-crypt/certbot
	dev-java/openjdk-bin
	dev-libs/nss

Manifest for 0.21.8

Type File Size Source URLs
DIST mercure-0.21.8.tar.gz 31298789 bytes https://github.com/dunglas/mercure/releases/download/v0.21.8/mercure_Linux_x86_64.tar.gz