1 |
commit: 9e3c313bea279292343f0ca6445cc277d6eb9a6f |
2 |
Author: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 20 11:28:59 2015 +0000 |
4 |
Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 20 11:32:18 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3c313b |
7 |
|
8 |
dev-libs/libressl: initial import of version 2.2.3 |
9 |
|
10 |
Gentoo-Bug: 508750 |
11 |
|
12 |
dev-libs/libressl/Manifest | 1 + |
13 |
dev-libs/libressl/libressl-2.2.3.ebuild | 48 +++++++++++++++++++++++++++++++++ |
14 |
dev-libs/libressl/metadata.xml | 23 ++++++++++++++++ |
15 |
3 files changed, 72 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..c94beec |
20 |
--- /dev/null |
21 |
+++ b/dev-libs/libressl/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST libressl-2.2.3.tar.gz 2967547 SHA256 a1ccc21adf91d60e99246031b99c930c9af5e1b1b5a61b1bec87beef6f16d882 SHA512 79f0cd57d2f1202e7d1213a9f9e0665bce11d1c1e5a4ba48c98b81f94e09a8c72733a5dfb0a5626b91db146641cfbec79acb9a5cbb437a60924b7f028d224500 WHIRLPOOL 1e8a49f7c491af558052257c0456b5c4d965abcfc8c7c274f7c42670f4f06a46d3e0360359fd19ecbbaf2fa461b80457e692eb2cb7b1a4bd92d0ad9a68e6663a |
24 |
|
25 |
diff --git a/dev-libs/libressl/libressl-2.2.3.ebuild b/dev-libs/libressl/libressl-2.2.3.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..e3b97b5 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/libressl/libressl-2.2.3.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+inherit eutils multilib-minimal |
38 |
+ |
39 |
+DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL" |
40 |
+HOMEPAGE="http://www.libressl.org/" |
41 |
+SRC_URI="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="ISC openssl" |
44 |
+SLOT="0/35" # reflects ABI of libcrypto.so and libssl.so |
45 |
+KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86" |
46 |
+IUSE="+asm static-libs" |
47 |
+ |
48 |
+RDEPEND="!dev-libs/openssl:0" |
49 |
+DEPEND="${RDEPEND}" |
50 |
+PDEPEND="app-misc/ca-certificates" |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ touch crypto/Makefile.in |
54 |
+ |
55 |
+ sed -i \ |
56 |
+ -e '/^[ \t]*CFLAGS=/s#-g ##' \ |
57 |
+ -e '/^[ \t]*CFLAGS=/s#-g"#"#' \ |
58 |
+ -e '/^[ \t]*CFLAGS=/s#-O2 ##' \ |
59 |
+ -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \ |
60 |
+ -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \ |
61 |
+ -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \ |
62 |
+ configure || die "fixing CFLAGS failed" |
63 |
+} |
64 |
+ |
65 |
+multilib_src_configure() { |
66 |
+ ECONF_SOURCE="${S}" econf \ |
67 |
+ $(use_enable asm) \ |
68 |
+ $(use_enable static-libs static) |
69 |
+} |
70 |
+ |
71 |
+multilib_src_test() { |
72 |
+ emake check |
73 |
+} |
74 |
+ |
75 |
+multilib_src_install_all() { |
76 |
+ einstalldocs |
77 |
+ prune_libtool_files |
78 |
+} |
79 |
|
80 |
diff --git a/dev-libs/libressl/metadata.xml b/dev-libs/libressl/metadata.xml |
81 |
new file mode 100644 |
82 |
index 0000000..4c35a8a |
83 |
--- /dev/null |
84 |
+++ b/dev-libs/libressl/metadata.xml |
85 |
@@ -0,0 +1,23 @@ |
86 |
+<?xml version="1.0" encoding="UTF-8"?> |
87 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
88 |
+<pkgmetadata> |
89 |
+ <maintainer> |
90 |
+ <email>hasufell@g.o</email> |
91 |
+ <name>Julian Ospald</name> |
92 |
+ </maintainer> |
93 |
+ <natural-name>LibreSSL</natural-name> |
94 |
+ <longdescription lang="en"> |
95 |
+ LibreSSL is a version of the TLS/crypto stack forked from OpenSSL in |
96 |
+ 2014, with goals of modernizing the codebase, improving security, and |
97 |
+ applying best practice development processes. |
98 |
+ </longdescription> |
99 |
+ <use> |
100 |
+ <flag name="asm">Enables assembly</flag> |
101 |
+ </use> |
102 |
+ <upstream> |
103 |
+ <changelog>http://www.libressl.org/releases.html</changelog> |
104 |
+ <bugs-to>mailto:libressl@×××××××.org</bugs-to> |
105 |
+ <bugs-to>https://github.com/libressl-portable/portable/issues</bugs-to> |
106 |
+ <remote-id type="github">libressl-portable/portable</remote-id> |
107 |
+ </upstream> |
108 |
+</pkgmetadata> |