[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#734632: marked as done (Hardening build flags)



Your message dated Mon, 17 Mar 2025 18:21:00 +0000
with message-id <[🔎] E1tuF5A-00H7FC-TG@fasolo.debian.org>
and subject line Bug#1100178: Removed package(s) from unstable
has caused the Debian Bug report #734632,
regarding Hardening build flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
734632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734632
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libept
Severity: normal

Hi Enrico,
libept uses partial hardening flags already. The missing bits is
relro. I'm attaching a preliminary patch, adding it properly enables
relro.

However, a proper fix would be to pass the output of 
'dpkg-buildflags --get LDFLAGS' to Cmake, but I haven't yet figured 
out how to do that in Cmake.

Cheers,
        Moritz
--- libept-1.0.12.orig/CMakeLists.txt	2013-10-24 20:54:32.000000000 +0200
+++ libept-1.0.12/CMakeLists.txt	2014-01-03 03:01:24.096561008 +0100
@@ -16,6 +16,8 @@
 	OUTPUT_STRIP_TRAILING_WHITESPACE
 	)
 set( LIBEPT_SOVERSION "1.aptpkg${LIBAPT_ABI_VERSION}" )
+set( CMAKE_EXE_LINKER_FLAGS "-Wl,-z,relro" )
+
 set( APT_INCLUDES "/usr/include/" CACHE STRING "apt include path" )
 set( APT_LINKDIRS "/usr/lib/" CACHE STRING "apt library path" )
 set( OPT_FLAGS "-O0 -g" CACHE STRING "optimization level" )

--- End Message ---
--- Begin Message ---
Version: 1.2.1+nmu1+rm

Dear submitter,

as the package libept has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1100178

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply to: