diff options
author | Lars Weiler <pylon@gentoo.org> | 2008-03-29 23:35:06 +0000 |
---|---|---|
committer | Lars Weiler <pylon@gentoo.org> | 2008-03-29 23:35:06 +0000 |
commit | f87c9b72d3631fb854be5b332b4cf9051c1839a3 (patch) | |
tree | abdde10f577a104fc7a5c7ba70e4832c39ff6f06 /net-libs | |
parent | New ebuild for bug #142175 (diff) | |
download | historical-f87c9b72d3631fb854be5b332b4cf9051c1839a3.tar.gz historical-f87c9b72d3631fb854be5b332b4cf9051c1839a3.tar.bz2 historical-f87c9b72d3631fb854be5b332b4cf9051c1839a3.zip |
Version bump; security bug #214206.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/xyssl/Manifest | 2 | ||||
-rw-r--r-- | net-libs/xyssl/xyssl-0.9.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/xyssl/Manifest b/net-libs/xyssl/Manifest index 8fbe0f516649..f626b02b28ca 100644 --- a/net-libs/xyssl/Manifest +++ b/net-libs/xyssl/Manifest @@ -1,6 +1,8 @@ DIST xyssl-0.7.tgz 175278 RMD160 7af3ee7cbd23cc6bab0e42f1b51533800643bee7 SHA1 04988471667547c099b990a0afa839f0588ba3c0 SHA256 ab5b2a1a0799719684f4ac67a955b39f4e766829db1867c0311177f9dd4a8f81 DIST xyssl-0.8.tgz 190953 RMD160 b4f26636b8f7eba8dbef84fa7a99d0885ac2aebc SHA1 f738f99e8fcfc5140983babffdd885841297819e SHA256 203435dbc70e6431202583dd44e96beac8e7dfa2a79b1825c84b8e8842255664 +DIST xyssl-0.9-gpl.tgz 203259 RMD160 81411f71b5caa5939e38297a42f5d577825d978d SHA1 0ececa2084c9cc45afc37d18ba50f90869a3f098 SHA256 a6f911de42d5807ccd36e11ce3d253e6b9c77e216829ca79dd5cc77b0a767cd5 EBUILD xyssl-0.7.ebuild 1264 RMD160 b8706d4c6052a7d5b96771f5d73d3948d17b04e6 SHA1 56c1b7e65396bd9bc6fbbe1058f7a53c2e825af9 SHA256 06c02be1d34fea21c53331193f3a26c7de4038b8a1520990c5206a45f4f589f6 EBUILD xyssl-0.8.ebuild 1283 RMD160 93e3500fc223429d8ac81078383946f92f5c4f62 SHA1 1e8bd855e5d896b999c83e1be5faf2b7a20fc57d SHA256 ba78836ab41d8bdad9be7376265cf78967e40b004373f215c9a8d7eb8b1b5935 +EBUILD xyssl-0.9.ebuild 1284 RMD160 5f055930beefa49b7d89b3d1d71f93b298a683d7 SHA1 cdee6a2a995acf218192116b47ebb10bbd0e9eac SHA256 46dfa619b3b2532ef29e954667ffbafa438a7ca92a10b4e51c5e5828866c2ab8 MISC ChangeLog 610 RMD160 e0e87562bba4bfa22c3abc355ed4dc7e0606f609 SHA1 2a27aee3737bfce90aa05e24dd304ce1d2da94d8 SHA256 feca7d4c767b557059a7631ae0846b7a05400b70936c3ebd7714e78afe2e3005 MISC metadata.xml 440 RMD160 c19c17c0fb1ac3f93f2f2ddce9faba1f270c1aea SHA1 6fc1acf51e0ce6b76e93c38d03c3d528253a880a SHA256 00e843c172e818f518c316d043c4d17e68742e86604fd79f0b23f72474dd0378 diff --git a/net-libs/xyssl/xyssl-0.9.ebuild b/net-libs/xyssl/xyssl-0.9.ebuild new file mode 100644 index 000000000000..a87c21044201 --- /dev/null +++ b/net-libs/xyssl/xyssl-0.9.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.9.ebuild,v 1.1 2008/03/29 23:35:06 pylon Exp $ + +DESCRIPTION="Cryptographic library for embedded systems" +HOMEPAGE="http://xyssl.org/" +SRC_URI="http://xyssl.org/code/download/${P}-gpl.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~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 +} |