summaryrefslogtreecommitdiff
path: root/net/ucd-snmp
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-12-15 18:46:50 +0000
committerhubertf <hubertf>2000-12-15 18:46:50 +0000
commitf7c2e70d1be71a4d8f7e70c0c7f9bb556cad7059 (patch)
treedbd8f968f97af14b03124821dfdadd6ea41a3dfb /net/ucd-snmp
parent8a59e20d77e92dbcb7344cc4d883022d16c95a13 (diff)
downloadpkgsrc-f7c2e70d1be71a4d8f7e70c0c7f9bb556cad7059.tar.gz
Link against libcrypto. Previous versions did not require this, but
not doing so results in application code needing change, e.g. pchar. With this change, pchar now builds with ucd-snmp 4.0.1.12 and 4.1.2 without a change.
Diffstat (limited to 'net/ucd-snmp')
-rw-r--r--net/ucd-snmp/files/patch-sum2
-rw-r--r--net/ucd-snmp/patches/patch-ab27
2 files changed, 19 insertions, 10 deletions
diff --git a/net/ucd-snmp/files/patch-sum b/net/ucd-snmp/files/patch-sum
index d11ed638bcb..16ace4cb77f 100644
--- a/net/ucd-snmp/files/patch-sum
+++ b/net/ucd-snmp/files/patch-sum
@@ -1,7 +1,7 @@
<<<<<<< patch-sum
MD5 (patch-aa) = 0cd7c132f9c7290f6d073afcadc17c97
-MD5 (patch-ab) = 5c645e6913eabfdb0e87e48df9f6c9a8
+MD5 (patch-ab) = 3a748ac3b5ad6148ee5db35e4e5a7e6c
MD5 (patch-ac) = 3ff9d693d5560fa4442c8f59599af2a0
MD5 (patch-ad) = e25de5b48c6a1ca959cf6ff5b8fe1e1b
MD5 (patch-ae) = 7beb8b4cf814851804d5186336c4b4a7
diff --git a/net/ucd-snmp/patches/patch-ab b/net/ucd-snmp/patches/patch-ab
index 008d7db5b47..1f3d11ff063 100644
--- a/net/ucd-snmp/patches/patch-ab
+++ b/net/ucd-snmp/patches/patch-ab
@@ -1,37 +1,46 @@
-$NetBSD: patch-ab,v 1.5 2000/10/13 17:55:36 kim Exp $
+$NetBSD: patch-ab,v 1.6 2000/12/15 18:46:50 hubertf Exp $
---- snmplib/Makefile.in.orig Sat Feb 5 06:15:42 2000
-+++ snmplib/Makefile.in Wed Oct 11 19:02:56 2000
-@@ -36,3 +36,4 @@
+--- snmplib/Makefile.in.orig Fri Feb 4 22:15:42 2000
++++ snmplib/Makefile.in
+@@ -34,30 +34,34 @@
+ system.c vacm.c int64.c read_config.c \
+ snmp_debug.c tools.c snmp_logging.c \
snmpv3.c snmpusm.c lcd_time.c keytools.c \
- scapi.c callback.c default_store.c snmp_alarm.c mt_support.c
+ scapi.c callback.c default_store.c snmp_alarm.c mt_support.c \
+ libwrap.c
-@@ -43,3 +44,4 @@
+ OBJS= snmp_client.o mib.o parse.o snmp_api.o snmp.o \
+ snmp_auth.o asn1.o md5.o \
+ system.o vacm.o int64.o read_config.o \
+ snmp_debug.o tools.o snmp_logging.o \
snmpv3.o snmpusm.o lcd_time.o keytools.o \
- scapi.o callback.o default_store.o snmp_alarm.o mt_support.o
+ scapi.o callback.o default_store.o snmp_alarm.o mt_support.o \
+ libwrap.o
-@@ -47,3 +49,3 @@
+ CFLAGS = @CFLAGS@ @SHLIB_CFLAGS@
CPPFLAGS = -I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@
-CC = @CC@ $(CPPFLAGS)
+CC = $(LIBTOOL) @CC@ $(CPPFLAGS)
-@@ -51,5 +53,7 @@
+ all: $(TARG)
-libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION): ${OBJS}
- $(SHLIB_LD_CMD) libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION) ${OBJS}
- $(RANLIB) libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION)
+$(TARG): $(OBJS)
-+ $(CC) -o $@ $(OBJS:.o=.lo) -version-info 0:0 -rpath $(PREFIX)/lib
++ $(CC) -o $@ $(OBJS:.o=.lo) -version-info 0:0 -rpath $(PREFIX)/lib -lcrypto
+#libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION): ${OBJS}
+# $(SHLIB_LD_CMD) libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION) ${OBJS}
+# $(RANLIB) libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION)
-@@ -59,3 +63,3 @@
+ installdirs:
+ @$(SHELL) $(srcdir)/../mkinstalldirs $(libdir) $(includedir)
+
install: $(TARG) installdirs
- @for i in $(TARG) ; do $(INSTALL) $$i $(libdir) ; $(RANLIB) $(libdir)/$$i ; echo "install: installed $$i in $(libdir)" ; done
+ @for i in $(TARG) ; do $(LIBTOOL) $(INSTALL) $$i $(libdir) ; $(RANLIB) $(libdir)/$$i ; echo "install: installed $$i in $(libdir)" ; done
@for i in $(INSTALLHEADERS) ; do $(INSTALL) $(srcdir)/$$i $(includedir) ; echo "install: installed $$i in $(includedir)" ; done
+ $(SHLIB_LDCONFIG_CMD)
+