autogen-5.18.16-rpath.patch 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. https://bugs.gentoo.org/676692
  2. 'make install' actually installs 'getdefs', 'columns', 'autogen'
  3. and gentoo's 'scanelf' QA checker tool detects it as:
  4. * QA Notice: The following files contain insecure RUNPATHs
  5. * Please file a bug about this at https://bugs.gentoo.org/
  6. * with the maintainer of the package.
  7. * /tmp/portage/sys-devel/autogen-5.18.16/image/usr/bin/getdefs
  8. * RPATH: /tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts/.libs
  9. * /tmp/portage/sys-devel/autogen-5.18.16/image/usr/bin/columns
  10. * RPATH: /tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts/.libs
  11. * /tmp/portage/sys-devel/autogen-5.18.16/image/usr/bin/autogen
  12. * RPATH: /tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts/.libs
  13. --- a/agen5/Makefile.am
  14. +++ b/agen5/Makefile.am
  15. @@ -63,7 +63,7 @@ SNV_LIB = $(top_builddir)/snprintfv/libsnprintfv.la
  16. nodist_autogen_SOURCES = ag.c
  17. autogen_SOURCES = $(gen_csrc)
  18. autogen_LDADD = $(LO_LIB) $(SNV_LIB) $(GUILE_LIBS)
  19. -autogen_LDFLAGS = $(DYNAMIC_AG) $(AG_STATIC_AUTOGEN) -no-install
  20. +autogen_LDFLAGS = $(DYNAMIC_AG) $(AG_STATIC_AUTOGEN)
  21. autogen_CFLAGS = $(GUILE_CFLAGS)
  22. stamp_script = $(srcdir)/mk-stamps.sh
  23. --- a/agen5/Makefile.in
  24. +++ b/agen5/Makefile.in
  25. @@ -482,7 +482,7 @@ SNV_LIB = $(top_builddir)/snprintfv/libsnprintfv.la
  26. nodist_autogen_SOURCES = ag.c
  27. autogen_SOURCES = $(gen_csrc)
  28. autogen_LDADD = $(LO_LIB) $(SNV_LIB) $(GUILE_LIBS)
  29. -autogen_LDFLAGS = $(DYNAMIC_AG) $(AG_STATIC_AUTOGEN) -no-install
  30. +autogen_LDFLAGS = $(DYNAMIC_AG) $(AG_STATIC_AUTOGEN)
  31. autogen_CFLAGS = $(GUILE_CFLAGS)
  32. stamp_script = $(srcdir)/mk-stamps.sh
  33. AM_YFLAGS = -d
  34. --- a/columns/Makefile.am
  35. +++ b/columns/Makefile.am
  36. @@ -20,7 +20,7 @@
  37. ## with this program. If not, see <http://www.gnu.org/licenses/>.
  38. bin_PROGRAMS = columns
  39. -columns_LDFLAGS = -no-install
  40. +#columns_LDFLAGS = -no-install
  41. csrc = opts.h columns.c opts.c
  42. nodist_columns_SOURCES = cols.c
  43. --- a/columns/Makefile.in
  44. +++ b/columns/Makefile.in
  45. @@ -389,7 +389,7 @@ target_vendor = @target_vendor@
  46. top_build_prefix = @top_build_prefix@
  47. top_builddir = @top_builddir@
  48. top_srcdir = @top_srcdir@
  49. -columns_LDFLAGS = -no-install
  50. +#columns_LDFLAGS = -no-install
  51. csrc = opts.h columns.c opts.c
  52. nodist_columns_SOURCES = cols.c
  53. LO_LIB = $(top_builddir)/autoopts/libopts.la
  54. --- a/getdefs/Makefile.am
  55. +++ b/getdefs/Makefile.am
  56. @@ -23,7 +23,7 @@
  57. TARG = getdefs
  58. bin_PROGRAMS = getdefs
  59. -getdefs_LDFLAGS = -no-install
  60. +#getdefs_LDFLAGS = -no-install
  61. gdsrcs = getdefs.h proto.h gdemit.c gdinit.c getdefs.c
  62. getdefs_SOURCES = proto.h
  63. BUILT_SOURCES = gd.c
  64. --- a/getdefs/Makefile.in
  65. +++ b/getdefs/Makefile.in
  66. @@ -434,7 +434,7 @@ top_build_prefix = @top_build_prefix@
  67. top_builddir = @top_builddir@
  68. top_srcdir = @top_srcdir@
  69. TARG = getdefs
  70. -getdefs_LDFLAGS = -no-install
  71. +#getdefs_LDFLAGS = -no-install
  72. gdsrcs = getdefs.h proto.h gdemit.c gdinit.c getdefs.c
  73. getdefs_SOURCES = proto.h
  74. BUILT_SOURCES = gd.c