diff -Nru ruby-fusefs-0.7.0/debian/changelog ruby-fusefs-0.7.0/debian/changelog --- ruby-fusefs-0.7.0/debian/changelog 2013-04-04 15:34:19.000000000 +0000 +++ ruby-fusefs-0.7.0/debian/changelog 2013-12-20 11:17:18.000000000 +0000 @@ -1,3 +1,16 @@ +ruby-fusefs (0.7.0-4) unstable; urgency=medium + + * Add myself to Uploaders and copyright holders of debian/ + * debian/control: + + remove obsolete DM-Upload-Allowed flag + + use canonical URI in Vcs-* fields + + Bump Standards-Version to 3..9.5 (no changes needed) + * Build for all supported Ruby versions (Closes: #730894) + + add debian/patches/port-to-newer-ruby.patch to port the C extensions + * Drop transitional packages + + -- Cédric Boutillier Fri, 20 Dec 2013 12:17:12 +0100 + ruby-fusefs (0.7.0-3) unstable; urgency=high * Team upload. diff -Nru ruby-fusefs-0.7.0/debian/control ruby-fusefs-0.7.0/debian/control --- ruby-fusefs-0.7.0/debian/control 2013-04-03 15:39:31.000000000 +0000 +++ ruby-fusefs-0.7.0/debian/control 2013-12-20 11:13:46.000000000 +0000 @@ -2,43 +2,19 @@ Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers -Uploaders: Paul van Tilburg -DM-Upload-Allowed: yes +Uploaders: Paul van Tilburg , Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), libfuse-dev -Standards-Version: 3.9.3 -Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-fusefs.git -Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-fusefs.git;a=summary +Standards-Version: 3.9.5 +Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-fusefs.git +Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-fusefs.git;a=summary Homepage: http://github.com/duairc/fusefs -XS-Ruby-Versions: ruby1.8 +XS-Ruby-Versions: all Package: ruby-fusefs Architecture: any XB-Ruby-Versions: ${ruby:Versions} -Depends: ${shlibs:Depends}, ${misc:Depends}, ruby1.8 -Replaces: libfusefs-ruby (<< 0.7.0-1~), libfusefs-ruby1.8 (<< 0.7.0-1~) -Breaks: libfusefs-ruby (<< 0.7.0-1~), libfusefs-ruby1.8 (<< 0.7.0-1~) -Provides: libfusefs-ruby, libfusefs-ruby1.8 +Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: library to easily define a filesystem in Ruby using fuse This library provides a simple API to define a FUSE filesystem in Ruby. It is *NOT* a full implementation of the FUSE API. - . - This package currently only works with Ruby 1.8. - -Package: libfusefs-ruby -Section: oldlibs -Priority: extra -Architecture: all -Depends: ${misc:Depends}, ruby-fusefs -Description: Transitional package for ruby-fusefs - This is a transitional package to ease upgrades to the ruby-fusefs - package. It can safely be removed. - -Package: libfusefs-ruby1.8 -Section: oldlibs -Priority: extra -Architecture: all -Depends: ${misc:Depends}, ruby-fusefs -Description: Transitional package for ruby-fusefs - This is a transitional package to ease upgrades to the ruby-fusefs - package. It can safely be removed. diff -Nru ruby-fusefs-0.7.0/debian/copyright ruby-fusefs-0.7.0/debian/copyright --- ruby-fusefs-0.7.0/debian/copyright 2012-05-01 15:52:48.000000000 +0000 +++ ruby-fusefs-0.7.0/debian/copyright 2013-12-20 11:14:09.000000000 +0000 @@ -27,6 +27,7 @@ Files: debian/* Copyright: 2012 Paul van Tilburg + 2013 Cédric Boutillier License: GPL-2+ 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 diff -Nru ruby-fusefs-0.7.0/debian/patches/port-to-newer-ruby.patch ruby-fusefs-0.7.0/debian/patches/port-to-newer-ruby.patch --- ruby-fusefs-0.7.0/debian/patches/port-to-newer-ruby.patch 1970-01-01 00:00:00.000000000 +0000 +++ ruby-fusefs-0.7.0/debian/patches/port-to-newer-ruby.patch 2013-12-20 11:11:52.000000000 +0000 @@ -0,0 +1,75 @@ +Description: port to Ruby 1.9.1 and 2.0 + add also some missing headers and fix a typo +Author: Cédric Boutillier +Origin: vendor +Forwarded: https://github.com/duairc/fusefs/pull/4 +Last-Update: 2013-12-20 + +--- a/ext/fusefs_lib.c ++++ b/ext/fusefs_lib.c +@@ -17,6 +17,8 @@ + #include + #include + #include ++#include ++#include + + #ifdef DEBUG + #include +@@ -452,7 +454,7 @@ + if (TYPE(cur_entry) != T_STRING) + continue; + +- filler(buf,STR2CSTR(cur_entry),NULL,0); ++ filler(buf,StringValuePtr(cur_entry),NULL,0); + } + return 0; + } +@@ -660,7 +662,8 @@ + /* We have the body, now save it the entire contents to our + * opened_file lists. */ + newfile = ALLOC(opened_file); +- value = rb_str2cstr(body,&newfile->size); ++ value = RSTRING_PTR(body); ++ newfile->size = RSTRING_LEN(body); + newfile->value = ALLOC_N(char,(newfile->size)+1); + memcpy(newfile->value,value,newfile->size); + newfile->value[newfile->size] = '\0'; +@@ -715,7 +718,8 @@ + /* We have the body, now save it the entire contents to our + * opened_file lists. */ + newfile = ALLOC(opened_file); +- value = rb_str2cstr(body,&newfile->size); ++ value = RSTRING_PTR(body); ++ newfile->size = RSTRING_LEN(body); + newfile->value = ALLOC_N(char,(newfile->size)+1); + memcpy(newfile->value,value,newfile->size); + newfile->writesize = newfile->size+1; +@@ -1074,7 +1078,8 @@ + rf_call(path,id_write_to,newstr); + } else { + long size; +- char *str = rb_str2cstr(body,&size); ++ char *str = RSTRING_PTR(body); ++ size = RSTRING_LEN(body); + + /* Just in case offset is bigger than the file. */ + if (offset >= size) return 0; +@@ -1253,7 +1258,7 @@ + return 0; + if (TYPE(ret) != T_STRING) + return 0; +- memcpy(buf, RSTRING_LEN(ret), RSTRING_LEN(ret)); ++ memcpy(buf, RSTRING_PTR(ret), RSTRING_LEN(ret)); + return RSTRING_LEN(ret); + } + +@@ -1390,7 +1395,7 @@ + } + + rb_iv_set(cFuseFS,"@mountpoint",mountpoint); +- fusefs_setup(STR2CSTR(mountpoint), &rf_oper, opts); ++ fusefs_setup(StringValuePtr(mountpoint), &rf_oper, opts); + return Qtrue; + } + diff -Nru ruby-fusefs-0.7.0/debian/patches/series ruby-fusefs-0.7.0/debian/patches/series --- ruby-fusefs-0.7.0/debian/patches/series 2013-04-03 11:06:40.000000000 +0000 +++ ruby-fusefs-0.7.0/debian/patches/series 2013-12-20 10:13:18.000000000 +0000 @@ -1 +1,2 @@ +port-to-newer-ruby.patch fix-dynamic-library-load-path.patch diff -Nru ruby-fusefs-0.7.0/debian/source/lintian-overrides ruby-fusefs-0.7.0/debian/source/lintian-overrides --- ruby-fusefs-0.7.0/debian/source/lintian-overrides 2012-06-27 08:47:20.000000000 +0000 +++ ruby-fusefs-0.7.0/debian/source/lintian-overrides 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -ruby-fusefs source: duplicate-short-description libfusefs-ruby libfusefs-ruby1.8 -ruby-fusefs source: duplicate-long-description libfusefs-ruby libfusefs-ruby1.8