[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2023-02-13 Thread Mike Gilbert
commit: b5c0a97f34f56bdb859a1b2867ec27bd4d72ef81
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Feb 13 20:07:44 2023 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Feb 14 00:29:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5c0a97f

net-analyzer/sslsplit: adjust libevent dependency

Bug: https://bugs.gentoo.org/869722
Signed-off-by: Mike Gilbert  gentoo.org>

 .../sslsplit/{sslsplit-0.5.5.ebuild => sslsplit-0.5.5-r1.ebuild}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.5-r1.ebuild
similarity index 97%
rename from net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
rename to net-analyzer/sslsplit/sslsplit-0.5.5-r1.ebuild
index 98c7f776ee00..bd815603e0c1 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.5-r1.ebuild
@@ -26,7 +26,7 @@ else
 fi
 
 RDEPEND="
-   dev-libs/libevent:=[ssl,threads]
+   dev-libs/libevent:=[ssl,threads(+)]
dev-libs/openssl:0=
net-libs/libnet:1.1
net-libs/libpcap



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2023-01-29 Thread Sam James
commit: 222361d448b91947a2064817f4b50b93cc36752e
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 30 03:27:38 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 30 03:27:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=222361d4

net-analyzer/sslsplit: Keyword 0.5.5 arm64, #892545

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/sslsplit/sslsplit-0.5.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
index 9295120f10b3..98c7f776ee00 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ if [[ ${PV} == * ]] ; then
EGIT_BRANCH="develop"
 else
SRC_URI="https://github.com/droe/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/, net-analyzer/sslsplit/files/

2022-10-07 Thread Sam James
commit: 7bb7ed201f33e94137d7e032f4627158141411a4
Author: Petr Vaněk  atlas  cz>
AuthorDate: Tue Oct  4 15:24:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  7 11:28:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb7ed20

net-analyzer/sslsplit: use pkgconfig to detect libnet

SSLsplit uses custom localization of libnet library which does not work
correctly in multilib environment. This commit fixes the issue by
restoring pkgconfig detection from upstream commit 46a55de8040a
("Refactor location of packages, improve libnet detection"). Similar
patch is also needed for tests, where libcrypto is also searched with
pkgconfig.

Closes: https://bugs.gentoo.org/731190
Closes: https://bugs.gentoo.org/874075
Signed-off-by: Petr Vaněk  atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/27631
Signed-off-by: Sam James  gentoo.org>

 .../files/sslsplit-0.5.5-libcrypto-pkgconfig.patch | 23 +
 .../files/sslsplit-0.5.5-libnet-pkgconfig.patch| 40 ++
 net-analyzer/sslsplit/sslsplit-0.5.5.ebuild|  6 +++-
 3 files changed, 68 insertions(+), 1 deletion(-)

diff --git 
a/net-analyzer/sslsplit/files/sslsplit-0.5.5-libcrypto-pkgconfig.patch 
b/net-analyzer/sslsplit/files/sslsplit-0.5.5-libcrypto-pkgconfig.patch
new file mode 100644
index ..dd6ae812efb6
--- /dev/null
+++ b/net-analyzer/sslsplit/files/sslsplit-0.5.5-libcrypto-pkgconfig.patch
@@ -0,0 +1,23 @@
+Use pkgconfig for localization of libcrypto. This is needed for tests in
+multilib systems.
+
+diff --git a/extra/engine/GNUmakefile b/extra/engine/GNUmakefile
+index b50717b..3712ad6 100644
+--- a/extra/engine/GNUmakefile
 b/extra/engine/GNUmakefile
+@@ -16,9 +16,9 @@ else
+ SUFFIX:=  so
+ endif
+ 
+-CFLAGS+=  -fPIC -I$(OPENSSL_BASE)/include
+-LDFLAGS+= -L$(OPENSSL_BASE)/lib
+-LIBS+=-lcrypto
++CFLAGS+=  -fPIC $(shell pkg-config --cflags libcrypto)
++LDFLAGS+= $(shell pkg-config --libs-only-L libcrypto)
++LIBS+=$(shell pkg-config --libs-only-l libcrypto)
+ 
+ TARGET=   dummy-engine
+ 
+-- 
+2.35.1
+

diff --git a/net-analyzer/sslsplit/files/sslsplit-0.5.5-libnet-pkgconfig.patch 
b/net-analyzer/sslsplit/files/sslsplit-0.5.5-libnet-pkgconfig.patch
new file mode 100644
index ..5eebf8d4deaf
--- /dev/null
+++ b/net-analyzer/sslsplit/files/sslsplit-0.5.5-libnet-pkgconfig.patch
@@ -0,0 +1,40 @@
+Subject: [PATCH] locate libnet with pkgconfig
+
+This is partially reverted from upstream commit 46a55de8040a ("Refactor
+location of packages, improve libnet detection")
+
+diff --git a/GNUmakefile b/GNUmakefile
+index cc7197e..2343272 100644
+--- a/GNUmakefile
 b/GNUmakefile
+@@ -277,6 +277,10 @@ PKGS+=$(shell $(PKGCONFIG) $(PCFLAGS) 
--exists libevent_openssl \
+ PKGS+=$(shell $(PKGCONFIG) $(PCFLAGS) --exists 
libevent_pthreads \
+   && echo libevent_pthreads)
+ endif
++ifndef LIBNET_BASE
++PKGS+= $(shell $(PKGCONFIG) $(PCFLAGS) --exists libnet \
++  && echo libnet)
++endif
+ ifneq ($(filter -DWITHOUT_MIRROR,$(FEATURES)),-DWITHOUT_MIRROR)
+ ifndef LIBPCAP_BASE
+ PKGS+=$(shell $(PKGCONFIG) $(PCFLAGS) --exists libpcap \
+@@ -333,7 +337,7 @@ CHECK_MISSING:=1
+ endif
+ endif
+ 
+-# Always search filesystem for libnet because libnet-config is unreliable
++ifeq (,$(filter libnet,$(PKGS)))
+ ifneq ($(filter -DWITHOUT_MIRROR,$(FEATURES)),-DWITHOUT_MIRROR)
+ LIBNET_FOUND:=$(call 
locate,libnet,include/libnet-1.1/libnet.h,$(LIBNET_BASE))
+ ifdef LIBNET_FOUND
+@@ -347,6 +351,7 @@ $(error dependency 'libnet' not found; \
+   install it or point LIBNET_BASE to base path)
+ endif
+ endif
++endif
+ 
+ ifdef OPENSSL_FOUND
+ PKG_CPPFLAGS+=-I$(OPENSSL_FOUND)/include
+-- 
+2.35.1
+

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
index c3100f34cf6c..9295120f10b3 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
@@ -35,7 +35,11 @@ DEPEND="${RDEPEND}
test? ( dev-libs/check )"
 BDEPEND="virtual/pkgconfig"
 
-PATCHES=( "${FILESDIR}/${P}-openssl3.patch" )
+PATCHES=(
+   "${FILESDIR}/${P}-openssl3.patch"
+   "${FILESDIR}/${P}-libnet-pkgconfig.patch"
+   "${FILESDIR}/${P}-libcrypto-pkgconfig.patch"
+)
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2022-10-07 Thread Sam James
commit: 21883e07f42779de7452128542c5fcbc81a1cbcb
Author: Petr Vaněk  atlas  cz>
AuthorDate: Tue Oct  4 15:17:23 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  7 11:28:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21883e07

net-analyzer/sslsplit: drop 

Signed-off-by: Petr Vaněk  atlas.cz>
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/sslsplit/sslsplit-.ebuild | 48 --
 1 file changed, 48 deletions(-)

diff --git a/net-analyzer/sslsplit/sslsplit-.ebuild 
b/net-analyzer/sslsplit/sslsplit-.ebuild
deleted file mode 100644
index 17ad8b68ff9c..
--- a/net-analyzer/sslsplit/sslsplit-.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic
-
-DESCRIPTION="Transparent SSL/TLS interception"
-HOMEPAGE="https://www.roe.ch/SSLsplit;
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-if [[ ${PV} == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/droe/${PN};
-   EGIT_BRANCH="develop"
-else
-   SRC_URI="https://github.com/droe/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-RDEPEND="
-   dev-libs/libevent:=[ssl,threads]
-   dev-libs/openssl:0=
-   net-libs/libnet:1.1
-   net-libs/libpcap
-   elibc_musl? ( sys-libs/fts-standalone )"
-DEPEND="${RDEPEND}
-   test? ( dev-libs/check )"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-   default
-
-   use elibc_musl && append-libs "-lfts"
-
-   sed -i -e 's/-D_FORTIFY_SOURCE=2 //g' \
-   -e 's/\/SSLSPLIT_FEATURES/g' GNUmakefile || die
-   sed -i '/opts_suite/d' main.t.c || die
-}
-
-src_install() {
-   emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" 
SYSCONFDIR="${EPREFIX}/etc" install
-   dodoc AUTHORS.md NEWS.md README.md
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2022-10-07 Thread Sam James
commit: f425c55c0a257ca542f645f8e88ac98fec723b30
Author: Petr Vaněk  atlas  cz>
AuthorDate: Tue Oct  4 15:20:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  7 11:28:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f425c55c

net-analyzer/sslsplit: update HOMEPAGE

Signed-off-by: Petr Vaněk  atlas.cz>
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/sslsplit/sslsplit-0.5.5.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
index f156e951d876..c3100f34cf6c 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit flag-o-matic
 
 DESCRIPTION="Transparent SSL/TLS interception"
-HOMEPAGE="https://www.roe.ch/SSLsplit;
+HOMEPAGE="
+   https://www.roe.ch/SSLsplit
+   https://github.com/droe/sslsplit
+"
 
 LICENSE="BSD-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/files/, net-analyzer/sslsplit/

2022-10-07 Thread Sam James
commit: fd9ce803d199918ed9af825cb769320ce06ee1f4
Author: Petr Vaněk  atlas  cz>
AuthorDate: Tue Oct  4 15:15:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  7 11:28:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd9ce803

net-analyzer/sslsplit: drop 0.5.4

Signed-off-by: Petr Vaněk  atlas.cz>
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/sslsplit/Manifest |  1 -
 .../sslsplit/files/sslsplit-0.5.4-install.patch| 26 ---
 net-analyzer/sslsplit/sslsplit-0.5.4.ebuild| 52 --
 3 files changed, 79 deletions(-)

diff --git a/net-analyzer/sslsplit/Manifest b/net-analyzer/sslsplit/Manifest
index c06f6601455f..99d65e3f8129 100644
--- a/net-analyzer/sslsplit/Manifest
+++ b/net-analyzer/sslsplit/Manifest
@@ -1,2 +1 @@
-DIST sslsplit-0.5.4.tar.gz 1750390 BLAKE2B 
4ab9014c91938397c469bdc49dd307c47375047f018a5caaf8b32eb84596d2fbe623702349dc85776071363b2167c6ee8918604c6bf2843d357ffe64df36bb1b
 SHA512 
5220cbf26a2d5201c4b36207ec52b290f95002c6d5a4d828868d163cff528095add8b333ecb844b86b4e83f62934aa840f80d3838d00997acd50b6e30cee7aed
 DIST sslsplit-0.5.5.tar.gz 1846850 BLAKE2B 
b223491c480070dd9718804f0ceb8fec9fe519cf0d189fd9bf9cc4dce5ae00d93227dca42349b42d2b82c62d0d92c451442670f6eae2f8d2beedef437907299b
 SHA512 
f236f1ccce8bdb4a09659551defd73b73fbf660ceedace6ffbbb687c1de4488f74a23274b53a67e7001dfcdbd0ede7270ba8261feab633a25ae9f57cce468f39

diff --git a/net-analyzer/sslsplit/files/sslsplit-0.5.4-install.patch 
b/net-analyzer/sslsplit/files/sslsplit-0.5.4-install.patch
deleted file mode 100644
index 65959f3e1090..
--- a/net-analyzer/sslsplit/files/sslsplit-0.5.4-install.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/GNUmakefile b/GNUmakefile
-index ebdcf0a..02cb4b7 100644
 a/GNUmakefile
-+++ b/GNUmakefile
-@@ -519,21 +519,12 @@ $(TARGET).conf.5: $(TARGET).conf.5.in $(MKFS) FORCE
- 
- install: $(TARGET) $(TARGET).conf $(TARGET).1 $(TARGET).conf.5
-   test -d $(DESTDIR)$(PREFIX)/bin || $(MKDIR) -p $(DESTDIR)$(PREFIX)/bin
--  test -d $(DESTDIR)$(PREFIX)/$(TARGET) || \
--  $(MKDIR) -p $(DESTDIR)$(PREFIX)/sslsplit
-   test -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man1 || \
-   $(MKDIR) -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
-   test -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man5 || \
-   $(MKDIR) -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man5
--  test -d $(DESTDIR)/var/log/$(TARGET) || \
--  $(MKDIR) -p $(DESTDIR)/var/log/$(TARGET)
--  test -d $(DESTDIR)/var/run/$(TARGET) || \
--  $(MKDIR) -p $(DESTDIR)/var/run/$(TARGET)
-   $(INSTALL) $(BINOWNERFLAGS) -m $(BINMODE) \
-   $(TARGET) $(DESTDIR)$(PREFIX)/bin/
--  $(INSTALL) $(CNFOWNERFLAGS) -m $(CNFMODE) \
--  $(TARGET).conf \
--  $(DESTDIR)$(PREFIX)/$(TARGET)/$(TARGET).conf.sample
-   $(INSTALL) $(MANOWNERFLAGS) -m $(MANMODE) \
-   $(TARGET).1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1/
-   $(INSTALL) $(MANOWNERFLAGS) -m $(MANMODE) \

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
deleted file mode 100644
index db089dcd713e..
--- a/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic
-
-DESCRIPTION="Transparent SSL/TLS interception"
-HOMEPAGE="https://www.roe.ch/SSLsplit;
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-if [[ ${PV} == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/droe/${PN};
-   EGIT_BRANCH="develop"
-else
-   SRC_URI="https://github.com/droe/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-RDEPEND="
-   dev-libs/libevent[ssl,threads]
-   dev-libs/openssl:0=
-   net-libs/libnet:1.1
-   net-libs/libpcap
-   elibc_musl? ( sys-libs/fts-standalone )"
-DEPEND="${RDEPEND}
-   test? ( dev-libs/check )"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${P}-install.patch"
-)
-
-src_prepare() {
-   default
-
-   use elibc_musl && append-libs "-lfts"
-
-   sed -i -e 's/-D_FORTIFY_SOURCE=2 //g' \
-   -e 's/\/SSLSPLIT_FEATURES/g' GNUmakefile || die
-   sed -i '/opts_suite/d' main.t.c || die
-}
-
-src_install() {
-   emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
-   dodoc AUTHORS.md NEWS.md README.md sslsplit.conf
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/files/, net-analyzer/sslsplit/

2022-05-27 Thread Joonas Niilola
commit: fc0df4819cf65619f4df3d4f8b76945c44c37abd
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon May 23 15:29:15 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri May 27 06:53:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc0df481

net-analyzer/sslsplit: fix openssl3 support

Upstream-issue: https://github.com/droe/sslsplit/issues/290
Closes: https://bugs.gentoo.org/805536
Signed-off-by: Petr Vaněk  atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/25611
Signed-off-by: Joonas Niilola  gentoo.org>

 .../sslsplit/files/sslsplit-0.5.5-openssl3.patch   | 31 ++
 net-analyzer/sslsplit/sslsplit-0.5.5.ebuild|  2 ++
 2 files changed, 33 insertions(+)

diff --git a/net-analyzer/sslsplit/files/sslsplit-0.5.5-openssl3.patch 
b/net-analyzer/sslsplit/files/sslsplit-0.5.5-openssl3.patch
new file mode 100644
index ..10807bee3899
--- /dev/null
+++ b/net-analyzer/sslsplit/files/sslsplit-0.5.5-openssl3.patch
@@ -0,0 +1,31 @@
+From: Soner Tari 
+Date: Fri, 4 Feb 2022 19:46:58 +0300
+Subject: [PATCH] Fix build errors with OpenSSL 3.0.x, but not deprecation
+ warnings, issue #290
+
+This patch fixes errors only, so that build succeeds, but deprecation
+warnings remain. It seems we need considerable changes to replace those
+deprecated functions in the warnings.
+---
+
+Upstream-commit: e17de8454a65 ("Fix build errors with OpenSSL 3.0.x, but not 
deprecation warnings, issue #290")
+Upstream-issue: https://github.com/droe/sslsplit/issues/290
+
+diff --git a/pxyconn.c b/pxyconn.c
+index e69de20..09a8b80 100644
+--- a/pxyconn.c
 b/pxyconn.c
+@@ -72,6 +72,10 @@ bufferevent_openssl_set_allow_dirty_shutdown(UNUSED struct 
bufferevent *bev,
+ }
+ #endif /* LIBEVENT_VERSION_NUMBER < 0x0201 */
+ 
++#if OPENSSL_VERSION_NUMBER >= 0x3000L
++#define ERR_GET_FUNC(x) 0
++#define ERR_func_error_string(x) ""
++#endif
+ 
+ /*
+  * Maximum size of data to buffer per connection direction before
+-- 
+2.35.1
+

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
index c6f530a49947..7d9691cbbcef 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
@@ -32,6 +32,8 @@ DEPEND="${RDEPEND}
test? ( dev-libs/check )"
 BDEPEND="virtual/pkgconfig"
 
+PATCHES=( "${FILESDIR}/${P}-openssl3.patch" )
+
 src_prepare() {
default
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2022-05-27 Thread Joonas Niilola
commit: 467d5f985d85bcbc99e06c53cfc16816d13daefd
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri May 27 06:48:11 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri May 27 06:53:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=467d5f98

net-analyzer/sslsplit: add subslot binder against libevent

Signed-off-by: Joonas Niilola  gentoo.org>

 net-analyzer/sslsplit/sslsplit-0.5.5.ebuild | 2 +-
 net-analyzer/sslsplit/sslsplit-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
index 7d9691cbbcef..f156e951d876 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
@@ -23,7 +23,7 @@ else
 fi
 
 RDEPEND="
-   dev-libs/libevent[ssl,threads]
+   dev-libs/libevent:=[ssl,threads]
dev-libs/openssl:0=
net-libs/libnet:1.1
net-libs/libpcap

diff --git a/net-analyzer/sslsplit/sslsplit-.ebuild 
b/net-analyzer/sslsplit/sslsplit-.ebuild
index c6f530a49947..17ad8b68ff9c 100644
--- a/net-analyzer/sslsplit/sslsplit-.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-.ebuild
@@ -23,7 +23,7 @@ else
 fi
 
 RDEPEND="
-   dev-libs/libevent[ssl,threads]
+   dev-libs/libevent:=[ssl,threads]
dev-libs/openssl:0=
net-libs/libnet:1.1
net-libs/libpcap



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2022-01-03 Thread David Seifert
commit: 667b40c22c8925d103c36b103c02618d93eae30d
Author: David Seifert  gentoo  org>
AuthorDate: Mon Jan  3 23:26:14 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Jan  3 23:26:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=667b40c2

net-analyzer/sslsplit: remove implicit elibc_* flags

Signed-off-by: David Seifert  gentoo.org>

 net-analyzer/sslsplit/sslsplit-0.5.4.ebuild | 4 ++--
 net-analyzer/sslsplit/sslsplit-0.5.5.ebuild | 4 ++--
 net-analyzer/sslsplit/sslsplit-.ebuild  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
index f75310908600..db089dcd713e 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.roe.ch/SSLsplit;
 
 LICENSE="BSD-2"
 SLOT="0"
-IUSE="elibc_musl test"
+IUSE="test"
 RESTRICT="!test? ( test )"
 
 if [[ ${PV} == * ]] ; then

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
index 355f76bc4381..c6f530a49947 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.roe.ch/SSLsplit;
 
 LICENSE="BSD-2"
 SLOT="0"
-IUSE="elibc_musl test"
+IUSE="test"
 RESTRICT="!test? ( test )"
 
 if [[ ${PV} == * ]] ; then

diff --git a/net-analyzer/sslsplit/sslsplit-.ebuild 
b/net-analyzer/sslsplit/sslsplit-.ebuild
index 355f76bc4381..c6f530a49947 100644
--- a/net-analyzer/sslsplit/sslsplit-.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.roe.ch/SSLsplit;
 
 LICENSE="BSD-2"
 SLOT="0"
-IUSE="elibc_musl test"
+IUSE="test"
 RESTRICT="!test? ( test )"
 
 if [[ ${PV} == * ]] ; then



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2020-06-15 Thread Joonas Niilola
commit: ab33e93d4c799954969a364ea7c8438de395c4dc
Author: Petr Vaněk  atlas  cz>
AuthorDate: Sun May 24 15:33:51 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jun 15 10:57:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab33e93d

net-analyzer/sslsplit: Add missing dependencies

Closes: https://bugs.gentoo.org/724938
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Petr Vaněk  atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/15954
Signed-off-by: Joonas Niilola  gentoo.org>

 net-analyzer/sslsplit/sslsplit-0.5.4.ebuild | 5 +++--
 net-analyzer/sslsplit/sslsplit-0.5.5.ebuild | 5 +++--
 net-analyzer/sslsplit/sslsplit-.ebuild  | 5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
index 7960cc011ed..f7531090860 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,10 +26,11 @@ RDEPEND="
dev-libs/libevent[ssl,threads]
dev-libs/openssl:0=
net-libs/libnet:1.1
+   net-libs/libpcap
elibc_musl? ( sys-libs/fts-standalone )"
 DEPEND="${RDEPEND}
test? ( dev-libs/check )"
-BDEPEND=""
+BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
"${FILESDIR}/${P}-install.patch"

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
index 2aa8a7e5860..355f76bc438 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,10 +26,11 @@ RDEPEND="
dev-libs/libevent[ssl,threads]
dev-libs/openssl:0=
net-libs/libnet:1.1
+   net-libs/libpcap
elibc_musl? ( sys-libs/fts-standalone )"
 DEPEND="${RDEPEND}
test? ( dev-libs/check )"
-BDEPEND=""
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
default

diff --git a/net-analyzer/sslsplit/sslsplit-.ebuild 
b/net-analyzer/sslsplit/sslsplit-.ebuild
index 2aa8a7e5860..355f76bc438 100644
--- a/net-analyzer/sslsplit/sslsplit-.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,10 +26,11 @@ RDEPEND="
dev-libs/libevent[ssl,threads]
dev-libs/openssl:0=
net-libs/libnet:1.1
+   net-libs/libpcap
elibc_musl? ( sys-libs/fts-standalone )"
 DEPEND="${RDEPEND}
test? ( dev-libs/check )"
-BDEPEND=""
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2019-10-08 Thread Joonas Niilola
commit: 4aa724d7cee1c227a25f3c5d4e12050f51522539
Author: Petr Vaněk  atlas  cz>
AuthorDate: Sat Oct  5 14:15:44 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Oct  9 05:21:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa724d7

net-analyzer/sslsplit: version bump to 0.5.5

Closes: https://bugs.gentoo.org/696720
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Petr Vaněk  atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/13162
Signed-off-by: Joonas Niilola  gentoo.org>

 net-analyzer/sslsplit/Manifest  |  1 +
 net-analyzer/sslsplit/sslsplit-0.5.5.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/net-analyzer/sslsplit/Manifest b/net-analyzer/sslsplit/Manifest
index 489c8c08bb3..c06f6601455 100644
--- a/net-analyzer/sslsplit/Manifest
+++ b/net-analyzer/sslsplit/Manifest
@@ -1 +1,2 @@
 DIST sslsplit-0.5.4.tar.gz 1750390 BLAKE2B 
4ab9014c91938397c469bdc49dd307c47375047f018a5caaf8b32eb84596d2fbe623702349dc85776071363b2167c6ee8918604c6bf2843d357ffe64df36bb1b
 SHA512 
5220cbf26a2d5201c4b36207ec52b290f95002c6d5a4d828868d163cff528095add8b333ecb844b86b4e83f62934aa840f80d3838d00997acd50b6e30cee7aed
+DIST sslsplit-0.5.5.tar.gz 1846850 BLAKE2B 
b223491c480070dd9718804f0ceb8fec9fe519cf0d189fd9bf9cc4dce5ae00d93227dca42349b42d2b82c62d0d92c451442670f6eae2f8d2beedef437907299b
 SHA512 
f236f1ccce8bdb4a09659551defd73b73fbf660ceedace6ffbbb687c1de4488f74a23274b53a67e7001dfcdbd0ede7270ba8261feab633a25ae9f57cce468f39

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
new file mode 100644
index 000..5ea7c49b62c
--- /dev/null
+++ b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="Transparent SSL/TLS interception"
+HOMEPAGE="https://www.roe.ch/SSLsplit;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="elibc_musl test"
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/droe/${PN};
+   EGIT_BRANCH="develop"
+else
+   SRC_URI="https://github.com/droe/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+RDEPEND="
+   dev-libs/libevent[ssl,threads]
+   dev-libs/openssl:0=
+   net-libs/libnet:1.1
+   elibc_musl? ( sys-libs/fts-standalone )"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+BDEPEND=""
+
+src_prepare() {
+   default
+
+   use elibc_musl && append-libs "-lfts"
+
+   sed -i -e 's/-D_FORTIFY_SOURCE=2 //g' \
+   -e 's/\/SSLSPLIT_FEATURES/g' GNUmakefile || die
+   sed -i '/opts_suite/d' main.t.c || die
+}
+
+src_install() {
+   emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" 
SYSCONFDIR="${EPREFIX}/etc" install
+   dodoc AUTHORS.md NEWS.md README.md
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2019-08-07 Thread Joonas Niilola
commit: dbb0ea18114c6cc994bb6291212bbd792b1d8ab8
Author: Petr Vaněk  atlas  cz>
AuthorDate: Tue Aug  6 09:09:53 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug  7 16:26:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbb0ea18

net-analyzer/sslsplit: Remove old version

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Petr Vaněk  atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/12621
Signed-off-by: Joonas Niilola  gentoo.org>

 net-analyzer/sslsplit/Manifest  |  1 -
 net-analyzer/sslsplit/sslsplit-0.5.2.ebuild | 44 -
 2 files changed, 45 deletions(-)

diff --git a/net-analyzer/sslsplit/Manifest b/net-analyzer/sslsplit/Manifest
index f2d8ea30a7d..489c8c08bb3 100644
--- a/net-analyzer/sslsplit/Manifest
+++ b/net-analyzer/sslsplit/Manifest
@@ -1,2 +1 @@
-DIST sslsplit-0.5.2.tar.gz 1526606 BLAKE2B 
2eb9e1525072626cfdfdfe344a61d92cf340a87dbbabfd06c5a7b46ce6dd0305b27949f91260fe192ecf97484676600e39f79a74995b45fb5b59138726cfbffe
 SHA512 
5f0560dbf89355ad0ef443df2fb0358046efd8c35be6c45f27b04495fd6194c826ef1c7b261683e7f22eb14436293d00395329284d9e709e1188c3c885251935
 DIST sslsplit-0.5.4.tar.gz 1750390 BLAKE2B 
4ab9014c91938397c469bdc49dd307c47375047f018a5caaf8b32eb84596d2fbe623702349dc85776071363b2167c6ee8918604c6bf2843d357ffe64df36bb1b
 SHA512 
5220cbf26a2d5201c4b36207ec52b290f95002c6d5a4d828868d163cff528095add8b333ecb844b86b4e83f62934aa840f80d3838d00997acd50b6e30cee7aed

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
deleted file mode 100644
index f823d37044f..000
--- a/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic
-
-DESCRIPTION="Transparent SSL/TLS interception"
-HOMEPAGE="https://www.roe.ch/SSLsplit;
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="elibc_musl test"
-
-if [[ ${PV} == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/droe/${PN};
-   EGIT_BRANCH="develop"
-else
-   SRC_URI="https://github.com/droe/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-RDEPEND="
-   elibc_musl? ( sys-libs/fts-standalone )
-   dev-libs/libevent[ssl,threads]
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   test? ( dev-libs/check )"
-
-src_prepare() {
-   default
-
-   use elibc_musl && append-libs "-lfts"
-
-   sed -i 's/-D_FORTIFY_SOURCE=2 //g' GNUmakefile || die
-   sed -i 's/\/SSLSPLIT_FEATURES/g' GNUmakefile version.c || die
-   sed -i '/opts_suite/d' main.t.c || die
-}
-
-src_install() {
-   emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
-   dodoc AUTHORS.md NEWS.md README.md
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/files/, net-analyzer/sslsplit/

2019-08-07 Thread Joonas Niilola
commit: 6d7e40d27f49d4d2015a3ec81e12da91b6d25b73
Author: Petr Vaněk  atlas  cz>
AuthorDate: Tue Aug  6 08:58:30 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug  7 16:26:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d7e40d2

net-analyzer/sslsplit: Bump to version 0.5.4

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Petr Vaněk  atlas.cz>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-analyzer/sslsplit/Manifest |  1 +
 .../sslsplit/files/sslsplit-0.5.4-install.patch| 26 +++
 net-analyzer/sslsplit/sslsplit-0.5.4.ebuild| 50 ++
 3 files changed, 77 insertions(+)

diff --git a/net-analyzer/sslsplit/Manifest b/net-analyzer/sslsplit/Manifest
index c214847d798..f2d8ea30a7d 100644
--- a/net-analyzer/sslsplit/Manifest
+++ b/net-analyzer/sslsplit/Manifest
@@ -1 +1,2 @@
 DIST sslsplit-0.5.2.tar.gz 1526606 BLAKE2B 
2eb9e1525072626cfdfdfe344a61d92cf340a87dbbabfd06c5a7b46ce6dd0305b27949f91260fe192ecf97484676600e39f79a74995b45fb5b59138726cfbffe
 SHA512 
5f0560dbf89355ad0ef443df2fb0358046efd8c35be6c45f27b04495fd6194c826ef1c7b261683e7f22eb14436293d00395329284d9e709e1188c3c885251935
+DIST sslsplit-0.5.4.tar.gz 1750390 BLAKE2B 
4ab9014c91938397c469bdc49dd307c47375047f018a5caaf8b32eb84596d2fbe623702349dc85776071363b2167c6ee8918604c6bf2843d357ffe64df36bb1b
 SHA512 
5220cbf26a2d5201c4b36207ec52b290f95002c6d5a4d828868d163cff528095add8b333ecb844b86b4e83f62934aa840f80d3838d00997acd50b6e30cee7aed

diff --git a/net-analyzer/sslsplit/files/sslsplit-0.5.4-install.patch 
b/net-analyzer/sslsplit/files/sslsplit-0.5.4-install.patch
new file mode 100644
index 000..65959f3e109
--- /dev/null
+++ b/net-analyzer/sslsplit/files/sslsplit-0.5.4-install.patch
@@ -0,0 +1,26 @@
+diff --git a/GNUmakefile b/GNUmakefile
+index ebdcf0a..02cb4b7 100644
+--- a/GNUmakefile
 b/GNUmakefile
+@@ -519,21 +519,12 @@ $(TARGET).conf.5: $(TARGET).conf.5.in $(MKFS) FORCE
+ 
+ install: $(TARGET) $(TARGET).conf $(TARGET).1 $(TARGET).conf.5
+   test -d $(DESTDIR)$(PREFIX)/bin || $(MKDIR) -p $(DESTDIR)$(PREFIX)/bin
+-  test -d $(DESTDIR)$(PREFIX)/$(TARGET) || \
+-  $(MKDIR) -p $(DESTDIR)$(PREFIX)/sslsplit
+   test -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man1 || \
+   $(MKDIR) -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
+   test -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man5 || \
+   $(MKDIR) -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man5
+-  test -d $(DESTDIR)/var/log/$(TARGET) || \
+-  $(MKDIR) -p $(DESTDIR)/var/log/$(TARGET)
+-  test -d $(DESTDIR)/var/run/$(TARGET) || \
+-  $(MKDIR) -p $(DESTDIR)/var/run/$(TARGET)
+   $(INSTALL) $(BINOWNERFLAGS) -m $(BINMODE) \
+   $(TARGET) $(DESTDIR)$(PREFIX)/bin/
+-  $(INSTALL) $(CNFOWNERFLAGS) -m $(CNFMODE) \
+-  $(TARGET).conf \
+-  $(DESTDIR)$(PREFIX)/$(TARGET)/$(TARGET).conf.sample
+   $(INSTALL) $(MANOWNERFLAGS) -m $(MANMODE) \
+   $(TARGET).1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1/
+   $(INSTALL) $(MANOWNERFLAGS) -m $(MANMODE) \

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
new file mode 100644
index 000..af09469872b
--- /dev/null
+++ b/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="Transparent SSL/TLS interception"
+HOMEPAGE="https://www.roe.ch/SSLsplit;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="elibc_musl test"
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/droe/${PN};
+   EGIT_BRANCH="develop"
+else
+   SRC_URI="https://github.com/droe/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+RDEPEND="
+   dev-libs/libevent[ssl,threads]
+   dev-libs/openssl:0=
+   net-libs/libnet:1.1
+   elibc_musl? ( sys-libs/fts-standalone )"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+BDEPEND=""
+
+PATCHES=(
+   "${FILESDIR}/${P}-install.patch"
+)
+
+src_prepare() {
+   default
+
+   use elibc_musl && append-libs "-lfts"
+
+   sed -i -e 's/-D_FORTIFY_SOURCE=2 //g' \
+   -e 's/\/SSLSPLIT_FEATURES/g' GNUmakefile || die
+   sed -i '/opts_suite/d' main.t.c || die
+}
+
+src_install() {
+   emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+   dodoc AUTHORS.md NEWS.md README.md sslsplit.conf
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2019-08-07 Thread Joonas Niilola
commit: 0d1b8df0eebfadd1f1e8e9c6eadb39d5c7efd444
Author: Petr Vaněk  atlas  cz>
AuthorDate: Tue Aug  6 09:07:49 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug  7 16:26:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1b8df0

net-analyzer/sslsplit: update  ebuild, EAPI-7 Bump

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Petr Vaněk  atlas.cz>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-analyzer/sslsplit/sslsplit-.ebuild | 14 --
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/sslsplit/sslsplit-.ebuild 
b/net-analyzer/sslsplit/sslsplit-.ebuild
index f013b4bb555..5ea7c49b62c 100644
--- a/net-analyzer/sslsplit/sslsplit-.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit flag-o-matic
 
@@ -22,23 +22,25 @@ else
 fi
 
 RDEPEND="
-   elibc_musl? ( sys-libs/fts-standalone )
dev-libs/libevent[ssl,threads]
-   dev-libs/openssl:0="
+   dev-libs/openssl:0=
+   net-libs/libnet:1.1
+   elibc_musl? ( sys-libs/fts-standalone )"
 DEPEND="${RDEPEND}
test? ( dev-libs/check )"
+BDEPEND=""
 
 src_prepare() {
default
 
use elibc_musl && append-libs "-lfts"
 
-   sed -i 's/-D_FORTIFY_SOURCE=2 //g' GNUmakefile || die
-   sed -i 's/\/SSLSPLIT_FEATURES/g' GNUmakefile build.c || die
+   sed -i -e 's/-D_FORTIFY_SOURCE=2 //g' \
+   -e 's/\/SSLSPLIT_FEATURES/g' GNUmakefile || die
sed -i '/opts_suite/d' main.t.c || die
 }
 
 src_install() {
-   emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+   emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" 
SYSCONFDIR="${EPREFIX}/etc" install
dodoc AUTHORS.md NEWS.md README.md
 }



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2019-02-05 Thread Patrice Clement
commit: 7c6594a823ee1a34a489eca0673ce43ef1d7c38a
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Feb  1 14:59:23 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Feb  5 22:31:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c6594a8

net-analyzer/sslsplit: use HTTPS.

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10960
Signed-off-by: Patrice Clement  gentoo.org>

 net-analyzer/sslsplit/sslsplit-0.5.2.ebuild | 4 ++--
 net-analyzer/sslsplit/sslsplit-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
index 0257c885324..f823d37044f 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 inherit flag-o-matic
 
 DESCRIPTION="Transparent SSL/TLS interception"
-HOMEPAGE="http://www.roe.ch/SSLsplit;
+HOMEPAGE="https://www.roe.ch/SSLsplit;
 
 LICENSE="BSD-2"
 SLOT="0"

diff --git a/net-analyzer/sslsplit/sslsplit-.ebuild 
b/net-analyzer/sslsplit/sslsplit-.ebuild
index c501c1e3acd..f013b4bb555 100644
--- a/net-analyzer/sslsplit/sslsplit-.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 inherit flag-o-matic
 
 DESCRIPTION="Transparent SSL/TLS interception"
-HOMEPAGE="http://www.roe.ch/SSLsplit;
+HOMEPAGE="https://www.roe.ch/SSLsplit;
 
 LICENSE="BSD-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2018-03-22 Thread Michał Górny
commit: 2386eb3801cb0ea091a58de777d5c8ce03234d61
Author: Petr Vaněk  atlas  cz>
AuthorDate: Tue Mar 20 21:32:16 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 22 17:58:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2386eb38

net-analyzer/sslsplit: fix an error in network-sandboxed test

Closes: https://bugs.gentoo.org/650998
Closes: https://github.com/gentoo/gentoo/pull/7528
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/sslsplit/sslsplit-0.5.2.ebuild | 1 +
 net-analyzer/sslsplit/sslsplit-.ebuild  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
index fbeb39924c7..0257c885324 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
@@ -35,6 +35,7 @@ src_prepare() {
 
sed -i 's/-D_FORTIFY_SOURCE=2 //g' GNUmakefile || die
sed -i 's/\/SSLSPLIT_FEATURES/g' GNUmakefile version.c || die
+   sed -i '/opts_suite/d' main.t.c || die
 }
 
 src_install() {

diff --git a/net-analyzer/sslsplit/sslsplit-.ebuild 
b/net-analyzer/sslsplit/sslsplit-.ebuild
index 537d8ae9c54..c501c1e3acd 100644
--- a/net-analyzer/sslsplit/sslsplit-.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-.ebuild
@@ -35,6 +35,7 @@ src_prepare() {
 
sed -i 's/-D_FORTIFY_SOURCE=2 //g' GNUmakefile || die
sed -i 's/\/SSLSPLIT_FEATURES/g' GNUmakefile build.c || die
+   sed -i '/opts_suite/d' main.t.c || die
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2018-03-22 Thread Michał Górny
commit: c044b5eb998f2d3866b539f06cf3925e82bf8319
Author: Petr Vaněk  atlas  cz>
AuthorDate: Sat Mar 17 22:38:03 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 22 17:58:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c044b5eb

net-analyzer/sslsplit: explicit elibc_musl

 net-analyzer/sslsplit/sslsplit-0.5.2.ebuild | 2 +-
 net-analyzer/sslsplit/sslsplit-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
index ff66da2b26d..fbeb39924c7 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.roe.ch/SSLsplit;
 
 LICENSE="BSD-2"
 SLOT="0"
-IUSE="test"
+IUSE="elibc_musl test"
 
 if [[ ${PV} == * ]] ; then
inherit git-r3

diff --git a/net-analyzer/sslsplit/sslsplit-.ebuild 
b/net-analyzer/sslsplit/sslsplit-.ebuild
index db153fb2976..537d8ae9c54 100644
--- a/net-analyzer/sslsplit/sslsplit-.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.roe.ch/SSLsplit;
 
 LICENSE="BSD-2"
 SLOT="0"
-IUSE="test"
+IUSE="elibc_musl test"
 
 if [[ ${PV} == * ]] ; then
inherit git-r3



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2018-03-22 Thread Michał Górny
commit: d4ae7a8359dddc9c48c8b0bd057c3a4c406559c6
Author: Petr Vaněk  atlas  cz>
AuthorDate: Sat Mar 17 22:32:37 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 22 17:58:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4ae7a83

net-analyzer/sslsplit: fix date

 net-analyzer/sslsplit/sslsplit-0.5.2.ebuild | 2 +-
 net-analyzer/sslsplit/sslsplit-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
index 2684df318c1..ff66da2b26d 100644
--- a/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6

diff --git a/net-analyzer/sslsplit/sslsplit-.ebuild 
b/net-analyzer/sslsplit/sslsplit-.ebuild
index 76b1b4f0908..db153fb2976 100644
--- a/net-analyzer/sslsplit/sslsplit-.ebuild
+++ b/net-analyzer/sslsplit/sslsplit-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslsplit/

2018-03-18 Thread Michał Górny
commit: 7646dc9903e447c9d6177a13a58f34e626eea8a7
Author: Petr Vaněk  atlas  cz>
AuthorDate: Fri Nov 17 11:45:09 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 18 21:00:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7646dc99

net-analyzer/sslsplit: New ebuild

Introduce a new ebuild for sslsplit, the tool for transparent SSL/TLS
interception.

Closes: https://bugs.gentoo.org/637926
Closes: https://github.com/gentoo/gentoo/pull/6210

 net-analyzer/sslsplit/Manifest  |  1 +
 net-analyzer/sslsplit/metadata.xml  | 25 +
 net-analyzer/sslsplit/sslsplit-0.5.2.ebuild | 43 +
 net-analyzer/sslsplit/sslsplit-.ebuild  | 43 +
 4 files changed, 112 insertions(+)

diff --git a/net-analyzer/sslsplit/Manifest b/net-analyzer/sslsplit/Manifest
new file mode 100644
index 000..c214847d798
--- /dev/null
+++ b/net-analyzer/sslsplit/Manifest
@@ -0,0 +1 @@
+DIST sslsplit-0.5.2.tar.gz 1526606 BLAKE2B 
2eb9e1525072626cfdfdfe344a61d92cf340a87dbbabfd06c5a7b46ce6dd0305b27949f91260fe192ecf97484676600e39f79a74995b45fb5b59138726cfbffe
 SHA512 
5f0560dbf89355ad0ef443df2fb0358046efd8c35be6c45f27b04495fd6194c826ef1c7b261683e7f22eb14436293d00395329284d9e709e1188c3c885251935

diff --git a/net-analyzer/sslsplit/metadata.xml 
b/net-analyzer/sslsplit/metadata.xml
new file mode 100644
index 000..614c7c40e2e
--- /dev/null
+++ b/net-analyzer/sslsplit/metadata.xml
@@ -0,0 +1,25 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   arka...@atlas.cz
+   Petr Vaněk
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   SSLsplit is a tool for man-in-the-middle attacks against SSL/TLS
+   encrypted network connections. It is intended to be useful for 
network
+   forensics, application security analysis and penetration 
testing.
+   
+   
+   
+   dan...@roe.ch
+   Daniel Roethlisberger
+   
+   https://github.com/droe/sslsplit/issues
+   droe/sslsplit
+   
+

diff --git a/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild 
b/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
new file mode 100644
index 000..2684df318c1
--- /dev/null
+++ b/net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="Transparent SSL/TLS interception"
+HOMEPAGE="http://www.roe.ch/SSLsplit;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="test"
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/droe/${PN};
+   EGIT_BRANCH="develop"
+else
+   SRC_URI="https://github.com/droe/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+RDEPEND="
+   elibc_musl? ( sys-libs/fts-standalone )
+   dev-libs/libevent[ssl,threads]
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+
+src_prepare() {
+   default
+
+   use elibc_musl && append-libs "-lfts"
+
+   sed -i 's/-D_FORTIFY_SOURCE=2 //g' GNUmakefile || die
+   sed -i 's/\/SSLSPLIT_FEATURES/g' GNUmakefile version.c || die
+}
+
+src_install() {
+   emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+   dodoc AUTHORS.md NEWS.md README.md
+}

diff --git a/net-analyzer/sslsplit/sslsplit-.ebuild 
b/net-analyzer/sslsplit/sslsplit-.ebuild
new file mode 100644
index 000..76b1b4f0908
--- /dev/null
+++ b/net-analyzer/sslsplit/sslsplit-.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="Transparent SSL/TLS interception"
+HOMEPAGE="http://www.roe.ch/SSLsplit;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="test"
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/droe/${PN};
+   EGIT_BRANCH="develop"
+else
+   SRC_URI="https://github.com/droe/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+RDEPEND="
+   elibc_musl? ( sys-libs/fts-standalone )
+   dev-libs/libevent[ssl,threads]
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   test? ( dev-libs/check )"
+
+src_prepare() {
+   default
+
+   use elibc_musl && append-libs "-lfts"
+
+   sed -i 's/-D_FORTIFY_SOURCE=2 //g' GNUmakefile || die
+   sed -i 's/\/SSLSPLIT_FEATURES/g' GNUmakefile build.c || die
+}
+
+src_install() {
+   emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+   dodoc AUTHORS.md NEWS.md README.md
+}