Date: Tue, 17 Jul 2012 10:49:02 +0000 (UTC) From: Jase Thew <jase@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r300998 - in head/math/miracl: . files Message-ID: <201207171049.q6HAn2Y0045126@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jase Date: Tue Jul 17 10:49:02 2012 New Revision: 300998 URL: http://svn.freebsd.org/changeset/ports/300998 Log: - Update to 5.6 [1] - Assign maintainership to Bryan Drewery <bryan@shatow.net> [1] - Change MASTER_SITE* as agreed with submitter - Pet portlint(1): re-organise LICENSE section, fix whitespace - Remove hardcoded FILESDIR in Makefile PR: ports/169501 [1] Submitted by: Bryan Drewery <bryan@shatow.net> Approved by: flo (mentor) Added: head/math/miracl/files/ head/math/miracl/files/LICENSE (contents, props changed) Modified: head/math/miracl/Makefile (contents, props changed) head/math/miracl/distinfo (contents, props changed) head/math/miracl/pkg-descr (contents, props changed) Modified: head/math/miracl/Makefile ============================================================================== --- head/math/miracl/Makefile Tue Jul 17 10:36:25 2012 (r300997) +++ head/math/miracl/Makefile Tue Jul 17 10:49:02 2012 (r300998) @@ -6,23 +6,33 @@ # 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.shatow.net/freebsd/${PORTNAME}/ \ ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= pav -DISTNAME= ${PORTNAME} -DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} +MASTER_SITE_SUBDIR= jase -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bryan@shatow.net COMMENT= Multiprecision Integer and Rational Arithmetic C/C++ Library +LICENSE= AGPLv3 COMMERCIAL +LICENSE_COMB= dual +LICENSE_NAME_COMMERCIAL= Commericial use license to not be bound by AGPLv3 +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_FILE= ${FILESDIR}/LICENSE +LICENSE_PERMS_COMMERCIAL= dist-mirror dist-sell pkg-mirror pkg-sell no-auto-accept + +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 +43,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 +61,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 Modified: head/math/miracl/distinfo ============================================================================== --- head/math/miracl/distinfo Tue Jul 17 10:36:25 2012 (r300997) +++ head/math/miracl/distinfo Tue Jul 17 10:49:02 2012 (r300998) @@ -1,2 +1,2 @@ -SHA256 (miracl/5.3.2/miracl.zip) = c4fb4cf32090cce202cf0ea152da6b2e7f8633da64dd41b0d5833d900f8c5462 -SIZE (miracl/5.3.2/miracl.zip) = 1643702 +SHA256 (miracl-5.6.zip) = c9e3fe5ff071486f5b6ed61ebb79bb6f3edd2f3bb5031cb4e5b7ce64a17fff9c +SIZE (miracl-5.6.zip) = 1581088 Added: head/math/miracl/files/LICENSE ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/miracl/files/LICENSE Tue Jul 17 10:49:02 2012 (r300998) @@ -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 <http://www.gnu.org/licenses/>. * + * +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. * + * +***************************************************************************/ + Modified: head/math/miracl/pkg-descr ============================================================================== --- head/math/miracl/pkg-descr Tue Jul 17 10:36:25 2012 (r300997) +++ head/math/miracl/pkg-descr Tue Jul 17 10:49:02 2012 (r300998) @@ -15,4 +15,4 @@ implemented as a C library, a well-thoug 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207171049.q6HAn2Y0045126>