ports/111279: New port: security/xyssl (SSL/TLS Toolkit for C development)

Matt D. Harris mdh at solitox.net
Thu Apr 5 18:40:04 UTC 2007


>Number:         111279
>Category:       ports
>Synopsis:       New port: security/xyssl (SSL/TLS Toolkit for C development)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 05 18:40:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Matt D. Harris
>Release:        5.4 & 6.2
>Organization:
>Environment:
>Description:
This is a port submission of the XySSL SSL/TLS toolkit.  

>From pkg-descr:
XySSL is a lite-weight SSL and TLS implementation library in C.
It currently supports SSLv2, SSLv3, and TLSv1 using the AES, ARC4, 
and 3DES ciphers, and the MD2, MD4, MD5, SHA1, and SHA256 hashes.
Support is also included for X.509 certificate structures, 
as well as an internal PRNG.  

[http://xyssl.org/]

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xyssl
#	xyssl/files
#	xyssl/files/patch-Makefile
#	xyssl/Makefile
#	xyssl/pkg-plist
#	xyssl/pkg-descr
#	xyssl/distinfo
#
echo c - xyssl
mkdir -p xyssl > /dev/null 2>&1
echo c - xyssl/files
mkdir -p xyssl/files > /dev/null 2>&1
echo x - xyssl/files/patch-Makefile
sed 's/^X//' >xyssl/files/patch-Makefile << 'END-of-xyssl/files/patch-Makefile'
X*** Makefile.orig	Sat Mar 31 18:00:00 2007
X--- Makefile	Thu Apr  5 14:17:48 2007
X***************
X*** 13,26 ****
X  	mv html docs
X  
X  install:
X! 	mkdir -p $(DESTDIR)/{include/xyssl,lib}
X! 	cp -v -r include $(DESTDIR)/include
X! 	cp -v library/libxyssl.a $(DESTDIR)/lib
X! 	
X! 	mkdir -p $(DESTDIR)/bin
X! 	for i in programs/*; do test -x $i && \
X! 	    cp -v $i $(DESTDIR)/xyssl_$i;   \
X! 	done
X  
X  clean:
X  	cd library  && make clean && cd ..
X--- 13,30 ----
X  	mv html docs
X  
X  install:
X! 	/usr/bin/install -d -v -m 0755 $(DESTDIR)/include/xyssl
X! 	/usr/bin/install -v -m 0644 include/xyssl/* $(DESTDIR)/include/xyssl/
X! 	/usr/bin/install -v -m 0644 library/libxyssl.a $(DESTDIR)/lib
X! 
X! 	/usr/bin/install -v -m 0755 programs/benchmark $(DESTDIR)/bin/xyssl_benchmark
X! 	/usr/bin/install -v -m 0755 programs/filecrypt $(DESTDIR)/bin/xyssl_filecrypt
X! 	/usr/bin/install -v -m 0755 programs/hello $(DESTDIR)/bin/xyssl_hello
X! 	/usr/bin/install -v -m 0755 programs/mpi_demo $(DESTDIR)/bin/xyssl_mpi_demo
X! 	/usr/bin/install -v -m 0755 programs/selftest $(DESTDIR)/bin/xyssl_selftest
X! 	/usr/bin/install -v -m 0755 programs/ssl_client1 $(DESTDIR)/bin/xyssl_ssl_client1
X! 	/usr/bin/install -v -m 0755 programs/ssl_client2 $(DESTDIR)/bin/xyssl_ssl_client2
X! 	/usr/bin/install -v -m 0755 programs/ssl_server $(DESTDIR)/bin/xyssl_ssl_server
X  
X  clean:
X  	cd library  && make clean && cd ..
END-of-xyssl/files/patch-Makefile
echo x - xyssl/Makefile
sed 's/^X//' >xyssl/Makefile << 'END-of-xyssl/Makefile'
X# Date created:		2007-04-05
X# Whom:			mdh <mdh at solitox.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xyssl
XPORTVERSION=	0.6
XCATEGORIES=	security devel
XMASTER_SITES=	http://xyssl.org/code/download/ \
X		ftp://ftp.solitox.net/pub/XySSL/
XDISTNAME=	xyssl-${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	mdh at solitox.net
XCOMMENT=	A liteweight SSL and TLS toolkit for C developers
X
X# HAS_CONFIGURE=	no
X# GNU_CONFIGURE=	no
X
X.include <bsd.port.mk>
END-of-xyssl/Makefile
echo x - xyssl/pkg-plist
sed 's/^X//' >xyssl/pkg-plist << 'END-of-xyssl/pkg-plist'
Xlib/libxyssl.a
Xbin/xyssl_benchmark
Xbin/xyssl_filecrypt
Xbin/xyssl_hello
Xbin/xyssl_mpi_demo
Xbin/xyssl_selftest
Xbin/xyssl_ssl_client1
Xbin/xyssl_ssl_client2
Xbin/xyssl_ssl_server
Xinclude/xyssl/aes.h
Xinclude/xyssl/arc4.h
Xinclude/xyssl/base64.h
Xinclude/xyssl/bignum.h
Xinclude/xyssl/certs.h
Xinclude/xyssl/des.h
Xinclude/xyssl/dhm.h
Xinclude/xyssl/havege.h
Xinclude/xyssl/md2.h
Xinclude/xyssl/md4.h
Xinclude/xyssl/md5.h
Xinclude/xyssl/net.h
Xinclude/xyssl/rsa.h
Xinclude/xyssl/sha1.h
Xinclude/xyssl/sha2.h
Xinclude/xyssl/ssl.h
Xinclude/xyssl/ssl_conf.h
Xinclude/xyssl/timing.h
Xinclude/xyssl/x509.h
X at dirrm include/xyssl
END-of-xyssl/pkg-plist
echo x - xyssl/pkg-descr
sed 's/^X//' >xyssl/pkg-descr << 'END-of-xyssl/pkg-descr'
XXySSL is a lite-weight SSL and TLS implementation library in C.
XIt currently supports SSLv2, SSLv3, and TLSv1 using the AES, ARC4, 
Xand 3DES ciphers, and the MD2, MD4, MD5, SHA1, and SHA256 hashes.
XSupport is also included for X.509 certificate structures, 
Xas well as an internal PRNG.  
X
X[http://xyssl.org/]
END-of-xyssl/pkg-descr
echo x - xyssl/distinfo
sed 's/^X//' >xyssl/distinfo << 'END-of-xyssl/distinfo'
XMD5 (xyssl-0.6.tgz) = 4528b29a7de7d850bd1cb95af2c6d3ab
XSIZE (xyssl-0.6.tgz) = 161714
END-of-xyssl/distinfo
exit


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



More information about the freebsd-ports-bugs mailing list