Merge ~danilogondolfo/ubuntu/+source/libcap2:lp2003892 into ubuntu/+source/libcap2:ubuntu/devel

Proposed by Danilo Egea Gondolfo
Status: Merged
Merged at revision: 2c16b42bca4e7d371715c6a9e605a98e621c715d
Proposed branch: ~danilogondolfo/ubuntu/+source/libcap2:lp2003892
Merge into: ubuntu/+source/libcap2:ubuntu/devel
Diff against target: 42 lines (+11/-1)
3 files modified
debian/changelog (+6/-0)
debian/control (+2/-1)
debian/rules (+3/-0)
Reviewer Review Type Date Requested Status
Lukas Märdian (community) Approve
git-ubuntu import Pending
Review via email: mp+436344@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Lukas Märdian (slyon) wrote :

Please run the `update-maintainer` script on this, too. Otherwise, LGTM!

Revision history for this message
Lukas Märdian (slyon) wrote (last edit ):

+1

Builds & passes autopkgtests for me.

review: Approve

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 9706526..015c9a0 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,9 @@
6+libcap2 (1:2.66-3ubuntu1) lunar; urgency=medium
7+
8+ * Strip -Wl,-Bsymbolic-functions from LDFLAGS (LP: #2003892)
9+
10+ -- Danilo Egea Gondolfo <danilo.egea.gondolfo@canonical.com> Wed, 25 Jan 2023 18:07:03 +0000
11+
12 libcap2 (1:2.66-3) unstable; urgency=medium
13
14 * Add gcc to autopkgtest for upstream tests.
15diff --git a/debian/control b/debian/control
16index 148ce39..d6de799 100644
17--- a/debian/control
18+++ b/debian/control
19@@ -1,7 +1,8 @@
20 Source: libcap2
21 Section: libs
22 Priority: optional
23-Maintainer: Christian Kastner <ckk@debian.org>
24+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
25+XSBC-Original-Maintainer: Christian Kastner <ckk@debian.org>
26 Build-Depends: chrpath,
27 debhelper-compat (= 13),
28 gperf (>= 3.1),
29diff --git a/debian/rules b/debian/rules
30index 0e05d4f..0848a7a 100755
31--- a/debian/rules
32+++ b/debian/rules
33@@ -8,6 +8,9 @@ SHLIBS_MINVER = 1:2.63
34
35 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
36
37+# Removing the linker flag. It causes problems with libcap2, see LP#2003892
38+export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
39+
40 # Support cross-compiling
41 ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
42 CC := $(DEB_HOST_GNU_TYPE)-gcc

Subscribers

People subscribed via source and target branches