wok-current view nmap/receipt @ rev 21988
Up sudo (1.8.28) CVE-2019-14287
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 15 10:14:15 2019 +0200 (2019-10-15) |
parents | 6e8b1bcb30e2 |
children | 4ff97fb671ee |
line source
1 # SliTaz package receipt.
3 PACKAGE="nmap"
4 VERSION="7.70"
5 CATEGORY="security"
6 TAGS="network"
7 SHORT_DESC="The Network Mapper."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://nmap.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="${WEB_SITE}dist/$TARBALL"
15 DEPENDS="gcc-lib-base libpcap openssl pcre"
16 BUILD_DEPENDS="libpcap-dev openssl-dev pcre-dev python-dev"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch
25 ./configure \
26 --cache-file=$PWD/config.cache \
27 --without-liblua \
28 $CONFIGURE_ARGS &&
29 make 2>&1 | grep -v makefile.dep &&
30 make DESTDIR=$DESTDIR install-nmap
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/nmap $fs/usr/share
40 }