1 |
commit: e23e05c4049f1bc4f8101d1df6d1da3f48b047d3 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 27 05:12:36 2016 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 27 05:12:36 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e23e05c4 |
7 |
|
8 |
net-analyzer/ssldump: Fix HOMEPAGE/SRC_URI (bug #589784 by Jonas Stein), remove autotools-utils. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
RepoMan-Options: --force |
12 |
|
13 |
net-analyzer/ssldump/ssldump-0.9-r2.ebuild | 65 -------------------------- |
14 |
net-analyzer/ssldump/ssldump-0.9_beta3.ebuild | 67 +++++++++++++++++++++++++++ |
15 |
2 files changed, 67 insertions(+), 65 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/ssldump/ssldump-0.9-r2.ebuild b/net-analyzer/ssldump/ssldump-0.9-r2.ebuild |
18 |
deleted file mode 100644 |
19 |
index fb82381..0000000 |
20 |
--- a/net-analyzer/ssldump/ssldump-0.9-r2.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,65 +0,0 @@ |
23 |
-# Copyright 1999-2014 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Id$ |
26 |
- |
27 |
-EAPI=5 |
28 |
- |
29 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
30 |
-AUTOTOOLS_AUTORECONF=1 |
31 |
-inherit autotools-utils eutils toolchain-funcs |
32 |
- |
33 |
-MY_P="${PN}-0.9b3" |
34 |
- |
35 |
-DESCRIPTION="An SSLv3/TLS network protocol analyzer" |
36 |
-HOMEPAGE="http://www.rtfm.com/ssldump/" |
37 |
-SRC_URI="${HOMEPAGE}${MY_P}.tar.gz" |
38 |
- |
39 |
-LICENSE="openssl" |
40 |
-SLOT="0" |
41 |
-KEYWORDS="amd64 ~arm ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
42 |
-IUSE="ssl" |
43 |
- |
44 |
-RDEPEND="net-libs/libpcap |
45 |
- ssl? ( >=dev-libs/openssl-1 )" |
46 |
-DEPEND="${RDEPEND}" |
47 |
- |
48 |
-S="${WORKDIR}/${MY_P}" |
49 |
- |
50 |
-src_prepare() { |
51 |
- epatch \ |
52 |
- "${FILESDIR}"/${P}-libpcap-header.patch \ |
53 |
- "${FILESDIR}"/${P}-configure-dylib.patch \ |
54 |
- "${FILESDIR}"/${P}-openssl-0.9.8.compile-fix.patch \ |
55 |
- "${FILESDIR}"/${P}-DLT_LINUX_SLL.patch \ |
56 |
- "${FILESDIR}"/${P}-prefix-fix.patch \ |
57 |
- "${FILESDIR}"/${P}-declaration.patch \ |
58 |
- "${FILESDIR}"/${P}-includes.patch |
59 |
- |
60 |
- autotools-utils_src_prepare |
61 |
-} |
62 |
- |
63 |
-src_configure() { |
64 |
- local myeconfargs=( |
65 |
- --with-pcap-inc="${EPREFIX}/usr/include" |
66 |
- --with-pcap-lib="${EPREFIX}/usr/$(get_libdir)" |
67 |
- ) |
68 |
- |
69 |
- if use ssl; then |
70 |
- myeconfargs+=( |
71 |
- --with-openssl-inc="${EPREFIX}/usr/include" |
72 |
- --with-openssl-lib="${EPREFIX}/usr/$(get_libdir)" |
73 |
- ) |
74 |
- else |
75 |
- myeconfargs+=( "--without-openssl" ) |
76 |
- fi |
77 |
- |
78 |
- tc-export CC |
79 |
- |
80 |
- autotools-utils_src_configure |
81 |
-} |
82 |
- |
83 |
-src_install() { |
84 |
- dosbin ssldump |
85 |
- doman ssldump.1 |
86 |
- dodoc ChangeLog CREDITS README |
87 |
-} |
88 |
|
89 |
diff --git a/net-analyzer/ssldump/ssldump-0.9_beta3.ebuild b/net-analyzer/ssldump/ssldump-0.9_beta3.ebuild |
90 |
new file mode 100644 |
91 |
index 0000000..c662c04 |
92 |
--- /dev/null |
93 |
+++ b/net-analyzer/ssldump/ssldump-0.9_beta3.ebuild |
94 |
@@ -0,0 +1,67 @@ |
95 |
+# Copyright 1999-2016 Gentoo Foundation |
96 |
+# Distributed under the terms of the GNU General Public License v2 |
97 |
+# $Id$ |
98 |
+ |
99 |
+EAPI=6 |
100 |
+ |
101 |
+AUTOTOOLS_IN_SOURCE_BUILD=1 |
102 |
+AUTOTOOLS_AUTORECONF=1 |
103 |
+inherit autotools eutils toolchain-funcs |
104 |
+ |
105 |
+MY_PV=${PV/_beta/b} |
106 |
+MY_P=${PN}-${MY_PV} |
107 |
+ |
108 |
+DESCRIPTION="An SSLv3/TLS network protocol analyzer" |
109 |
+HOMEPAGE="http://ssldump.sourceforge.net/" |
110 |
+SRC_URI=" |
111 |
+ http://downloads.sourceforge.net/project/${PN}/${PN}/${MY_PV}/${MY_P}.tar.gz |
112 |
+" |
113 |
+ |
114 |
+LICENSE="openssl" |
115 |
+SLOT="0" |
116 |
+KEYWORDS="amd64 ~arm ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
117 |
+IUSE="ssl" |
118 |
+ |
119 |
+RDEPEND=" |
120 |
+ net-libs/libpcap |
121 |
+ ssl? ( >=dev-libs/openssl-1 ) |
122 |
+" |
123 |
+DEPEND=" |
124 |
+ ${RDEPEND} |
125 |
+" |
126 |
+ |
127 |
+S=${WORKDIR}/${MY_P} |
128 |
+ |
129 |
+PATCHES=( |
130 |
+ "${FILESDIR}"/${PN}-0.9-libpcap-header.patch |
131 |
+ "${FILESDIR}"/${PN}-0.9-configure-dylib.patch |
132 |
+ "${FILESDIR}"/${PN}-0.9-openssl-0.9.8.compile-fix.patch |
133 |
+ "${FILESDIR}"/${PN}-0.9-DLT_LINUX_SLL.patch |
134 |
+ "${FILESDIR}"/${PN}-0.9-prefix-fix.patch |
135 |
+ "${FILESDIR}"/${PN}-0.9-declaration.patch |
136 |
+ "${FILESDIR}"/${PN}-0.9-includes.patch |
137 |
+) |
138 |
+ |
139 |
+src_prepare() { |
140 |
+ default |
141 |
+ |
142 |
+ eapply_user |
143 |
+ |
144 |
+ eautoreconf |
145 |
+} |
146 |
+ |
147 |
+src_configure() { |
148 |
+ tc-export CC |
149 |
+ |
150 |
+ econf \ |
151 |
+ --with-pcap-inc="${EPREFIX}/usr/include" \ |
152 |
+ --with-pcap-lib="${EPREFIX}/usr/$(get_libdir)" \ |
153 |
+ $(usex ssl --with-openssl-inc="${EPREFIX}/usr/include" '--without-openssl') \ |
154 |
+ $(usex ssl --with-openssl-lib="${EPREFIX}/usr/$(get_libdir)" '--without-openssl') |
155 |
+} |
156 |
+ |
157 |
+src_install() { |
158 |
+ dosbin ssldump |
159 |
+ doman ssldump.1 |
160 |
+ dodoc ChangeLog CREDITS README |
161 |
+} |