Merge ~paelzer/ubuntu/+source/tgt:merge-1.0.79-2-gcc-10-FTFBS-GROOVY into ubuntu/+source/tgt:debian/sid

Proposed by Christian Ehrhardt 
Status: Superseded
Proposed branch: ~paelzer/ubuntu/+source/tgt:merge-1.0.79-2-gcc-10-FTFBS-GROOVY
Merge into: ubuntu/+source/tgt:debian/sid
Diff against target: 737 lines (+534/-0) (has conflicts)
9 files modified
debian/changelog (+405/-0)
debian/control (+18/-0)
debian/copyright (+4/-0)
debian/patches/0008-Fix-build-with-gcc-10.patch (+46/-0)
debian/patches/0009-Replace-__packed-with-__attribute__.patch (+39/-0)
debian/patches/series (+5/-0)
debian/rules (+9/-0)
debian/tests/control (+4/-0)
debian/tests/storage (+4/-0)
Conflict in debian/changelog
Conflict in debian/control
Conflict in debian/copyright
Conflict in debian/patches/series
Conflict in debian/rules
Conflict in debian/tests/control
Conflict in debian/tests/storage
Reviewer Review Type Date Requested Status
Canonical Server Pending
Canonical Server packageset reviewers Pending
git-ubuntu developers Pending
Review via email: mp+391614@code.launchpad.net

This proposal supersedes a proposal from 2020-09-30.

This proposal has been superseded by a proposal from 2020-09-30.

To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Posted in a previous version of this proposal

commit 413a540caf9e2f62e0974f649a3de0dbcf76c4e7
has (tag: pkg/import/1%1.0.79-3, pkg/debian/sid)

But https://code.launchpad.net/~usd-import-team/ubuntu/+source/tgt/+git/tgt/+ref/debian/sid misses that.

Therefore the LP diff is odd, but the actual change is a no-change-rebase that fixes an FTBFS with gcc-10.

PPA: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4287/+packages

There is actually a s390x FTFBS left that Debian has not fixed yet, I'll look into that after lunch.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Posted in a previous version of this proposal

s390x FTFBS fix added to the MP

Unmerged commits

08811b7... by Christian Ehrhardt 

changelog: avoid FTFBS due to glibc 2.32 (s390x)

Signed-off-by: Christian Ehrhardt <email address hidden>

37282e9... by Christian Ehrhardt 

d/rules: avoid FTFBS due to glibc 2.32 triggering more gcc-10 errors on tgt build

Signed-off-by: Christian Ehrhardt <email address hidden>

fb711ca... by Christian Ehrhardt 

update-maintainer

Signed-off-by: Christian Ehrhardt <email address hidden>

54f1f1a... by Christian Ehrhardt 

changelog: 1:1.0.79-3ubuntu1

Signed-off-by: Christian Ehrhardt <email address hidden>

f854f68... by Andreas Hasenack

merge-changelogs

e4594f3... by Christian Ehrhardt 

    - Drop glusterfs support, package not in main.
      + debian/control: drop build depends and package
      + debian/rules: disable feature
      + debian/tests/{control, storage}: remove related tests
      + debian/tgt-glusterfs.install (Deleted)

413a540... by Apollon Oikonomopoulos <email address hidden>

1:1.0.79-3 (patches unapplied)

Imported using git-ubuntu import.

18195ed... by Apollon Oikonomopoulos <email address hidden>

1:1.0.79-2 (patches unapplied)

Imported using git-ubuntu import.

ce00767... by Apollon Oikonomopoulos <email address hidden>

1:1.0.79-1 (patches unapplied)

Imported using git-ubuntu import.

e7dbd58... by Apollon Oikonomopoulos <email address hidden>

1:1.0.74-1 (patches unapplied)

