sys-apps/restartd - 0.2.2 (gentoo)

Search

Install

Install this version:

emerge -a =sys-apps/restartd-0.2.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-apps/restartd-0.2.2

Or alternatively:

emerge --autounmask-write -a =sys-apps/restartd-0.2.2

Package Information

Description:
A daemon for checking your running and not running processes
Homepage:
https://packages.debian.org/unstable/utils/restartd
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.2.2 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

MY_PV=${PV/_alpha/.a-}
DESCRIPTION="A daemon for checking your running and not running processes"
HOMEPAGE="https://packages.debian.org/unstable/utils/restartd"
SRC_URI="mirror://debian/pool/main/r/restartd/${PN}_${MY_PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )

src_prepare() {
	default
	sed -i Makefile -e 's|-o restartd|$(LDFLAGS) &|g' || die "sed Makefile"
}

src_compile() {
	emake CC="$(tc-getCC)" C_ARGS="${CFLAGS}"
}

src_install() {
	dodir /etc /usr/sbin /usr/share/man/man8 /usr/share/man/fr/man8/
	default
}

Inherited Eclasses

Manifest for 0.2.2

Type File Size Source URLs
DIST restartd_0.2.2.tar.gz 13777 bytes mirror://debian/pool/main/r/restartd/restartd_0.2.2.tar.gz