From owner-svn-src-all@freebsd.org Thu Aug 30 15:38:09 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C322A10A1B16; Thu, 30 Aug 2018 15:38:09 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E1D98632E; Thu, 30 Aug 2018 15:38:09 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: brd/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 431351E503; Thu, 30 Aug 2018 15:38:09 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 829DB21F21; Thu, 30 Aug 2018 11:38:08 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute5.internal (MEProxy); Thu, 30 Aug 2018 11:38:08 -0400 X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id ABBCC4135; Thu, 30 Aug 2018 11:38:07 -0400 (EDT) Message-Id: <1535643487.1731188.1491479248.1AC042E6@webmail.messagingengine.com> From: Brad Davis To: "O. Hartmann" Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-7b72137a Subject: Re: svn commit: r338374 - in head: bin/csh bin/sh etc etc/root In-Reply-To: <20180830133947.5e68bea3@thor.intern.walstatt.dynvpn.de> Date: Thu, 30 Aug 2018 09:38:07 -0600 References: <201808291659.w7TGxJqF096282@repo.freebsd.org> <20180830133947.5e68bea3@thor.intern.walstatt.dynvpn.de> X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2018 15:38:10 -0000 On Thu, Aug 30, 2018, at 5:39 AM, O. Hartmann wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Am Wed, 29 Aug 2018 16:59:19 +0000 (UTC) > Brad Davis schrieb: > > > Author: brd > > Date: Wed Aug 29 16:59:19 2018 > > New Revision: 338374 > > URL: https://svnweb.freebsd.org/changeset/base/338374 > > > > Log: > > Finish moving dot.cshrc and dot.profile to bin/csh/ and bin/sh/. > > > > Approved by: re (gjb), will (mentor) > > Differential Revision: https://reviews.freebsd.org/D16770 > > > > Added: > > head/bin/csh/dot.cshrc > > - copied unchanged from r338373, head/etc/root/dot.cshrc > > head/bin/sh/dot.profile > > - copied unchanged from r338373, head/etc/root/dot.profile > > Deleted: > > head/etc/root/dot.cshrc > > head/etc/root/dot.profile > > Modified: > > head/bin/csh/Makefile > > head/bin/sh/Makefile > > head/etc/Makefile > > > > Modified: head/bin/csh/Makefile > > ============================================================================== > > --- head/bin/csh/Makefile Wed Aug 29 16:21:34 2018 (r338373) > > +++ head/bin/csh/Makefile Wed Aug 29 16:59:19 2018 (r338374) > > @@ -10,8 +10,9 @@ > > > > CONFGROUPS= ETC ROOT > > ETC= csh.cshrc csh.login csh.logout > > -ROOT= dot.login > > +ROOT= dot.cshrc dot.login > > ROOTDIR= /root > > +ROOTNAME_dot.cshrc= .cshrc > > ROOTNAME_dot.login= .login > > PACKAGE=runtime > > TCSHDIR= ${SRCTOP}/contrib/tcsh > > @@ -152,5 +153,11 @@ tc.const.h: tc.const.c sh.char.h config.h config_f.h s > > sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \ > > sort >> ${.TARGET} > > @echo '#endif /* _h_tc_const */' >> ${.TARGET} > > + > > +beforeinstallconfig: > > + rm -f ${DESTDIR}/.cshrc > > + > > +afterinstallconfig: > > + ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc > > > > .include > > > > Copied: head/bin/csh/dot.cshrc (from r338373, head/etc/root/dot.cshrc) > > ============================================================================== > > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > > +++ head/bin/csh/dot.cshrc Wed Aug 29 16:59:19 2018 (r338374, copy of > > r338373, head/etc/root/dot.cshrc) @@ -0,0 +1,43 @@ > > +# $FreeBSD$ > > +# > > +# .cshrc - csh resource script, read at beginning of execution by each shell > > +# > > +# see also csh(1), environ(7). > > +# more examples available at /usr/share/examples/csh/ > > +# > > + > > +alias h history 25 > > +alias j jobs -l > > +alias la ls -aF > > +alias lf ls -FA > > +alias ll ls -lAF > > + > > +# A righteous umask > > +umask 22 > > + > > +set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin) > > + > > +setenv EDITOR vi > > +setenv PAGER less > > +setenv BLOCKSIZE K > > + > > +if ($?prompt) then > > + # An interactive shell -- set some stuff up > > + set prompt = "%N@%m:%~ %# " > > + set promptchars = "%#" > > + > > + set filec > > + set history = 1000 > > + set savehist = (1000 merge) > > + set autolist = ambiguous > > + # Use history to aid expansion > > + set autoexpand > > + set autorehash > > + set mail = (/var/mail/$USER) > > + if ( $?tcsh ) then > > + bindkey "^W" backward-delete-word > > + bindkey -k up history-search-backward > > + bindkey -k down history-search-forward > > + endif > > + > > +endif > > > > Modified: head/bin/sh/Makefile > > ============================================================================== > > --- head/bin/sh/Makefile Wed Aug 29 16:21:34 2018 (r338373) > > +++ head/bin/sh/Makefile Wed Aug 29 16:59:19 2018 (r338374) > > @@ -3,7 +3,9 @@ > > > > .include > > > > -CONFS= profile > > +CONFS= dot.profile profile > > +CONFSDIR_dot.profile= /root > > +CONFSNAME_dot.profile= .profile > > PACKAGE=runtime > > PROG= sh > > INSTALLFLAGS= -S > > @@ -60,5 +62,11 @@ token.h: mktokens > > > > HAS_TESTS= > > SUBDIR.${MK_TESTS}+= tests > > + > > +beforeinstallconfig: > > + rm -f ${DESTDIR}/.profile > > + > > +afterinstallconfig: > > + ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}/root/.profile ${DESTDIR}/.profile > > > > .include > > > > Copied: head/bin/sh/dot.profile (from r338373, head/etc/root/dot.profile) > > ============================================================================== > > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > > +++ head/bin/sh/dot.profile Wed Aug 29 16:59:19 2018 (r338374, copy of > > r338373, head/etc/root/dot.profile) @@ -0,0 +1,16 @@ > > +# $FreeBSD$ > > +# > > +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:~/bin > > +export PATH > > +HOME=/root > > +export HOME > > +TERM=${TERM:-xterm} > > +export TERM > > +PAGER=less > > +export PAGER > > + > > +# Query terminal size; useful for serial lines. > > +if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi > > + > > +# Uncomment to display a random cookie on each login. > > +# if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune -s ; fi > > > > Modified: head/etc/Makefile > > ============================================================================== > > --- head/etc/Makefile Wed Aug 29 16:21:34 2018 (r338373) > > +++ head/etc/Makefile Wed Aug 29 16:59:19 2018 (r338374) > > @@ -155,18 +155,6 @@ distribution: > > ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ > > dot.k5login ${DESTDIR}/root/.k5login; > > .endif > > - cd ${.CURDIR}/root; \ > > - ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ > > - dot.profile ${DESTDIR}/root/.profile; \ > > - rm -f ${DESTDIR}/.profile; \ > > - ${INSTALL_LINK} ${DESTDIR}/root/.profile ${DESTDIR}/.profile > > -.if ${MK_TCSH} != "no" > > - cd ${.CURDIR}/root; \ > > - ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ > > - dot.cshrc ${DESTDIR}/root/.cshrc; \ > > - rm -f ${DESTDIR}/.cshrc; \ > > - ${INSTALL_LINK} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc > > -.endif > > > > .if ${MK_MAIL} != "no" > > cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ > > _______________________________________________ > > svn-src-head@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/svn-src-head > > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" > > This commit breaks "make package", at least for me with an obscure > "Error 70" in the > make process. Thanks for the report. The error is above that: 09:15:27 pkg: Plist error, @config /root/.cshrc: not a regular file 09:15:27 pkg: Plist error, @config /root/.profile: not a regular file Which is interesting.. I will think about how to solve this. Regards, Brad Davis