summaryrefslogtreecommitdiff
path: root/sysutils/liblogging
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2014-09-04 19:46:34 +0000
committerfhajny <fhajny@pkgsrc.org>2014-09-04 19:46:34 +0000
commitaf6c88472711f2db8c57ea014b7ecd0afeee665a (patch)
tree1a8e0c9b4d9ee95b4e51eaa0aa35afc3bec5de78 /sysutils/liblogging
parent87d99e2fd94faa6271094856a6c7ed22d58ad21f (diff)
downloadpkgsrc-af6c88472711f2db8c57ea014b7ecd0afeee665a.tar.gz
Import liblogging-1.0.4 as sysutils/liblogging.
Liblogging is an easy to use library for logging. It offers an enhanced replacement for the syslog() call, but retains its ease of use.
Diffstat (limited to 'sysutils/liblogging')
-rw-r--r--sysutils/liblogging/DESCR3
-rw-r--r--sysutils/liblogging/Makefile22
-rw-r--r--sysutils/liblogging/PLIST7
-rw-r--r--sysutils/liblogging/buildlink3.mk13
-rw-r--r--sysutils/liblogging/distinfo5
5 files changed, 50 insertions, 0 deletions
diff --git a/sysutils/liblogging/DESCR b/sysutils/liblogging/DESCR
new file mode 100644
index 00000000000..7289b7a5aad
--- /dev/null
+++ b/sysutils/liblogging/DESCR
@@ -0,0 +1,3 @@
+Liblogging is an easy to use library for logging. It offers
+an enhanced replacement for the syslog() call, but retains
+its ease of use.
diff --git a/sysutils/liblogging/Makefile b/sysutils/liblogging/Makefile
new file mode 100644
index 00000000000..2b8a1231ddf
--- /dev/null
+++ b/sysutils/liblogging/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2014/09/04 19:46:34 fhajny Exp $
+
+DISTNAME= liblogging-1.0.4
+CATEGORIES= sysutils
+MASTER_SITES= http://download.rsyslog.com/liblogging/
+
+MAINTAINER= filip@joyent.com
+HOMEPAGE= http://www.liblogging.org/
+COMMENT= Easy to use logging library
+LICENSE= 2-clause-bsd
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= rfc3195/liblogging-rfc3195.pc.in
+PKGCONFIG_OVERRIDE+= stdlog/liblogging-stdlog.pc.in
+
+CONFIGURE_ARGS+= --disable-journal
+CONFIGURE_ARGS+= --enable-stdlog
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/liblogging/PLIST b/sysutils/liblogging/PLIST
new file mode 100644
index 00000000000..697fc053f33
--- /dev/null
+++ b/sysutils/liblogging/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2014/09/04 19:46:34 fhajny Exp $
+bin/stdlogctl
+include/liblogging/stdlog.h
+lib/liblogging-stdlog.la
+lib/pkgconfig/liblogging-stdlog.pc
+man/man1/stdlogctl.1
+man/man3/stdlog.3
diff --git a/sysutils/liblogging/buildlink3.mk b/sysutils/liblogging/buildlink3.mk
new file mode 100644
index 00000000000..1ec0ce842ef
--- /dev/null
+++ b/sysutils/liblogging/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/09/04 19:46:34 fhajny Exp $
+
+BUILDLINK_TREE+= liblogging
+
+.if !defined(LIBLOGGING_BUILDLINK3_MK)
+LIBLOGGING_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.liblogging+= liblogging>=1.0.4
+BUILDLINK_PKGSRCDIR.liblogging?= ../../sysutils/liblogging
+
+.endif # LIBLOGGING_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -liblogging
diff --git a/sysutils/liblogging/distinfo b/sysutils/liblogging/distinfo
new file mode 100644
index 00000000000..dc5ecf767b4
--- /dev/null
+++ b/sysutils/liblogging/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/09/04 19:46:34 fhajny Exp $
+
+SHA1 (liblogging-1.0.4.tar.gz) = 7964fbd93455125fd6c830a61f840aca29f92b93
+RMD160 (liblogging-1.0.4.tar.gz) = d8490be03d0b6f97e9b08dab55c2b3bf2b494081
+Size (liblogging-1.0.4.tar.gz) = 565078 bytes