diff options
author | 2007-06-10 14:12:47 +0000 | |
---|---|---|
committer | 2007-06-10 14:12:47 +0000 | |
commit | fed6de2ccc84eb55feddd9a0638ab3befd1a6bbd (patch) | |
tree | 97d5e9be976bffd6afde5932d19df4ec2df03666 | |
parent | this is a confirmed working version (diff) | |
download | bangert-fed6de2ccc84eb55feddd9a0638ab3befd1a6bbd.tar.gz bangert-fed6de2ccc84eb55feddd9a0638ab3befd1a6bbd.tar.bz2 bangert-fed6de2ccc84eb55feddd9a0638ab3befd1a6bbd.zip |
add nistp224 (dep for srlog2) and srlog2
svn path=/ebuilds/; revision=34
-rw-r--r-- | app-admin/srlog2/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/srlog2/Manifest | 16 | ||||
-rw-r--r-- | app-admin/srlog2/files/digest-srlog2-0.75 | 3 | ||||
-rw-r--r-- | app-admin/srlog2/metadata.xml | 11 | ||||
-rw-r--r-- | app-admin/srlog2/srlog2-0.75.ebuild | 34 | ||||
-rw-r--r-- | app-crypt/nistp224/ChangeLog | 7 | ||||
-rw-r--r-- | app-crypt/nistp224/Manifest | 20 | ||||
-rw-r--r-- | app-crypt/nistp224/files/digest-nistp224-0.75 | 3 | ||||
-rw-r--r-- | app-crypt/nistp224/files/nistp224-gcc4.patch | 13 | ||||
-rw-r--r-- | app-crypt/nistp224/metadata.xml | 14 | ||||
-rw-r--r-- | app-crypt/nistp224/nistp224-0.75.ebuild | 41 |
11 files changed, 169 insertions, 0 deletions
diff --git a/app-admin/srlog2/ChangeLog b/app-admin/srlog2/ChangeLog new file mode 100644 index 0000000..f7329cf --- /dev/null +++ b/app-admin/srlog2/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for app-admin/srlog2 +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 10 Jun 2007; Thilo Bangert <bangert@gentoo.org> ChangeLog: + initial import: a secure remote log transmission system + diff --git a/app-admin/srlog2/Manifest b/app-admin/srlog2/Manifest new file mode 100644 index 0000000..3d7fc0a --- /dev/null +++ b/app-admin/srlog2/Manifest @@ -0,0 +1,16 @@ +DIST srlog2-0.75.tar.gz 79769 RMD160 47ac14bc33134922d3c3999fc4625f75637e2bc8 SHA1 533847ef42545907f3ccfb00ff1351121141bf26 SHA256 8b3cc2eb9649cd872bf19de5a0eedbca4c354fab0ed6e52c3bfc1cf22aa80c1c +EBUILD srlog2-0.75.ebuild 753 RMD160 edd304acdf814a54b1c35db08da328bb1fe30a2e SHA1 a56c05faf1ac263bdb64b80d1d535cbfe9c0108c SHA256 21c2d9dd2c4b26d9461cc8d8df1d4ede94e1ed59a258821bf7e793e9a40349ea +MD5 e674fbbbd5eeab3601d51a9dac93016a srlog2-0.75.ebuild 753 +RMD160 edd304acdf814a54b1c35db08da328bb1fe30a2e srlog2-0.75.ebuild 753 +SHA256 21c2d9dd2c4b26d9461cc8d8df1d4ede94e1ed59a258821bf7e793e9a40349ea srlog2-0.75.ebuild 753 +MISC ChangeLog 237 RMD160 6c893320cc8a8488c555391f3e3a21b710fb0ef2 SHA1 153d4d8e25b2a796b4ddd223144377d914100e4d SHA256 d638f748a8a555cce27e992fb2895858a50c407234dc9f4c1aaed70551eda33b +MD5 8dd83a9b0a00b506b02ff80d9fb24874 ChangeLog 237 +RMD160 6c893320cc8a8488c555391f3e3a21b710fb0ef2 ChangeLog 237 +SHA256 d638f748a8a555cce27e992fb2895858a50c407234dc9f4c1aaed70551eda33b ChangeLog 237 +MISC metadata.xml 311 RMD160 d077c7679097a5502cbaa09a17be3e05abd05a6a SHA1 d653a94fc92c600a617145c9c099ca579c1f64b4 SHA256 0dc503d13bcb3961bb0f5b5b5b4dc4618fd564001b1b3a17d46e373a4033df5d +MD5 f8474e8d9c721351114ab56ebe42a416 metadata.xml 311 +RMD160 d077c7679097a5502cbaa09a17be3e05abd05a6a metadata.xml 311 +SHA256 0dc503d13bcb3961bb0f5b5b5b4dc4618fd564001b1b3a17d46e373a4033df5d metadata.xml 311 +MD5 12adf5a1a7493ad9b9fc5e44c14ddd2e files/digest-srlog2-0.75 232 +RMD160 258702d46471cd94b58e29c9996bab32675c02df files/digest-srlog2-0.75 232 +SHA256 7465870c377a12602c62d423adc3f9459487f4537118b1266169c3cbaac5e8c5 files/digest-srlog2-0.75 232 diff --git a/app-admin/srlog2/files/digest-srlog2-0.75 b/app-admin/srlog2/files/digest-srlog2-0.75 new file mode 100644 index 0000000..ebe4cc3 --- /dev/null +++ b/app-admin/srlog2/files/digest-srlog2-0.75 @@ -0,0 +1,3 @@ +MD5 9e7d4641ba4ed991c5af90c06911d96b srlog2-0.75.tar.gz 79769 +RMD160 47ac14bc33134922d3c3999fc4625f75637e2bc8 srlog2-0.75.tar.gz 79769 +SHA256 8b3cc2eb9649cd872bf19de5a0eedbca4c354fab0ed6e52c3bfc1cf22aa80c1c srlog2-0.75.tar.gz 79769 diff --git a/app-admin/srlog2/metadata.xml b/app-admin/srlog2/metadata.xml new file mode 100644 index 0000000..605163e --- /dev/null +++ b/app-admin/srlog2/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>bangert@gentoo.org</email> +</maintainer> +<longdescription lang="en"> +A secure remote log transmission system. +</longdescription> +</pkgmetadata> diff --git a/app-admin/srlog2/srlog2-0.75.ebuild b/app-admin/srlog2/srlog2-0.75.ebuild new file mode 100644 index 0000000..62b881f --- /dev/null +++ b/app-admin/srlog2/srlog2-0.75.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="A secure remote log transmission system." +HOMEPAGE="http://untroubled.org/srlog2/" +SRC_URI="http://untroubled.org/srlog2/archive/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-libs/bglibs-1.041 + >=dev-libs/libtomcrypt-1.03 + app-crypt/nistp224" + +src_compile() { + echo "/usr/include/bglibs/" > conf-bgincs + echo "/usr/lib/bglibs/" > conf-bglibs + echo "${D}usr/bin" > conf-bin + echo "${D}usr/share/man" > conf-man + echo "/etc/srlog2" > conf-etc + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) -s" > conf-ld + make || die +} + +src_install() { + emake install || die +} + diff --git a/app-crypt/nistp224/ChangeLog b/app-crypt/nistp224/ChangeLog new file mode 100644 index 0000000..d43e041 --- /dev/null +++ b/app-crypt/nistp224/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for app-crypt/nistp224 +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 10 Jun 2007; Thilo Bangert <bangert@gentoo.org> ChangeLog: + initial release: a fast elleptic curve cryto tool. + diff --git a/app-crypt/nistp224/Manifest b/app-crypt/nistp224/Manifest new file mode 100644 index 0000000..630aeae --- /dev/null +++ b/app-crypt/nistp224/Manifest @@ -0,0 +1,20 @@ +AUX nistp224-gcc4.patch 416 RMD160 e49c2993b8885f39eca8c49ceb30c5853d0228f5 SHA1 cfb91ea0e00928674654bdcff8a32114ad1571b7 SHA256 0733dc317dc53fb3de37a7e7b0c303f0c738a62486ffef262d18aca9e5395ac0 +MD5 16b254cb537990514a98a4f6db1fb994 files/nistp224-gcc4.patch 416 +RMD160 e49c2993b8885f39eca8c49ceb30c5853d0228f5 files/nistp224-gcc4.patch 416 +SHA256 0733dc317dc53fb3de37a7e7b0c303f0c738a62486ffef262d18aca9e5395ac0 files/nistp224-gcc4.patch 416 +DIST nistp224-0.75.tar.gz 204747 RMD160 0394055d583a922702c1be0c4f8c417a3e9f4f3d SHA1 3fa1b8971a7e6b89c00ed7e09f89eaf1736343b2 SHA256 4e033b1bd0bb906229ed8c42cf87aa03cdc54ad40593ca262c7178fe3425351d +EBUILD nistp224-0.75.ebuild 725 RMD160 9cf5bcf8a56b34399a57e5ee6233bbbb9694374e SHA1 83a2954b97850039845c98df46e3bd288ac23944 SHA256 e15e3186439c3122b209cc66e3ce564fb2f2396cf86d3a4446bb00e07e2203ed +MD5 626252e7a2fc89469e426131732a3579 nistp224-0.75.ebuild 725 +RMD160 9cf5bcf8a56b34399a57e5ee6233bbbb9694374e nistp224-0.75.ebuild 725 +SHA256 e15e3186439c3122b209cc66e3ce564fb2f2396cf86d3a4446bb00e07e2203ed nistp224-0.75.ebuild 725 +MISC ChangeLog 234 RMD160 f5ac41f457d962afd9570aa2488a345340efd2e1 SHA1 d06c707fe48ec313226fce1eb42c87672914f11a SHA256 56e8f530a729c7ff748ce9c1e9595de9509119ccd77dde9d639d7f2bfe875f71 +MD5 82d73caa9d6321cca9aa95a858e9bc17 ChangeLog 234 +RMD160 f5ac41f457d962afd9570aa2488a345340efd2e1 ChangeLog 234 +SHA256 56e8f530a729c7ff748ce9c1e9595de9509119ccd77dde9d639d7f2bfe875f71 ChangeLog 234 +MISC metadata.xml 585 RMD160 3060fe656027d10dbb9cda6df42d3789e462c328 SHA1 3cc542189e51e3cf03099129705409e77055364f SHA256 a24bc31bc34bc99ebb393b51d4823e1384055edf5d0f5e9cb78fb7d1cb15f543 +MD5 27b6b737b80e6016a399a74cc7835370 metadata.xml 585 +RMD160 3060fe656027d10dbb9cda6df42d3789e462c328 metadata.xml 585 +SHA256 a24bc31bc34bc99ebb393b51d4823e1384055edf5d0f5e9cb78fb7d1cb15f543 metadata.xml 585 +MD5 3f276c61391ebfe2a70376d00452e9c3 files/digest-nistp224-0.75 241 +RMD160 60bb1a414a352abf7bc21556e05a79ef961450ad files/digest-nistp224-0.75 241 +SHA256 52c8136a55cfd112a65a92280382a15ab8b00930de2c9d81523a27ea3962a8bb files/digest-nistp224-0.75 241 diff --git a/app-crypt/nistp224/files/digest-nistp224-0.75 b/app-crypt/nistp224/files/digest-nistp224-0.75 new file mode 100644 index 0000000..805affa --- /dev/null +++ b/app-crypt/nistp224/files/digest-nistp224-0.75 @@ -0,0 +1,3 @@ +MD5 064ddbdebb6c4fc7d8f0b5a572318ec2 nistp224-0.75.tar.gz 204747 +RMD160 0394055d583a922702c1be0c4f8c417a3e9f4f3d nistp224-0.75.tar.gz 204747 +SHA256 4e033b1bd0bb906229ed8c42cf87aa03cdc54ad40593ca262c7178fe3425351d nistp224-0.75.tar.gz 204747 diff --git a/app-crypt/nistp224/files/nistp224-gcc4.patch b/app-crypt/nistp224/files/nistp224-gcc4.patch new file mode 100644 index 0000000..f70b3f9 --- /dev/null +++ b/app-crypt/nistp224/files/nistp224-gcc4.patch @@ -0,0 +1,13 @@ +diff -ru math/nistp224-0.75/src/opt-idea64.c math.new/nistp224-0.75/src/opt-idea64.c +--- math.orig/nistp224-0.75/src/opt-idea64.c 2001-10-18 22:39:19.000000000 +0200 ++++ math/nistp224-0.75/src/opt-idea64.c 2007-06-10 13:07:07.000000000 +0200 +@@ -2,7 +2,8 @@ + + static void fpmode(void) + { +- asm volatile("fldcw %0"::"m"(0x137f)); ++ const short b = 0x137f; ++ asm volatile("fldcw %0"::"m"(b)); + } + + #define T0 1.0 diff --git a/app-crypt/nistp224/metadata.xml b/app-crypt/nistp224/metadata.xml new file mode 100644 index 0000000..c327e62 --- /dev/null +++ b/app-crypt/nistp224/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>bangert@gentoo.org</email> +</maintainer> +<longdescription lang="en"> +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. +</longdescription> +</pkgmetadata> diff --git a/app-crypt/nistp224/nistp224-0.75.ebuild b/app-crypt/nistp224/nistp224-0.75.ebuild new file mode 100644 index 0000000..5685288 --- /dev/null +++ b/app-crypt/nistp224/nistp224-0.75.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="share secret keys using the NIST P-224 elliptic curve" +HOMEPAGE="http://cr.yp.to/nistp224.html" +SRC_URI="http://cr.yp.to/nistp224/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +S="${WORKDIR}/math/${P}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-gcc4.patch" +} + +src_compile() { + cd "math/${P}" + echo "idea64" > src/conf-opt + ./package/compile +} + +src_install() { + dobin command/nistp224 + dobin command/nistp224-56 + + dolib.a library/nistp224.a + dosym nistp224.a /usr/lib/libnistp224.a + + insinto /usr/include + doins include/nistp224.h +} + |