Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2018 14:56:18 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd@pdx.rh.CN85.dnsmgr.net>
To:        "George V. Neville-Neil" <gnn@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r342139 - in head: . bin/date libexec/rc/rc.d share/man/man5 tools/build/mk tools/build/options usr.sbin usr.sbin/timed
Message-ID:  <201812152256.wBFMuICq089076@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <201812152134.wBFLYehs075507@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Author: gnn
> Date: Sat Dec 15 21:34:40 2018
> New Revision: 342139
> URL: https://svnweb.freebsd.org/changeset/base/342139
> 
> Log:
>   Remove, the now very outdated, timed.
>   
>   Submitted by:	Kyle Spiers ksspiers at gmail
>   Reviewed by:	bcr,brooks,bz,sbruno
>   Relnotes:	yes
>   Differential Revision:	https://reviews.freebsd.org/D18505

This should of first been marked with a deprecation notice,
which was merged to stable/12, then removed from here.

> Deleted:
>   head/bin/date/extern.h
>   head/bin/date/netdate.c
>   head/libexec/rc/rc.d/timed
>   head/tools/build/options/WITHOUT_TIMED
>   head/usr.sbin/timed/
> Modified:
>   head/ObsoleteFiles.inc
>   head/UPDATING
>   head/bin/date/Makefile
>   head/bin/date/Makefile.depend
>   head/bin/date/date.c
>   head/libexec/rc/rc.d/Makefile
>   head/share/man/man5/src.conf.5
>   head/tools/build/mk/OptionalObsoleteFiles.inc
>   head/usr.sbin/Makefile
> 
> Modified: head/ObsoleteFiles.inc
> ==============================================================================
> --- head/ObsoleteFiles.inc	Sat Dec 15 20:07:32 2018	(r342138)
> +++ head/ObsoleteFiles.inc	Sat Dec 15 21:34:40 2018	(r342139)
> @@ -38,6 +38,12 @@
>  #   xargs -n1 | sort | uniq -d;
>  # done
>  
> +# 20181214: Remove timed files
> +OLD_FILES+=etc/rc.d/timed
> +OLD_FILES+=usr/sbin/timed
> +OLD_FILES+=usr/sbin/timedc
> +OLD_FILES+=usr/share/man/man8/timed.8.gz
> +OLD_FILES+=usr/share/man/man8/timedc.8.gz
>  # 20181211: new clang import which bumps version from 6.0.1 to 7.0.1.
>  OLD_FILES+=usr/lib/clang/6.0.1/include/sanitizer/allocator_interface.h
>  OLD_FILES+=usr/lib/clang/6.0.1/include/sanitizer/asan_interface.h
> 
> Modified: head/UPDATING
> ==============================================================================
> --- head/UPDATING	Sat Dec 15 20:07:32 2018	(r342138)
> +++ head/UPDATING	Sat Dec 15 21:34:40 2018	(r342139)
> @@ -37,6 +37,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
>  	prerequisites and upgrading, if you are not already using clang 3.5.0
>  	or higher.
>  
> +20181211:
> +	Remove the timed and netdate programs from the base tree.  Setting
> +	the time with these deamons has been obsolete for over a decade.
> +
>  20181126:
>  	On amd64, arm64 and armv7 (architectures that install LLVM's ld.lld
>  	linker as /usr/bin/ld) GNU ld is no longer installed as ld.bfd, as
> 
> Modified: head/bin/date/Makefile
> ==============================================================================
> --- head/bin/date/Makefile	Sat Dec 15 20:07:32 2018	(r342138)
> +++ head/bin/date/Makefile	Sat Dec 15 21:34:40 2018	(r342139)
> @@ -5,7 +5,7 @@
>  
>  PACKAGE=runtime
>  PROG=	date
> -SRCS=	date.c netdate.c vary.c
> +SRCS=	date.c vary.c
>  
>  HAS_TESTS=
>  SUBDIR.${MK_TESTS}+= tests
> 
> Modified: head/bin/date/Makefile.depend
> ==============================================================================
> --- head/bin/date/Makefile.depend	Sat Dec 15 20:07:32 2018	(r342138)
> +++ head/bin/date/Makefile.depend	Sat Dec 15 21:34:40 2018	(r342139)
> @@ -4,7 +4,6 @@
>  DIRDEPS = \
>  	gnu/lib/csu \
>  	include \
> -	include/protocols \
>  	include/xlocale \
>  	lib/${CSU_DIR} \
>  	lib/libc \
> 
> Modified: head/bin/date/date.c
> ==============================================================================
> --- head/bin/date/date.c	Sat Dec 15 20:07:32 2018	(r342138)
> +++ head/bin/date/date.c	Sat Dec 15 21:34:40 2018	(r342139)
> @@ -59,7 +59,6 @@ __FBSDID("$FreeBSD$");
>  #include <unistd.h>
>  #include <utmpx.h>
>  
> -#include "extern.h"
>  #include "vary.h"
>  
>  #ifndef	TM_YEAR_BASE
> @@ -67,7 +66,6 @@ __FBSDID("$FreeBSD$");
>  #endif
>  
>  static time_t tval;
> -int retval;
>  
>  static void badformat(void);
>  static void iso8601_usage(const char *);
> @@ -248,7 +246,7 @@ printdate(const char *buf)
>  	(void)printf("%s\n", buf);
>  	if (fflush(stdout))
>  		err(1, "stdout");
> -	exit(retval);
> +	exit(EXIT_SUCCESS);
>  }
>  
>  static void
> @@ -370,7 +368,7 @@ setthetime(const char *fmt, const char *p, int jflag, 
>  
>  	if (!jflag) {
>  		/* set the time */
> -		if (nflag || netsettime(tval)) {
> +		if (nflag) {
>  			utx.ut_type = OLD_TIME;
>  			memset(utx.ut_id, 0, sizeof(utx.ut_id));
>  			(void)gettimeofday(&utx.ut_tv, NULL);
> 
> Modified: head/libexec/rc/rc.d/Makefile
> ==============================================================================
> --- head/libexec/rc/rc.d/Makefile	Sat Dec 15 20:07:32 2018	(r342138)
> +++ head/libexec/rc/rc.d/Makefile	Sat Dec 15 21:34:40 2018	(r342139)
> @@ -291,10 +291,6 @@ SMRCD=		sendmail
>  SMRCDPACKAGE=	sendmail
>  .endif
>  
> -.if ${MK_TIMED} != "no"
> -CONFS+=		timed
> -.endif
> -
>  .if ${MK_UNBOUND} != "no"
>  CONFGROUPS+=	UNBOUND
>  UNBOUND+=	local_unbound
> 
> Modified: head/share/man/man5/src.conf.5
> ==============================================================================
> --- head/share/man/man5/src.conf.5	Sat Dec 15 20:07:32 2018	(r342138)
> +++ head/share/man/man5/src.conf.5	Sat Dec 15 21:34:40 2018	(r342139)
> @@ -1,6 +1,6 @@
>  .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
>  .\" $FreeBSD$
> -.Dd November 26, 2018
> +.Dd December 15, 2018
>  .Dt SRC.CONF 5
>  .Os
>  .Sh NAME
> @@ -239,6 +239,17 @@ Disable the BSD licensed
>  .Pa crtbegin.o
>  and
>  .Pa crtend.o .
> +.Pp
> +This is a default setting on
> +powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
> +.It Va WITH_BSD_CRTBEGIN
> +Enable the BSD licensed
> +.Pa crtbegin.o
> +and
> +.Pa crtend.o .
> +.Pp
> +This is a default setting on
> +amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64.
>  .It Va WITH_BSD_GREP
>  Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
>  .It Va WITHOUT_BSNMP
> @@ -1780,9 +1791,6 @@ Set to not build or install
>  .Xr tftp 1
>  and
>  .Xr tftpd 8 .
> -.It Va WITHOUT_TIMED
> -Set to not build or install
> -.Xr timed 8 .
>  .It Va WITHOUT_TOOLCHAIN
>  Set to not install header or
>  programs used for program development,
> 
> Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
> ==============================================================================
> --- head/tools/build/mk/OptionalObsoleteFiles.inc	Sat Dec 15 20:07:32 2018	(r342138)
> +++ head/tools/build/mk/OptionalObsoleteFiles.inc	Sat Dec 15 21:34:40 2018	(r342139)
> @@ -8513,14 +8513,6 @@ OLD_FILES+=usr/share/man/man1/tftp.1.gz
>  OLD_FILES+=usr/share/man/man8/tftpd.8.gz
>  .endif
>  
> -.if ${MK_TIMED} == no
> -OLD_FILES+=usr/sbin/timed
> -OLD_FILES+=usr/sbin/timedc
> -OLD_FILES+=usr/share/man/man8/timed.8.gz
> -OLD_FILES+=usr/share/man/man8/timedc.8.gz
> -.endif
> -
> -.if ${MK_TOOLCHAIN} == no
>  OLD_FILES+=usr/bin/addr2line
>  OLD_FILES+=usr/bin/as
>  OLD_FILES+=usr/bin/byacc
> 
> Modified: head/usr.sbin/Makefile
> ==============================================================================
> --- head/usr.sbin/Makefile	Sat Dec 15 20:07:32 2018	(r342138)
> +++ head/usr.sbin/Makefile	Sat Dec 15 21:34:40 2018	(r342139)
> @@ -201,7 +201,6 @@ SUBDIR.${MK_SENDMAIL}+=	praliases
>  SUBDIR.${MK_SENDMAIL}+=	sendmail
>  SUBDIR.${MK_TCP_WRAPPERS}+=	tcpdchk
>  SUBDIR.${MK_TCP_WRAPPERS}+=	tcpdmatch
> -SUBDIR.${MK_TIMED}+=	timed
>  SUBDIR.${MK_TOOLCHAIN}+=	config
>  SUBDIR.${MK_TOOLCHAIN}+=	crunch
>  SUBDIR.${MK_UNBOUND}+=	unbound
> 
> 

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812152256.wBFMuICq089076>