Date: Sat, 30 Oct 1999 20:20:54 -0500 (CDT) From: hetzels@westbend.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14618: New port of librc4 Message-ID: <199910310120.UAA22508@spare.westbend.net>
next in thread | raw e-mail | index | archive | help
>Number: 14618 >Category: ports >Synopsis: New port: librc4 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 30 18:30:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Scot W. Hetzel >Release: FreeBSD 3.2-RELEASE i386 >Organization: West Bend Internet >Environment: >Description: RC4 is an encryption library specifically for use with the SASL library. It it may be export controlled, whereas the rest of SASL is not. If your in the US or CANADA, you can build the SASL library (Cyrus) with RC4 encryption by defining USA_RESIDENT=YES. This port is an optional dependancey of the Cyrus SASL library port (libsasl). >How-To-Repeat: >Fix: ./librc4/Makefile ./librc4/files/md5 ./librc4/pkg/COMMENT ./librc4/pkg/DESCR ./librc4/pkg/PLIST Import the attached diff to the ports collection. diff -ruN librc4.orig/Makefile librc4/Makefile --- librc4.orig/Makefile Wed Dec 31 18:00:00 1969 +++ librc4/Makefile Sat Oct 30 18:30:42 1999 @@ -0,0 +1,64 @@ +# New ports collection makefile for: rc4 +# Version required: 1.1 +# +# Date created: Nov 1, 1999 +# Whom: hetzels@westbend.net +# +# $FreeBSD$ +# + +DISTNAME= librc4-1.1 +PKGNAME= librc4-1.1 +CATEGORIES= security +MASTER_SITES= http://andrew2.andrew.cmu.edu/cgi-bin + +MAINTAINER= hetzels@westbend.net + +RESTRICTED= "Crypto" + +DIST_REQUEST= http://andrew2.andrew.cmu.edu/dist/rc4.html + +USE_LIBTOOL= YES +CONFIGURE_ARGS= --with-prefix=${PREFIX} + + +# Need to define USA_RESIDENT to YES or NO +.if !defined(USA_RESIDENT) || (${USA_RESIDENT} != YES && ${USA_RESIDENT} != yes && ${USA_RESIDENT} != NO && ${USA_RESIDENT} != no) +pre-fetch: + @${ECHO} + @${ECHO} You must set variable USA_RESIDENT to YES, if you are USA or + @${ECHO} Canadian resident, in order to build this package. + @${ECHO} There is no version of this port for NON-USA and NON-Canadian users. + @${ECHO} + @${FALSE} +# +.elif defined(USA_RESIDENT) +.if ${USA_RESIDENT} == YES || ${USA_RESIDENT} == yes +# +.if !exists(${DISTDIR}/${DISTFILES}) +IGNORE="You must manually obtain ${DISTFILES} from '${DIST_REQUEST}' and place it in ${DISTDIR}" +.endif + +.else +pre-fetch: + @${ECHO} + @${ECHO} There is no version of this port for NON-USA and NON-Canadian users. + @${ECHO} + @${FALSE} +.endif +.endif + +DOCS= AUTHORS ChangeLog INSTALL NEWS README + +post-install: + @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/RC4 +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/RC4 + @${ECHO} share/doc/RC4/${file} >> ${TMPPLIST} +.endfor + @${ECHO} "@dirrm share/doc/RC4" >>${TMPPLIST} +.endif + +.include <bsd.port.mk> diff -ruN librc4.orig/files/md5 librc4/files/md5 --- librc4.orig/files/md5 Wed Dec 31 18:00:00 1969 +++ librc4/files/md5 Sat Oct 30 16:58:59 1999 @@ -0,0 +1 @@ +MD5 (librc4-1.1.tar.gz) = 4517f2c82ffd5d8e11b564609509f30e diff -ruN librc4.orig/pkg/COMMENT librc4/pkg/COMMENT --- librc4.orig/pkg/COMMENT Wed Dec 31 18:00:00 1969 +++ librc4/pkg/COMMENT Sat Oct 30 16:58:38 1999 @@ -0,0 +1 @@ +RC4 library for use with the Cyrus SASL library (Export Controled) diff -ruN librc4.orig/pkg/DESCR librc4/pkg/DESCR --- librc4.orig/pkg/DESCR Wed Dec 31 18:00:00 1969 +++ librc4/pkg/DESCR Sat Oct 30 16:56:21 1999 @@ -0,0 +1,7 @@ +This is an RC4 encryption library specifically for use with the SASL library; +It it may be export controlled, whereas the rest of SASL is not. +----------------------------------------------------------------------------- +Export of this software from the United States of America may require a +specific license from the United States Government. + +WWW: http://andrew2.andrew.cmu.edu/dist/rc4.html diff -ruN librc4.orig/pkg/PLIST librc4/pkg/PLIST --- librc4.orig/pkg/PLIST Wed Dec 31 18:00:00 1969 +++ librc4/pkg/PLIST Sat Oct 30 17:43:17 1999 @@ -0,0 +1,4 @@ +include/rc4.h +lib/librc4.so.0 +lib/librc4.so +lib/librc4.a >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?199910310120.UAA22508>