summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am5
-rw-r--r--configure.in2
-rw-r--r--debian/changelog11
-rw-r--r--debian/control23
-rw-r--r--debian/copyright9
-rw-r--r--debian/libnfnetlink-dev.install2
-rw-r--r--debian/libnfnetlink0.install1
-rw-r--r--debian/rules13
8 files changed, 64 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 44dea08..03a8faa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
-EXTRA_DIST = $(man_MANS)
+EXTRA_DIST = $(man_MANS) debian
SUBDIRS = src include
DIST_SUBDIRS = src include
@@ -10,3 +10,6 @@ man_MANS = #nfnetlink.3
$(OBJECTS): libtool
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
+
+dist-hook:
+ rm -rf `find $(distdir)/debian -name .svn`
diff --git a/configure.in b/configure.in
index f89fc32..a818add 100644
--- a/configure.in
+++ b/configure.in
@@ -4,7 +4,7 @@ AC_INIT
AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE(libnfnetlink, 0.0.13)
+AM_INIT_AUTOMAKE(libnfnetlink, 0.0.14)
AC_PROG_CC
AC_EXEEXT
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bcc2362
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,11 @@
+libnfnetlink (0.0.14) unstable; urgency=low
+
+ * new upstream release
+
+ -- Harald Welte <laforge@netfilter.org> Sat, 07 Jan 2006 16:04:38 +0100
+
+libnfnetlink (0.0.13-0+pre2) unstable; urgency=low
+
+ * initial debian release
+
+ -- Max Kellermann <max@duempel.org> Sun, 27 Nov 2005 18:10:02 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b3ed95a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: libnfnetlink
+Section: libs
+Priority: optional
+Maintainer: Max Kellermann <max@duempel.org>
+Build-Depends: cdbs (>= 0.4), debhelper (>= 4.2), gcc (>= 3.4)
+Standards-Version: 3.6.2
+
+Package: libnfnetlink0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Netfilter netlink library
+ libnfnetlink is a lowlevel C library which helps accessing the
+ netfilter netlink layer in the kernel.
+
+Package: libnfnetlink-dev
+Architecture: any
+Section: libdevel
+Depends: libnfnetlink0 (= ${Source-Version})
+Description: Netfilter netlink library
+ libnfnetlink is a lowlevel C library which helps accessing the
+ netfilter netlink layer in the kernel.
+ .
+ This package provides the development files.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b4bac2e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,9 @@
+This Debian package was created by Max Kellermann <max@duempel.org>.
+
+The upstream sources were downloaded from:
+ http://ftp.netfilter.org/pub/libnfnetlink/
+
+The GNU General Public License version 2 applies to the upstream
+sources. On Debian systems, the complete text of the GNU General
+Public License version 2 can be found in the
+/usr/share/common-licenses/GPL-2 file.
diff --git a/debian/libnfnetlink-dev.install b/debian/libnfnetlink-dev.install
new file mode 100644
index 0000000..5cc336f
--- /dev/null
+++ b/debian/libnfnetlink-dev.install
@@ -0,0 +1,2 @@
+usr/lib/*.{so,a,la}
+usr/include
diff --git a/debian/libnfnetlink0.install b/debian/libnfnetlink0.install
new file mode 100644
index 0000000..093956b
--- /dev/null
+++ b/debian/libnfnetlink0.install
@@ -0,0 +1 @@
+usr/lib/*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100644
index 0000000..ce0889a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ')
+UPSTREAM_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d-)
+DEB_TARBALL := libnfnetlink-$(UPSTREAM_VERSION).tar.bz2
+DEB_TAR_SRCDIR := libnfnetlink-$(UPSTREAM_VERSION)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/tarball.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp