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:
@@ -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 $@
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user