View | Details | Raw Unified | Return to bug 193461
Collapse All | Expand All

(-)logstash-forwarder/Makefile (-9 / +7 lines)
Lines 1-7 Link Here
1
# $FreeBSD: head/sysutils/logstash-forwarder/Makefile 367389 2014-09-05 20:50:47Z cs $
1
# $FreeBSD$
2
2
3
PORTNAME=	logstash-forwarder
3
PORTNAME=	logstash-forwarder
4
PORTVERSION=	0.3.1.20140725
4
PORTVERSION=	0.3.1.20140829
5
CATEGORIES=	sysutils
5
CATEGORIES=	sysutils
6
6
7
MAINTAINER=	cheffo@freebsd-bg.org
7
MAINTAINER=	cheffo@freebsd-bg.org
Lines 15-30 Link Here
15
GH_ACCOUNT=	elasticsearch
15
GH_ACCOUNT=	elasticsearch
16
GH_PROJECT=	logstash-forwarder
16
GH_PROJECT=	logstash-forwarder
17
GH_TAGNAME=	${GH_COMMIT}
17
GH_TAGNAME=	${GH_COMMIT}
18
GH_COMMIT=	8bb4001
18
GH_COMMIT=	fcf431c
19
19
20
USE_RC_SUBR=	logstash-forwarder
20
USE_RC_SUBR=	logstash-forwarder
21
SUB_FILES=	pkg-message
21
SUB_FILES=	pkg-message
22
22
23
do-build:
23
post-install:
24
	 cd ${WRKSRC} && ${PREFIX}/bin/go build
25
26
do-install:
27
	${INSTALL_PROGRAM} ${WRKSRC}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}  ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
28
	${INSTALL_DATA} ${WRKSRC}/logstash-forwarder.conf.example ${STAGEDIR}${PREFIX}/etc/logstash-forwarder.conf.example
24
	${INSTALL_DATA} ${WRKSRC}/logstash-forwarder.conf.example ${STAGEDIR}${PREFIX}/etc/logstash-forwarder.conf.example
29
25
30
.include <bsd.port.mk>
26
.include <bsd.port.pre.mk>
27
.include "${.CURDIR}/../../lang/go/files/bsd.go.mk"
28
.include <bsd.port.post.mk>
(-)logstash-forwarder/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (logstash-forwarder-0.3.1.20140725.tar.gz) = 302b8bf9e073e8604d6d8485d71d8cff9e32e6e97869093036f406b695c2abae
1
SHA256 (logstash-forwarder-0.3.1.20140829.tar.gz) = b2528908be409df373599ac37ca7124196a37dbcf7ddef43220ecc72af21e23a
2
SIZE (logstash-forwarder-0.3.1.20140725.tar.gz) = 38998
2
SIZE (logstash-forwarder-0.3.1.20140829.tar.gz) = 40276
(-)logstash-forwarder/files/logstash-forwarder.in (-1 / +2 lines)
Lines 1-5 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
# $FreeBSD: head/sysutils/logstash-forwarder/files/logstash-forwarder.in 367389 2014-09-05 20:50:47Z cs $
2
# $FreeBSD$
3
3
4
# PROVIDE: logstash_forwarder
4
# PROVIDE: logstash_forwarder
5
# REQUIRE: DAEMON
5
# REQUIRE: DAEMON
Lines 20-25 Link Here
20
rcvar=logstash_forwarder_enable
20
rcvar=logstash_forwarder_enable
21
21
22
command="%%PREFIX%%/bin/logstash-forwarder"
22
command="%%PREFIX%%/bin/logstash-forwarder"
23
command_args='> /dev/null 2>&1 &'
23
24
24
load_rc_config $name
25
load_rc_config $name
25
26

Return to bug 193461