Dear Mentors,

I'm struggling with the creation of a Debian package. The problem is the
hardening part. I tried everything what the Hardening Guide suggested, but
no success so far.
Lintian always throws a lot of warning  about hardening-no-relro:

Now running lintian...
W: eclipse-titan: hardening-no-relro usr/bin/compiler
W: eclipse-titan: hardening-no-relro usr/bin/mctr_cli
W: eclipse-titan: hardening-no-relro usr/bin/tcov2lcov
W: eclipse-titan: hardening-no-relro usr/bin/ttcn3_logfilter

... and so on.

Here is my debian/rules file:

#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@

override_dh_auto_install:
$(MAKE) DESTDIR=$$(pwd)/debian/eclipse-titan prefix=/usr install
cp -aR $$(pwd)/Install/bin/* $$(pwd)/debian/eclipse-titan/usr/bin/
cp -aR $$(pwd)/Install/include/*
$$(pwd)/debian/eclipse-titan/usr/include/titan/
cp -aR $$(pwd)/Install/lib/* $$(pwd)/debian/eclipse-titan/usr/lib/titan/
cp -aR $$(pwd)/Install/man/man1/*
$$(pwd)/debian/eclipse-titan/usr/share/man/man1/
cp -aR $$(pwd)/Install/demo/*
$$(pwd)/debian/eclipse-titan/usr/share/titan/demo/
cp -aR $$(pwd)/Install/etc/*
$$(pwd)/debian/eclipse-titan/usr/share/titan/etc/
mv $$(pwd)/debian/eclipse-titan/usr/bin/ttcn3_archive.pl
$$(pwd)/debian/eclipse-titan/usr/share/titan/etc/scripts/
rm -fR $$(pwd)/debian/eclipse-titan/usr/share/titan/etc/asciiart/
cp -aR $$(pwd)/Install/help/*
$$(pwd)/debian/eclipse-titan/usr/share/titan/help/

I don't know what's the problem here. Can somebody help me to solve this
please?

Thank you very much!

BR,
Gergely Pilisi
  • [no subject] Pilisi Gergely
    • Re: Gianfranco Costamagna

Reply via email to