Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2019 18:51:26 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505770 - in head/net-mgmt/ettercap: . files
Message-ID:  <201907031851.x63IpQcH041725@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Jul  3 18:51:26 2019
New Revision: 505770
URL: https://svnweb.freebsd.org/changeset/ports/505770

Log:
  Update to 0.8.3
  
  - Replace GTK2 option with GTK3 option: new upstream default
  
  Changes:	https://github.com/Ettercap/ettercap/releases
  Security:	b79ec16b-9da7-11e9-a0ea-a92fe7db4867
  MFH:		2019Q3

Deleted:
  head/net-mgmt/ettercap/files/patch-src-dissectors-ec_ssh.c
  head/net-mgmt/ettercap/files/patch-src-ec_sslwrap.c
Modified:
  head/net-mgmt/ettercap/Makefile
  head/net-mgmt/ettercap/distinfo
  head/net-mgmt/ettercap/files/patch-CMakeLists.txt
  head/net-mgmt/ettercap/pkg-plist

Modified: head/net-mgmt/ettercap/Makefile
==============================================================================
--- head/net-mgmt/ettercap/Makefile	Wed Jul  3 18:49:33 2019	(r505769)
+++ head/net-mgmt/ettercap/Makefile	Wed Jul  3 18:51:26 2019	(r505770)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	ettercap
-PORTVERSION=	0.8.2
+PORTVERSION=	0.8.3
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt security
 
@@ -16,24 +15,25 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libnet.so:net/libnet
 
-OPTIONS_DEFINE=	DESKTOP DOCS GTK2 IPV6 NCURSES PCRE PLUGINS SSL UTF8
-OPTIONS_DEFAULT=GTK2 NCURSES PCRE PLUGINS SSL UTF8
+OPTIONS_DEFINE=	DESKTOP DOCS GTK3 IPV6 NCURSES PCRE PLUGINS SSL UTF8
+OPTIONS_DEFAULT=GTK3 NCURSES PCRE PLUGINS SSL UTF8
 OPTIONS_SUB=	yes
 DESKTOP_DESC=	Install ettercap.desktop
 NCURSES_DESC=	Ncurses interface
 PCRE_DESC=	Use PCRE in filters
 SSL_DESC=	SSH1 and SSL decryption support
 
+USES=		bison cmake cpe iconv localbase:ldflags pkgconfig
+
 CMAKE_ARGS=	-DHAVE_PCAP=${LIBDIR} \
 		-DHAVE_RESOLV=${LIBDIR} \
 		-DINSTALL_SYSCONFDIR=${PREFIX}/etc \
 		-DMAN_INSTALLDIR=${PREFIX}/man
-CMAKE_OFF=	BUNDLED_LIBS
+CMAKE_OFF=	BUNDLED_LIBS ENABLE_GEOIP ENABLE_LUA ENABLE_PDF_DOCS ENABLE_TESTS LIBRARY_BUILD
 CMAKE_ON=	HAVE_DLOPEN
 LDFLAGS+=	${ICONV_LIB} -lnet -lpcap
 MAKE_JOBS_UNSAFE=	yes
 USE_LDCONFIG=	yes
-USES=		bison cmake cpe iconv localbase:ldflags pkgconfig
 
 DOCS=		AUTHORS CHANGELOG README README.BINARIES README.BUGS \
 		README.GIT README.PLATFORMS THANKS TODO TODO.TESTING \
@@ -48,9 +48,9 @@ DESKTOP_CMAKE_BOOL=	INSTALL_DESKTOP
 DESKTOP_USES=		desktop-file-utils
 NCURSES_CMAKE_BOOL=	ENABLE_CURSES
 NCURSES_USES=		ncurses
-GTK2_CMAKE_BOOL=	ENABLE_GTK
-GTK2_USE=		GNOME=gtk20
-GTK2_USES=		gnome
+GTK3_CMAKE_BOOL=	ENABLE_GTK
+GTK3_USE=		GNOME=gtk30
+GTK3_USES=		gnome
 IPV6_CMAKE_BOOL=	ENABLE_IPV6
 PCRE_CMAKE_BOOL=	HAVE_PCRE
 PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre

Modified: head/net-mgmt/ettercap/distinfo
==============================================================================
--- head/net-mgmt/ettercap/distinfo	Wed Jul  3 18:49:33 2019	(r505769)
+++ head/net-mgmt/ettercap/distinfo	Wed Jul  3 18:51:26 2019	(r505770)
@@ -1,2 +1,3 @@
-SHA256 (Ettercap-ettercap-v0.8.2_GH0.tar.gz) = f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
-SIZE (Ettercap-ettercap-v0.8.2_GH0.tar.gz) = 8082561
+TIMESTAMP = 1562166550
+SHA256 (Ettercap-ettercap-v0.8.3_GH0.tar.gz) = d561a554562e447f4d7387a9878ba745e1aa8c4690cc4e9faaa779cfdaa61fbb
+SIZE (Ettercap-ettercap-v0.8.3_GH0.tar.gz) = 8381943

