diff options
author | Lars Weiler <pylon@gentoo.org> | 2007-07-13 18:31:09 +0000 |
---|---|---|
committer | Lars Weiler <pylon@gentoo.org> | 2007-07-13 18:31:09 +0000 |
commit | bda475123cbb93d110a20291ecf784fd08ca2f3b (patch) | |
tree | 0a831986c2f3fadb7cd71b3af56a841a5ba4ec4a /net-libs | |
parent | in the ChangeLog as fixed but never got saved before I committed. (diff) | |
download | gentoo-2-bda475123cbb93d110a20291ecf784fd08ca2f3b.tar.gz gentoo-2-bda475123cbb93d110a20291ecf784fd08ca2f3b.tar.bz2 gentoo-2-bda475123cbb93d110a20291ecf784fd08ca2f3b.zip |
Cryptographic library for embedded systems
(Portage version: 2.1.3_rc7)
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/xyssl/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/xyssl/Manifest | 16 | ||||
-rw-r--r-- | net-libs/xyssl/files/digest-xyssl-0.7 | 3 | ||||
-rw-r--r-- | net-libs/xyssl/metadata.xml | 14 | ||||
-rw-r--r-- | net-libs/xyssl/xyssl-0.7.ebuild | 58 |
5 files changed, 101 insertions, 0 deletions
diff --git a/net-libs/xyssl/ChangeLog b/net-libs/xyssl/ChangeLog new file mode 100644 index 000000000000..88eda8aaafe0 --- /dev/null +++ b/net-libs/xyssl/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-libs/xyssl +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/xyssl/ChangeLog,v 1.1 2007/07/13 18:31:09 pylon Exp $ + +*xyssl-0.7 (13 Jul 2007) + + 13 Jul 2007; Lars Weiler <pylon@gentoo.org> +metadata.xml, + +xyssl-0.7.ebuild: + Cryptographic library for embedded systems + diff --git a/net-libs/xyssl/Manifest b/net-libs/xyssl/Manifest new file mode 100644 index 000000000000..8cb452f4326d --- /dev/null +++ b/net-libs/xyssl/Manifest @@ -0,0 +1,16 @@ +DIST xyssl-0.7.tgz 175278 RMD160 7af3ee7cbd23cc6bab0e42f1b51533800643bee7 SHA1 04988471667547c099b990a0afa839f0588ba3c0 SHA256 ab5b2a1a0799719684f4ac67a955b39f4e766829db1867c0311177f9dd4a8f81 +EBUILD xyssl-0.7.ebuild 1172 RMD160 c0aab4e6e9314bf5272e8a4e88ee8bfa67b517c5 SHA1 59d12f8c5dc730f120fae6f2c8b7644b6d22a42c SHA256 cf266d8bd367c3728b0a307c45a4485d2a3215b5237604d4142af3b72f39e2df +MD5 2e7bbdabeb5855c739e249943721fb7a xyssl-0.7.ebuild 1172 +RMD160 c0aab4e6e9314bf5272e8a4e88ee8bfa67b517c5 xyssl-0.7.ebuild 1172 +SHA256 cf266d8bd367c3728b0a307c45a4485d2a3215b5237604d4142af3b72f39e2df xyssl-0.7.ebuild 1172 +MISC ChangeLog 269 RMD160 15e76a04542c65b8863e63d84a27359c17b0c00e SHA1 1a7489a6aa2c453f48210874b8cd5148f78d144c SHA256 6803068426aca9eba1b02ea73b548be686d64000285952efe8d0598674f2c008 +MD5 6f0108563533fb49fbc19d4115e3b01b ChangeLog 269 +RMD160 15e76a04542c65b8863e63d84a27359c17b0c00e ChangeLog 269 +SHA256 6803068426aca9eba1b02ea73b548be686d64000285952efe8d0598674f2c008 ChangeLog 269 +MISC metadata.xml 440 RMD160 c19c17c0fb1ac3f93f2f2ddce9faba1f270c1aea SHA1 6fc1acf51e0ce6b76e93c38d03c3d528253a880a SHA256 00e843c172e818f518c316d043c4d17e68742e86604fd79f0b23f72474dd0378 +MD5 b7c5416676a027482d4120c8ac2d9ff0 metadata.xml 440 +RMD160 c19c17c0fb1ac3f93f2f2ddce9faba1f270c1aea metadata.xml 440 +SHA256 00e843c172e818f518c316d043c4d17e68742e86604fd79f0b23f72474dd0378 metadata.xml 440 +MD5 a60ca89bf0ab273549d4c94d906bc723 files/digest-xyssl-0.7 220 +RMD160 b9adc5378e00004b443d5526d8abbe14c323b1b0 files/digest-xyssl-0.7 220 +SHA256 e9ff4847caf13c42e7bea794d38abcf1cf738872dda6989b6075dfec8ec24132 files/digest-xyssl-0.7 220 diff --git a/net-libs/xyssl/files/digest-xyssl-0.7 b/net-libs/xyssl/files/digest-xyssl-0.7 new file mode 100644 index 000000000000..c37f4fb1b5c4 --- /dev/null +++ b/net-libs/xyssl/files/digest-xyssl-0.7 @@ -0,0 +1,3 @@ +MD5 f6422c393a4ca72577331f373c6c4248 xyssl-0.7.tgz 175278 +RMD160 7af3ee7cbd23cc6bab0e42f1b51533800643bee7 xyssl-0.7.tgz 175278 +SHA256 ab5b2a1a0799719684f4ac67a955b39f4e766829db1867c0311177f9dd4a8f81 xyssl-0.7.tgz 175278 diff --git a/net-libs/xyssl/metadata.xml b/net-libs/xyssl/metadata.xml new file mode 100644 index 000000000000..af7c02a68775 --- /dev/null +++ b/net-libs/xyssl/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>pylon@gentoo.org</email> + <name>Lars Weiler</name> + </maintainer> + <longdescription lang="en"> + The aim of the XySSL project is to provide a quality, open-source + cryptographic library written in C and targeted at embedded systems. + </longdescription> +</pkgmetadata> + diff --git a/net-libs/xyssl/xyssl-0.7.ebuild b/net-libs/xyssl/xyssl-0.7.ebuild new file mode 100644 index 000000000000..c8511212f49c --- /dev/null +++ b/net-libs/xyssl/xyssl-0.7.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/xyssl/xyssl-0.7.ebuild,v 1.1 2007/07/13 18:31:09 pylon Exp $ + +DESCRIPTION="Cryptographic library for embedded systems" +HOMEPAGE="http://xyssl.org/" +SRC_URI="http://xyssl.org/code/download/${P}.tgz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~sparc ~x86" +IUSE="examples sse2" + +DEPEND="virtual/libc" + +src_compile() { + cd "${S}/library" + if use sse2 ; then + sed -i '15iCFLAGS += -DHAVE_SSE2 -fPIC' Makefile + else + sed -i '15iCFLAGS += -fPIC' Makefile + fi + emake libxyssl.a || die "emake failed" + emake libxyssl.so || die "emake failed" + + if use examples ; then + cd "${S}/programs" + emake all + fi +} + +src_test() { + cd "${S}/programs" + emake test/selftest + ./test/selftest || die "selftest failed" +} + +src_install() { + dodir /usr/include/xyssl + insinto /usr/include/xyssl + doins include/xyssl/*.h + dolib.so library/libxyssl.so + dolib.a library/libxyssl.a + + if use examples ; then + for p in programs/*/* ; do + if [ -x ${p} ] ; then + f=xyssl_`basename ${p}` + newbin ${p} ${f} + fi + done + for e in aes hash pkey ssl test ; do + docinto ${e} + dodoc programs/${e}/*.c + dodoc programs/${e}/*.txt + done + fi +} |