mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
- 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)
This commit is contained in:
parent
9a62263693
commit
5219b48ed1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300998
4 changed files with 64 additions and 16 deletions
|
@ -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
|
||||
|
||||
USE_ZIP= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
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
|
||||
|
||||
EXTRACT_BEFORE_ARGS= -j -aa -L
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
34
math/miracl/files/LICENSE
Normal file
34
math/miracl/files/LICENSE
Normal file
|
@ -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. *
|
||||
*
|
||||
***************************************************************************/
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue