From e83fc9c947c08c134dda16272e58ec210bf303c1 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 26 May 2022 14:10:34 -0400 Subject: [PATCH] Auto sync2gitlab import of rootfiles-8.1-22.el8.src.rpm --- .gitignore | 0 EMPTY | 1 - dot-bash_logout | 2 + dot-bash_profile | 12 +++ dot-bashrc | 12 +++ dot-cshrc | 7 ++ dot-tcshrc | 10 +++ rootfiles.spec | 186 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 0 9 files changed, 229 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 EMPTY create mode 100644 dot-bash_logout create mode 100644 dot-bash_profile create mode 100644 dot-bashrc create mode 100644 dot-cshrc create mode 100644 dot-tcshrc create mode 100644 rootfiles.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/dot-bash_logout b/dot-bash_logout new file mode 100644 index 0000000..af7c6fd --- /dev/null +++ b/dot-bash_logout @@ -0,0 +1,2 @@ +# ~/.bash_logout + diff --git a/dot-bash_profile b/dot-bash_profile new file mode 100644 index 0000000..3dc099a --- /dev/null +++ b/dot-bash_profile @@ -0,0 +1,12 @@ +# .bash_profile + +# Get the aliases and functions +if [ -f ~/.bashrc ]; then + . ~/.bashrc +fi + +# User specific environment and startup programs + +PATH=$PATH:$HOME/bin + +export PATH diff --git a/dot-bashrc b/dot-bashrc new file mode 100644 index 0000000..6e6d1e1 --- /dev/null +++ b/dot-bashrc @@ -0,0 +1,12 @@ +# .bashrc + +# User specific aliases and functions + +alias rm='rm -i' +alias cp='cp -i' +alias mv='mv -i' + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi diff --git a/dot-cshrc b/dot-cshrc new file mode 100644 index 0000000..d087a90 --- /dev/null +++ b/dot-cshrc @@ -0,0 +1,7 @@ +# .cshrc + +# User specific aliases and functions + +alias rm 'rm -i' +alias cp 'cp -i' +alias mv 'mv -i' diff --git a/dot-tcshrc b/dot-tcshrc new file mode 100644 index 0000000..e68e89e --- /dev/null +++ b/dot-tcshrc @@ -0,0 +1,10 @@ +# .tcshrc + +# User specific aliases and functions + +alias rm 'rm -i' +alias cp 'cp -i' +alias mv 'mv -i' + +set prompt='[%n@%m %c]# ' + diff --git a/rootfiles.spec b/rootfiles.spec new file mode 100644 index 0000000..1e8e799 --- /dev/null +++ b/rootfiles.spec @@ -0,0 +1,186 @@ +Summary: The basic required files for the root user's directory +Name: rootfiles +Version: 8.1 +Release: 22%{?dist} +License: Public Domain +Group: System Environment/Base + +# This is a Red Hat maintained package which is specific to +# our distribution. Thus the source is only available from +# within this srpm. +Source0: dot-bashrc +Source1: dot-bash_profile +Source2: dot-bash_logout +Source3: dot-tcshrc +Source4: dot-cshrc + +BuildArch: noarch + +%description +The rootfiles package contains basic required files that are placed +in the root user's account. These files are basically the same +as those in /etc/skel, which are placed in regular +users' home directories. + +%prep + +%install +mkdir -p $RPM_BUILD_ROOT/root + +for file in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} ; do + f=`basename $file` + install -p -m 644 $file $RPM_BUILD_ROOT/root/${f/dot-/.} +done + +%posttrans +if [ $1 -eq 0 ] ; then + #copy recursively the content, but do not overwrite the original files provided by rootfiles package + cp -ndr --preserve=ownership,timestamps /etc/skel/. /root/ || : +fi + +%files +%defattr(-,root,root,-) +%config(noreplace) /root/.[A-Za-z]* + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 8.1-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 8.1-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 8.1-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 8.1-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 8.1-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 8.1-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Dec 04 2013 Ondrej Vasik 0.1-16 +- actually --no-preserve doesn't work for this case... + - changing to --preserve + +* Wed Dec 04 2013 Ondrej Vasik 0.1-15 +- fix the posttrans scriptlet to not change the /root + permissions (#1037688) + +* Fri Sep 20 2013 Ondrej Vasik 0.1-14 +- fix the posttrans copying (thanks O.Poplawski) + +* Wed Sep 18 2013 Ondrej Vasik 0.1-13 +- copy content of /etc/skel directory for root as posstrans, + don't overwrite existing files (#999114) + +* Sun Aug 04 2013 Fedora Release Engineering - 8.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 8.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 8.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 8.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 8.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Jul 26 2009 Fedora Release Engineering - 8.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Mar 30 2009 Ondrej Vasik - 8.1-5 +- removed clear from dot-bash_logout (synchronized with bash, + related to #429406) +- removed unset USERNAME from dot-bash_profile (synchronized with + bash, related to #196735) + +* Mon Mar 23 2009 Phil Knirsch - 8.1-4 +- Added the "we-are-upstream" comments according to Fedora review (#226376) +- Added -p option to install to preserve timestamps (#226376) + +* Wed Feb 25 2009 Fedora Release Engineering - 8.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Oct 31 2008 Ondrej Vasik - 8.1-2 +- Add dist tag, fix a few rpmlint issues, rebuild due to + wrong vendor (#451229) +- Added ncurses requirement(#469390) + +* Wed Jul 12 2006 Jesse Keating - 8.1-1.1.1 +- rebuild + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Fri Dec 3 2004 Bill Nottingham 8.1-1 +- restore tcsh prompt into .tcshrc (#141782) + +* Wed Sep 22 2004 Bill Nottingham 8-1 +- sync files with current /etc/skel stuff +- remove Xresources (#75666) + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Wed Dec 11 2002 Tim Powers 7.2-5 +- rebuild + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Thu Jul 5 2001 Preston Brown 7.2-1 +- /sbin stuff out of PATH, moved into /etc/profile + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Tue Jul 11 2000 Preston Brown +- fix .tcshrc + +* Mon Jul 3 2000 Jakub Jelinek +- don't assume ASCII ordering in glob pattern + +* Sat Jun 10 2000 Bill Nottingham +- rebuild +- fix some path stuff (#11191) + +* Tue Apr 18 2000 Bill Nottingham +- mv .Xdefaults -> .Xresources (#10623) + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 5) + +* Tue Jan 12 1999 Jeff Johnson +- add %%clean (#719) + +* Tue Dec 29 1998 Cristian Gafton +- build for 6.0 + +* Wed Oct 9 1998 Bill Nottingham +- remove /root from %%files (it's in filesystem) + +* Sun Aug 23 1998 Jeff Johnson +- portability fix for .cshrc (problem #235) +- change version to be same as release. + +* Tue Sep 09 1997 Erik Troan +- made a noarch package + +* Thu Mar 20 1997 Erik Troan +- Removed .Xclients and .Xsession from package, added %%pre to back up old + .Xclients if necessary. diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29