From 5296bf76472560a217e6189038c2d914ae55347a Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 26 May 1999 15:33:16 +0000 Subject: Reenable rsaref's own MD5 implementation. It contains MD5Transform(), which is not in libc's md5, and is now being used by some dependencies. This bumps the shared library major version; this package is NOT shared library binary compatible with old rsaref dependent packages. --- security/rsaref/Makefile | 6 ++---- security/rsaref/patches/patch-ag | 5 ++--- security/rsaref/pkg/PLIST | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) (limited to 'security') diff --git a/security/rsaref/Makefile b/security/rsaref/Makefile index 9cb97aca01b..12761ea0ca1 100644 --- a/security/rsaref/Makefile +++ b/security/rsaref/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.14 1999/05/23 21:12:01 tv Exp $ +# $NetBSD: Makefile,v 1.15 1999/05/26 15:33:16 tv Exp $ # DISTNAME= rsaref -PKGNAME= rsaref-2.0p1 +PKGNAME= rsaref-2.0p2 WRKSRC= ${WRKDIR}/install CATEGORIES= security MASTER_SITES= ftp://ftp.spinnaker.com/pub/crypt/rsaref/ @@ -28,8 +28,6 @@ fetch-depends: fi do-configure: - @${RM} -f ${WRKDIR}/source/md5.h && \ - ${ECHO} '#include_next ' >${WRKDIR}/source/md5.h @${RM} -f ${WRKDIR}/source/rsaref && ${LN} -sf . ${WRKDIR}/source/rsaref do-install: diff --git a/security/rsaref/patches/patch-ag b/security/rsaref/patches/patch-ag index 04497768079..74df6e148d1 100644 --- a/security/rsaref/patches/patch-ag +++ b/security/rsaref/patches/patch-ag @@ -36,13 +36,12 @@ dhdemo : dhdemo.$(O) $(RSAREFLIB) cc -o $@ dhdemo.$(O) $(RSAREFLIB) --$(RSAREFLIB) : desc.$(O) digit.$(O) md2c.$(O) md5c.$(O) nn.$(O) prime.$(O)\ -+$(RSAREFLIB) : desc.$(O) digit.$(O) md2c.$(O) nn.$(O) prime.$(O)\ + $(RSAREFLIB) : desc.$(O) digit.$(O) md2c.$(O) md5c.$(O) nn.$(O) prime.$(O)\ rsa.$(O) r_encode.$(O) r_dh.$(O) r_enhanc.$(O) r_keygen.$(O) r_random.$(O)\ r_stdlib.$(O) - $(LIB) r $@ $? - ranlib $@ -+ ${LIBTOOL} --mode=link cc -o $@ ${?:.o=.lo} -rpath ${PREFIX}/lib -version-info 2:0 ++ ${LIBTOOL} --mode=link cc -o $@ ${?:.o=.lo} -rpath ${PREFIX}/lib -version-info 3:0 rdemo.$(O) : $(RDEMODIR)rdemo.c $(RSAREFDIR)global.h $(RSAREFDIR)rsaref.h $(CC) $(CFLAGS) $(RDEMODIR)rdemo.c diff --git a/security/rsaref/pkg/PLIST b/security/rsaref/pkg/PLIST index 85ec78ab03b..1c445e8084c 100644 --- a/security/rsaref/pkg/PLIST +++ b/security/rsaref/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 1998/07/16 13:36:48 tv Exp $ +@comment $NetBSD: PLIST,v 1.5 1999/05/26 15:33:17 tv Exp $ include/rsaref/des.h include/rsaref/global.h include/rsaref/md2.h @@ -7,7 +7,7 @@ include/rsaref/rsa.h include/rsaref/rsaref.h @dirrm include/rsaref lib/librsaref.a -lib/librsaref.so.2.0 +lib/librsaref.so.3.0 share/doc/rsaref/info.txt share/doc/rsaref/rsaref.txt @dirrm share/doc/rsaref -- cgit v1.2.3