Imported using git-ubuntu import.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 2c433fe..33cd5db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,40 @@
1<<<<<<< debian/changelog
2=======
3tgt (1:1.0.79-3ubuntu1) groovy; urgency=medium
4
5 * Merge with Debian unstable. Remaining changes:
6 - Drop glusterfs support, package not in main.
7 + debian/control: drop build depends and package
8 + debian/rules: disable feature
9 + debian/tests/{control, storage}: remove related tests
10 + debian/tgt-glusterfs.install (Deleted)
11 * Add changes:
12 - d/rules: avoid FTFBS on s390x due to glibc 2.32 triggering more
13 gcc-10 errors on tgt build
14
15 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 30 Sep 2020 13:30:55 +0200
16
17tgt (1:1.0.79-3) unstable; urgency=medium
18
19 * Fix FTBFS with GCC 10 (Closes: #957874)
20 * Bump Standards-Version to 4.5.0; no changes needed
21 * Bump debhelper-compat to 13; no changes needed
22 * d/copyright: bump debian/ years
23
24 -- Apollon Oikonomopoulos <apoikos@debian.org> Thu, 17 Sep 2020 12:38:22 +0300
25
26tgt (1:1.0.79-2ubuntu1) eoan; urgency=medium
27
28 * Merge with Debian unstable. Remaining changes:
29 - Drop glusterfs support, package not in main.
30 + debian/control: drop build depends and package
31 + debian/rules: disable feature
32 + debian/tests/{control, storage}: remove related tests
33 + debian/tgt-glusterfs.install (Deleted)
34
35 -- Andreas Hasenack <andreas@canonical.com> Wed, 31 Jul 2019 16:25:34 -0300
36
37>>>>>>> debian/changelog
1tgt (1:1.0.79-2) unstable; urgency=medium38tgt (1:1.0.79-2) unstable; urgency=medium
239
3 * Allow env to override pkg-config.40 * Allow env to override pkg-config.
@@ -20,6 +57,20 @@ tgt (1:1.0.79-1) unstable; urgency=medium
2057
21 -- Apollon Oikonomopoulos <apoikos@debian.org> Wed, 17 Jul 2019 13:19:03 -030058 -- Apollon Oikonomopoulos <apoikos@debian.org> Wed, 17 Jul 2019 13:19:03 -0300
2259
60<<<<<<< debian/changelog
61=======
62tgt (1:1.0.74-1ubuntu1) disco; urgency=medium
63
64 * Merge with Debian unstable (LP: #1810736). Remaining changes:
65 - Drop glusterfs support, package not in main.
66 - debian/control: drop build depends and package
67 - debian/rules: disable feature
68 - debian/tests/{control, storage}: remove related tests
69 - debian/tgt-glusterfs.install (Deleted)
70
71 -- Karl Stenerud <kstenerud@gmail.com> Mon, 07 Jan 2019 13:52:58 +0100
72
73>>>>>>> debian/changelog
23tgt (1:1.0.74-1) unstable; urgency=medium74tgt (1:1.0.74-1) unstable; urgency=medium
2475
25 [ Ondřej Nový ]76 [ Ondřej Nový ]
@@ -35,6 +86,20 @@ tgt (1:1.0.74-1) unstable; urgency=medium
3586
36 -- Apollon Oikonomopoulos <apoikos@debian.org> Sat, 08 Dec 2018 22:30:32 +020087 -- Apollon Oikonomopoulos <apoikos@debian.org> Sat, 08 Dec 2018 22:30:32 +0200
3788
89<<<<<<< debian/changelog
90=======
91tgt (1:1.0.73-1ubuntu1) cosmic; urgency=medium
92
93 * Merge with Debian unstable. Remaining changes:
94 - Drop glusterfs support, package not in main.
95 - debian/control: drop build depends and package
96 - debian/rules: disable feature
97 - debian/tests/{control, storage}: remove related tests
98 - debian/tgt-glusterfs.install (Deleted)
99
100 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 30 May 2018 11:45:12 +0200
101
102>>>>>>> debian/changelog
38tgt (1:1.0.73-1) unstable; urgency=medium103tgt (1:1.0.73-1) unstable; urgency=medium
39104
40 * New upstream version 1.0.73105 * New upstream version 1.0.73
@@ -47,12 +112,58 @@ tgt (1:1.0.73-1) unstable; urgency=medium
47112
48 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 06 Mar 2018 00:12:22 +0200113 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 06 Mar 2018 00:12:22 +0200
49114
115<<<<<<< debian/changelog
116=======
117tgt (1:1.0.72-1ubuntu1) bionic; urgency=medium
118
119 * Merge with Debian unstable. Remaining changes:
120 - Drop glusterfs support, package not in main.
121 - debian/control: drop build depends and package
122 - debian/rules: disable feature
123 - debian/tests/{control, storage}: remove related tests
124 - debian/tgt-glusterfs.install (Deleted)
125 * Dropped changes (in new upstream version)
126 - Fix FTBFS with gcc7 by backporting upstream patches (LP 1723055)
127
128 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 16 Nov 2017 10:28:25 +0100
129
130>>>>>>> debian/changelog
50tgt (1:1.0.72-1) unstable; urgency=medium131tgt (1:1.0.72-1) unstable; urgency=medium
51132
52 * New upstream version (closes: #853680)133 * New upstream version (closes: #853680)
53134
54 -- Apollon Oikonomopoulos <apoikos@debian.org> Wed, 02 Aug 2017 20:12:08 -0400135 -- Apollon Oikonomopoulos <apoikos@debian.org> Wed, 02 Aug 2017 20:12:08 -0400
55136
137<<<<<<< debian/changelog
138=======
139tgt (1:1.0.71-1ubuntu2) artful; urgency=medium
140
141 * Fix FTBFS with gcc7 by backporting upstream patches (LP: #1723055)
142 - d/p/GCC-FTBFS-1-Fix-header-warning-with-GCC-7-for-major.patch
143 - d/p/GCC-FTBFS-2-Remove-incorrect-size-specifier-in-spc_lu_init.patch
144 - d/p/GCC-FTBFS-3-smc-fix-snprintf-warnings-with-gcc7.patch
145 - Those patches are unchanged from upstream and make tgt effectively
146 almost 1.0.72, so on that merge they can be dropped.
147
148 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 19 Oct 2017 14:55:37 +0200
149
150tgt (1:1.0.71-1ubuntu1) artful; urgency=medium
151
152 * Merge with Debian unstable. Remaining changes:
153 - Drop glusterfs support, package not in main.
154 - debian/control: drop build depends and package
155 - debian/rules: disable feature
156 - debian/tests/{control, storage}: remove related tests
157 - debian/tgt-glusterfs.install (Deleted)
158 * Dropped changes (in Debian now):
159 - fix tgt being killed when serving many targets (LP 1559088)
160 - d/t/localtgt, d/t/control: add dep8 test that sets up targets and luns
161 via iscsi using rdwr/aio backends and runs fio read/write/verify
162 (LP 1640785)
163
164 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Sun, 09 Jul 2017 14:48:45 +0200
165
166>>>>>>> debian/changelog
56tgt (1:1.0.71-1) unstable; urgency=medium167tgt (1:1.0.71-1) unstable; urgency=medium
57168
58 [ Christian Ehrhardt ]169 [ Christian Ehrhardt ]
@@ -69,6 +180,23 @@ tgt (1:1.0.71-1) unstable; urgency=medium
69180
70 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 04 Jul 2017 22:09:50 +0300181 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 04 Jul 2017 22:09:50 +0300
71182
183<<<<<<< debian/changelog
184=======
185tgt (1:1.0.69-1ubuntu1) zesty; urgency=medium
186
187 * Merge from Debian. Remaining changes:
188 - Drop glusterfs support, package not in main.
189 - debian/control
190 - debian/rules
191 - debian/tests/{control, storage}
192 - debian/tgt-glusterfs.install (Deleted)
193 - fix tgt being killed when serving many targets
194 - d/t/localtgt, d/t/control: add dep8 test that sets up targets and luns via
195 iscsi using rdwr/aio backends and runs fio read/write/verify
196
197 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 25 Jan 2017 11:25:55 +0100
198
199>>>>>>> debian/changelog
72tgt (1:1.0.69-1) unstable; urgency=medium200tgt (1:1.0.69-1) unstable; urgency=medium
73201
74 * New upstream release:202 * New upstream release:
@@ -85,6 +213,31 @@ tgt (1:1.0.68-1) unstable; urgency=medium
85213
86 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 01 Nov 2016 01:05:03 +0200214 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 01 Nov 2016 01:05:03 +0200
87215
216<<<<<<< debian/changelog
217=======
218tgt (1:1.0.67-1ubuntu1) zesty; urgency=medium
219
220 * Merge from Debian. Remaining changes:
221 - Drop glusterfs support, package not in main.
222 - debian/control
223 - debian/rules
224 - debian/tests/{control, storage}
225 - debian/tgt-glusterfs.install (Deleted)
226 * Drop changes:
227 - debian/patches/util_strtoull_errno.patch by Stas Sergeev (now upstream)
228 - Disable AIO backend support. This was done to reduce risk in a previous
229 feature freeze; Now that we are before Zesty's feature freeze, we
230 can introduce it this cycle.
231 - changing file modes of debian/tests/{admin, daemon} (missing in
232 changelog, not needed)
233 * Add changes:
234 - fix tgt being killed when serving many targets (LP: #1559088)
235 - d/t/localtgt, d/t/control: add dep8 test that sets up targets and luns via
236 iscsi using rdwr/aio backends and runs fio read/write/verify (LP: #1640785)
237
238 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 10 Nov 2016 10:35:15 +0100
239
240>>>>>>> debian/changelog
88tgt (1:1.0.67-1) unstable; urgency=medium241tgt (1:1.0.67-1) unstable; urgency=medium
89242
90 * New upstream release:243 * New upstream release:
@@ -128,6 +281,32 @@ tgt (1:1.0.64-1) unstable; urgency=medium
128281
129 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 24 May 2016 12:04:40 +0300282 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 24 May 2016 12:04:40 +0300
130283
284<<<<<<< debian/changelog
285=======
286tgt (1:1.0.63-1ubuntu2) yakkety; urgency=medium
287
288 * debian/patches/util_strtoull_errno.patch by Stas Sergeev
289 - Fix errno handling for number * parsing (LP: #1547060)
290
291 -- Ryan Harper <ryan.harper@canonical.com> Thu, 21 Apr 2016 09:13:09 -0500
292
293tgt (1:1.0.63-1ubuntu1) xenial; urgency=medium
294
295 * Merge from Debian (LP: #1555700). Remaining changes:
296 - Drop glusterfs support, package not in main.
297 - debian/control
298 - debian/rules
299 - debian/tests/{admin, control, daemon, storage}
300 - debian/tgt-glusterfs.install (Deleted)
301 - Disable AIO backend support: untested new feature
302 - debian/control
303 - debian/tests/storage
304 * Dropped changes
305 - debian/patches/tgtd_dont_fail_on_eacces.patch: included in new release
306
307 -- Ryan Harper <ryan.harper@canonical.com> Wed, 09 Mar 2016 16:51:44 -0600
308
309>>>>>>> debian/changelog
131tgt (1:1.0.63-1) unstable; urgency=medium310tgt (1:1.0.63-1) unstable; urgency=medium
132311
133 * New upstream release:312 * New upstream release:
@@ -144,6 +323,37 @@ tgt (1:1.0.62-2) unstable; urgency=medium
144323
145 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 19 Jan 2016 11:22:35 +0200324 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 19 Jan 2016 11:22:35 +0200
146325
326<<<<<<< debian/changelog
327=======
328tgt (1:1.0.62-1ubuntu2) xenial; urgency=medium
329
330 * debian/patches/tgtd_dont_fail_on_eacces.patch
331 tgtd: fix root-under-userns errors when attempting oom_score_adj
332 (Closes: LP:#1518440)
333
334 -- Ryan Harper <ryan.harper@canonical.com> Mon, 01 Feb 2016 02:18:57 -0600
335
336tgt (1:1.0.62-1ubuntu1) xenial; urgency=low
337
338 * Merge from Debian unstable (LP: #1524982, LP: #1518440). Remaining
339 changes:
340 - Drop glusterfs support, since it is not in main.
341 * debian/upstart:
342 - Dropped, we no longer use upstart (except on Touch, where tgt
343 isn't used). Isn't worth a delta.
344 * debian/watch:
345 - Drop merge conflict markers accidentally left in.
346 * debian/tests/*:
347 - Drop delta with Debian here, they imported our tests and improved
348 them a while back.
349 * debian/tgt.service:
350 - Drop delta here, Debian made the same change.
351 * debian/bash-completion:
352 - Dropped, Debian has the same thing, just as tgt.bash-completion.
353
354 -- Michael Terry <mterry@ubuntu.com> Mon, 21 Dec 2015 14:20:23 -0500
355
356>>>>>>> debian/changelog
147tgt (1:1.0.62-1) unstable; urgency=medium357tgt (1:1.0.62-1) unstable; urgency=medium
148358
149 * New upstream version.359 * New upstream version.
@@ -193,6 +403,29 @@ tgt (1:1.0.58-1) unstable; urgency=medium
193403
194 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 26 May 2015 12:35:44 +0300404 -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 26 May 2015 12:35:44 +0300
195405
406<<<<<<< debian/changelog
407=======
408tgt (1:1.0.57-1ubuntu2) wily; urgency=medium
409
410 * debian/tgt.service: remove spaces between key, = and value for WantedBy,
411 since it appears to confuse deb-systemd-helper.
412
413 -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 06 Jul 2015 21:21:58 -0400
414
415tgt (1:1.0.57-1ubuntu1) wily; urgency=low
416
417 * Merge from Debian unstable. Remaining changes:
418 - Drop glusterfs support, since it is not in main.
419 - debian/patches/fix-config-regression.patch: Dropped no longer
420 needed.
421 - debian/patches/fix_delayed_management_request.patch: Dropped
422 no longer needed.
423 - debian/patches/fix_leak_of_task_in_scsi_flag.patch: Dropped
424 no longer needed.
425
426 -- Chuck Short <zulcss@ubuntu.com> Thu, 07 May 2015 09:29:12 -0400
427
428>>>>>>> debian/changelog
196tgt (1:1.0.57-1) unstable; urgency=medium429tgt (1:1.0.57-1) unstable; urgency=medium
197430
198 * New upstream version:431 * New upstream version:
@@ -318,6 +551,81 @@ tgt (1:1.0.46-1) unstable; urgency=medium
318551
319 -- Apollon Oikonomopoulos <apoikos@debian.org> Mon, 19 May 2014 15:41:46 +0300552 -- Apollon Oikonomopoulos <apoikos@debian.org> Mon, 19 May 2014 15:41:46 +0300
320553
554<<<<<<< debian/changelog
555=======
556tgt (1:1.0.43-0ubuntu4) trusty; urgency=medium
557
558 * debian/patches/fix_delayed_management_request.patch: Adjust patch to fix
559 a FTBFS.
560 * debian/patches/fix_leak_of_task_in_scsi_flag.patch: Adjust patch to fix
561 a FTBFS.
562
563 -- Chuck Short <zulcss@ubuntu.com> Fri, 11 Apr 2014 09:14:03 -0400
564
565tgt (1:1.0.43-0ubuntu3) trusty; urgency=medium
566
567 * Fix tgt connection issues under heavy load (LP: #1305343)
568 - debian/patches/fix_delayed_management_request.patch: Fix a crash
569 of tgtd which occured when removing a target with the --force option
570 (https://github.com/fujita/tgt/commit/e6e8d0fd3b83208278fb7ed765c3665ae7c5ab49)
571 - debian/patches/fix_leak_of_task_in_scsi_flag.patch: Clear task_in_scsi flag
572 when exiting iscsi_tm_execute() and iser_tm_exec() functions.
573 (https://github.com/fujita/tgt/commit/05fc2cb424863fbf2f3c60a8b617308ef1e370c5)
574
575 -- Chuck Short <zulcss@ubuntu.com> Wed, 09 Apr 2014 19:35:20 -0400
576
577tgt (1:1.0.43-0ubuntu2) trusty; urgency=medium
578
579 * d/p/fix-config-regression.patch: Cherry picked fix from upstream VCS
580 to resolve regression on configuration of control port.
581
582 -- James Page <james.page@ubuntu.com> Tue, 14 Jan 2014 15:11:35 +0000
583
584tgt (1:1.0.43-0ubuntu1) trusty; urgency=medium
585
586 * New upstream release.
587
588 -- James Page <james.page@ubuntu.com> Tue, 14 Jan 2014 12:05:08 +0000
589
590tgt (1:1.0.41-0ubuntu1) trusty; urgency=low
591
592 * New upstream release:
593 - debian/patches/fix-tgt-admin-bashism: Dropped, included upstream.
594 * d/control,rules,bash-completion: Enable bash completion support
595 for tgt commands.
596
597 -- James Page <james.page@ubuntu.com> Mon, 11 Nov 2013 15:00:10 +0000
598
599tgt (1:1.0.38-0ubuntu1) saucy; urgency=low
600
601 * New upstream release:
602 - d/p/include-rbd-docs.patch,example-config-use-conf-dot-dee:
603 Dropped, included upstream.
604 - Refreshed other patches.
605 * d/watch: Really update to track github repository for releases.
606
607 -- James Page <james.page@ubuntu.com> Tue, 06 Aug 2013 17:38:27 +0100
608
609tgt (1:1.0.37-0ubuntu1) saucy; urgency=low
610
611 * Merge from Debian unstable:
612 - d/control: Drop depends on lsb-base; handled by debhelper.
613 * d/watch: Updated to track github upstream repository.
614 * New upstream release (LP: #1191180):
615 - d/control: Add xsltproc and docbook-xsl to BD's.
616 - d/p: Refreshed and tidied patches.
617 * Enable support for Ceph RBD backend:
618 - d/rules: Add CEPH_RBD=1 to options.
619 - d/control: Add BD on librbd-dev.
620 - d/p/include-rbd-docs.patch: Include README.rbd docs.
621 * Switch to debhelper compat level 8:
622 - d/rules: Rewrite to use debhelper overrides.
623 - d/compat,control: Bump compat level and minimum version
624 requirement for debhelper.
625
626 -- James Page <james.page@ubuntu.com> Tue, 18 Jun 2013 13:08:34 +0100
627
628>>>>>>> debian/changelog
321tgt (1:1.0.17-1.1) unstable; urgency=low629tgt (1:1.0.17-1.1) unstable; urgency=low
322630
323 * Non-maintainer upload.631 * Non-maintainer upload.
@@ -328,6 +636,39 @@ tgt (1:1.0.17-1.1) unstable; urgency=low
328636
329 -- Thomas Goirand <zigo@debian.org> Thu, 11 Apr 2013 23:25:08 +0800637 -- Thomas Goirand <zigo@debian.org> Thu, 11 Apr 2013 23:25:08 +0800
330638
639<<<<<<< debian/changelog
640=======
641tgt (1:1.0.17-1ubuntu4) saucy; urgency=low
642
643 * d/tests: added dep-8-tests
644
645 -- Yolanda <yolanda.robla@canonical.com> Tue, 21 May 2013 10:41:18 +0200
646
647tgt (1:1.0.17-1ubuntu3) quantal; urgency=low
648
649 * Rebuild for new armel compiler default of ARMv5t.
650
651 -- Colin Watson <cjwatson@ubuntu.com> Mon, 08 Oct 2012 23:02:42 +0100
652
653tgt (1:1.0.17-1ubuntu2) precise; urgency=low
654
655 * change /etc/tgt/tgt.conf to support adding config.d format
656 snippets in /etc/tgt/conf.d (LP: #978507)
657 * start tgt on installation (LP: #977621)
658 * stop tgt on shutdown (LP: #820699)
659
660 -- Scott Moser <smoser@ubuntu.com> Tue, 10 Apr 2012 23:11:00 -0400
661
662tgt (1:1.0.17-1ubuntu1) oneiric; urgency=low
663
664 * Merge from debian remaining changes:
665 - debian/usptart: Add upstart job.
666 - Dropped:
667 - debian/patches/CVE-2011-0001.patch: No longer needed, use debian instead.
668
669 -- Chuck Short <zulcss@ubuntu.com> Mon, 08 Aug 2011 04:45:03 -0400
670
671>>>>>>> debian/changelog
331tgt (1:1.0.17-1) unstable; urgency=low672tgt (1:1.0.17-1) unstable; urgency=low
332673
333 * New upstream release.674 * New upstream release.
@@ -340,12 +681,76 @@ tgt (1:1.0.4-3) unstable; urgency=high
340681
341 -- Ben Hutchings <ben@decadent.org.uk> Mon, 21 Mar 2011 03:32:59 +0000682 -- Ben Hutchings <ben@decadent.org.uk> Mon, 21 Mar 2011 03:32:59 +0000
342683
684<<<<<<< debian/changelog
685=======
686tgt (1:1.0.13-0ubuntu3) oneiric; urgency=low
687
688 * SECURITY UPDATE: denial of service and possible code execution via
689 double free in iscsi_rx_handler function
690 - debian/patches/CVE-2011-0001.patch: make sure the received data isn't
691 larger than INCOMING_BUFSIZE in usr/iscsi/iscsid.c.
692 - CVE-2011-0001
693
694 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 21 Jun 2011 09:01:03 -0400
695
696tgt (1:1.0.13-0ubuntu2) natty; urgency=low
697
698 * debian/upstart: Add respawn to upstart job. (LP: #715686)
699
700 -- Chuck Short <zulcss@ubuntu.com> Mon, 14 Feb 2011 10:31:26 -0500
701
702tgt (1:1.0.13-0ubuntu1) natty; urgency=low
703
704 * New upstream release.
705 * debian/patches/make-tgt-setup-lun-executable: Dropped no longer needed.
706
707 -- Chuck Short <zulcss@ubuntu.com> Tue, 08 Feb 2011 10:31:04 -0500
708
709tgt (1:1.0.4-2ubuntu1) natty; urgency=low
710
711 * Merge from debian unstable. Remaining changes:
712 - debian/upstart: Add upstart job.
713 - Dropped:
714 + debian/patches/scripts-tgt-admin: Use debian's instead.
715
716 -- Chuck Short <zulcss@ubuntu.com> Fri, 10 Sep 2010 16:19:59 +0100
717
718>>>>>>> debian/changelog
343tgt (1:1.0.4-2) unstable; urgency=low719tgt (1:1.0.4-2) unstable; urgency=low
344720
345 * Fix bashism in tgt-admin, thanks to Chris Cheney (Closes: #589716)721 * Fix bashism in tgt-admin, thanks to Chris Cheney (Closes: #589716)
346722
347 -- Ben Hutchings <ben@decadent.org.uk> Sun, 05 Sep 2010 22:13:52 +0100723 -- Ben Hutchings <ben@decadent.org.uk> Sun, 05 Sep 2010 22:13:52 +0100
348724
725<<<<<<< debian/changelog
726=======
727tgt (1:1.0.4-1ubuntu4) maverick; urgency=low
728
729 * debian/upstart: Corrected typo with post-start command; Resolving
730 "unknown job" error. (LP: #574554)
731
732 -- Dave Walker (Daviey) <DaveWalker@ubuntu.com> Mon, 09 Aug 2010 23:49:42 +0100
733
734tgt (1:1.0.4-1ubuntu3) maverick; urgency=low
735
736 * tgtd target will not start unless it's configured with "allow-in-use yes"
737 (LP: 605721)
738
739 -- Chris Cheney <ccheney@ubuntu.com> Tue, 20 Jul 2010 04:29:56 -0500
740
741tgt (1:1.0.4-1ubuntu2) maverick; urgency=low
742
743 * debian/usptart: Add post-start exec to upstart script. (LP: #574554)
744
745 -- Chuck Short <zulcss@ubuntu.com> Fri, 16 Jul 2010 10:47:33 -0400
746
747tgt (1:1.0.4-1ubuntu1) maverick; urgency=low
748
749 * debian/rules, debian/tgt.tgtd.upstart: Add upstart script. (LP: #574554)
750
751 -- Chuck Short <zulcss@ubuntu.com> Thu, 17 Jun 2010 10:22:39 -0400
752
753>>>>>>> debian/changelog
349tgt (1:1.0.4-1) unstable; urgency=low754tgt (1:1.0.4-1) unstable; urgency=low
350755
351 * New upstream release.756 * New upstream release.
diff --git a/debian/control b/debian/control
index d56bd26..74a1aa9 100644
--- a/debian/control
+++ b/debian/control
@@ -1,6 +1,7 @@
1Source: tgt1Source: tgt
2Section: net2Section: net
3Priority: optional3Priority: optional
4<<<<<<< debian/control
4Maintainer: Apollon Oikonomopoulos <apoikos@debian.org>5Maintainer: Apollon Oikonomopoulos <apoikos@debian.org>
5Build-Depends: debhelper (>= 12~), libibverbs-dev, librdmacm-dev (>= 1.0.16),6Build-Depends: debhelper (>= 12~), libibverbs-dev, librdmacm-dev (>= 1.0.16),
6 xsltproc, docbook-xsl, librbd-dev, libglusterfs-dev, uuid-dev,7 xsltproc, docbook-xsl, librbd-dev, libglusterfs-dev, uuid-dev,
@@ -8,13 +9,27 @@ Build-Depends: debhelper (>= 12~), libibverbs-dev, librdmacm-dev (>= 1.0.16),
8Vcs-Git: https://salsa.debian.org/debian/tgt.git9Vcs-Git: https://salsa.debian.org/debian/tgt.git
9Vcs-Browser: https://salsa.debian.org/debian/tgt10Vcs-Browser: https://salsa.debian.org/debian/tgt
10Standards-Version: 4.4.011Standards-Version: 4.4.0
12=======
13Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
14XSBC-Original-Maintainer: Apollon Oikonomopoulos <apoikos@debian.org>
15Build-Depends: debhelper-compat (= 13), libibverbs-dev, librdmacm-dev (>= 1.0.16),
16 xsltproc, docbook-xsl, librbd-dev, uuid-dev,
17 bash-completion, libsystemd-dev, libaio-dev, pkg-config
18Vcs-Git: https://salsa.debian.org/debian/tgt.git
19Vcs-Browser: https://salsa.debian.org/debian/tgt
20Standards-Version: 4.5.0
21>>>>>>> debian/control
11Homepage: http://stgt.sourceforge.net/22Homepage: http://stgt.sourceforge.net/
1223
13Package: tgt24Package: tgt
14Architecture: linux-any25Architecture: linux-any
15Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, libconfig-general-perl, sg3-utils26Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, libconfig-general-perl, sg3-utils
16Pre-Depends: ${misc:Pre-Depends}27Pre-Depends: ${misc:Pre-Depends}
28<<<<<<< debian/control
17Suggests: tgt-glusterfs, tgt-rbd29Suggests: tgt-glusterfs, tgt-rbd
30=======
31Suggests: tgt-rbd
32>>>>>>> debian/control
18Description: Linux SCSI target user-space daemon and tools33Description: Linux SCSI target user-space daemon and tools
19 The Linux target framework (tgt) allows a Linux system to provide SCSI34 The Linux target framework (tgt) allows a Linux system to provide SCSI
20 devices (targets) over networked SCSI transports.35 devices (targets) over networked SCSI transports.
@@ -56,6 +71,7 @@ Description: Linux SCSI target user-space daemon and tools - RBD support
56 .71 .
57 This package enables tgt to use Ceph/RADOS block devices (RBD) as backing72 This package enables tgt to use Ceph/RADOS block devices (RBD) as backing
58 store for SCSI Logical Units.73 store for SCSI Logical Units.
74<<<<<<< debian/control
5975
60Package: tgt-glusterfs76Package: tgt-glusterfs
61Architecture: linux-any77Architecture: linux-any
@@ -79,3 +95,5 @@ Description: Linux SCSI target user-space daemon and tools - GlusterFS support
79 .95 .
80 This package enables tgt to use GlusterFS volumes as backing store for SCSI96 This package enables tgt to use GlusterFS volumes as backing store for SCSI
81 Logical Units.97 Logical Units.
98=======
99>>>>>>> debian/control
diff --git a/debian/copyright b/debian/copyright
index 8f350de..0a94fd7 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -10,7 +10,11 @@ License: GPL-2
10Files: debian/*10Files: debian/*
11Copyright: Copyright © 2007-2011 Frederik Schüler <fs@debian.org>11Copyright: Copyright © 2007-2011 Frederik Schüler <fs@debian.org>
12 Copyright © 2007-2011 Ben Hutchings <ben@decadent.org.uk>12 Copyright © 2007-2011 Ben Hutchings <ben@decadent.org.uk>
13<<<<<<< debian/copyright
13 Copyright © 2014-2018 Apollon Oikonomopoulos <apoikos@debian.org>14 Copyright © 2014-2018 Apollon Oikonomopoulos <apoikos@debian.org>
15=======
16 Copyright © 2014-2020 Apollon Oikonomopoulos <apoikos@debian.org>
17>>>>>>> debian/copyright
14License: GPL-2+18License: GPL-2+
1519
16Files: usr/bs_aio.c usr/work.c20Files: usr/bs_aio.c usr/work.c
diff --git a/debian/patches/0008-Fix-build-with-gcc-10.patch b/debian/patches/0008-Fix-build-with-gcc-10.patch
17new file mode 10064421new file mode 100644
index 0000000..5a43776
--- /dev/null
+++ b/debian/patches/0008-Fix-build-with-gcc-10.patch
@@ -0,0 +1,46 @@
1From: Apollon Oikonomopoulos <apoikos@debian.org>
2Date: Thu, 17 Sep 2020 12:12:56 +0300
3Subject: Fix build with gcc-10
4
5iscsi_add_portal sometimes passes a NULL pointer as a %s argument to
6printf. This is considered an error by -Werror=format-overflow and GCC-10 has
7become much smarter in detecting these cases:
8
9 In file included from iscsi/iscsid.h:29,
10 from iscsi/iscsi_tcp.c:35:
11 In function 'iscsi_add_portal',
12 inlined from 'iscsi_add_portal' at iscsi/iscsi_tcp.c:408:5,
13 inlined from 'iscsi_tcp_init' at iscsi/iscsi_tcp.c:449:3:
14 ./log.h:90:2: error: '%s' directive argument is null [-Werror=format-overflow=]
15 90 | log_error("%s(%d) " fmt, __FUNCTION__, __LINE__, ##args); \
16 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 iscsi/iscsi_tcp.c:411:3: note: in expansion of macro 'eprintf'
18 411 | eprintf("failed to create/bind to portal %s:%d\n", addr, port);
19 | ^~~~~~~
20
21Fix this by passing the empty string to eprintf() if addr is NULL.
22
23Closes: #957874
24---
25 usr/iscsi/iscsi_tcp.c | 7 ++++++-
26 1 file changed, 6 insertions(+), 1 deletion(-)
27
28diff --git a/usr/iscsi/iscsi_tcp.c b/usr/iscsi/iscsi_tcp.c
29index 2bb8356..cb4e23c 100644
30--- a/usr/iscsi/iscsi_tcp.c
31+++ b/usr/iscsi/iscsi_tcp.c
32@@ -407,8 +407,13 @@ int iscsi_tcp_init_portal(char *addr, int port, int tpgt)
33
34 int iscsi_add_portal(char *addr, int port, int tpgt)
35 {
36+ const char *addr_str = "";
37+
38 if (iscsi_tcp_init_portal(addr, port, tpgt)) {
39- eprintf("failed to create/bind to portal %s:%d\n", addr, port);
40+ if (addr) {
41+ addr_str = addr;
42+ }
43+ eprintf("failed to create/bind to portal %s:%d\n", addr_str, port);
44 return -1;
45 }
46
diff --git a/debian/patches/0009-Replace-__packed-with-__attribute__.patch b/debian/patches/0009-Replace-__packed-with-__attribute__.patch
0new file mode 10064447new file mode 100644
index 0000000..caf839c
--- /dev/null
+++ b/debian/patches/0009-Replace-__packed-with-__attribute__.patch
@@ -0,0 +1,39 @@
1From: Apollon Oikonomopoulos <apoikos@debian.org>
2Date: Thu, 17 Sep 2020 12:45:19 +0300
3Subject: Replace __packed with __attribute__(...)
4
5GCC 10 changed the default from -fcommon to -fno-common. This makes the
6tgt build fail because of multiple definitions of __packed. Change all
7instances of __packed to __attribute__((__packed__)), which is the
8canonical attribute form.
9---
10 usr/iscsi/iscsid.c | 2 +-
11 usr/iscsi/iser.c | 2 +-
12 2 files changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/usr/iscsi/iscsid.c b/usr/iscsi/iscsid.c
15index a54a46e..476a760 100644
16--- a/usr/iscsi/iscsid.c
17+++ b/usr/iscsi/iscsid.c
18@@ -1074,7 +1074,7 @@ void iscsi_rsp_set_residual(struct iscsi_cmd_rsp *rsp, struct scsi_cmd *scmd)
19 struct iscsi_sense_data {
20 uint16_t length;
21 uint8_t data[0];
22-} __packed;
23+} __attribute__((__packed__));
24
25 static int iscsi_cmd_rsp_build(struct iscsi_task *task)
26 {
27diff --git a/usr/iscsi/iser.c b/usr/iscsi/iser.c
28index c7c43b2..2abb872 100644
29--- a/usr/iscsi/iser.c
30+++ b/usr/iscsi/iser.c
31@@ -92,7 +92,7 @@ char *iser_portal_addr;
32 struct iscsi_sense_data {
33 uint16_t length;
34 uint8_t data[0];
35-} __packed;
36+} __attribute__((__packed__));
37
38 static size_t buf_pool_sz_mb = DEFAULT_POOL_SIZE_MB;
39 static int cq_vector = -1;
diff --git a/debian/patches/series b/debian/patches/series
index d533c5e..484b9cc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,8 @@
50005-fix-aio-detection.patch50005-fix-aio-detection.patch
60006-fix-pie-build60006-fix-pie-build
70007-Fix-compilation-with-glusterfs-6.patch70007-Fix-compilation-with-glusterfs-6.patch
8<<<<<<< debian/patches/series
9=======
100008-Fix-build-with-gcc-10.patch
110009-Replace-__packed-with-__attribute__.patch
12>>>>>>> debian/patches/series
diff --git a/debian/rules b/debian/rules
index 15484a4..8996676 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,18 @@
1#!/usr/bin/make -f1#!/usr/bin/make -f
2#export DH_VERBOSE=12#export DH_VERBOSE=1
33
4<<<<<<< debian/rules
4FEATURES = ISCSI_RDMA=1 CEPH_RBD=1 GLFS_BD=1 SD_NOTIFY=15FEATURES = ISCSI_RDMA=1 CEPH_RBD=1 GLFS_BD=1 SD_NOTIFY=1
56
6export DEB_BUILD_MAINT_OPTIONS = hardening=+all7export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8=======
9FEATURES = ISCSI_RDMA=1 CEPH_RBD=1 SD_NOTIFY=1
10
11export DEB_BUILD_MAINT_OPTIONS = hardening=+all
12# avoid FTFBS due to glibc 2.32 triggering more gcc-10 errors
13# in the usage of its functions by tgt
14export DEB_CFLAGS_MAINT_APPEND = -Wno-maybe-uninitialized -Wno-stringop-truncation
15>>>>>>> debian/rules
716
8%:17%:
9 dh $@ --with bash-completion18 dh $@ --with bash-completion
diff --git a/debian/tests/control b/debian/tests/control
index 1e1d3c7..98ea7a5 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,7 +2,11 @@ Tests: daemon admin
2Depends: tgt2Depends: tgt
33
4Tests: storage4Tests: storage
5<<<<<<< debian/tests/control
5Depends: tgt, tgt-rbd, tgt-glusterfs6Depends: tgt, tgt-rbd, tgt-glusterfs
7=======
8Depends: tgt, tgt-rbd
9>>>>>>> debian/tests/control
6Restrictions: needs-root isolation-container allow-stderr10Restrictions: needs-root isolation-container allow-stderr
711
8Tests: localtgt12Tests: localtgt
diff --git a/debian/tests/storage b/debian/tests/storage
index 2c24b7a..52f17ed 100755
--- a/debian/tests/storage
+++ b/debian/tests/storage
@@ -13,7 +13,11 @@ supported_bs=$(tgtadm --mode sys --op show | \
13 }')13 }')
14ret=014ret=0
1515
16<<<<<<< debian/tests/storage
16for bs in glfs rbd aio; do17for bs in glfs rbd aio; do
18=======
19for bs in rbd aio; do
20>>>>>>> debian/tests/storage
17 if echo "$supported_bs" | grep -q "\b$bs\b"; then21 if echo "$supported_bs" | grep -q "\b$bs\b"; then
18 echo "OK - $bs supported"22 echo "OK - $bs supported"
19 else23 else

Subscribers

People subscribed via source and target branches