summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-09-03 11:13:44 +0200
committerJeroen Roovers <jer@gentoo.org>2020-09-03 11:50:37 +0200
commit9004fe1f0c6dad9b0101a46a278483c268b3a548 (patch)
tree6ff80e61e7027415101c348a65ce2242f49fe67f /net-analyzer/ssldump
parentmedia-gfx/valentina: added missing dep + updates src uri (diff)
downloadgentoo-9004fe1f0c6dad9b0101a46a278483c268b3a548.tar.gz
gentoo-9004fe1f0c6dad9b0101a46a278483c268b3a548.tar.bz2
gentoo-9004fe1f0c6dad9b0101a46a278483c268b3a548.zip
net-analyzer/ssldump: Version 1.1
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/ssldump')
-rw-r--r--net-analyzer/ssldump/Manifest1
-rw-r--r--net-analyzer/ssldump/ssldump-1.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/net-analyzer/ssldump/Manifest b/net-analyzer/ssldump/Manifest
index 850d7518accc..213e835b43be 100644
--- a/net-analyzer/ssldump/Manifest
+++ b/net-analyzer/ssldump/Manifest
@@ -1 +1,2 @@
DIST ssldump-0.9b3.tar.gz 137435 BLAKE2B e42eeac4daa99a62537ac7ee5152428664fed40256ec10f7c61621f9bbd06476d280af1a6c517eaff253058e3720a282e88604b2f1de0c7ad1b5328597879449 SHA512 ea81558a243950ab43354c9f33c0a4feae0ae859bc2bd6e6b58838a01f4a1e7a6447f2a9ab1fa40bbe8dbd6c3630c489c17fc9c066cacfddfb64269b0cd5090a
+DIST ssldump-1.1.tar.gz 187436 BLAKE2B 3cafd7263762a7a326fb30722a918bcfaae5b43eedca37a0b5c341efc510e935671dc7ebf71eb807fcacbfce5f77896f310b634028713deb5516390fcfc21f65 SHA512 00ff449d3818a27fbcb46316733428f6a623488e758a67fcb7ee4390835e3279e7242aa0134ddc158740cb8323f5fd9869bd50efb35189dce977d4768d9636c2
diff --git a/net-analyzer/ssldump/ssldump-1.1.ebuild b/net-analyzer/ssldump/ssldump-1.1.ebuild
new file mode 100644
index 000000000000..6263f65aa674
--- /dev/null
+++ b/net-analyzer/ssldump/ssldump-1.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit multilib toolchain-funcs
+
+DESCRIPTION="An SSLv3/TLS network protocol analyzer"
+HOMEPAGE="https://github.com/adulau/ssldump/"
+SRC_URI="
+ https://github.com/adulau/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="openssl"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="ssl"
+
+RDEPEND="
+ net-libs/libpcap
+ ssl? ( >=dev-libs/openssl-1:0= )
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+src_configure() {
+ tc-export CC
+
+ econf \
+ $(usex ssl --with-openssl-inc="${EPREFIX}/usr/include" '') \
+ $(usex ssl --with-openssl-lib="${EPREFIX}/usr/$(get_libdir)" '') \
+ $(usex ssl --with-openssl="${EPREFIX}/usr") \
+ --with-pcap-inc="${EPREFIX}/usr/include" \
+ --with-pcap-lib="${EPREFIX}/usr/$(get_libdir)"
+}
+
+src_install() {
+ dosbin ssldump
+ doman ssldump.1
+ dodoc ChangeLog CREDITS README
+}