commit-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-73-g60d0f2


From: Mats Erik Andersson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-73-g60d0f2e
Date: Mon, 3 Feb 2020 13:52:22 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  60d0f2ec4eb0f14765d40a58ab0e556ef6de58cb (commit)
       via  5164b075a5825154efdda66511f030de3fa3623a (commit)
      from  416326d0ac272a438c90fb145b4ff5c59d70c4de (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=60d0f2ec4eb0f14765d40a58ab0e556ef6de58cb


commit 60d0f2ec4eb0f14765d40a58ab0e556ef6de58cb
Author: Mats Erik Andersson <address@hidden>
Date:   Mon Feb 3 19:51:05 2020 +0100

    whois: AUDA services Australia.

diff --git a/ChangeLog b/ChangeLog
index dae57cd..3b625d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2020-02-03  Mats Erik Andersson  <address@hidden>
 
+       whois: AUDA services Australia.
+       Update server name.  Forwarded from Adam King:
+       https://lists.gnu.org/archive/html/bug-inetutils/2018-07/msg00001.html
+
+       * whois/tld_serv_list (.au): Update server, now at AUDA.
+
+2020-02-03  Mats Erik Andersson  <address@hidden>
+
        Better portability for BSD install.
        Install hooks for programs that require root ownership, were written
        with GNU install in mind.  Reported and suggested by Bill Cole:
diff --git a/whois/tld_serv_list b/whois/tld_serv_list
index 79ca3c7..1f82419 100644
--- a/whois/tld_serv_list
+++ b/whois/tld_serv_list
@@ -56,7 +56,7 @@
 .as    whois.nic.as
 .at    whois.ripe.net
 .net.au        whois.connect.com.au
-.au    whois.aunic.net
+.au    whois.auda.org.au
 #.aw                   # NIC? www.setarnet.aw
 #.az   NONE            # NIC? http://www.az/ www.domain.az
 .ba    NONE            # http://www.utic.net.ba

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=5164b075a5825154efdda66511f030de3fa3623a


commit 5164b075a5825154efdda66511f030de3fa3623a
Author: Mats Erik Andersson <address@hidden>
Date:   Mon Feb 3 19:12:28 2020 +0100

    Better portability for BSD install.
    
    Reordering arguments in install hooks improves portability, and the
    inclusion of exit codes helps post analysis.  Reported by Bill Cole.

diff --git a/ChangeLog b/ChangeLog
index 3cc3c69..dae57cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2020-02-03  Mats Erik Andersson  <address@hidden>
+
+       Better portability for BSD install.
+       Install hooks for programs that require root ownership, were written
+       with GNU install in mind.  Reported and suggested by Bill Cole:
+       https://lists.gnu.org/archive/html/bug-inetutils/2018-07/msg00005.html
+
+       * ping/Makefile.am (install-ping-hook): Place program switches
+       to INSTALL_PROGRAM before file argument, thus helping BSD install.
+       Rewrite failure comment, and add exit error code.
+       * src/Makefile.am (install-traceroute-hook, install-rsh-hook)
+       (install-rlogin-hook, install-rcp-hook): Likewise.
+
 2020-02-01  Mats Erik Andersson  <address@hidden>
 
        tests: Less system logging.
diff --git a/ping/Makefile.am b/ping/Makefile.am
index c2a1771..39890d4 100644
--- a/ping/Makefile.am
+++ b/ping/Makefile.am
@@ -39,10 +39,10 @@ SUIDMODE = -o root -m 4755
 
 install-ping-hook:
        -@for x in $(bin_PROGRAMS); do \
-       $(INSTALL_PROGRAM) $$x $(SUIDMODE) $(AM_INSTALL_PROGRAM_FLAGS) 
$(DESTDIR)$(bindir)/`echo $$x|sed '$(transform)'` ; \
-       if test $$? -ne 0; then \
-         echo "WARNING: insufficient access; not installing $$x"; \
-         echo "NOTE: To install $$x run 'make install' as root"; \
+       $(INSTALL_PROGRAM) $(SUIDMODE) $(AM_INSTALL_PROGRAM_FLAGS) $$x 
$(DESTDIR)$(bindir)/`echo $$x|sed '$(transform)'` ; OUTCOME=$$?; \
+       if test $$OUTCOME -ne 0; then \
+         echo "WARNING: Failed to install $$x (exit code $$OUTCOME)"; \
+         echo "NOTE: This program often needs to be owned by root."; \
        fi \
        done
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 962dae4..4e0e1d0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -119,29 +119,29 @@ SUIDMODE = -o root -m 4755
 install-exec-hook: $(traceroute_INSTALL_HOOK) $(rsh_INSTALL_HOOK) 
$(rlogin_INSTALL_HOOK) $(rcp_INSTALL_HOOK)
 
 install-traceroute-hook:
-       -@$(INSTALL_PROGRAM) traceroute $(SUIDMODE) $(AM_INSTALL_PROGRAM_FLAGS) 
$(DESTDIR)$(bindir)/`echo traceroute|sed '$(transform)'` ; \
-       if test $$? -ne 0; then \
-         echo "WARNING: insufficient access; not installing traceroute"; \
-         echo "NOTE: To install traceroute run 'make install' as root"; \
+       -@$(INSTALL_PROGRAM) $(SUIDMODE) $(AM_INSTALL_PROGRAM_FLAGS) traceroute 
$(DESTDIR)$(bindir)/`echo traceroute|sed '$(transform)'` ; OUTCOME=$$?; \
+       if test $$OUTCOME -ne 0; then \
+         echo "WARNING: Failed to install traceroute (exit code $$OUTCOME)"; \
+         echo "NOTE: This program often needs to be owned by root."; \
        fi
 
 install-rsh-hook:
-       -@$(INSTALL_PROGRAM) rsh $(SUIDMODE) $(AM_INSTALL_PROGRAM_FLAGS) 
$(DESTDIR)$(bindir)/`echo rsh|sed '$(transform)'` ; \
-       if test $$? -ne 0; then \
-         echo "WARNING: insufficient access; not installing rsh"; \
-         echo "NOTE: To install rsh run 'make install' as root"; \
+       -@$(INSTALL_PROGRAM) $(SUIDMODE) $(AM_INSTALL_PROGRAM_FLAGS) rsh 
$(DESTDIR)$(bindir)/`echo rsh|sed '$(transform)'` ; OUTCOME=$$?; \
+       if test $$OUTCOME -ne 0; then \
+         echo "WARNING: Failed to install rsh (exit code $$OUTCOME)"; \
+         echo "NOTE: This program often needs to be owned by root."; \
        fi
 
 install-rlogin-hook:
-       -@$(INSTALL_PROGRAM) rlogin $(SUIDMODE) $(AM_INSTALL_PROGRAM_FLAGS) 
$(DESTDIR)$(bindir)/`echo rlogin|sed '$(transform)'` ; \
-       if test $$? -ne 0; then \
-         echo "WARNING: insufficient access; not installing rlogin"; \
-         echo "NOTE: To install rlogin run 'make install' as root"; \
+       -@$(INSTALL_PROGRAM) $(SUIDMODE) $(AM_INSTALL_PROGRAM_FLAGS) rlogin 
$(DESTDIR)$(bindir)/`echo rlogin|sed '$(transform)'` ; OUTCOME=$$?; \
+       if test $$OUTCOME -ne 0; then \
+         echo "WARNING: Failed to install rlogin (exit code $$OUTCOME)"; \
+         echo "NOTE: This program often needs to be owned by root."; \
        fi
 
 install-rcp-hook:
-       -@$(INSTALL_PROGRAM) rcp $(SUIDMODE) $(AM_INSTALL_PROGRAM_FLAGS) 
$(DESTDIR)$(bindir)/`echo rcp|sed '$(transform)'` ; \
-       if test $$? -ne 0; then \
-         echo "WARNING: insufficient access; not installing rcp"; \
-         echo "NOTE: To install rcp run 'make install' as root"; \
+       -@$(INSTALL_PROGRAM) $(SUIDMODE) $(AM_INSTALL_PROGRAM_FLAGS) rcp 
$(DESTDIR)$(bindir)/`echo rcp|sed '$(transform)'` ; OUTCOME=$$?; \
+       if test $$OUTCOME -ne 0; then \
+         echo "WARNING: Failed to install rcp (exit code $$OUTCOME)"; \
+         echo "NOTE: This program often needs to be owned by root."; \
        fi

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           | 21 +++++++++++++++++++++
 ping/Makefile.am    |  8 ++++----
 src/Makefile.am     | 32 ++++++++++++++++----------------
 whois/tld_serv_list |  2 +-
 4 files changed, 42 insertions(+), 21 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]