Added patches to remove rubygems requirements.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
^debian/ruby-linux-netlink$
|
^debian/ruby-linux-netlink$
|
||||||
~$
|
~$
|
||||||
^.config-liblinux-netlink-ruby
|
^.config-liblinux-netlink-ruby
|
||||||
|
^.pc/
|
||||||
^debian/files$
|
^debian/files$
|
||||||
^debian/.*\.substvars$
|
^debian/.*\.substvars$
|
||||||
^debian/.*\.debhelper.log$
|
^debian/.*\.debhelper.log$
|
||||||
|
9
debian/changelog
vendored
9
debian/changelog
vendored
@@ -1,8 +1,15 @@
|
|||||||
|
linux-netlink-ruby (0.11-1+wheezy2) stable; urgency=low
|
||||||
|
|
||||||
|
* Switch to dpkg-source 3.0 (quilt) format.
|
||||||
|
* Added patch to remove rubygems requires.
|
||||||
|
|
||||||
|
-- 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
|
linux-netlink-ruby (0.11-1+wheezy1) stable; urgency=low
|
||||||
|
|
||||||
* New upstream version, repackaged for wheezy.
|
* 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
|
linux-netlink-ruby (0.10-6) stable; urgency=low
|
||||||
|
|
||||||
|
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
|
Reference in New Issue
Block a user