From 52d859c4c7410e4906eba7337f3c3b895d3a3239 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2019 15:47:16 +0000 Subject: import firstboot-19.12-1.el7 --- diff --git a/.firstboot.metadata b/.firstboot.metadata new file mode 100644 index 0000000..b9b1bd2 --- /dev/null +++ b/.firstboot.metadata @@ -0,0 +1 @@ +e54e570d0ed8d4ea4756f80f05e2957eaa836fb2 SOURCES/firstboot-19.12.tar.bz2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f94d44f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/firstboot-19.12.tar.bz2 diff --git a/SPECS/firstboot.spec b/SPECS/firstboot.spec new file mode 100644 index 0000000..16a9885 --- /dev/null +++ b/SPECS/firstboot.spec @@ -0,0 +1,456 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +Summary: Initial system configuration utility +Name: firstboot +URL: http://fedoraproject.org/wiki/FirstBoot +Version: 19.12 +Release: 1%{?dist} +# This is a Red Hat maintained package which is specific to +# our distribution. Thus the source is only available from +# within this srpm. +Source0: %{name}-%{version}.tar.bz2 + +License: GPLv2+ +Group: System Environment/Base +ExclusiveOS: Linux +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: gettext +BuildRequires: python-devel, python-setuptools-devel +BuildRequires: systemd-units +Requires: pygtk2, python +Requires: python-meh +Requires(post): systemd-units systemd-sysv chkconfig +Requires(preun): systemd-units +Requires(postun): systemd-units +Requires: firstboot(windowmanager) +Requires: libreport-python +Requires: python-ethtool + +%define debug_package %{nil} + +Obsoletes: firstboot-tui < 1.90-1 + +%description +The firstboot utility runs after installation. It guides the user through +a series of steps that allows for easier configuration of the machine. + +%prep +%setup -q + +%build + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} SITELIB=%{python_sitelib} install +%find_lang %{name} + +%clean +rm -rf %{buildroot} + +%post +if [ $1 -ne 2 -a ! -f /etc/sysconfig/firstboot ]; then + platform="$(arch)" + if [ "$platform" = "s390" -o "$platform" = "s390x" ]; then + echo "RUN_FIRSTBOOT=YES" > /etc/sysconfig/firstboot + else + %systemd_post firstboot-graphical.service + fi +fi + +%preun +if [ $1 = 0 ]; then + rm -rf /usr/share/firstboot/*.pyc + rm -rf /usr/share/firstboot/modules/*.pyc +fi +%systemd_preun firstboot-graphical.service + +%postun +%systemd_postun_with_restart firstboot-graphical.service + +%triggerun -- firstboot < 1.117 +%{_bindir}/systemd-sysv-convert --save firstboot > /dev/null 2>&1 ||: +/bin/systemctl enable firstboot-graphical.service > /dev/null 2>&1 +/sbin/chkconfig --del firstboot > /dev/null 2>&1 || : +/bin/systemctl try-restart firstboot-graphical.service > /dev/null 2>&1 || : + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc README.txt +%dir %{_datadir}/firstboot/ +%dir %{_datadir}/firstboot/modules/ +%dir %{_datadir}/firstboot/themes/ +%dir %{_datadir}/firstboot/themes/default +%{python_sitelib}/* +%{_sbindir}/firstboot +%{_datadir}/firstboot/themes/default/* +%{_unitdir}/firstboot-graphical.service +%ifarch s390 s390x +%dir %{_sysconfdir}/profile.d +%{_sysconfdir}/profile.d/firstboot.sh +%{_sysconfdir}/profile.d/firstboot.csh +%endif + + +%changelog +* Fri Jun 17 2016 Martin Kolman 19.12-1 +- Update the po files (#1273359) (mkolman@redhat.com) + Related: rhbz#1273359 + +* Fri Apr 15 2016 Martin Kolman 19.11-1 +- Update the po & pot files (#1273359) (mkolman@redhat.com) + Related: rhbz#1273359 + +* Mon Feb 08 2016 Martin Kolman 19.10-1 +- Switch from Transifex to Zanata (#1273359) (mkolman@redhat.com) + Related: rhbz#1273359 +- Update translations (#1273359) (mkolman@redhat.com) + Resolves: rhbz#1273359 + +* Wed Jun 17 2015 Martin Kolman 19.9-10 +- Make sure the README file is properly installed (#1194155) (mkolman) + Resolves: rhbz#1194155 + +* Wed Jun 17 2015 Martin Kolman 19.9-9 +- Add a README (#1194155) (mkolman) + Resolves: rhbz#1194155 + +* Tue Jan 13 2015 Martin Kolman 19.9-8 +- Fix the Firstboot startup scripts for the s390 (#1180616) (jstodola) + Resolves: rhbz#1180616 + +* Thu Dec 18 2014 Martin Kolman 19.9-7 +- Fix exception handler (#952633) (mkolman@redhat.com) + Related: rhbz#952633 + +* Tue Nov 11 2014 Martin Kolman 19.9-6 +- Make Firstboot architecture specific due to s390-only files (#1162567) (mkolman@redhat.com) + Resolves: rhbz#1162567 + +* Tue Sep 30 2014 Martin Kolman 19.9-5 +- Use smaller title text size so that it fits on the screen (#1040583) + Resolves: rhbz#1040583 + +* Tue Sep 30 2014 Martin Kolman 19.9-4 +- Handle next button naming also if there is only one module (#1107887) (mkolman@redhat.com) + Related: rhbz#1107887 + +* Mon Sep 29 2014 Martin Kolman 19.9-3 +- Fix exception handling (#952633) (mkolman@redhat.com) + Resolves: rhbz#952633 +- Replace Finish with Done on the next button (#1107887) (mkolman@redhat.com) + Resolves: rhbz#1107887 + +* Wed Sep 03 2014 Martin Kolman 19.9-2 +- Add missing python-ethtool dependency (#1116921) (mkolman@redhat.com) + Resolves: rhbz#1116921 +- Disable firstboot-graphical service at the end (#1091317) (vpodzime@redhat.com) + Resolves: rhbz#1091317 + +* Mon Mar 03 2014 Martin Kolman 19.9-1 +- Update translations (mkolman@redhat.com) + Related: rhbz#1030331 + +* Mon Feb 24 2014 Martin Kolman 19.8-1 +- Update translations (mkolman@redhat.com) + Resolves: rhbz#1030331 + +* Tue Feb 11 2014 Vratislav Podzimek 19.7-1 +- Update translations (vpodzime@redhat.com) + Resolves: rhbz#1030331 + +* Tue Jan 21 2014 Vratislav Podzimek 19.6-1 +- Exit the main process correctly even if reboot is required (vpodzime) + Resolves: rhbz#903579 + Resolves: rhbz#1042666 +- Translate the error message if not run as root (vpodzime) + Related: rhbz#1044339 + +* Fri Dec 27 2013 Daniel Mach - 19.5-2 +- Mass rebuild 2013-12-27 + +* Mon Dec 09 2013 Vratislav Podzimek 19.5-1 +- Fix missing Loader._needs_network call (alikins) + Resolves: rhbz#1033696 + +* Thu Nov 07 2013 Vratislav Podzimek 19.4-2 +- Don't panic if there are no modules found (vpodzime) + Resolves: rhbz#1026941 + +* Tue Aug 27 2013 Vratislav Podzimek 19.3-1 +- Run after the initial-setup-graphical.service (if enabled) (vpodzime) +- ABRT now uses a different directory for problem data (#952633) (vpodzime) +- Make firstboot a noarch package (#921509) (vpodzime) +- Use /usr/bin/python instead of /usr/bin/env python (#987016) (vpodzime) +- Remove an unused import causing tracebacks (#965748) (vpodzime) + +* Wed Mar 13 2013 Martin Sivak 19.2-1 +- Fix a typo in variable name (sherr@redhat.com) +- Fix one two year old refactoring leftover.. (msivak@redhat.com) + +* Thu Feb 28 2013 Martin Sivak 19.1-1 +- Remove all modules that are going to be provided by anaconda and initial- + setup (msivak@redhat.com) + +* Fri Jan 25 2013 Martin Sivak 18.7-1 +- Use proper systemd macro for unit files location (#883995) (msivak@redhat.com) + +* Tue Nov 06 2012 Martin Sivak 18.6-1 +- Add support for MATE's window manager (#873342) (msivak@redhat.com) + +* Thu Oct 18 2012 Martin Sivak 18.5-1 +- Add interlingua localization (nikka@fedoraproject.org) + +* Wed Sep 19 2012 Martin Sivak 18.4-1 +- Scriptlets replaced with new systemd macros (#850112) (vpavlin@redhat.com) +- When creating first user in system with no root, force the user to be admin + (#856194) (msivak@redhat.com) + +* Wed Sep 12 2012 Martin Sivak 18.3-1 +- patch systemd service to refer to display-manager.service + not prefdm.service (awilliam@redhat.com) +- Make the created user administrator by default (#856194) + +* Thu Aug 23 2012 Brian C. Lane 18.2-1 +- Fix traceback when /etc/sysconfig/i18n doesn't exist (#849967) + (vpodzime@redhat.com) +- Don't crash firstboot with python-meh's Gtk3 UI (#849118) + (vpodzime@redhat.com) + +* Tue Jun 26 2012 Martin Gracik 18.1-1 +- Change archive type to gz (mgracik@redhat.com) + +* Tue Jun 26 2012 Martin Gracik 18.0-1 +- new package built with tito + +* Thu May 17 2012 Brian C. Lane 17.3-1 +- Let WM place the window (#821077) (bcl) +- Fix no modules error handling (mgracik) +- Check if firstboot is run under root (#816628) (mgracik) + +* Fri Apr 20 2012 Martin Gracik 17.2-1 +- Get the dimensions of the actual monitor (#800662) +- Add the admin user to dialout group (#771918) + +* Wed Apr 11 2012 Martin Gracik 17.1-1 +- Use -merge for xrdb (#808919) +- Translation updates +- Improve module loading (#797896) +- Load the screens before making the sidebar +- Use pwquality for password strength checking + +* Thu Mar 01 2012 Martin Gracik 17.0-1 +- Disable minimize and maximize buttons on s-c-u (#747829) +- Change priority of create_user module (#750527) +- Clear the user entry text fields (#736193) +- firstboot-text.service no longer exists (#750195) +- Do not run firstboot in text mode automatically (#737118) +- Relabel reused home directory (#750090) +- Do not catch exceptions from system-config-date (#737882) +- Add a firstboot-text wrapper (#734306) +- Translation updates (#734305) + +* Tue Jul 26 2011 Martin Gracik 16.1-2 +- Enable firstboot after install (#725566) + +* Mon Jul 25 2011 Martin Gracik 16.1-1 +- Don't run firstboot if it's set in /etc/sysconfig/firstboot (#723526) +- Copy skel files even if the home directory exists (#598957) + +* Tue Jul 19 2011 Martin Gracik 16.0-1 +- Honor the tty set by console kernel argument (#701648) +- Translation updates + +* Tue Jul 19 2011 Martin Gracik 1.118-1 +- Get UID_MIN from /etc/login.defs (#717113) +- Drop SysV support (Jóhann B. Guðmundsson) (#714668) +- Fix firstboot-text.service (#696320) +- Fix firstboot for s390 architecture (#463564) +- Set the theme directory +- Changes to systemd service files +- Save exception to a file +- Remove init file from the spec +- New systemd service files +- Remove old init from setup +- Remove the old init +- Use the new loader in moduleset +- Rewritten the firstboot executable +- Added reconfig property to module and moduleset +- Added new constants +- Rewritten frontend +- Rewritten loader +- Update systemd config to prevent tty conflict (#681292) +- Fix username guessing +- We need to quit plymouth before running firstboot (#679171) + +* Fri Feb 18 2011 Martin Gracik 1.117-1 +- Fix username guessing with unicode chars (#678070) + +* Tue Feb 15 2011 Martin Gracik 1.116-1 +- systemd's ValidNoProcess renamed to RemainAfterExit +- Don't run Xorg with -nr option and use vt1 +- Translation updates + +* Fri Jan 14 2011 Martin Gracik 1.115-1 +- Don't enable firstboot service on upgrade (#626676) +- Set HOME to /root rather than / (#578903) +- Translation updates + +* Mon Dec 20 2010 Martin Gracik 1.114-1 +- Support other window managers than metacity (#605675) +- firstboot -> metacity dep (#605675) (rdieter) +- Change how we check for user account +- Use StrengthMeter widget instead of ProgressBar +- Add StrengthMeter widget to pwcheck +- Increase the weight of cracklib password check +- Show the password strength in a progress bar +- Add strength fraction property to pwcheck +- Translation updates +- Change the way we warn for a weak password +- Add the pwcheck module for getting the password strength +- Do not show tabs in date and time module +- Allow the user to be added to wheel group (#462161) +- Guess user name from full name (#517269) + +* Thu Aug 26 2010 Martin Gracik 1.113-1 +- Updated the .pot file +- Changed string formatting for translations (#618610) +- Syntax changed in new systemd +- Make sure we start before tty1 in text mode +- Don't use the legacy sysv services anymore +- Translation updates + +* Tue Aug 10 2010 Martin Gracik 1.112-1 +- Add systemd support (adamw) +- Translation updates + +* Thu Jul 15 2010 Martin Gracik 1.111-1 +- Fixed indenting +- Set the LANG variable if running our own X frontend (#599296) +- Added the spec file obsoletes version number +- Add requirement for cracklib-python +- Allow more control when creating new user (#602030) +- Fix functioning of module sets (#595320) +- Don't try to use the X frontend when run in console (#537717) +- Update to work with new python-meh with report support (#562659) +- Add weak password checking (#612362) +- Source the lang.sh file instead of just i18n (#563547) +- Run Xorg with -nr option, so we have less flicker (ajax) +- Many translation updates + +* Wed Oct 14 2009 Chris Lumens 1.110-1 +- Always attempt to display the Fedora logo, if present (jmccann). +- Fix a bunch of small firstboot UI problems (jmccann). + +* Thu Sep 10 2009 Chris Lumens 1.109-1 +- Change the init script return value for LSB purposes (atodorov, #521828). +- We don't really need an X log file anymore (#521387). +- Pull in updated translations. +- Improve logging when modules cannot be loaded (jlaska). + +* Tue Aug 11 2009 Chris Lumens 1.108-1 +- Move python-meh initialization to after we have gtk imported (#515419). +- Do @VERSION@ substitution on progs/firstboot. +- Switch to using system-config-keyboard for the keyboard bits (katzj). +- Stop using rhpl.ethtool (katzj). + +* Tue Jul 28 2009 Chris Lumens 1.107-1 +- Convert to using python-meh. + +* Tue May 05 2009 Chris Lumens 1.106-1 +- Display an error message when the user doesn't supply a password (#480927). +- Lots of translation updates. + +* Fri Jan 16 2009 Chris Lumens 1.105-1 +- Fix a typo in starting up X. + +* Tue Dec 16 2008 Chris Lumens 1.104-1 +- Let X tell us when it's ready to run (ajax). +- Add a Requires: for authconfig-gtk (#474733). +- Log errors changing file permissions and notify (#473191). +- Improve the dialogs around reusing a home directory (#470461). +- Fix a crash when cancelling contacting an NTP server (#475304). +- Since you have to create a user now, change the message. + +* Tue Nov 04 2008 Chris Lumens 1.103-1 +- Try another way of waiting for X to terminate (#469501). + +* Mon Oct 27 2008 Chris Lumens 1.102-1 +- Be smarter about finding a graphics theme to use. + +* Wed Oct 22 2008 Chris Lumens 1.101-1 +- Wait to make sure X is completely dead before continuing (ajax). +- Don't display that ugly root weave background anymore (ajax). +- Lots of translation updates. + +* Fri Sep 12 2008 Chris Lumens 1.100-1 +- Force creating a user unless the network button was checked (jmccann, #461656). +- Don't sit at the bootup splash screen indefinitely (#458553). + +* Thu Jul 31 2008 Chris Lumens 1.99-1 +- Enable the correct keyboard layout (#453228). +- Remove the timezone tab from the default date & time module (#442394). +- Raise NotImplementedError instead of TypeError. +- Allow modules to focus a UI element before they are displayed (#457422). +- Lots of updated translations. + +* Tue May 13 2008 Chris Lumens 1.98-1 +- Remove the rhgb interface. +- Use subprocess for starting X instead of rhpxl. +- Don't run system-config-display from the init if there's no X config + file. +- Fix tracebacks when trying to chown broken symlinks (#445092). +- Set up the keyboard if firstboot is run as a program (#445281). +- Lots of updated translations. + +* Wed Apr 16 2008 Chris Lumens 1.97-1 +- Don't allow creating a user with no password (#442613). +- In low resolution cases, wrap the sidebar text earlier (#442394). +- Update translation files for EULA URL change (stickster@gmail.com). + +* Thu Apr 10 2008 Chris Lumens 1.96-1 +- Don't package additional_cds module for now (#441749). +- Add the date and time module (#441504). +- The license agreement has moved URLs. + +* Mon Apr 07 2008 Chris Lumens 1.95-4 +- Fix another init script typo (#441016). + +* Fri Apr 04 2008 Chris Lumens 1.95-3 +- Fix a typo in the init script. + +* Thu Apr 03 2008 Chris Lumens 1.95-2 +- Require another program we need. + +* Thu Apr 03 2008 Chris Lumens 1.95-1 +- Check for RUN_FIRSTBOOT=NO in the init script. +- Don't display broken images if files aren't found in the primary location. + +* Wed Apr 02 2008 Chris Lumens 1.94-1 +- Look in the right directory for Fedora artwork (#439283). +- Require libuser-python (#439307). +- Translation updates. + +* Wed Mar 26 2008 Chris Lumens 1.93-1 +- Add in the text mode interface. +- Wait for the X server to exit (#431469). +- Lots of translation updates. + +* Thu Jan 31 2008 Chris Lumens 1.92-1 +- Add a reworked user creation page (#429195). +- If the user's home dir already exists, offer to set ownership (#426631). + +* Mon Jan 28 2008 Chris Lumens 1.91-2 +- Put module in /usr/lib64 on 64-bit platforms. + +* Wed Jan 02 2008 Chris Lumens 1.91-1 +- Reorganize to provide a python module. +- Provide real help output for the firstboot program. + +* Wed Dec 05 2007 Chris Lumens 1.90-3 +- Don't provide a debuginfo package (#413011). + +* Tue Nov 20 2007 Chris Lumens 1.90-2 +- Obsolete the old firstboot-tui package that no longer exists. + +* Mon Nov 19 2007 Chris Lumens 1.90-1 +- First packaging of the new firstboot program.