17
0
Files
hardening-check/makefile_fixes.patch
Matthias Gerstner dba6037d66 - update to new devscripts based hardening-check:
- the standalone hardening-check package no longer exists
  - adjust to new build system complexities
  - the new version has additional support for new fortify source macros and
    branch protection checks.

OBS-URL: https://build.opensuse.org/package/show/security/hardening-check?expand=0&rev=9
2025-09-09 09:30:27 +00:00

29 lines
947 B
Diff

Index: devscripts/Makefile
===================================================================
--- devscripts.orig/Makefile
+++ devscripts/Makefile
@@ -6,10 +6,6 @@ DESTDIR =
all: version doc make_scripts conf.default translated_manpages
-version:
- rm -f version
- dpkg-parsechangelog -SVersion > version
-
conf.default: conf.default.in version
rm -f $@ $@.tmp
VERSION=`cat version` && sed -e "s/###VERSION###/$$VERSION/" $< \
Index: devscripts/scripts/Makefile
===================================================================
--- devscripts.orig/scripts/Makefile
+++ devscripts/scripts/Makefile
@@ -166,7 +166,7 @@ clean:
test: test_pl test_sh test_py
install: all
- python3 setup.py install --root="$(DESTDIR)" --no-compile --install-layout=deb
+ python3 setup.py install --root="$(DESTDIR)" --no-compile
cp $(SCRIPTS) $(DESTDIR)$(BINDIR)
ln -sf edit-patch $(DESTDIR)$(BINDIR)/add-patch
install -d $(DESTDIR)$(COMPL_DIR)