From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 27 22:20:05 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C29121065670 for ; Wed, 27 Jun 2012 22:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9490D8FC14 for ; Wed, 27 Jun 2012 22:20:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5RMK5Ys018051 for ; Wed, 27 Jun 2012 22:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5RMK5j2018050; Wed, 27 Jun 2012 22:20:05 GMT (envelope-from gnats) Resent-Date: Wed, 27 Jun 2012 22:20:05 GMT Resent-Message-Id: <201206272220.q5RMK5j2018050@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bryan Drewery Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE703106564A for ; Wed, 27 Jun 2012 22:16:00 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 76BD28FC17 for ; Wed, 27 Jun 2012 22:16:00 +0000 (UTC) Received: (qmail 95482 invoked from network); 27 Jun 2012 17:15:57 -0500 Received: from unknown (HELO test8.xzibition.com) (10.10.0.34) by sweb.xzibition.com with SMTP; 27 Jun 2012 17:15:57 -0500 Received: by test8.xzibition.com (sSMTP sendmail emulation); Wed, 27 Jun 2012 17:15:22 -0500 Message-Id: <20120627221600.DE703106564A@hub.freebsd.org> Date: Wed, 27 Jun 2012 17:15:22 -0500 From: "Bryan Drewery" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/169501: [PATCH] math/miracl - Take maintainership - update to 5.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bryan Drewery List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 22:20:05 -0000 >Number: 169501 >Category: ports >Synopsis: [PATCH] math/miracl - Take maintainership - update to 5.6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jun 27 22:20:05 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Bryan Drewery >Release: FreeBSD 8.3-RELEASE i386 >Organization: >Environment: >Description: Note to committer: due to the upstream rerolling their distfile on new versions, their MASTER_SITE URL will likely go stale quickly. I've mirrored it myself, but I'd prefer to have a backup on top of mine as well. Please mirror the file under the miracl/5.6 directory and change the port to use your username in MASTER_SITE_SUBDIR. Please keep the versioned directory here though as the distfile is just miracl.zip. - Take maintainership - miracl is now owned by CertiVox. Update URLS. - Cleanup extract/build to better match output of other ports - Add USE_LDCONFIG - Use ONLY_FOR_ARCHS - Pass MAKE_ENV to build script which fixes some uses of ccache - Add licensing information - Cleanup extract to use WRKSRC - See work/miracl/update.txt for updates since 5.3.2 >How-To-Repeat: >Fix: --- patch-math-miracl.txt begins here --- diff --git Makefile Makefile index 3b2933f..537af43 100644 --- Makefile +++ Makefile @@ -6,23 +6,36 @@ # PORTNAME= miracl -PORTVERSION= 5.3.2 -PORTREVISION= 1 +PORTVERSION= 5.6 PORTEPOCH= 1 CATEGORIES= math -MASTER_SITES= ftp://ftp.computing.dcu.ie/pub/crypto/ \ +MASTER_SITES= http://www.certivox.com/wp-content/themes/certivox/res/ \ + http://www.shatow.net/freebsd/${PORTNAME}/${PORTVERSION}/ \ ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= pav +MASTER_SITE_SUBDIR= pav/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bryan@shatow.net COMMENT= Multiprecision Integer and Rational Arithmetic C/C++ Library +LICENSE= AGPLv3 COMMERCIAL +LICENSE_NAME_COMMERCIAL= Commericial use license to not be bound by AGPLv3 +LICENSE_PERMS_COMMERCIAL= dist-mirror dist-sell pkg-mirror pkg-sell no-auto-accept +LICENSE_TEXT_COMMERCIAL= License available from CertiVox for commercial use and +LICENSE_TEXT_COMMERCIAL+= to not be bound by the terms of the AGPLv3. Visit +LICENSE_TEXT_COMMERCIAL+= http://certivox.com/index.php/solutions/miracl-crypto-sdk/ +LICENSE_TEXT_COMMERCIAL+= for more details. +LICENSE_COMB= dual +LICENSE_FILE= files/LICENSE + +ONLY_FOR_ARCHS= i386 amd64 + USE_ZIP= yes -NO_WRKSUBDIR= yes +USE_LDCONFIG= yes -EXTRACT_BEFORE_ARGS= -j -aa -L +EXTRACT_BEFORE_ARGS= -j -aa -L -q +EXTRACT_AFTER_ARGS= -d ${WRKSRC} PLIST_FILES= lib/libmiracl.a \ include/miracl.h include/mirdef.h @@ -33,8 +46,6 @@ PLIST_FILES= lib/libmiracl.a \ BUILDCMD= linux .elif ${ARCH} == "amd64" BUILDCMD= linux64 -.else -IGNORE= Builds on x86 and amd64 only .endif post-patch: @@ -53,9 +64,15 @@ post-patch: -e 's|-O2|${CFLAGS} -fPIC|' \ ${WRKSRC}/${BUILDCMD} .endif +# Don't error when files not found +# Fix mrmuldv.cc not existing + @${REINPLACE_CMD} -E \ + -e 's|^rm |${RM} -f |' \ + -e 's|^cp mrmuldv\.cc mrmuldv\.c|${CP} mrmuldv.gcc mrmuldv.c|' \ + ${WRKSRC}/${BUILDCMD} do-build: - @cd ${WRKSRC} && ${SH} ./${BUILDCMD} + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} -ve ./${BUILDCMD} do-install: # lib diff --git distinfo distinfo index 9f451fe..e1fd7fd 100644 --- distinfo +++ distinfo @@ -1,2 +1,2 @@ -SHA256 (miracl/5.3.2/miracl.zip) = c4fb4cf32090cce202cf0ea152da6b2e7f8633da64dd41b0d5833d900f8c5462 -SIZE (miracl/5.3.2/miracl.zip) = 1643702 +SHA256 (miracl/5.6/miracl.zip) = c9e3fe5ff071486f5b6ed61ebb79bb6f3edd2f3bb5031cb4e5b7ce64a17fff9c +SIZE (miracl/5.6/miracl.zip) = 1581088 diff --git files/LICENSE files/LICENSE new file mode 100644 index 0000000..b5de069 --- /dev/null +++ files/LICENSE @@ -0,0 +1,34 @@ +/*************************************************************************** + * +Copyright 2012 CertiVox IOM Ltd. * + * +This file is part of CertiVox MIRACL Crypto SDK. * + * +The CertiVox MIRACL Crypto SDK provides developers with an * +extensive and efficient set of cryptographic functions. * +For further information about its features and functionalities please * +refer to http://www.certivox.com * + * +* The CertiVox MIRACL Crypto SDK is free software: you can * + redistribute it and/or modify it under the terms of the * + GNU Affero General Public License as published by the * + Free Software Foundation, either version 3 of the License, * + or (at your option) any later version. * + * +* The CertiVox MIRACL Crypto SDK is distributed in the hope * + that it will be useful, but WITHOUT ANY WARRANTY; without even the * + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + See the GNU Affero General Public License for more details. * + * +* You should have received a copy of the GNU Affero General Public * + License along with CertiVox MIRACL Crypto SDK. * + If not, see . * + * +You can be released from the requirements of the license by purchasing * +a commercial license. Buying such a license is mandatory as soon as you * +develop commercial activities involving the CertiVox MIRACL Crypto SDK * +without disclosing the source code of your own applications, or shipping * +the CertiVox MIRACL Crypto SDK with a closed source product. * + * +***************************************************************************/ + diff --git pkg-descr pkg-descr index ae8d97f..5cd10ae 100644 --- pkg-descr +++ pkg-descr @@ -15,4 +15,4 @@ implemented as a C library, a well-thought out C++ wrapper is provided, which greatly simplifies program development. Most example programs (25+ of them) are provided in both C and C++ versions. -WWW: http://www.shamus.ie/ +WWW: http://certivox.com/index.php/solutions/miracl-crypto-sdk --- patch-math-miracl.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: