1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 21:21:31 +00:00

Promote Nping to full version number. Fixes #2862

This commit is contained in:
dmiller
2025-03-12 18:02:12 +00:00
parent 4138483627
commit fb58d2440e
3 changed files with 7 additions and 10 deletions

View File

@@ -339,8 +339,7 @@ $(NCATDIR)/ncat.h: nmap.h
sed -e 's/^#[ \t]*define[ \t]\+NCAT_VERSION[ \t]\+\(".*"\)/#define NCAT_VERSION "$(NMAP_VERSION)"/' $@ > $@.tmp
mv -f $@.tmp $@
# Update the Nping version number. This is "0.NMAP_VERSION".
# If the 0. prefix is removed it must also be removed from nmap.spec.in.
# Update the Nping version number.
$(NPINGDIR)/nping.h: nmap.h
sed -e 's/^#[ \t]*define[ \t]\+NPING_VERSION[ \t]\+\(".*"\)/#define NPING_VERSION "0.$(NMAP_VERSION)"/' $@ > $@.tmp
mv -f $@.tmp $@

View File

@@ -125,8 +125,6 @@ uses.
# Nping subpackage
%if "%{buildnping}" != "0"
%package -n nping
# If this 0. prefix is removed it must also be removed from Makefile.in.
Version: 0.%{version}
Summary: Nping packet generator
Group: Applications/System

View File

@@ -265,7 +265,7 @@
/* General tunable defines **************************************************/
#define NPING_NAME "Nping"
#define NPING_URL "https://nmap.org/nping"
#define NPING_VERSION "0.7.95SVN"
#define NPING_VERSION "7.95SVN"
#define DEFAULT_VERBOSITY VB_0