summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control42
-rw-r--r--debian/copyright32
-rw-r--r--debian/libcee-syslog-dev.install4
-rw-r--r--debian/libcee-syslog0.install1
-rw-r--r--debian/libcee-syslog0.symbols2
-rwxr-xr-xdebian/rules13
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
10 files changed, 104 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..90dd70d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libcee-syslog (0.1.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #XXXX)
+
+ -- Gergely Nagy <algernon@madhouse-project.org> Thu, 22 Mar 2012 12:54:43 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7b02daa
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: libcee-syslog
+Priority: extra
+Maintainer: Gergely Nagy <algernon@madhouse-project.org>
+Build-Depends: debhelper (>= 9~), dh-autoreconf, libjson0-dev (>= 0.7~)
+Standards-Version: 3.9.3
+Section: libs
+Homepage: https://github.com/algernon/libcee-syslog
+Vcs-Git: git://github.com/algernon/libcee-syslog.git
+Vcs-Browser: http://github.com/algernon/libcee-syslog/tree/debian
+
+Package: libcee-syslog0
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: CEE-enhanced syslog library
+ This library serves two purposes: it's either a drop-in replacement
+ for the syslog() system call, in which case it turns the default
+ syslog messages into CEE-enhanced messages, with a CEE-JSON payload,
+ and some automatically discovered fields.
+ .
+ Or, it can be used as a stand-alone library, that provides a
+ ``syslog()``-like API, with the ability to add arbitrary key-value
+ pairs to the resulting JSON payload.
+
+Package: libcee-syslog-dev
+Section: libdevel
+Architecture: any
+Depends: libcee-syslog0 (= ${binary:Version}), pkg-config, ${misc:Depends}
+Description: Development files for the CEE-enhanced syslog library
+ This library serves two purposes: it's either a drop-in replacement
+ for the syslog() system call, in which case it turns the default
+ syslog messages into CEE-enhanced messages, with a CEE-JSON payload,
+ and some automatically discovered fields.
+ .
+ Or, it can be used as a stand-alone library, that provides a
+ ``syslog()``-like API, with the ability to add arbitrary key-value
+ pairs to the resulting JSON payload.
+ .
+ This package is needed to compile programs against libcee-syslog0, as
+ this contains the headers and pkg-config file. It is not needed when
+ one only wants to use the library with LD_PRELOAD.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2969c7f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libcee-syslog
+Upstream-Contact: Gergely Nagy <algernon@balabit.hu>
+Source: git://github.com/algernon/libcee-syslog.git
+Copyright: Copyright (C) 2012 BalaBit IT Security Ltd.
+License: BSDL-2
+
+Files: *
+Copyright: Copyright (C) 2012 BalaBit IT Security Ltd.
+License: BSDL-2
+
+License: BSDL-2
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY BALABIT AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BALABIT OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
diff --git a/debian/libcee-syslog-dev.install b/debian/libcee-syslog-dev.install
new file mode 100644
index 0000000..3450a6a
--- /dev/null
+++ b/debian/libcee-syslog-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*
+usr/share/man/man*/*
diff --git a/debian/libcee-syslog0.install b/debian/libcee-syslog0.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libcee-syslog0.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/libcee-syslog0.symbols b/debian/libcee-syslog0.symbols
new file mode 100644
index 0000000..970be75
--- /dev/null
+++ b/debian/libcee-syslog0.symbols
@@ -0,0 +1,2 @@
+libcee-syslog.so.0 #PACKAGE# #MINVER#
+ (symver)LIBCEE_SYSLOG_0.1.0 0.1.0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..00559f2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DH_OPTIONS += -O-Bdebian/build-tree
+
+override_dh_autoreconf:
+ dh_autoreconf ./autogen.sh
+
+override_dh_installdocs:
+ dh_installdocs --link-doc=libcee-syslog0
+
+%:
+ dh $@ --with autoreconf
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ea69fed
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+https://github.com/algernon/libcee-syslog/tags .*/tarball/(\d[\d\.]+)