Commit d3005555 authored by olgeni's avatar olgeni
Browse files

Add devel/lager_syslog, a syslog backend for Lager.

parent 88cd1377
......@@ -975,6 +975,7 @@
SUBDIR += kyra
SUBDIR += kyua
SUBDIR += lager
SUBDIR += lager_syslog
SUBDIR += lasi
SUBDIR += lcov
SUBDIR += leaktracer
......
# $FreeBSD$
PORTNAME= lager_syslog
PORTVERSION= 2.1.1
CATEGORIES= devel
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Syslog backend for Lager
LICENSE= APACHE20
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang \
lager>=2.1.1:${PORTSDIR}/devel/lager \
erlang-syslog>=1.0.3:${PORTSDIR}/devel/erlang-syslog
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USE_GITHUB= yes
GH_ACCOUNT= basho
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.org ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
.include <bsd.port.mk>
SHA256 (basho-lager_syslog-2.1.1_GH0.tar.gz) = 146c8bd3b72db3b975dc2626eba5603ee75da1ddea5a49b2898313b72390bc3f
SIZE (basho-lager_syslog-2.1.1_GH0.tar.gz) = 100726
--- rebar.config.orig 2015-05-24 12:25:33 UTC
+++ rebar.config
@@ -3,8 +3,6 @@
{cover_enabled, true}.
{deps, [
- {lager, "2.1.*", {git, "git://github.com/basho/lager", {tag, "2.1.1"}}},
- {'syslog', "1.0.*", {git, "git://github.com/Vagabond/erlang-syslog", {tag, "1.0.3"}}}
]
}.
This is a syslog backend for Lager. It allows you to send messages out of
lager and into the local syslog daemon.
WWW: https://github.com/basho/lager_syslog
lib/erlang/lib/lager_syslog-%%VERSION%%/ebin/lager_syslog.app
lib/erlang/lib/lager_syslog-%%VERSION%%/ebin/lager_syslog_backend.beam
lib/erlang/lib/lager_syslog-%%VERSION%%/src/lager_syslog.app.src
lib/erlang/lib/lager_syslog-%%VERSION%%/src/lager_syslog_backend.erl
%%PORTDOCS%%%%DOCSDIR%%/README.org
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment