diff options
author | Armin Kuster <akuster808@gmail.com> | 2015-11-27 20:03:46 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-01-17 15:37:58 -0800 |
commit | 9eba881355b06febfbd5dbb425010e2a0f4cc3dc (patch) | |
tree | 8fe6e24df2395d23634e681430d3f6574dcbb79c | |
parent | 41bac8038ac9ff06e9e891375cc62560e6b4de36 (diff) | |
download | meta-security-9eba881355b06febfbd5dbb425010e2a0f4cc3dc.tar.gz |
nmap: package update to 7.0
removed integrated patch
Changed LIC_FILES_CHKSUM from generic OE to a file within the package
sources.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-security/nmap/files/add_aarch64_to_configure.patch | 28 | ||||
-rw-r--r-- | recipes-security/nmap/nmap_7.00.bb (renamed from recipes-security/nmap/nmap_6.47.bb) | 11 |
2 files changed, 5 insertions, 34 deletions
diff --git a/recipes-security/nmap/files/add_aarch64_to_configure.patch b/recipes-security/nmap/files/add_aarch64_to_configure.patch deleted file mode 100644 index 27b3d76..0000000 --- a/recipes-security/nmap/files/add_aarch64_to_configure.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | nmap: Add support for aarch64* builds | ||
2 | |||
3 | Upstream-Status: Submitted to nmap-dev | ||
4 | |||
5 | Signed-off-by: Armin Kuster <akuster@mvista.com> | ||
6 | |||
7 | Index: config.sub | ||
8 | =================================================================== | ||
9 | --- a/config.sub | ||
10 | +++ b/config.sub | ||
11 | @@ -249,7 +249,7 @@ case $basic_machine in | ||
12 | | a29k \ | ||
13 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | ||
14 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | ||
15 | - | am33_2.0 \ | ||
16 | + | am33_2.0 | aarch64 | aarch64be \ | ||
17 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | ||
18 | | bfin \ | ||
19 | | c4x | clipper \ | ||
20 | @@ -343,7 +343,7 @@ case $basic_machine in | ||
21 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | ||
22 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | ||
23 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | ||
24 | - | avr-* | avr32-* \ | ||
25 | + | avr-* | avr32-* | aarch64-* | aarch64be-*\ | ||
26 | | bfin-* | bs2000-* \ | ||
27 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ | ||
28 | | clipper-* | craynv-* | cydra-* \ | ||
diff --git a/recipes-security/nmap/nmap_6.47.bb b/recipes-security/nmap/nmap_7.00.bb index e9ce1c9..0a4e310 100644 --- a/recipes-security/nmap/nmap_6.47.bb +++ b/recipes-security/nmap/nmap_7.00.bb | |||
@@ -3,13 +3,12 @@ DESCRIPTION = "Nmap ("Network Mapper") is a free and open source (license) utili | |||
3 | SECTION = "security" | 3 | SECTION = "security" |
4 | LICENSE = "GPL-2.0" | 4 | LICENSE = "GPL-2.0" |
5 | 5 | ||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | 6 | LIC_FILES_CHKSUM = "file://COPYING;beginline=7;endline=12;md5=51f7052ac85aaf1a2127f7803de1261e" |
7 | 7 | ||
8 | SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2 \ | 8 | SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2" |
9 | file://add_aarch64_to_configure.patch" | ||
10 | 9 | ||
11 | SRC_URI[md5sum] = "edfe81f6763223c0a29bfa15a8526e2a" | 10 | SRC_URI[md5sum] = "6cdf5d03cc3294b99d69dfca83f2f2ee" |
12 | SRC_URI[sha256sum] = "8fa11e9e203ce2d81a207db5ca4f110a525f6c01c1dd0018325a7112a51aa591" | 11 | SRC_URI[sha256sum] = "9f442301c615c608a385831c3505cdfed9b0795cd100f1a258b04509802802ae" |
13 | 12 | ||
14 | inherit autotools-brokensep pkgconfig distro_features_check | 13 | inherit autotools-brokensep pkgconfig distro_features_check |
15 | 14 | ||
@@ -38,7 +37,7 @@ do_configure() { | |||
38 | 37 | ||
39 | PACKAGES = "${PN} ${PN}-dbg ${PN}-doc" | 38 | PACKAGES = "${PN} ${PN}-dbg ${PN}-doc" |
40 | 39 | ||
41 | FILES_${PN} = "${bindir}/nmap ${datadir}/nmap/*" | 40 | FILES_${PN} = "${bindir}/nmap ${datadir}/nmap/* ${bindir}/uninstall_ndiff" |
42 | 41 | ||
43 | # append packages if enabled | 42 | # append packages if enabled |
44 | FILES_${PN} += "${@bb.utils.contains("PACKAGECONFIG", "ncat", "${bindir}/ncat ${target_datadir}/ncat", "", d)}" | 43 | FILES_${PN} += "${@bb.utils.contains("PACKAGECONFIG", "ncat", "${bindir}/ncat ${target_datadir}/ncat", "", d)}" |