Summary: A system tool for maintaining the /etc/rc*.d hierarchy. Name: chkconfig Version: 1.3.21 Release: 1 License: GPL Group: System Environment/Base Source: ftp://ftp.redhat.com/pub/redhat/code/chkconfig/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildPrereq: newt newt-devel gettext Conflicts: initscripts <= 5.30-1 %description Chkconfig is a basic system utility. It updates and queries runlevel information for system services. Chkconfig manipulates the numerous symbolic links in /etc/rc.d, to relieve system administrators of some of the drudgery of manually editing the symbolic links. %package -n ntsysv Summary: A tool to set the stop/start of system services in a runlevel. Group: System Environment/Base Requires: chkconfig = %{version} %description -n ntsysv Ntsysv provides a simple interface for setting which system services are started or stopped in various runlevels (instead of directly manipulating the numerous symbolic links in /etc/rc.d). Unless you specify a runlevel or runlevels on the command line (see the man page), ntsysv configures the current runlevel (5 if you're using X). %prep %setup -q %build %ifarch sparc LIBMHACK=-lm %endif make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBMHACK=$LIBMHACK %install rm -rf $RPM_BUILD_ROOT make instroot=$RPM_BUILD_ROOT MANDIR=%{_mandir} install mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d ln -s rc.d/init.d $RPM_BUILD_ROOT/etc/init.d for n in 0 1 2 3 4 5 6; do mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc${n}.d ln -s rc.d/rc${n}.d $RPM_BUILD_ROOT/etc/rc${n}.d done %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %dir /etc/alternatives /sbin/chkconfig /usr/sbin/update-alternatives /usr/sbin/alternatives /etc/init.d /etc/rc.d/init.d /etc/rc[0-6].d /etc/rc.d/rc[0-6].d %dir /var/lib/alternatives %{_mandir}/*/chkconfig* %{_mandir}/*/update-alternatives* %{_mandir}/*/alternatives* %files -n ntsysv %defattr(-,root,root) /usr/sbin/ntsysv %{_mandir}/*/ntsysv.8* %changelog * Tue Nov 8 2005 Bill Nottingham - for LSB scripts, use any chkconfig: priorities as a basis, instead of 50/50 (#172599) - fix LSB script dependency setting when no chkconfig: line is present (#161870, ) - fix LSB script dependency setting when one of Required-Stop or Required-Start: is missing (#168457) * Fri Oct 7 2005 Bill Nottingham - fix segfault on directories in /etc/xinetd.d (#166385) - don't needlessly rewrite xinetd files (#81008) * Thu May 5 2005 Bill Nottingham 1.3.20-1 - fix deletion of orphaned slave links (#131496, ) * Fri Apr 29 2005 Bill Nottingham 1.3.19-1 - build with updated translations * Thu Mar 3 2005 Bill Nottingham 1.3.18-1 - actually return an error code if changing a service info fails * Tue Feb 22 2005 Bill Nottingham 1.3.17-1 - more chkconfig: vs. LSB fixes (#149066) * Thu Feb 10 2005 Bill Nottingham 1.3.16-1 - prefer chkconfig: start/stop priorities in LSB mode unless Required-Start/Stop are used * Mon Feb 7 2005 Bill Nottingham 1.3.15-1 - print usage when various invalid args are passed (#147393) * Wed Feb 2 2005 Bill Nottingham 1.3.14-1 - resize reasonably with larger screens (#74156) - don't error out completely on bad symlink (#74324) - use ngettext (#106176) - error out on invalid start/stop values (#109858) - some man page updates - fix return code of chkconfig for xinetd services (#63123) - sort chkconfig --list display (#61576, ) * Tue Jan 11 2005 Bill Nottingham 1.3.13-1 - fix LSB comment parsing some more (#144739) * Thu Oct 28 2004 Bill Nottingham 1.3.11.2-1 - fix manpage reference (#137492) * Fri Oct 1 2004 Bill Nottingham 1.3.11.1-1 - rebuild with updated translations * Fri Jun 4 2004 Bill Nottingham 1.3.11-1 - fix LSB comment parsing (#85678) * Wed May 29 2004 Bill Nottingham 1.3.10-1 - mark alternatives help output for translation (#110526) * Wed Oct 22 2003 Bill Nottingham 1.3.9-1 - update translations * Mon Jul 28 2003 Bill Nottingham 1.3.8-4 - rebuild * Tue May 13 2003 Dan Walsh 1.3.8-3 - Update for RHEL * Thu May 8 2003 Dan Walsh 1.3.8-2 - Fix readXinetdServiceInfo to return error on not regular files - Fix chkconfig to not write messages if readXinetdServiceInfo gets an error * Fri Jan 31 2003 Bill Nottingham 1.3.8-1 - fix some wording in alternatives (#76213) - actually mark alternatives for translation * Thu Dec 12 2002 Elliot Lee 1.3.7-1 - Link to libpopt in a multilib-safe fashion. * Thu Aug 29 2002 Trond Eivind Glomsrød 1.3.6-3 - bump * Thu Aug 15 2002 Bill Nottingham 1.3.6-2 - rebuild against new newt * Mon Aug 12 2002 Bill Nottingham 1.3.6-1 - make on and off handle runlevel 2 too (#70766) * Mon Apr 15 2002 Trond Eivind Glomsrød 1.3.5-3 - Update translations * Mon Apr 15 2002 Trond Eivind Glomsrød 1.3.5-2 - Update translations * Sun Apr 7 2002 Jeremy Katz 1.3.5-1 - alternatives: handle default with --config properly (#62009) * Thu Mar 14 2002 Bill Nottingham 1.3.4-1 - don't apply the dependency logic to things that already have start/stop priorities - fix silly display bug in --config * Tue Mar 12 2002 Bill Nottingham 1.3.2-1 - chkconfig: LSB support * Fri Mar 8 2002 Bill Nottingham - alternatives: handle initscripts too; --initscript command-line option - chkconfig/ntsysv (and serviceconf, indirectly): services with *no* links in /etc/rc*.d are no longer displayed with --list, or available for configuration except via chkconfig command-line options - alternatives: fix trying to enable disable a null service * Tue Mar 5 2002 Bill Nottingham - alternatives: handle things with different numbers of slave links * Mon Mar 4 2002 Bill Nottingham - minor alternatives tweaks: don't install the same thing multiple times * Wed Jan 30 2002 Bill Nottingham - actually, put the alternatives stuff back in /usr/sbin - ship /etc/alternatives dir - random alternatives fixes * Sun Jan 27 2002 Erik Troan - reimplemented update-alternatives as just alternatives * Thu Jan 25 2002 Bill Nottingham - add in update-alternatives stuff (perl ATM) * Mon Aug 27 2001 Trond Eivind Glomsrød - Update translations * Tue Jun 12 2001 Bill Nottingham - don't segfault on files that are exactly the length of a page size (#44199, ) * Sun Mar 4 2001 Bill Nottingham - don't show xinetd services in ntsysv if xinetd doesn't appear to be installed (#30565) * Wed Feb 14 2001 Preston Brown - final translation update. * Tue Feb 13 2001 Preston Brown - warn in ntsysv if not running as root. * Fri Feb 2 2001 Preston Brown - use lang finder script * Fri Feb 2 2001 Bill Nottingham - finally fix the bug Nalin keeps complaining about :) * Wed Jan 24 2001 Preston Brown - final i18n update before Beta. * Wed Oct 18 2000 Bill Nottingham - ignore .rpmnew files (#18915) - fix typo in error message (#17575) * Wed Aug 30 2000 Nalin Dahyabhai - make xinetd config files mode 0644, not 644 * Thu Aug 24 2000 Erik Troan - updated it and es translations * Sun Aug 20 2000 Bill Nottingham - get man pages in proper packages * Sun Aug 20 2000 Matt Wilson - new translations * Tue Aug 16 2000 Nalin Dahyabhai - don't worry about extra whitespace on chkconfig: lines (#16150) * Wed Aug 10 2000 Trond Eivind Glomsrød - i18n merge * Wed Jul 26 2000 Matt Wilson - new translations for de fr it es * Tue Jul 25 2000 Bill Nottingham - change prereqs * Sun Jul 23 2000 Bill Nottingham - fix ntsysv's handling of xinetd/init files with the same name * Fri Jul 21 2000 Bill Nottingham - fix segv when reading malformed files * Wed Jul 19 2000 Bill Nottingham - put links, rc[0-6].d dirs back, those are necessary * Tue Jul 18 2000 Bill Nottingham - add quick hack support for reading descriptions from xinetd files * Mon Jul 17 2000 Bernhard Rosenkraenzer - don't own the /etc/rc[0-6].d symlinks; they're owned by initscripts * Sat Jul 15 2000 Matt Wilson - move back to old file layout * Thu Jul 13 2000 Preston Brown - bump copyright date * Tue Jul 11 2000 Bill Nottingham - no %pre today. Maybe tomorrow. * Thu Jul 6 2000 Bill Nottingham - put initscripts %pre here too * Mon Jul 3 2000 Bill Nottingham - oops, if we don't prereq initscripts, we *need* to own /etc/rc[0-6].d * Sun Jul 2 2000 Bill Nottingham - add xinetd support * Tue Jun 27 2000 Matt Wilson - changed Prereq: initscripts >= 5.18 to Conflicts: initscripts < 5.18 - fixed sumary and description where a global string replace nuked them * Mon Jun 26 2000 Matt Wilson - what Bill said, but actually build this version * Thu Jun 15 2000 Bill Nottingham - don't own /etc/rc.* * Fri Feb 11 2000 Bill Nottingham - typo in man page * Wed Feb 02 2000 Cristian Gafton - fix description * Wed Jan 12 2000 Bill Nottingham - link chkconfig statically against popt * Mon Oct 18 1999 Bill Nottingham - fix querying alternate levels * Mon Aug 23 1999 Jeff Johnson - don't use strchr to skip unwanted files, look at extension instead (#4166). * Thu Aug 5 1999 Bill Nottingham - fix --help, --verson * Mon Aug 2 1999 Matt Wilson - rebuilt ntsysv against newt 0.50 * Mon Aug 2 1999 Jeff Johnson - fix i18n problem in usage message (#4233). - add --help and --version. * Mon Apr 19 1999 Cristian Gafton - release for Red Hat 6.0 * Thu Apr 8 1999 Matt Wilson - added support for a "hide: true" tag in initscripts that will make services not appear in ntsysv when run with the "--hide" flag * Thu Apr 1 1999 Matt Wilson - added --hide flag for ntsysv that allows you to hide a service from the user. * Mon Mar 22 1999 Bill Nottingham - fix glob, once and for all. Really. We mean it. * Thu Mar 18 1999 Bill Nottingham - revert fix for services@levels, it's broken - change default to only edit the current runlevel * Mon Mar 15 1999 Bill Nottingham - don't remove scripts that don't support chkconfig * Tue Mar 09 1999 Erik Troan - made glob a bit more specific so xinetd and inetd don't cause improper matches * Thu Feb 18 1999 Matt Wilson - removed debugging output when starting ntsysv * Thu Feb 18 1999 Preston Brown - fixed globbing error - fixed ntsysv running services not at their specified levels. * Tue Feb 16 1999 Matt Wilson - print the value of errno on glob failures. * Sun Jan 10 1999 Matt Wilson - rebuilt for newt 0.40 (ntsysv) * Tue Dec 15 1998 Jeff Johnson - add ru.po. * Thu Oct 22 1998 Bill Nottingham - build for Raw Hide (slang-1.2.2) * Wed Oct 14 1998 Cristian Gafton - translation updates * Thu Oct 08 1998 Cristian Gafton - updated czech translation (and use cs instead of cz) * Tue Sep 22 1998 Arnaldo Carvalho de Melo - added pt_BR translations - added more translatable strings - support for i18n init.d scripts description * Sun Aug 02 1998 Erik Troan - built against newt 0.30 - split ntsysv into a separate package * Thu May 07 1998 Erik Troan - added numerous translations * Mon Mar 23 1998 Erik Troan - added i18n support * Sun Mar 22 1998 Erik Troan - added --back