[Git][NTPsec/ntpsec][master] Stop using VCS_BASENAME since we really want the name of the project

Matt Selsky gitlab at mg.gitlab.com
Sat Apr 29 17:11:02 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
dcab3ef9 by Matt Selsky at 2017-04-29T13:08:23-04:00
Stop using VCS_BASENAME since we really want the name of the project

- - - - -


2 changed files:

- ntpd/ntpd.c
- pylib/util.py


Changes:

=====================================
ntpd/ntpd.c
=====================================
--- a/ntpd/ntpd.c
+++ b/ntpd/ntpd.c
@@ -487,7 +487,7 @@ const char *ntpd_version(void)
 {
     static char versionbuf[64];
     snprintf(versionbuf, sizeof(versionbuf),
-	     "ntpd %s-%s+%d %s", VCS_BASENAME, VERSION, VCS_TICK, VCS_DATE);
+	     "ntpd ntpsec-%s+%d %s", VERSION, VCS_TICK, VCS_DATE);
     return versionbuf;
 }
 


=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -57,10 +57,9 @@ PPM_VARS = ("frequency", "clk_wander", "clk_wander_threshold")
 
 
 def stdversion():
-    return "%s-%s+%s %s" % (ntp.version.VCS_BASENAME,
-                            ntp.version.VERSION,
-                            ntp.version.VCS_TICK,
-                            ntp.version.VCS_DATE)
+    return "ntpsec-%s+%s %s" % (ntp.version.VERSION,
+                                ntp.version.VCS_TICK,
+                                ntp.version.VCS_DATE)
 
 
 def rfc3339(t):



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/dcab3ef9b2b783f534b4fe8da99f81845f9f6104

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/dcab3ef9b2b783f534b4fe8da99f81845f9f6104
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170429/d6eaf8f2/attachment.html>


More information about the vc mailing list