wok rev 22705

updated ettercap (0.7.3 -> 0.8.3)
author Hans-G?nter Theisgen
date Tue Jan 21 17:20:48 2020 +0100 (2020-01-21)
parents e5c6cfe4174a
children daf2bdd6e3c7 281ca267525d
files ettercap/receipt
line diff
     1.1 --- a/ettercap/receipt	Tue Jan 21 16:30:47 2020 +0100
     1.2 +++ b/ettercap/receipt	Tue Jan 21 17:20:48 2020 +0100
     1.3 @@ -1,41 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ettercap"
     1.7 -VERSION="NG-0.7.3"
     1.8 +VERSION="0.8.3"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Ettercap is a suite for man in the middle attacks on LAN"
    1.11 +SHORT_DESC="A suite for man in the middle attacks on LAN."
    1.12  MAINTAINER="claudinei@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://www.ettercap-project.org"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://ettercap.sourceforge.net"
    1.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 +WGET_URL="https://github.com/Ettercap/$PACKAGE/archive/v$VERSION.tar.gz"
    1.20  
    1.21 -DEPENDS="libpthread-stubs libpcap libnet libltdl zlib"
    1.22 -BUILD_DEPENDS="libpthread-stubs libpcap libpcap-dev libnet-dev libtool file \
    1.23 -zlib-dev"
    1.24 +DEPENDS="curl geoip libltdl libnet libpcap libpthread-stubs openssl zlib"
    1.25 +BUILD_DEPENDS="cmake curl-dev file geoip-dev libnet-dev libpcap-dev 
    1.26 +	libpthread-stubs libtool ncurses-dev openssl-dev zlib-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32 -	sed -i 's/ettercap_LDFLAGS = -export-dynamic @EC_LIBS@/ettercap_LDADD += @EC_LIBS@\nettercap_LDFLAGS = -export-dynamic -Wl,--copy-dt-needed-entries/' src/Makefile.*
    1.33 -	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		--infodir=/usr/share/info \
    1.36 -		--mandir=/usr/share/man \
    1.37 -		--enable-plugins \
    1.38 -		--disable-gtk \
    1.39 -		$CONFIGURE_ARGS &&
    1.40 -	make && make DESTDIR=$DESTDIR install
    1.41 +	mkdir	build
    1.42 +	cd	build
    1.43 +	cmake					\
    1.44 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    1.45 +		-DENABLE_GTK=OFF		\
    1.46 +		-DENABLE_PLUGINS=ON		\
    1.47 +		../
    1.48 +	make &&
    1.49 +	make DESTDIR=$DESTDIR install
    1.50  }
    1.51  
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55  	mkdir -p $fs/usr/share
    1.56 -	cp -a $install/usr/bin $fs/usr
    1.57 -	cp -a $install/usr/etc $fs
    1.58 -	cp -a $install/usr/share/ettercap $fs/usr/share
    1.59 -	cp -a $install/usr/lib $fs/usr
    1.60 +
    1.61 +	cp -a $install/etc			$fs
    1.62 +	cp -a $install/usr/bin			$fs/usr
    1.63 +	cp -a $install/usr/lib			$fs/usr
    1.64 +	cp -a $install/usr/share/ettercap	$fs/usr/share
    1.65  }
    1.66 -