summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbouyer <bouyer>2011-09-21 19:29:24 +0000
committerbouyer <bouyer>2011-09-21 19:29:24 +0000
commit4fc1f23e3b72cc60860a6ff865b564144e4b0c6f (patch)
tree8993d61e60a94de96dd6f73c4db7dd8663608d36
parente77eab5d142fe20fab67893cb7afbbd89ce314c2 (diff)
downloadpkgsrc-4fc1f23e3b72cc60860a6ff865b564144e4b0c6f.tar.gz
Initial import of eventlog 0.2.12, required by the upcoming syslog-ng
update (OK agc@) The EventLog library aims to be a replacement of the simple syslog() API provided on UNIX systems. The major difference between EventLog and syslog is that EventLog tries to add structure to messages. Where you had a simple non-structrured string in syslog() you have a combination of description and tag/value pairs. EventLog provides an interface to build, format and output an event record. The exact format and output method can be customized by the administrator via a configuration file.
-rw-r--r--sysutils/eventlog/DESCR10
-rw-r--r--sysutils/eventlog/Makefile21
-rw-r--r--sysutils/eventlog/PLIST8
-rw-r--r--sysutils/eventlog/buildlink3.mk12
-rw-r--r--sysutils/eventlog/distinfo5
5 files changed, 56 insertions, 0 deletions
diff --git a/sysutils/eventlog/DESCR b/sysutils/eventlog/DESCR
new file mode 100644
index 00000000000..b19cc4cb625
--- /dev/null
+++ b/sysutils/eventlog/DESCR
@@ -0,0 +1,10 @@
+The EventLog library aims to be a replacement of the simple syslog() API
+provided on UNIX systems. The major difference between EventLog and syslog
+is that EventLog tries to add structure to messages.
+
+Where you had a simple non-structrured string in syslog() you have a
+combination of description and tag/value pairs.
+
+EventLog provides an interface to build, format and output an event record.
+The exact format and output method can be customized by the administrator
+via a configuration file.
diff --git a/sysutils/eventlog/Makefile b/sysutils/eventlog/Makefile
new file mode 100644
index 00000000000..5cf1a5e4c0d
--- /dev/null
+++ b/sysutils/eventlog/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/09/21 19:29:24 bouyer Exp $
+
+VERS= 0.2.12
+DISTNAME= eventlog_${VERS}
+PKGNAME= eventlog-${VERS}
+CATEGORIES= sysutils
+MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.2.4/source/
+WRKSRC= ${WRKDIR}/${PKGNAME}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.balabit.com/network-security/syslog-ng/
+COMMENT= Support library for syslog-ng
+LICENSE= modified-bsd
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/eventlog/PLIST b/sysutils/eventlog/PLIST
new file mode 100644
index 00000000000..5e2a5e11133
--- /dev/null
+++ b/sysutils/eventlog/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/09/21 19:29:24 bouyer Exp $
+include/eventlog/evtlog.h
+include/eventlog/evtmaps.h
+lib/libevtlog.a
+lib/libevtlog.la
+lib/libevtlog.so
+lib/libevtlog.so.0
+lib/pkgconfig/eventlog.pc
diff --git a/sysutils/eventlog/buildlink3.mk b/sysutils/eventlog/buildlink3.mk
new file mode 100644
index 00000000000..366c5624cdb
--- /dev/null
+++ b/sysutils/eventlog/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/09/21 19:29:24 bouyer Exp $
+
+BUILDLINK_TREE+= eventlog
+
+.if !defined(EVENTLOG_BUILDLINK3_MK)
+EVENTLOG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.eventlog+= eventlog>=0.2.12
+BUILDLINK_PKGSRCDIR.eventlog?= ../../sysutils/eventlog
+.endif # EVENTLOG_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -eventlog
diff --git a/sysutils/eventlog/distinfo b/sysutils/eventlog/distinfo
new file mode 100644
index 00000000000..befada5a1f6
--- /dev/null
+++ b/sysutils/eventlog/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/09/21 19:29:24 bouyer Exp $
+
+SHA1 (eventlog_0.2.12.tar.gz) = c5bfe4bb3ba58413e96dac86c03c7fe73e899b44
+RMD160 (eventlog_0.2.12.tar.gz) = 13931ba94681812d8a1134a155565dab525b0714
+Size (eventlog_0.2.12.tar.gz) = 310474 bytes