Merge ~danilogondolfo/ubuntu/+source/libcap2:merge-lp2020460-mantic into ubuntu/+source/libcap2:debian/sid

Proposed by Danilo Egea Gondolfo
Status: Needs review
Proposed branch: ~danilogondolfo/ubuntu/+source/libcap2:merge-lp2020460-mantic
Merge into: ubuntu/+source/libcap2:debian/sid
Diff against target: 84 lines (+34/-2)
4 files modified
debian/changelog (+26/-0)
debian/control (+2/-1)
debian/rules (+3/-0)
debian/tests/upstream-root (+3/-1)
Reviewer Review Type Date Requested Status
William Wilson (community) Approve
git-ubuntu import Pending
Review via email: mp+443409@code.launchpad.net
To post a comment you must log in.
Revision history for this message
William Wilson (jawn-smith) :
review: Approve

Unmerged commits

c3cf10f... by Danilo Egea Gondolfo

changelog

ba53d51... by Danilo Egea Gondolfo

update-maintainer

99a42d7... by Danilo Egea Gondolfo

reconstruct-changelog

0998c20... by Danilo Egea Gondolfo

merge-changelogs

cf005bd... by Danilo Egea Gondolfo

* d/t/upstream-root: Skip "uns_test" to fix autopkgtests on armhf.
  It's failing on armhf due to the version of the kernel we use in our
  infrastructure for for this architecture. Once we upgrade our hosts,
  this patch can be dropped. See LP: #2003892.

c3f1303... by Danilo Egea Gondolfo

Strip -Wl,-Bsymbolic-functions from LDFLAGS (LP: #2003892)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index cb547f0..466cacf 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,14 @@
6+libcap2 (1:2.66-4ubuntu1) mantic; urgency=medium
7+
8+ * Merge with Debian unstable. Remaining changes:
9+ - Strip -Wl,-Bsymbolic-functions from LDFLAGS (LP: #2003892)
10+ - d/t/upstream-root: Skip "uns_test" to fix autopkgtests on armhf.
11+ It's failing on armhf due to the version of the kernel we use in our
12+ infrastructure for for this architecture. Once we upgrade our hosts,
13+ this patch can be dropped. See LP: #2003892.
14+
15+ -- Danilo Egea Gondolfo <danilo.egea.gondolfo@canonical.com> Tue, 23 May 2023 11:11:27 +0100
16+
17 libcap2 (1:2.66-4) unstable; urgency=medium
18
19 * Apply upstream patches for CVE-2023-2602, CVE-2023-2603
20@@ -5,6 +16,21 @@ libcap2 (1:2.66-4) unstable; urgency=medium
21
22 -- Christian Kastner <ckk@debian.org> Mon, 15 May 2023 20:34:57 +0200
23
24+libcap2 (1:2.66-3ubuntu2) lunar; urgency=medium
25+
26+ * Skip the test uns_test to fix autopkgtest on armhf.
27+ It's failing on armhf because we are using an older kernel in the armhf
28+ builders. This test succeeds on newer versions. Once we upgrade our
29+ hosts this patch can be dropped. See LP#2003892
30+
31+ -- Danilo Egea Gondolfo <danilo.egea.gondolfo@canonical.com> Fri, 03 Feb 2023 11:18:40 +0000
32+
33+libcap2 (1:2.66-3ubuntu1) lunar; urgency=medium
34+
35+ * Strip -Wl,-Bsymbolic-functions from LDFLAGS (LP: #2003892)
36+
37+ -- Danilo Egea Gondolfo <danilo.egea.gondolfo@canonical.com> Wed, 25 Jan 2023 18:07:03 +0000
38+
39 libcap2 (1:2.66-3) unstable; urgency=medium
40
41 * Add gcc to autopkgtest for upstream tests.
42diff --git a/debian/control b/debian/control
43index 148ce39..d6de799 100644
44--- a/debian/control
45+++ b/debian/control
46@@ -1,7 +1,8 @@
47 Source: libcap2
48 Section: libs
49 Priority: optional
50-Maintainer: Christian Kastner <ckk@debian.org>
51+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
52+XSBC-Original-Maintainer: Christian Kastner <ckk@debian.org>
53 Build-Depends: chrpath,
54 debhelper-compat (= 13),
55 gperf (>= 3.1),
56diff --git a/debian/rules b/debian/rules
57index 0e05d4f..0848a7a 100755
58--- a/debian/rules
59+++ b/debian/rules
60@@ -8,6 +8,9 @@ SHLIBS_MINVER = 1:2.63
61
62 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
63
64+# Removing the linker flag. It causes problems with libcap2, see LP#2003892
65+export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
66+
67 # Support cross-compiling
68 ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
69 CC := $(DEB_HOST_GNU_TYPE)-gcc
70diff --git a/debian/tests/upstream-root b/debian/tests/upstream-root
71index b5634dc..9fb7703 100755
72--- a/debian/tests/upstream-root
73+++ b/debian/tests/upstream-root
74@@ -25,7 +25,9 @@ cd "$AUTOPKGTEST_TMP"
75
76 echo "## libcap2 tests ##"
77 # From <src>/tests/Makefile
78-echo exit | "$TESTDIR"/uns_test
79+# Skip uns_test on armhf. It will fail because we currently run armhf tests
80+# in hosts with an older kernel (5.4). See LP#2003892
81+dpkg-architecture -e armhf || echo exit | "$TESTDIR"/uns_test
82 ./libcap_launch_test
83 ./exploit || echo "exploit failed"
84 ./noexploit

Subscribers

People subscribed via source and target branches