From 8700536ddaa4eb198ea69565c7c86466cc2b4a6b Mon Sep 17 00:00:00 2001
From: Maxim Sobolev <sobomax@FreeBSD.org>
Date: Fri, 3 May 2013 06:41:43 +0000
Subject: Add p5-Net-Syslog - a perl extension for sending syslog messages to a
 remote syslogd.

Sponsored by:	pbxpress.it
---
 net/Makefile                |  1 +
 net/p5-Net-Syslog/Makefile  | 17 +++++++++++++++++
 net/p5-Net-Syslog/distinfo  |  2 ++
 net/p5-Net-Syslog/pkg-descr |  9 +++++++++
 net/p5-Net-Syslog/pkg-plist |  5 +++++
 5 files changed, 34 insertions(+)
 create mode 100644 net/p5-Net-Syslog/Makefile
 create mode 100644 net/p5-Net-Syslog/distinfo
 create mode 100644 net/p5-Net-Syslog/pkg-descr
 create mode 100644 net/p5-Net-Syslog/pkg-plist

diff --git a/net/Makefile b/net/Makefile
index 3caaef673dc0..ad4c37358379 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -679,6 +679,7 @@
     SUBDIR += p5-Net-Server-Coro
     SUBDIR += p5-Net-Server-SS-PreFork
     SUBDIR += p5-Net-Subnet
+    SUBDIR += p5-Net-Syslog
     SUBDIR += p5-Net-TCLink
     SUBDIR += p5-Net-TcpDumpLog
     SUBDIR += p5-Net-Telnet
diff --git a/net/p5-Net-Syslog/Makefile b/net/p5-Net-Syslog/Makefile
new file mode 100644
index 000000000000..ca088a5755ce
--- /dev/null
+++ b/net/p5-Net-Syslog/Makefile
@@ -0,0 +1,17 @@
+# Created by: Maksym Sobolyev <sobomax@pbxpress.it>
+# $FreeBSD$
+
+PORTNAME=	Net-Syslog
+PORTVERSION=	0.04
+CATEGORIES=	net perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sobomax@FreeBSD.org
+COMMENT=	Perl extension for sending syslog messages to a remote syslogd
+
+PERL_CONFIGURE=	yes
+
+MAN3=		Net::Syslog.3
+
+.include <bsd.port.mk>
diff --git a/net/p5-Net-Syslog/distinfo b/net/p5-Net-Syslog/distinfo
new file mode 100644
index 000000000000..8c80bdeca346
--- /dev/null
+++ b/net/p5-Net-Syslog/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Net-Syslog-0.04.tar.gz) = 2f75ebdd4d9a5f31442e824dc18df24af07ba5f45aacdab82ec13212efb4d020
+SIZE (Net-Syslog-0.04.tar.gz) = 3044
diff --git a/net/p5-Net-Syslog/pkg-descr b/net/p5-Net-Syslog/pkg-descr
new file mode 100644
index 000000000000..a3c6a23d37c2
--- /dev/null
+++ b/net/p5-Net-Syslog/pkg-descr
@@ -0,0 +1,9 @@
+Description
+-----------
+
+Net::Syslog implements the intra-host syslog forwarding protocol. It is not
+intended to replace the Sys::Syslog or Unix::Syslog modules, but instead to
+provide a method of using syslog when a local syslogd is unavailable or when
+you don't want to write syslog messages to the local syslog.
+
+WWW: http://search.cpan.org/dist/Net-Telnet/
diff --git a/net/p5-Net-Syslog/pkg-plist b/net/p5-Net-Syslog/pkg-plist
new file mode 100644
index 000000000000..05eae20c20ea
--- /dev/null
+++ b/net/p5-Net-Syslog/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Net/Syslog.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Syslog/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Syslog
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0