b20739ecb6
processes associated with the service. In the case of tenshi, the refresh method currently uses :kill -HUP, which sends a HUP to the spawned tail process as well as the tenshi process, killing the tail and breaking tenshi. Fix this problem. Bump PKGREVISION. From Paul B. Henson in PR 49607.
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2015/01/26 23:03:37 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= tenshi-0.15
|
|
PKGREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://dev.inversepath.com/download/tenshi/
|
|
|
|
MAINTAINER= henson@acm.org
|
|
HOMEPAGE= http://www.inversepath.com/tenshi.html
|
|
COMMENT= Log monitoring program to watch and report on log files
|
|
LICENSE= isc
|
|
|
|
USE_TOOLS+= perl:run
|
|
REPLACE_PERL= tenshi
|
|
EGDIR= share/examples/${PKGBASE}
|
|
CONF_FILES= ${PREFIX}/${EGDIR}/tenshi.conf ${PKG_SYSCONFDIR}/tenshi/tenshi.conf
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
DEPENDS+= p5-IO-BufferedSelect>=1.0:../../sysutils/p5-IO-BufferedSelect
|
|
|
|
SUBST_CLASSES+= tenshi
|
|
SUBST_STAGE.tenshi= pre-build
|
|
SUBST_FILES.tenshi= tenshi tenshi.conf tenshi.8
|
|
SUBST_SED.tenshi= -e 's,/etc/tenshi/tenshi.conf,${PKG_SYSCONFDIR}/tenshi.conf,g'
|
|
SUBST_SED.tenshi+= -e 's,/var/run/tenshi.pid,${VARBASE}/lib/tenshi/tenshi.pid,g'
|
|
|
|
PKG_GROUPS= tenshi
|
|
PKG_USERS= tenshi:tenshi
|
|
PKG_HOME.tenshi= ${VARBASE}/lib/tenshi
|
|
OWN_DIRS_PERMS+= ${VARBASE}/lib/tenshi tenshi tenshi 0700
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR}/tenshi
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|