diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2025-04-12 17:54:38 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-12 07:09:49 -0700 |
| commit | 12e69dd55590bc5c44fcc30e3c68369723e56506 (patch) | |
| tree | 7f66a8276e1da6955b54d2bc7c5f8f09d7cbf934 | |
| parent | 324981d4dfe811a1c97f6e60f4f54f535a4a26b3 (diff) | |
| download | meta-openembedded-12e69dd55590bc5c44fcc30e3c68369723e56506.tar.gz | |
nmap: set UPSTREAM_CHECK_REGEX
Set UPSTREAM_CHECK_REGEX to check the correct latest stable verison.
Before the fix:
$ devtool latest-version nmap
INFO: Current version: 7.95
INFO: Latest version: 7.95-1
After the fix:
$ devtool latest-version nmap
INFO: Current version: 7.95
INFO: Latest version: 7.95
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-security/nmap/nmap_7.95.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-security/nmap/nmap_7.95.bb b/meta-oe/recipes-security/nmap/nmap_7.95.bb index f3775f24b0..c410751595 100644 --- a/meta-oe/recipes-security/nmap/nmap_7.95.bb +++ b/meta-oe/recipes-security/nmap/nmap_7.95.bb | |||
| @@ -14,6 +14,9 @@ SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2 \ | |||
| 14 | file://0001-fix-racing-between-build-ncat-and-build-lua.patch \ | 14 | file://0001-fix-racing-between-build-ncat-and-build-lua.patch \ |
| 15 | " | 15 | " |
| 16 | SRC_URI[sha256sum] = "e14ab530e47b5afd88f1c8a2bac7f89cd8fe6b478e22d255c5b9bddb7a1c5778" | 16 | SRC_URI[sha256sum] = "e14ab530e47b5afd88f1c8a2bac7f89cd8fe6b478e22d255c5b9bddb7a1c5778" |
| 17 | |||
| 18 | UPSTREAM_CHECK_REGEX = "nmap-(?P<pver>\d+(\.\d+)+)\.tar" | ||
| 19 | |||
| 17 | inherit autotools-brokensep pkgconfig python3native | 20 | inherit autotools-brokensep pkgconfig python3native |
| 18 | 21 | ||
| 19 | PACKAGECONFIG ?= "pcre ncat nping pcap" | 22 | PACKAGECONFIG ?= "pcre ncat nping pcap" |
