wok rev 21546

updated nmap (6.25 -> 7.70)
author Hans-G?nter Theisgen
date Mon May 06 14:26:00 2019 +0100 (2019-05-06)
parents a4828d1818dd
children 140cbdeb8974
files nmap/receipt
line diff
     1.1 --- a/nmap/receipt	Mon May 06 13:49:29 2019 +0100
     1.2 +++ b/nmap/receipt	Mon May 06 14:26:00 2019 +0100
     1.3 @@ -1,27 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nmap"
     1.7 -VERSION="6.25"
     1.8 +VERSION="7.70"
     1.9  CATEGORY="security"
    1.10 +TAGS="network"
    1.11  SHORT_DESC="The Network Mapper."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://nmap.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="https://nmap.org/"
    1.18 -WGET_URL="http://download.insecure.org/nmap/dist/$TARBALL"
    1.19 -TAGS="network"
    1.20 +WGET_URL="${WEB_SITE}dist/$TARBALL"
    1.21 +
    1.22 +DEPENDS="gcc-lib-base libpcap openssl pcre"
    1.23 +BUILD_DEPENDS="libpcap-dev openssl-dev pcre-dev python-dev"
    1.24 +
    1.25  HOST_ARCH="i486 arm"
    1.26  
    1.27 -DEPENDS="openssl libpcap pcre gcc-lib-base"
    1.28 -BUILD_DEPENDS="libpcap-dev python-dev openssl-dev pcre-dev"
    1.29 -
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch
    1.34 -	./configure \
    1.35 -		--cache-file=$PWD/config.cache \
    1.36 -	 	--without-liblua \
    1.37 +#	patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch
    1.38 +
    1.39 +	./configure				\
    1.40 +		--cache-file=$PWD/config.cache	\
    1.41 +	 	--without-liblua		\
    1.42  		$CONFIGURE_ARGS &&
    1.43  	make 2>&1 | grep -v makefile.dep &&
    1.44  	make DESTDIR=$DESTDIR install-nmap
    1.45 @@ -30,8 +33,8 @@
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49 -	mkdir -p $fs/usr $fs/usr/share
    1.50 -	cp -a $install/usr/bin $fs/usr
    1.51 -	cp -a $install/usr/share/nmap $fs/usr/share
    1.52 +	mkdir -p $fs/usr/share
    1.53 +
    1.54 +	cp -a $install/usr/bin		$fs/usr
    1.55 +	cp -a $install/usr/share/nmap	$fs/usr/share
    1.56  }
    1.57 -