openbsd-ports/devel/libgtop/patches/patch-Makefile_in
todd 8d82e7ea1c Security update for libgtop to libgtop-1.0.13:
The Laboratory intexxia found a remote exploitable format string
vulnerability in libgtop_daemon which could cause privilege escalation
on a remote system.

The libgtop_daemon is not running by default if you run GNOME.

New since last version:

- security fix
- update for parallel install with libgtop-2.0
+ Only install shared libraries on shared arches.

From maintainer (Nils Nordman <nino@nforced.com>).
2001-11-27 23:07:01 +00:00

40 lines
1.4 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.2 2001/11/27 23:07:02 todd Exp $
--- Makefile.in.orig Tue Nov 27 03:04:35 2001
+++ Makefile.in Tue Nov 27 21:19:43 2001
@@ -558,13 +558,13 @@ dist-hook:
release:
$(MAKE) dist distdir=$(PACKAGE)-$(VERSION)
- include macros/macros.dep
-macros/macros.dep: macros/Makefile.am
- cd macros && $(MAKE) macros.dep
+# include macros/macros.dep
+#macros/macros.dep: macros/Makefile.am
+# cd macros && $(MAKE) macros.dep
$(top_srcdir)/aclocal.m4: libgtop-sysdeps.m4 LIBGTOP-VERSION
-libgtopConf.sh: libgtopConf.sh.in Makefile
+$(top_builddir)/libgtopConf.sh: libgtopConf.sh.in Makefile
sed -e 's#\@LIBGTOP_LIBDIR\@#$(libdir)#g' \
-e 's#\@LIBGTOP_INCLUDEDIR\@#$(includedir)/libgtop-1.0#g' \
-e 's#\@LIBGTOP_DATADIR\@#$(datadir)#g' \
@@ -593,14 +593,14 @@ libgtopConf.sh: libgtopConf.sh.in Makefi
< $(srcdir)/libgtopConf.sh.in > libgtopConf.tmp \
&& mv libgtopConf.tmp libgtopConf.sh
-libgtop-config: libgtop-config.in Makefile
+$(top_builddir)/libgtop-config: libgtop-config.in Makefile
sed -e 's#\@LIBGTOP_LIBDIR\@#$(libdir)#g' \
< $(srcdir)/libgtop-config.in > libgtop-config.tmp \
&& mv libgtop-config.tmp libgtop-config && \
chmod 755 libgtop-config
-libgtop-features.def: features.def
- @LN_S@ $< $@
+$(top_builddir)/libgtop-features.def: features.def
+ @LN_S@ $? $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.