openbsd-ports/net/net-snmp/patches/patch-Makefile_top
sthen 6134570789 SECURITY fix, update to 5.4.2.1, CVE-2008-4309:
A bug in the getbulk handling code could let anyone with even minimal
access crash the agent.

(straight out of malloc(3) "be careful to avoid...")

ok rui@ (maintainer)
2008-11-07 09:48:40 +00:00

28 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Makefile_top,v 1.7 2008/11/07 09:48:40 sthen Exp $
--- Makefile.top.orig Fri Oct 31 15:20:48 2008
+++ Makefile.top Thu Nov 6 22:48:36 2008
@@ -35,7 +35,9 @@ INSTALL_PREFIX = $(DESTDIR)
INSTALL = $(LIBTOOL) --mode=install @INSTALL@
UNINSTALL = $(LIBTOOL) --mode=uninstall rm -f
LIBTOOLCLEAN = $(LIBTOOL) --mode=clean rm -f
-INSTALL_DATA = @INSTALL_DATA@
+INSTALL_DATA = $(LIBTOOL) --mode=install @INSTALL_DATA@
+INSTALL_PROGRAM = $(LIBTOOL) --mode=install @INSTALL_PROGRAM@
+INSTALL_SCRIPT = $(LIBTOOL) --mode=install @INSTALL_SCRIPT@
SED = @SED@
LN_S = @LN_S@
AUTOCONF = @AUTOCONF@
@@ -80,10 +82,10 @@ LIBCURRENT = 16
LIBAGE = 1
LIBREVISION = 2
-LIB_LD_CMD = $(LIBTOOL) --mode=link $(LINKCC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o
+LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -o
LIB_EXTENSION = la
LIB_VERSION =
-LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir)
+LIB_LDCONFIG_CMD = :
LINK = $(LIBTOOL) --mode=link $(LINKCC)
# RANLIB = @RANLIB@
RANLIB = :