Control: tags 843870 + patch
Control: tags 843870 + pending

Dear maintainer,

I've prepared an NMU for trash-cli (versioned as 0.12.9.14-2.1) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
WBR, wRAR
diff -Nru trash-cli-0.12.9.14/debian/changelog trash-cli-0.12.9.14/debian/changelog
--- trash-cli-0.12.9.14/debian/changelog	2014-08-31 18:52:54.000000000 +0600
+++ trash-cli-0.12.9.14/debian/changelog	2016-11-26 15:41:41.000000000 +0500
@@ -1,3 +1,12 @@
+trash-cli (0.12.9.14-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix segfault in getmntent (Closes: #843870).
+  * Fix debian/watch.
+  * Add B-D: dh-python.
+
+ -- Andrey Rahmatullin <w...@debian.org>  Sat, 26 Nov 2016 15:41:41 +0500
+
 trash-cli (0.12.9.14-2) unstable; urgency=medium
 
   * Fix Vcs URLs
diff -Nru trash-cli-0.12.9.14/debian/control trash-cli-0.12.9.14/debian/control
--- trash-cli-0.12.9.14/debian/control	2014-08-31 18:52:54.000000000 +0600
+++ trash-cli-0.12.9.14/debian/control	2016-11-26 15:41:41.000000000 +0500
@@ -5,6 +5,7 @@
 Uploaders: Javi Merino <vi...@debian.org>
 Build-Depends: debhelper (>= 9),
                python (>= 2.6.6-3~),
+               dh-python,
                python-setuptools,
                python-nose,
                python-mock,
diff -Nru trash-cli-0.12.9.14/debian/patches/fix-getmntent-segfault.patch trash-cli-0.12.9.14/debian/patches/fix-getmntent-segfault.patch
--- trash-cli-0.12.9.14/debian/patches/fix-getmntent-segfault.patch	1970-01-01 05:00:00.000000000 +0500
+++ trash-cli-0.12.9.14/debian/patches/fix-getmntent-segfault.patch	2016-11-26 15:40:22.000000000 +0500
@@ -0,0 +1,18 @@
+Description: Fix segfaults when calling getmntent and fclose
+Origin: other, https://github.com/andreafrancia/trash-cli/issues/52
+Bug: https://github.com/andreafrancia/trash-cli/issues/52
+Bug-Debian: https://bugs.debian.org/843870
+Last-Update: 2016-11-26
+
+--- a/trashcli/list_mount_points.py     2015-06-16 22:07:28.911957504 +0900
++++ b/trashcli/list_mount_points.py     2015-06-16 22:08:36.777137116 +0900
+@@ -56,7 +56,9 @@
+
+     libc = cdll.LoadLibrary(libc_name)
+     libc.getmntent.restype = POINTER(mntent_struct)
++    libc.getmntent.argtypes = [c_void_p]
+     libc.fopen.restype = c_void_p
++    libc.fclose.argtypes = [c_void_p]
+
+     f = libc.fopen("/proc/mounts", "r")
+     if f==None:
diff -Nru trash-cli-0.12.9.14/debian/patches/series trash-cli-0.12.9.14/debian/patches/series
--- trash-cli-0.12.9.14/debian/patches/series	2014-08-31 18:52:54.000000000 +0600
+++ trash-cli-0.12.9.14/debian/patches/series	2016-11-26 15:40:30.000000000 +0500
@@ -1 +1,2 @@
 0001-Fix-should_output_info_for_multiple_files.patch
+fix-getmntent-segfault.patch
diff -Nru trash-cli-0.12.9.14/debian/watch trash-cli-0.12.9.14/debian/watch
--- trash-cli-0.12.9.14/debian/watch	2014-08-31 18:52:54.000000000 +0600
+++ trash-cli-0.12.9.14/debian/watch	2016-11-26 15:41:41.000000000 +0500
@@ -1,2 +1,2 @@
 version=3
-http://githubredir.debian.net/github/andreafrancia/trash-cli/(.*).tar.gz
+https://github.com/andreafrancia/trash-cli/tags .*/(.*)\.tar\.gz

Attachment: signature.asc
Description: PGP signature

Reply via email to