Updated package name to match ruby-packaging standards.
Added patch to remove rubygems requirements.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
^debian/ruby-linux-netlink$
|
||||
~$
|
||||
^.config-liblinux-netlink-ruby
|
||||
^.pc/
|
||||
^debian/files$
|
||||
^debian/.*\.substvars$
|
||||
^debian/.*\.debhelper.log$
|
||||
|
10
debian/changelog
vendored
10
debian/changelog
vendored
@@ -1,8 +1,16 @@
|
||||
ruby-linux-netlink (0.11-1+wheezy2) stable; urgency=low
|
||||
|
||||
* Switch to dpkg-source 3.0 (quilt) format.
|
||||
* Added patch to remove rubygems requires.
|
||||
* Renamed source package to fit in with the new guidelines.
|
||||
|
||||
-- Patrick J Cherry <patrick@bytemark.co.uk> Fri, 05 Jul 2013 14:16:30 +0100
|
||||
|
||||
linux-netlink-ruby (0.11-1+wheezy1) stable; urgency=low
|
||||
|
||||
* New upstream version, repackaged for wheezy.
|
||||
|
||||
-- Patrick J Cherry <patrick@bytemark.co.uk> Fri, 05 Jul 2013 13:57:06 +0100
|
||||
-- Patrick J Cherry <patrick@bytemark.co.uk> Fri, 05 Jul 2013 14:16:05 +0100
|
||||
|
||||
linux-netlink-ruby (0.10-6) stable; urgency=low
|
||||
|
||||
|
2
debian/control
vendored
2
debian/control
vendored
@@ -1,4 +1,4 @@
|
||||
Source: linux-netlink-ruby
|
||||
Source: ruby-linux-netlink
|
||||
Maintainer: Matthew Bloch <matthew@bytemark.co.uk>
|
||||
Uploaders: Patrick J Cherry <patrick@bytemark.co.uk>
|
||||
Section: ruby
|
||||
|
32
debian/patches/remove-rubygems-requirements
vendored
Normal file
32
debian/patches/remove-rubygems-requirements
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
Removed "require rubygems" from everywhere.
|
||||
--- a/lib/linux/iptables.rb
|
||||
+++ b/lib/linux/iptables.rb
|
||||
@@ -1,11 +1,6 @@
|
||||
require 'socket'
|
||||
require 'linux/constants'
|
||||
-
|
||||
-begin
|
||||
- require 'ffi'
|
||||
-rescue LoadError
|
||||
- require('rubygems') ? retry : raise
|
||||
-end
|
||||
+require 'ffi'
|
||||
|
||||
|
||||
# Good things about FFI::Struct:
|
||||
--- a/lib/linux/sendmsg.rb
|
||||
+++ b/lib/linux/sendmsg.rb
|
||||
@@ -1,12 +1,7 @@
|
||||
# Patchup to add Socket#sendmsg and Socket#recvmsg for ruby 1.8
|
||||
|
||||
if BasicSocket.instance_methods.grep(/^sendmsg$/).empty?
|
||||
- begin
|
||||
- require 'ffi'
|
||||
- rescue LoadError
|
||||
- require('rubygems') ? retry : raise
|
||||
- end
|
||||
-
|
||||
+ require 'ffi'
|
||||
|
||||
class BasicSocket
|
||||
module FFIExt
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
@@ -0,0 +1 @@
|
||||
remove-rubygems-requirements
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
Reference in New Issue
Block a user