wok-next rev 21631

updated ettercap (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Fri Jun 26 09:47:36 2020 +0100 (2020-06-26)
parents 4b3364ad1d81
children 93b7ffa1ce97
files ettercap/receipt
line diff
     1.1 --- a/ettercap/receipt	Thu Jun 25 17:43:35 2020 +0100
     1.2 +++ b/ettercap/receipt	Fri Jun 26 09:47:36 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="ettercap"
     1.7 -VERSION="0.8.2"
     1.8 +VERSION="0.8.3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Multipurpose Network sniffer, analyser, interceptor, logger"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -10,13 +10,14 @@
    1.13  
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WGET_URL="https://github.com/Ettercap/ettercap/releases/download/v$VERSION/$TARBALL"
    1.16 -TARBALL_SHA1="04f50925a5f3b2555371075a048ab7bfe3892976"
    1.17 +TARBALL_SHA1="1db39315b2b2b574dc1eb3f7ae72871ad2391e2f"
    1.18  
    1.19 -BUILD_DEPENDS="cmake openssl-dev zlib-dev curl-dev libpcap-dev libnet-dev \
    1.20 -gtk2-dev"
    1.21 +BUILD_DEPENDS="cmake curl-dev geoip-dev gtk3-devncurses-dev libnet-dev 
    1.22 +	libpcap-dev openssl-dev zlib-dev"
    1.23  SPLIT="$PACKAGE-gtk:gtk"
    1.24  
    1.25 -compile_rules() {
    1.26 +compile_rules()
    1.27 +{
    1.28  	case $SET in
    1.29  		'')  SET_ARGS='-DENABLE_GTK=OFF';;
    1.30  		gtk) SET_ARGS='-DENABLE_GTK=ON';;
    1.31 @@ -24,28 +25,30 @@
    1.32  
    1.33  	mkdir build
    1.34  	cd    build
    1.35 -	cmake \
    1.36 -		-DCMAKE_INSTALL_PREFIX=/usr \
    1.37 -		$SET_ARGS \
    1.38 -		.. &&
    1.39 +	cmake	..				\
    1.40 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    1.41 +		$SET_ARGS &&
    1.42  	make &&
    1.43  	make install
    1.44  }
    1.45  
    1.46 -genpkg_rules() {
    1.47 +genpkg_rules()
    1.48 +{
    1.49  	case $PACKAGE in
    1.50  		ettercap)
    1.51  			copy @std
    1.52  			find $fs \( -name '*.png' -o -name '*.svg' \) -delete
    1.53 -			DEPENDS="libcurl libnet libpcap libpcre ncurses ncurses-libform \
    1.54 -			ncurses-libmenu ncurses-libpanel openssl zlib"
    1.55 +			DEPENDS="geoip libcurl libnet libpcap libpcre ncurses 
    1.56 +				ncurses-libform ncurses-libmenu ncurses-libpanel 
    1.57 +				openssl zlib"
    1.58  			CAT="network|console flavor"
    1.59  			CONFIG_FILES="/etc/ettercap/etter.conf"
    1.60  			;;
    1.61  		*-gtk)
    1.62  			copy @std
    1.63 -			DEPENDS="glib gtk2 libcurl libnet libpcap libpcre ncurses \
    1.64 -			ncurses-libform ncurses-libmenu ncurses-libpanel openssl zlib"
    1.65 +			DEPENDS="geoip glib gtk3 libcurl libnet libpcap libpcre 
    1.66 +				ncurses ncurses-libform ncurses-libmenu 
    1.67 +				ncurses-libpanel openssl zlib"
    1.68  			CAT="network|GTK flavor"
    1.69  			PROVIDE="ettercap"
    1.70  			CONFIG_FILES="/etc/ettercap/etter.conf"