diff options
author | Thomas Sachau <tommy@gentoo.org> | 2009-08-18 12:34:06 +0000 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2009-08-18 12:34:06 +0000 |
commit | 7fff851dbaaf4594865f293d4b77e6271d4112da (patch) | |
tree | d6879de04fb1f5d6151f9b38cd0fc02f87e3ab48 /net-libs/polarssl | |
parent | Removing old version (diff) | |
download | historical-7fff851dbaaf4594865f293d4b77e6271d4112da.tar.gz historical-7fff851dbaaf4594865f293d4b77e6271d4112da.tar.bz2 historical-7fff851dbaaf4594865f293d4b77e6271d4112da.zip |
Move net-libs/xyssl -> net-libs/polarssl
Package-Manager: portage-2.2_rc38-r2/cvs/Linux x86_64
Diffstat (limited to 'net-libs/polarssl')
-rw-r--r-- | net-libs/polarssl/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/polarssl/Manifest | 16 | ||||
-rw-r--r-- | net-libs/polarssl/metadata.xml | 12 | ||||
-rw-r--r-- | net-libs/polarssl/polarssl-0.12.0.ebuild | 58 |
4 files changed, 96 insertions, 0 deletions
diff --git a/net-libs/polarssl/ChangeLog b/net-libs/polarssl/ChangeLog new file mode 100644 index 000000000000..7ce342fb56d4 --- /dev/null +++ b/net-libs/polarssl/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-libs/polarssl +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/polarssl/ChangeLog,v 1.1 2009/08/18 12:34:06 tommy Exp $ + +*polarssl-0.12.0 (18 Aug 2009) + + 18 Aug 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> + +polarssl-0.12.0.ebuild, +metadata.xml: + Move net-libs/xyssl -> net-libs/polarssl + diff --git a/net-libs/polarssl/Manifest b/net-libs/polarssl/Manifest new file mode 100644 index 000000000000..188a8377dd76 --- /dev/null +++ b/net-libs/polarssl/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST polarssl-0.12.0-gpl.tgz 336761 RMD160 8b5335589ef76e81b2b3dfecda96e5f4bc1f3b48 SHA1 980c245310fbd6b2f1e0bb5f9eab20f6515c723b SHA256 71e69a9071a73f501fbc08743b7b0e2fb84cfae1f2ca5c368dc0c4e33cfafb08 +EBUILD polarssl-0.12.0.ebuild 1414 RMD160 6a5013206f029d48d1abdc5388c1e053f7a7562a SHA1 469f48fceb4f8ec8787a990f6f957a236923a771 SHA256 1724dcfd29e6d1f6cd1094594b9bb075fdbed56ce40d65a12e08cbe99dfce2fc +MISC ChangeLog 383 RMD160 19884c90662b169ef889bdc00b3a5ee8ccf6bfa1 SHA1 2fee78adb17256ca185a3777d27aac142883c072 SHA256 803c5daed56b60aaad0e1b0cadfece33331495d1fcfa782654c437d48cfcf239 +MISC metadata.xml 415 RMD160 95817166af90e00d701ca230525371cac893dc22 SHA1 3533728b17ddee286a3803d48208e13e926f6d69 SHA256 51ad0d646fd8a28ce72eded7e1eb3d3dead3a8460e219ccbb8bbe214bd49f3b5 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iJwEAQECAAYFAkqKn+wACgkQG7kqcTWJkGdmfQP+MTb7l7wJ2/buK2UAGy9mRHIc +2obfLazlvc6Qw2iNA2Dpie7ZL5CEiLMJ+DrrrwCtj+xqoGY0w6amWGufwTAbN3Js +HPoygpNGLiIgU4+fQAVwCTjewJMbAqTA5BUImz7Z/Eaca9B3cD74tylmXUsEeaqb +SCwVmSPZjOG+F/nBvm4= +=03mw +-----END PGP SIGNATURE----- diff --git a/net-libs/polarssl/metadata.xml b/net-libs/polarssl/metadata.xml new file mode 100644 index 000000000000..f2fa33cd12e9 --- /dev/null +++ b/net-libs/polarssl/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>tommy@gentoo.org</email> + </maintainer> + <longdescription lang="en"> + The aim of the PolarSSL 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/polarssl/polarssl-0.12.0.ebuild b/net-libs/polarssl/polarssl-0.12.0.ebuild new file mode 100644 index 000000000000..fa96aa5e4b3d --- /dev/null +++ b/net-libs/polarssl/polarssl-0.12.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/polarssl/polarssl-0.12.0.ebuild,v 1.1 2009/08/18 12:34:06 tommy Exp $ + +DESCRIPTION="Cryptographic library for embedded systems" +HOMEPAGE="http://polarssl.org/" +SRC_URI="http://polarssl.org/code/download/${P}-gpl.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="examples sse2" + +DEPEND="virtual/libc" +RDEPEND=${DEPEND} + +src_compile() { + cd "${S}/library" + if use sse2 ; then + sed -i '15iCFLAGS += -DHAVE_SSE2 -fPIC' Makefile + else + sed -i '15iCFLAGS += -fPIC' Makefile + fi + emake libpolarssl.a || die "emake failed" + emake libpolarssl.so || die "emake failed" + + if use examples ; then + cd "${S}"/programs + emake all || die "emake failed" + fi +} + +src_test() { + cd "${S}"/programs + emake test/selftest || die "emake selftest failed" + ./test/selftest || die "selftest failed" +} + +src_install() { + insinto /usr/include/polarssl + doins include/polarssl/*.h || die + dolib.so library/libpolarssl.so || die + dolib.a library/libpolarssl.a || die + + if use examples ; then + for p in programs/*/* ; do + if [ -x "${p}" ] ; then + f=polarssl_`basename "${p}"` + newbin "${p}" "${f}" || die + fi + done + for e in aes hash pkey ssl test ; do + docinto "${e}" + dodoc programs/"${e}"/*.c || die + dodoc programs/"${e}"/*.txt || die + done + fi +} |