Merge lp:~dynamite-a-d/ubuntu/precise/cmake/fix-for-972419 into lp:ubuntu/precise/cmake

Proposed by David Dunsmore
Status: Work in progress
Proposed branch: lp:~dynamite-a-d/ubuntu/precise/cmake/fix-for-972419
Merge into: lp:ubuntu/precise/cmake
Diff against target: 43 lines (+23/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/99-cpack-corrupted-tarball-debs-fix.patch (+15/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~dynamite-a-d/ubuntu/precise/cmake/fix-for-972419
Reviewer Review Type Date Requested Status
Brian Murray Approve
Ubuntu branches Pending
Review via email: mp+123081@code.launchpad.net

Description of the change

Fix for LP: #972419

To post a comment you must log in.
Revision history for this message
David Dunsmore (dynamite-a-d) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

The patch tagging guidelines (https://wiki.ubuntu.com/PackagingGuide/PatchSystems?action=show&redirect=UbuntuDevelopment%2FPatchTaggingGuidelines#Patch_Tagging_Guidelines) indicate that patches should have information about where they originated from and bugs that they fix.

This information appears in your patch but has been left unchanged. I'd expect there to be a link to the patch's origin (http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a34015d3) and the author credited.

As I mentioned in the bug report this bug is already fixed in quantal, so we can setup a stable release update for 12.04 however we need a test case as part of the SRU process. For full details see: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure.

Once we have that in the bug I'll be happy to add the tag information to the patch and upload this to precise-proposed.

review: Needs Fixing
Revision history for this message
Brian Murray (brian-murray) wrote :

To be clear I'd be happy to add the patch meta information for you and otherwise this debdiff looks good. Thanks for you work!

Revision history for this message
David Dunsmore (dynamite-a-d) wrote :

Thanks, that would be a great help

Revision history for this message
Brian Murray (brian-murray) wrote :

I've uploaded this to the precise-proposed queue now. Sorry for the delay.

review: Approve

Unmerged revisions

59. By David Dunsmore <email address hidden>

Fixes for corrupted tarballs when using DEB generator in CPack.
Fixes bug LP: 972419

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-03-16 11:03:21 +0000
3+++ debian/changelog 2012-09-06 13:49:28 +0000
4@@ -1,3 +1,10 @@
5+cmake (2.8.7-0ubuntu5) precise; urgency=low
6+
7+ * Fixes for corrupted tarballs when using DEB generator in CPack.
8+ Fixes bug LP: 972419
9+
10+ -- David Dunsmore <david.dunsmore@sbl-dd-laptop1.seebyte.com> Thu, 06 Sep 2012 14:36:50 +0100
11+
12 cmake (2.8.7-0ubuntu4) precise; urgency=low
13
14 * No-change rebuild against libarchive12.
15
16=== added file 'debian/patches/99-cpack-corrupted-tarball-debs-fix.patch'
17--- debian/patches/99-cpack-corrupted-tarball-debs-fix.patch 1970-01-01 00:00:00 +0000
18+++ debian/patches/99-cpack-corrupted-tarball-debs-fix.patch 2012-09-06 13:49:28 +0000
19@@ -0,0 +1,15 @@
20+## Description: add some description
21+## Origin/Author: add some origin or author
22+## Bug: bug URL
23+Index: cmake/Source/cmArchiveWrite.cxx
24+===================================================================
25+--- cmake.orig/Source/cmArchiveWrite.cxx 2012-09-06 14:34:42.399884000 +0100
26++++ cmake/Source/cmArchiveWrite.cxx 2012-09-06 14:36:36.541104180 +0100
27+@@ -240,6 +240,7 @@
28+ // Clear acl and xattr fields not useful for distribution.
29+ archive_entry_acl_clear(e);
30+ archive_entry_xattr_clear(e);
31++ archive_entry_set_fflags(e, 0, 0);
32+ if(archive_write_header(this->Archive, e) != ARCHIVE_OK)
33+ {
34+ this->Error = "archive_write_header: ";
35
36=== modified file 'debian/patches/series'
37--- debian/patches/series 2012-01-18 16:00:49 +0000
38+++ debian/patches/series 2012-09-06 13:49:28 +0000
39@@ -4,3 +4,4 @@
40 xfail_compiler_flag.diff
41 increase_ctest_test_timeout.diff
42 ubuntu_qt_import_dir_variable.diff
43+99-cpack-corrupted-tarball-debs-fix.patch

Subscribers

People subscribed via source and target branches