Debian Patches

Status for cdpr/2.4-3

Patch Description Author Forwarded Bugs Origin Last update
0001-Spruced-up-Makefile.patch Spruced up Makefile Created targets to allow building of Debian package. Matt Zagrabelny <mzagrabe@d.umn.edu> no 2011-05-05
0002-remove-pseudo-device-all-from-list-of-interfaces.patch remove pseudo-device "all" from list of interfaces The current pcap filter does not work with the "all" interface,
therefore I am removing it. It should also close Debian bug #527245.
Matt Zagrabelny <mzagrabe@d.umn.edu> no 2011-05-09
0003-comment-out-CFLAGS-to-allow-dpkg-buildflags-to-set-C.patch comment out CFLAGS to allow dpkg-buildflags to set CFLAGS
Let dh set the CFLAGS from dpkg-buildflags for hardening.
Matt Zagrabelny <mzagrabe@d.umn.edu> no 2018-06-21
0004-fix-ftbs-with-ld-as-needed-closes-632665.patch fix ftbs with ld --as-needed, closes #632665
Thanks Julian Taylor <jtaylor.debian@googlemail.com> for the patch!
Matt Zagrabelny <mzagrabe@d.umn.edu> no 2018-06-21
0005-Simplify-Makefile-add-CPPFLAGS-for-hardening-also-cl.patch Simplify Makefile, add CPPFLAGS for hardening, also closes #901066
Use variables to simplify Makefile.

Add $(CPPFLAGS) to the compiling step to allow for hardening.

Use compiler variable $(CC) to close #901066 (cdpr FTCBFS: upstream
Makefile hard codes build architecture compiler gcc).

Thanks Helmut Grohne <helmut@subdivi.de> for the patch!
Matt Zagrabelny <mzagrabe@d.umn.edu> no 2018-06-21
0006-Fix-FTBFS-for-GCC-10-Closes-957072.patch Fix FTBFS for GCC-10, Closes: #957072
Migrate global variables from header to C file.

GCC 10 is complaining about multiple definitions...

cc -Wl,-z,relro -Wl,-z,now -o cdpr cdpr.o cdprs.o conffile.o -lpcap
/usr/bin/ld: cdprs.o:./cdpr.h:51: multiple definition of `handle';
cdpr.o:./cdpr.h:51: first defined here
/usr/bin/ld: cdprs.o:./cdpr.h:50: multiple definition of `cdprs';
cdpr.o:./cdpr.h:50: first defined here
/usr/bin/ld: cdprs.o:./cdpr.h:49: multiple definition of `timeout';
cdpr.o:./cdpr.h:49: first defined here
/usr/bin/ld: conffile.o:./cdpr.h:51: multiple definition of `handle';
cdpr.o:./cdpr.h:51: first defined here
/usr/bin/ld: conffile.o:./cdpr.h:50: multiple definition of `cdprs';
cdpr.o:./cdpr.h:50: first defined here
/usr/bin/ld: conffile.o:./cdpr.h:49: multiple definition of `timeout';
cdpr.o:./cdpr.h:49: first defined here

From evaluating the source code, the global variables declared in the
header are not used anywhere but in cdpr.c, thus we can move those
variable declarations to the source file (cdpr.c) to fix the error.
Matt Zagrabelny <mzagrabe@d.umn.edu> no 2020-07-23

All known versions for source package 'cdpr'

Links