ChangeLog

# ChangeLog for app-crypt/nistp224
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/nistp224/ChangeLog,v 1.2 2008/06/26 07:57:55 bangert Exp $

26 Jun 2008; Thilo Bangert nistp224-0.75.ebuild:
remove bindnow-flags - as per bug #226945

*nistp224-0.75 (30 Jan 2008)

30 Jan 2008; Thilo Bangert
+files/nistp224-0.75-asmfix.patch,
+files/nistp224-0.75-declare-exit.patch, +metadata.xml,
+nistp224-0.75.ebuild:
initial portage proper release

26 Jan 2008; Thilo Bangert ChangeLog:
fix qa warning about missing declaration for exit()

18 Jan 2008; Thilo Bangert ChangeLog:
switch to dragonhearts version - bug #164503

10 Jun 2007; Thilo Bangert ChangeLog:
initial release: a fast elleptic curve cryto tool.

Manifest

AUX nistp224-0.75-asmfix.patch 1360 RMD160 172697e18b9a97983d03ba5a3448298be657a5b0 SHA1 0542576711958009cda77b03f2d630ea4187baa7 SHA256 8fa379e289034ac2b0d33aa1b1c77da8a53f23348a311d3ec67c3e0e742b5504
AUX nistp224-0.75-declare-exit.patch 658 RMD160 5feb45953246bf9f630122e72e4a95f07cac7028 SHA1 a9fb10cd0d317e8f65551881bfd8835bc4803721 SHA256 dc69eaf6f8c3d5d145910dbc96785ded8d65838ab002582df563f1541e71add7
DIST nistp224-0.75.tar.gz 204747 RMD160 0394055d583a922702c1be0c4f8c417a3e9f4f3d SHA1 3fa1b8971a7e6b89c00ed7e09f89eaf1736343b2 SHA256 4e033b1bd0bb906229ed8c42cf87aa03cdc54ad40593ca262c7178fe3425351d
EBUILD nistp224-0.75.ebuild 1231 RMD160 cab6e94d87b36d920d26537abc43f6657b35e3f8 SHA1 1a388f3435d12787ed159d174125373360ae60ad SHA256 e0c50c15c3df505bf96f052614796071912a8d491c39ae3c01dada2b8dfe21a0
MISC ChangeLog 901 RMD160 07b9ab94a12536a48b67dca976e6d242385cb595 SHA1 7fb127fd981ad7cf3603a0a708a1ac7872dd8ff8 SHA256 9c8460232f9700f3c38837b270435bd25bc8bc1140d45352515a082ee178c522
MISC metadata.xml 585 RMD160 3060fe656027d10dbb9cda6df42d3789e462c328 SHA1 3cc542189e51e3cf03099129705409e77055364f SHA256 a24bc31bc34bc99ebb393b51d4823e1384055edf5d0f5e9cb78fb7d1cb15f543

files

metadata.xml




no-herd

bangert@gentoo.org


nistp224 performs compressed Diffie-Hellman key exchange on the NIST P-224
elliptic curve at record-setting speeds. It includes an easy-to-use C library
and a command-line tool. nistp224 also supports uncompressed Diffie-Hellman key
exchange on the same curve, with 56-byte public keys, at slightly higher speeds.

nistp224-0.75.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/nistp224/nistp224-0.75.ebuild,v 1.2 2008/06/26 07:57:55 bangert Exp $

inherit toolchain-funcs flag-o-matic fixheadtails

DESCRIPTION="nistp224 performs compressed Diffie-Hellman key exchange on the NIST P-224 elliptic curve"
HOMEPAGE="http://cr.yp.to/nistp224.html"
SRC_URI="http://cr.yp.to/${PN}/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND=${DEPEND}
S=${WORKDIR}/math/${P}/src

src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-asmfix.patch
epatch "${FILESDIR}"/${P}-declare-exit.patch
cd "${S}"
ht_fix_file Makefile print*.sh
append-flags -fPIC
echo -n "$(tc-getCC) ${CFLAGS}" > conf-cc
echo -n "$(tc-getCC) ${LDFLAGS}" > conf-ld
if use ppc; then
# untested
echo -n "powerpc" > conf-opt
elif use sparc; then
# untested
echo -n "sparc" > conf-opt
else
# optiminations for ppro and pentium fail
echo -n "idea64" > conf-opt
fi
}

src_compile() {
emake || die "emake failed"
}

src_install() {
dobin nistp224 nistp224-56
mv nistp224.a libnistp224.a
dolib.a libnistp224.a
insinto /usr/include
doins nistp224.h
}