Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  7 Jan 2000 09:28:19 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/15970: Update port: security/rsaref
Message-ID:  <20000107172819.27CF714F81@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         15970
>Category:       ports
>Synopsis:       Update port: security/rsaref
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan  7 09:30:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support install macros
- Sort pkg/PLIST

Note:
ports/15516 should be closed, since proposed fix is merged into this PR.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/security/rsaref/Makefile security/rsaref/Makefile
--- /usr/ports/security/rsaref/Makefile	Thu Dec 23 20:17:57 1999
+++ security/rsaref/Makefile	Fri Jan  7 23:39:12 2000
@@ -1,37 +1,37 @@
-# New ports collection makefile for: rsaref
-# Version required:     2.0
-#
-# Date created:         2 Feb 1997
-# Whom:                 ache
+# New ports collection makefile for:	rsaref
+# Version required:	2.0
+# Date created:		2 Feb 1997
+# Whom:			ache
 #
 # $FreeBSD: ports/security/rsaref/Makefile,v 1.10 1999/12/23 02:30:06 ache Exp $
 #
 
-DISTNAME=       rsaref20.1996
-PKGNAME=        rsaref-2.0
-CATEGORIES=     security
-MASTER_SITES=   ftp://utopia.hacktic.nl/pub/replay/pub/crypto/LIBS/rsa/ \
-		ftp://ftp.ntua.gr/pub/crypt/mirrors/utopia.hacktic.nl/crypto/LIBS/math/ \
-		ftp://ftp.tuwien.ac.at/opsys/linux/replay.com/crypto/LIBS/math/ \
-		ftp://ftp.nstu.ru/pub/sources/security/crypt/
-EXTRACT_SUFX=   .tar.Z
+DISTNAME=	rsaref20.1996
+PKGNAME=	rsaref-2.0
+CATEGORIES=	security
+MASTER_SITES=	ftp://utopia.hacktic.nl/pub/replay/pub/crypto/LIBS/rsa/ \
+		ftp://ftp.zedz.net/pub/crypto/crypto/LIBS/rsa/
+EXTRACT_SUFX=	.tar.Z
 
 MAINTAINER=	ports@FreeBSD.org
 
-WRKSRC=         ${WRKDIR}/source
-RESTRICTED=     "Crypto"
+WRKSRC=		${WRKDIR}/source
+RESTRICTED=	"Crypto"
 
 pre-configure:
-	${CP} ${FILESDIR}/Makefile ${WRKSRC}
-	cd ${WRKSRC} && \
+	@${CP} ${FILESDIR}/Makefile ${WRKSRC}
+	@cd ${WRKSRC} && \
 		${CP} des.h _des.h && \
 		${CP} md2.h _md2.h && \
 		${CP} md5.h _md5.h
 
 post-install:
 	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-	${INSTALL} -d -m 555 ${PREFIX}/share/doc/rsaref
-	cd ${WRKDIR}/doc && ${INSTALL_DATA} info.txt rsaref.txt \
-		${PREFIX}/share/doc/rsaref
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${PREFIX}/share/doc/rsaref
+.for file in info.txt rsaref.txt
+	${INSTALL_DATA} ${WRKSRC}/../doc/${file} ${PREFIX}/share/doc/rsaref
+.endfor
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/security/rsaref/files/Makefile security/rsaref/files/Makefile
--- /usr/ports/security/rsaref/files/Makefile	Thu Sep 17 19:56:29 1998
+++ security/rsaref/files/Makefile	Fri Jan  7 23:26:51 2000
@@ -32,11 +32,6 @@
 .endif
 
 install:
-	install -c -m 444 -o bin -g bin rsa.h _des.h _md2.h _md5.h rsaref.h global.h ${PREFIX}/include
-.if ${PORTOBJFORMAT} == elf
-	install -c -m 644 -o bin -g bin librsaref.a librsaref.so.2 ${PREFIX}/lib
-	(cd ${PREFIX}/lib; ln -sf librsaref.so.2 librsaref.so)
-.else
-	install -c -m 644 -o bin -g bin librsaref.a librsaref.so.2.0 ${PREFIX}/lib
-	(cd ${PREFIX}/lib; ln -sf librsaref.so.2.0 librsaref.so)
-.endif
+	${BSD_INSTALL_DATA} rsa.h _des.h _md2.h _md5.h rsaref.h global.h ${PREFIX}/include
+	${BSD_INSTALL_DATA} ${RSAREFLIB} ${SORSAREFLIB} ${PREFIX}/lib
+	ln -sf ${SORSAREFLIB} ${PREFIX}/lib/librsaref.so
diff -urN /usr/ports/security/rsaref/pkg/PLIST security/rsaref/pkg/PLIST
--- /usr/ports/security/rsaref/pkg/PLIST	Tue Sep 15 19:26:08 1998
+++ security/rsaref/pkg/PLIST	Fri Jan  7 23:21:34 2000
@@ -1,14 +1,14 @@
-lib/librsaref.a
-lib/librsaref.so.2
-lib/librsaref.so
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-include/rsa.h
+include/_des.h
 include/_md2.h
 include/_md5.h
-include/_des.h
 include/global.h
+include/rsa.h
 include/rsaref.h
+lib/librsaref.a
+lib/librsaref.so
+lib/librsaref.so.2
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
 share/doc/rsaref/info.txt
 share/doc/rsaref/rsaref.txt
 @dirrm share/doc/rsaref


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000107172819.27CF714F81>