blob: 614aefdf4f5143533291865d07661882d7334966 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: epylog
# Date created: 3 July 2005
# Whom: Alan Snelson <alan@wave2.co.uk>
#
# $FreeBSD$
#
PORTNAME= epylog
PORTVERSION= 1.0.3
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://linux.duke.edu/projects/epylog/download/
MAINTAINER= alan@wave2.co.uk
COMMENT= Epylog is a syslog parser which mails you the output
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
lynx:${PORTSDIR}/www/lynx
MAN3= epylog.3
MAN5= epylog-modules.5 epylog.conf.5
MAN8= epylog.8
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lynx=${LOCALBASE}/bin/lynx
USE_PERL5= yes
USE_PYTHON= yes
LOCAL_CONF_FILES= epylog.conf \
modules.d/logins.conf \
modules.d/mail.conf \
modules.d/notices.conf \
modules.d/packets.conf \
modules.d/spamd.conf \
modules.d/weeder.conf \
notice_local.xml \
report_template.html \
weed_local.cf
SUB_FILES= pkg-install pkg-deinstall
SUB_LIST= LOCAL_CONF_FILES="${LOCAL_CONF_FILES}"
post-patch:
@${REINPLACE_CMD} -e 's|$$sysconfdir/cron\.daily|$$sysconfdir/epylog|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/var/log/secure|/var/log/auth.log|' \
${WRKSRC}/etc/modules.d/logins.conf.in \
${WRKSRC}/etc/modules.d/notices.conf.in \
${WRKSRC}/etc/modules.d/weeder.conf.in
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
|