Added Debian packaging.

This commit is contained in:
Patrick J Cherry
2011-05-12 17:48:55 +01:00
parent 73f4339082
commit 7f1cee61b7
8 changed files with 75 additions and 2 deletions

4
README
View File

@@ -2,8 +2,8 @@ Ruby Netlink
============ ============
This library provides an API for using a Linux Netlink socket, for doing This library provides an API for using a Linux Netlink socket, for doing
things things like manipulating IP interfaces and routes programmatically, things like manipulating IP interfaces and routes programmatically, and
and capturing packets from ULOG. capturing packets from ULOG.
Example Example
======= =======

5
debian/changelog vendored Normal file
View File

@@ -0,0 +1,5 @@
linux-netlink-ruby (0.10-1) unstable; urgency=low
* Initial release.
-- Patrick J Cherry <patrick@bytemark.co.uk> Thu, 12 May 2011 17:17:45 +0100

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
7

39
debian/control vendored Normal file
View File

@@ -0,0 +1,39 @@
Source: linux-netlink-ruby
Maintainer: Matthew Bloch <matthew@bytemark.co.uk>
Uploaders: Patrick J Cherry <patrick@bytemark.co.uk>
Section: ruby
Priority: optional
Build-Depends: debhelper (>= 7), cdbs, ruby1.8, ruby1.9, ruby-pkg-tools
Standards-Version: 3.8.0
Package: liblinux-netlink-ruby
Architecture: all
Depends: liblinux-netlink-ruby1.8 | liblinux-netlink-ruby1.9, ${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: all
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: all
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.

20
debian/copyright vendored Normal file
View File

@@ -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

View File

@@ -0,0 +1 @@
examples/*

View File

@@ -0,0 +1 @@
examples/*

6
debian/rules vendored Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/make -f
#
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk