[Git][NTPsec/ntpsec][master] 2 commits: No need to test for sockaddr_storage, it's POSIX.

Eric S. Raymond gitlab at mg.gitlab.com
Sun Jan 22 18:51:43 UTC 2017

Eric S. Raymond pushed to branch master at NTPsec / ntpsec

1527b195 by Eric S. Raymond at 2017-01-22T12:42:51-05:00
No need to test for sockaddr_storage, it's POSIX.

- - - - -
2c9f28d4 by Eric S. Raymond at 2017-01-22T13:51:13-05:00
Clean up INSTALL following Gentoo support in buildprep.

- - - - -

2 changed files:

- wafhelpers/check_sockaddr.py


@@ -19,11 +19,11 @@ to run and in addition, the development headers installed to build.
 === The short version ===
 If you are on a Debian or Ubuntu distribution that uses apt-get, or on
-a Fedora or RedHat distribution that uses yum, or a Suse distribution
-that uses yast, you can use the ./buildprep script.  If you are using
-other distributions or OSes, such as Gentoo, MacOS, Solaris, or BSD,
-you will have to install the build prerequisites by hand on your
+a Fedora or RedHat distribution that uses yum or dnf, or a Suse
+distribution that uses yast or zypper, or Gentoo, you can use the
+./buildprep script.  If you are using other distributions or OSes,
+such as MacOS, Solaris, or BSD, you will have to install the build
+prerequisites by hand on your system.
 Run ./buildprep -n to see what needs to be installed as prerequisites
 on your system.  In order that we have a single point of truth about
@@ -64,7 +64,6 @@ libsodium::
        i386 deb available from:
        amd64: use a tarball
-   Gentoo: dev-libs/libsodium
    MacOS/OS X, macports: libsodium
    Ubuntu 14.04 LTS: and older: https://gist.github.com/jonathanpmartins/2510f38abee1e65c6d92
@@ -74,7 +73,6 @@ libcap::
    Required for ntpviz.
-   Gentoo: sci-visualization/gnuplot
    Required for ntpviz when using Python version 2.6
@@ -104,11 +102,9 @@ sys/timepps.h::
    file to be installed, depending on which refclocks you enable.
    This won't be necessary for pure client (Stratum 2 or higher)
-   Gentoo: net-misc/pps-tools
    Optional, improves font quality in ntpviz renderings.
-   Gentoo: media-fonts/liberation-fonts
 asciidoc, a2x::
    You will need asciidoc to make HTML and a2x to make manual pages from the

--- a/wafhelpers/check_sockaddr.py
+++ b/wafhelpers/check_sockaddr.py
@@ -1,12 +1,3 @@
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-struct sockaddr_storage n;
 SA_LEN_FRAG = """
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -19,15 +10,6 @@ int main(void) {
 def check_sockaddr(ctx):
-        fragment=SOCKADDR_STORAGE_FRAG,
-        define_name="HAVE_STRUCT_SOCKADDR_STORAGE",
-        features="c",
-        msg="Checking for type sockaddr_storage",
-        mandatory=False,
-        comment="Whether sockaddr_storage exists"
-    )
-    ctx.check_cc(

View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/377f8825634c553c69591cc7a5c1a146b3fe1d46...2c9f28d41f4306aa6d1d0a4798f2c2f3b550421c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170122/496034fc/attachment.html>

More information about the vc mailing list