mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 13:41:29 +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
|
sed -e 's/^#[ \t]*define[ \t]\+NCAT_VERSION[ \t]\+\(".*"\)/#define NCAT_VERSION "$(NMAP_VERSION)"/' $@ > $@.tmp
|
||||||
mv -f $@.tmp $@
|
mv -f $@.tmp $@
|
||||||
|
|
||||||
# Update the Nping version number. This is "0.NMAP_VERSION".
|
# Update the Nping version number.
|
||||||
# If the 0. prefix is removed it must also be removed from nmap.spec.in.
|
|
||||||
$(NPINGDIR)/nping.h: nmap.h
|
$(NPINGDIR)/nping.h: nmap.h
|
||||||
sed -e 's/^#[ \t]*define[ \t]\+NPING_VERSION[ \t]\+\(".*"\)/#define NPING_VERSION "0.$(NMAP_VERSION)"/' $@ > $@.tmp
|
sed -e 's/^#[ \t]*define[ \t]\+NPING_VERSION[ \t]\+\(".*"\)/#define NPING_VERSION "0.$(NMAP_VERSION)"/' $@ > $@.tmp
|
||||||
mv -f $@.tmp $@
|
mv -f $@.tmp $@
|
||||||
|
|||||||
@@ -125,8 +125,6 @@ uses.
|
|||||||
# Nping subpackage
|
# Nping subpackage
|
||||||
%if "%{buildnping}" != "0"
|
%if "%{buildnping}" != "0"
|
||||||
%package -n nping
|
%package -n nping
|
||||||
# If this 0. prefix is removed it must also be removed from Makefile.in.
|
|
||||||
Version: 0.%{version}
|
|
||||||
Summary: Nping packet generator
|
Summary: Nping packet generator
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
|
||||||
|
|||||||
@@ -265,7 +265,7 @@
|
|||||||
/* General tunable defines **************************************************/
|
/* General tunable defines **************************************************/
|
||||||
#define NPING_NAME "Nping"
|
#define NPING_NAME "Nping"
|
||||||
#define NPING_URL "https://nmap.org/nping"
|
#define NPING_URL "https://nmap.org/nping"
|
||||||
#define NPING_VERSION "0.7.95SVN"
|
#define NPING_VERSION "7.95SVN"
|
||||||
|
|
||||||
|
|
||||||
#define DEFAULT_VERBOSITY VB_0
|
#define DEFAULT_VERBOSITY VB_0
|
||||||
|
|||||||
Reference in New Issue
Block a user