From owner-svn-ports-all@FreeBSD.ORG Sat Nov 10 18:16:39 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80843303; Sat, 10 Nov 2012 18:16:39 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 65EB68FC0C; Sat, 10 Nov 2012 18:16:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAAIGdOB078023; Sat, 10 Nov 2012 18:16:39 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAAIGdII078019; Sat, 10 Nov 2012 18:16:39 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201211101816.qAAIGdII078019@svn.freebsd.org> From: Pawel Pekala Date: Sat, 10 Nov 2012 18:16:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307298 - in head/security/xyssl: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 18:16:39 -0000 Author: pawel Date: Sat Nov 10 18:16:38 2012 New Revision: 307298 URL: http://svnweb.freebsd.org/changeset/ports/307298 Log: - Update MASTER_SITES and WWW: line - Support CFLAGS properly - Add MAKE_JOBS_SAFE - Don't install license file twice PR: ports/172064 Submitted by: KATO Tsuguru Feature safe: yes Modified: head/security/xyssl/Makefile head/security/xyssl/files/patch-Makefile head/security/xyssl/pkg-descr head/security/xyssl/pkg-plist Modified: head/security/xyssl/Makefile ============================================================================== --- head/security/xyssl/Makefile Sat Nov 10 17:38:33 2012 (r307297) +++ head/security/xyssl/Makefile Sat Nov 10 18:16:38 2012 (r307298) @@ -1,32 +1,39 @@ -# New ports collection makefile for: xyssl -# Date created: 2007-04-05 -# Whom: mdh -# +# Created by: mdh # $FreeBSD$ -# PORTNAME= xyssl PORTVERSION= 0.9 +DISTVERSIONSUFFIX= -bsd +PORTREVISION= 1 CATEGORIES= security devel MASTER_SITES= http://www.evolane.com/download/mirror/etcl/ \ - http://www.straightrunning.com/code/ -DISTFILES= xyssl-${PORTVERSION}-bsd.tgz + http://polarssl.org/code/releases/ +EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -COMMENT= A lightweight SSL and TLS toolkit for C developers +COMMENT= Lightweight SSL and TLS toolkit for C developers LICENSE= BSD LICENSE_FILE= ${WRKSRC}/BSD.txt -# HAS_CONFIGURE= no -# GNU_CONFIGURE= no +PORTDOCS= ChangeLog +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -PORTDOCS= BSD.txt ChangeLog +MAKE_JOBS_SAFE= yes + +.include + +post-patch: +.for i in library/Makefile programs/Makefile + @${REINPLACE_CMD} -e \ + '/^CFLAGS/s|[[:space:]]=| +=| ; \ + s|^OFLAGS|#OFLAGS| ; \ + s|^.SILENT:|#.SILENT:|' ${WRKSRC}/${i} +.endfor post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/BSD.txt ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR} .endif Modified: head/security/xyssl/files/patch-Makefile ============================================================================== --- head/security/xyssl/files/patch-Makefile Sat Nov 10 17:38:33 2012 (r307297) +++ head/security/xyssl/files/patch-Makefile Sat Nov 10 18:16:38 2012 (r307298) @@ -1,6 +1,6 @@ ---- Makefile.orig 2008-03-16 14:23:22.000000000 +0000 -+++ Makefile 2009-01-02 23:45:48.380520000 +0000 -@@ -1,6 +1,6 @@ +--- Makefile.orig 2008-03-16 23:23:22.000000000 +0900 ++++ Makefile 2012-07-12 22:47:37.000000000 +0900 +@@ -1,26 +1,26 @@ -DESTDIR=/usr/local -PREFIX=xyssl_ @@ -9,7 +9,11 @@ .SILENT: -@@ -10,17 +10,17 @@ + all: +- cd library && make all && cd .. +- cd programs && make all && cd .. ++ cd library && $(MAKE) all && cd .. ++ cd programs && $(MAKE) all && cd .. install: mkdir -p $(DESTDIR)/include/xyssl Modified: head/security/xyssl/pkg-descr ============================================================================== --- head/security/xyssl/pkg-descr Sat Nov 10 17:38:33 2012 (r307297) +++ head/security/xyssl/pkg-descr Sat Nov 10 18:16:38 2012 (r307298) @@ -4,7 +4,4 @@ and 3DES ciphers, and the MD2, MD4, MD5, Support is also included for X.509 certificate structures, as well as an internal PRNG. -LICENSE: BSD -Copyright (c) 2006-2008, Christophe Devine. - -WWW: http://xyssl.org/ +WWW: http://polarssl.org/ Modified: head/security/xyssl/pkg-plist ============================================================================== --- head/security/xyssl/pkg-plist Sat Nov 10 17:38:33 2012 (r307297) +++ head/security/xyssl/pkg-plist Sat Nov 10 18:16:38 2012 (r307298) @@ -1,21 +1,20 @@ -lib/libxyssl.a bin/xyssl_aescrypt2 -bin/xyssl_hello -bin/xyssl_md5sum -bin/xyssl_sha1sum -bin/xyssl_sha2sum +bin/xyssl_benchmark bin/xyssl_dh_client bin/xyssl_dh_genprime bin/xyssl_dh_server +bin/xyssl_hello +bin/xyssl_md5sum bin/xyssl_mpi_demo bin/xyssl_rsa_genkey bin/xyssl_rsa_sign bin/xyssl_rsa_verify +bin/xyssl_selftest +bin/xyssl_sha1sum +bin/xyssl_sha2sum bin/xyssl_ssl_client1 bin/xyssl_ssl_client2 bin/xyssl_ssl_server -bin/xyssl_benchmark -bin/xyssl_selftest bin/xyssl_ssl_test include/xyssl/aes.h include/xyssl/arc4.h @@ -41,4 +40,5 @@ include/xyssl/sha4.h include/xyssl/ssl.h include/xyssl/timing.h include/xyssl/x509.h +lib/libxyssl.a @dirrm include/xyssl