Modified: head/net-mgmt/ettercap/files/patch-CMakeLists.txt
==============================================================================
--- head/net-mgmt/ettercap/files/patch-CMakeLists.txt	Wed Jul  3 18:49:33 2019	(r505769)
+++ head/net-mgmt/ettercap/files/patch-CMakeLists.txt	Wed Jul  3 18:51:26 2019	(r505770)
@@ -1,11 +1,11 @@
---- CMakeLists.txt.orig	2015-03-14 13:43:11 UTC
+--- CMakeLists.txt.orig	2019-06-27 23:08:24 UTC
 +++ CMakeLists.txt
-@@ -108,7 +108,7 @@ set(INSTALL_LIBDIR ${INSTALL_PREFIX}/lib
+@@ -112,7 +112,7 @@ set(INSTALL_LIBDIR ${INSTALL_PREFIX}/lib
  set(INSTALL_DATADIR ${INSTALL_PREFIX}/share CACHE PATH "Data installation directory")
  set(INSTALL_EXECPREFIX ${INSTALL_PREFIX} CACHE PATH "")
  set(INSTALL_BINDIR  ${INSTALL_PREFIX}/bin CACHE PATH "Binary files installation directory")
 -if(OS_DARWIN OR OS_WINDOWS)
-+if(OS_DARWIN OR OS_FREEBSD OR OS_WINDOWS)
-    set(POLKIT_DIR ${INSTALL_PREFIX}/share/polkit-1/actions/ CACHE PATH "Polkit installation directory")
- else(OS_DARWIN OR OS_WINDOWS)
++if(OS_DARWIN OR OS_BSD_FREE OR OS_WINDOWS)
+   set(POLKIT_DIR ${INSTALL_PREFIX}/share/polkit-1/actions/ CACHE PATH "Polkit installation directory")
+ else()
  #at least on ubuntu, polkit dir couldn't be /usr/local/share, but should be /usr/share

Modified: head/net-mgmt/ettercap/pkg-plist
==============================================================================
--- head/net-mgmt/ettercap/pkg-plist	Wed Jul  3 18:49:33 2019	(r505769)
+++ head/net-mgmt/ettercap/pkg-plist	Wed Jul  3 18:51:26 2019	(r505770)
@@ -1,5 +1,5 @@
 bin/ettercap
-%%DESKTOP%%%%GTK2%%bin/ettercap-pkexec
+%%DESKTOP%%%%GTK3%%bin/ettercap-pkexec
 bin/etterfilter
 bin/etterlog
 @sample etc/etter.conf.sample
@@ -40,9 +40,13 @@ bin/etterlog
 %%PLUGINS%%lib/ettercap/ec_smurf_attack.so
 %%PLUGINS%%lib/ettercap/ec_sslstrip.so
 %%PLUGINS%%lib/ettercap/ec_stp_mangler.so
+%%PLUGINS%%lib/ettercap/ec_krb5_downgrade.so
+lib/libettercap-ui.so
+lib/libettercap-ui.so.0
+lib/libettercap-ui.so.0.8.2
 lib/libettercap.so
 lib/libettercap.so.0
-lib/libettercap.so.0.0.0
+lib/libettercap.so.0.8.2
 man/man5/etter.conf.5.gz
 %%DESKTOP%%man/man8/ettercap-pkexec.8.gz
 man/man8/ettercap.8.gz
@@ -50,8 +54,8 @@ man/man8/ettercap_curses.8.gz
 %%PLUGINS%%man/man8/ettercap_plugins.8.gz
 man/man8/etterfilter.8.gz
 man/man8/etterlog.8.gz
-%%DESKTOP%%%%GTK2%%share/appdata/ettercap.appdata.xml
-%%DESKTOP%%%%GTK2%%share/applications/ettercap.desktop
+%%DESKTOP%%%%GTK3%%share/appdata/ettercap.appdata.xml
+%%DESKTOP%%%%GTK3%%share/applications/ettercap.desktop
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
 %%PORTDOCS%%%%DOCSDIR%%/README
@@ -86,5 +90,5 @@ man/man8/etterlog.8.gz
 %%DATADIR%%/etterfilter.cnt
 %%DATADIR%%/etterfilter.tbl
 %%DATADIR%%/etterlog.dtd
-%%DESKTOP%%%%GTK2%%share/pixmaps/ettercap.svg
-%%DESKTOP%%%%GTK2%%share/polkit-1/actions/org.pkexec.ettercap.policy
+%%DESKTOP%%%%GTK3%%share/pixmaps/ettercap.svg
+%%DESKTOP%%%%GTK3%%share/polkit-1/actions/org.pkexec.ettercap.policy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907031851.x63IpQcH041725>