diff --git a/.hgignore b/.hgignore index abe763d..314bd84 100644 --- a/.hgignore +++ b/.hgignore @@ -1,3 +1,6 @@ +^debian/liblinux-netlink-ruby(1.8|1.9.1)?$ ~$ ^.config-liblinux-netlink-ruby -^debian/$ +^debian/files$ +^debian/.*\.substvars$ +^debian/.*\.debhelper.log$ diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3970677 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,43 @@ +linux-netlink-ruby (0.12-1+squeeze1) oldstable; urgency=low + + * New upstream version. + + -- Patrick J Cherry Fri, 05 Jul 2013 13:52:09 +0100 + +linux-netlink-ruby (0.10-6) stable; urgency=low + + * Add ip rule support + + -- Nick Thomas Thu, 5 Jul 2012 15:19:42 +0100 + +linux-netlink-ruby (0.10-5) stable; urgency=low + + * Updated rattr constants to work with linux 3.2. + * Updated link handler to have new rattrs. + + -- Patrick J Cherry Mon, 11 Jun 2012 10:53:37 +0100 + +linux-netlink-ruby (0.10-4) unstable; urgency=low + + * Removed dependency on gcc, in favour of having arch-dependent packages + which rely on build-time ascertation of sizeof size_t. + + -- Patrick J Cherry Tue, 24 Jan 2012 15:56:46 +0000 + +linux-netlink-ruby (0.10-3) unstable; urgency=low + + * Updated version number to cover the previous changes. + + -- Steve Kemp Thu, 12 Jan 2012 12:00:21 +0000 + +linux-netlink-ruby (0.10-2) unstable; urgency=low + + * Added NlSocket.open and scope handling. + + -- Matthew Bloch Wed, 18 May 2011 15:27:00 +0100 + +linux-netlink-ruby (0.10-1) unstable; urgency=low + + * Initial release. + + -- Patrick J Cherry Thu, 12 May 2011 17:17:45 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d7104d5 --- /dev/null +++ b/debian/control @@ -0,0 +1,39 @@ +Source: linux-netlink-ruby +Maintainer: Matthew Bloch +Uploaders: Patrick J Cherry +Section: ruby +Priority: optional +Build-Depends: debhelper (>= 7), cdbs, ruby1.8, ruby1.9.1, ruby-pkg-tools, rake +Standards-Version: 3.8.0 + +Package: liblinux-netlink-ruby +Architecture: all +Depends: liblinux-netlink-ruby1.8 | liblinux-netlink-ruby1.9.1, ${misc:Depends} +Description: Netlink socket library for Ruby + This library provides an API for using a Linux Netlink socket, for doing + things like manipulating IP interfaces and routes programmatically, and + capturing packets from ULOG. + . + This is the metapackage for all versions of Ruby. + +Package: liblinux-netlink-ruby1.8 +Architecture: any +Depends: ruby1.8 (>= 1.8.7), libffi-ruby1.8, ${misc:Depends} +Description: Netlink socket library for Ruby 1.8 + This library provides an API for using a Linux Netlink socket, for doing + things like manipulating IP interfaces and routes programmatically, and + capturing packets from ULOG. + . + This is the version for Ruby 1.8.7. + + +Package: liblinux-netlink-ruby1.9.1 +Architecture: any +Depends: ruby1.9.1, libffi-ruby1.9.1, ${misc:Depends} +Description: Netlink socket library for Ruby 1.9.1 + This library provides an API for using a Linux Netlink socket, for doing + things like manipulating IP interfaces and routes programmatically, and + capturing packets from ULOG. + . + This is the version for Ruby 1.9.1. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7c93d1e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,20 @@ +Ruby Netlink +============ + +Copyright (c) 2011 Bytemark Computer Consulting Ltd + +Licence: + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in ‘/usr/share/common-licenses/GPL’ or in the dpkg +source as the file ‘COPYING’ diff --git a/debian/liblinux-netlink-ruby1.8.examples b/debian/liblinux-netlink-ruby1.8.examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/debian/liblinux-netlink-ruby1.8.examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/liblinux-netlink-ruby1.9.1.examples b/debian/liblinux-netlink-ruby1.9.1.examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/debian/liblinux-netlink-ruby1.9.1.examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bf1db75 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f +# + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk + +makebuilddir:: + rake lib/linux/c_struct_sizeof_size_t.rb + +clean:: + rake clean