You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/logsurfer+/logsurfer+-1.8-r3.ebuild

41 lines
851 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs user
MY_P="logsurfer-${PV}"
DESCRIPTION="Real Time Log Monitoring and Alerting"
HOMEPAGE="http://www.crypt.gen.nz/logsurfer/"
SRC_URI="http://kerryt.orcon.net.nz/${MY_P}.tar.gz
http://www.crypt.gen.nz/logsurfer/${MY_P}.tar.gz"
LICENSE="freedist GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="bindist" #444330
S="${WORKDIR}/${MY_P}"
src_configure() {
econf --with-etcdir=/etc
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
dobin src/logsurfer
doman man/logsurfer.1 man/logsurfer.conf.4
newinitd "${FILESDIR}"/logsurfer-1.8.initd-r1 logsurfer
newconfd "${FILESDIR}"/logsurfer.confd logsurfer
dodoc ChangeLog README TODO
}
pkg_postinst() {
enewuser logsurfer -1 -1 -1 daemon
}