lslebodn / rpms / chkconfig

Forked from rpms/chkconfig 5 years ago
Clone
cvsdist b1cd7c0
Summary: A system tool for maintaining the /etc/rc*.d hierarchy.
cvsdist b1cd7c0
Name: chkconfig
cvsdist 0c58a5c
Version: 1.2.22
cvsdist 3162ddb
Release: 2
cvsdist b1cd7c0
License: GPL
cvsdist b1cd7c0
Group: System Environment/Base
cvsdist b1cd7c0
Source: ftp://ftp.redhat.com/pub/redhat/code/chkconfig/%{name}-%{version}.tar.gz
cvsdist b1cd7c0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist b1cd7c0
BuildPrereq: newt newt-devel
cvsdist b1cd7c0
Conflicts: initscripts <= 5.30-1
cvsdist b1cd7c0
cvsdist b1cd7c0
%description
cvsdist b1cd7c0
Chkconfig is a basic system utility.  It updates and queries runlevel
cvsdist b1cd7c0
information for system services.  Chkconfig manipulates the numerous
cvsdist b1cd7c0
symbolic links in /etc/rc.d, to relieve system administrators of some 
cvsdist b1cd7c0
of the drudgery of manually editing the symbolic links.
cvsdist b1cd7c0
cvsdist b1cd7c0
%package -n ntsysv
cvsdist b1cd7c0
Summary: A tool to set the stop/start of system services in a runlevel.
cvsdist b1cd7c0
Group: System Environment/Base
cvsdist b1cd7c0
cvsdist b1cd7c0
%description -n ntsysv
cvsdist b1cd7c0
Ntsysv provides a simple interface for setting which system services
cvsdist b1cd7c0
are started or stopped in various runlevels (instead of directly
cvsdist b1cd7c0
manipulating the numerous symbolic links in /etc/rc.d). Unless you
cvsdist b1cd7c0
specify a runlevel or runlevels on the command line (see the man
cvsdist b1cd7c0
page), ntsysv configures the current runlevel (5 if you're using X).
cvsdist b1cd7c0
cvsdist b1cd7c0
%prep
cvsdist b1cd7c0
%setup -q
cvsdist b1cd7c0
cvsdist b1cd7c0
%build
cvsdist b1cd7c0
cvsdist b1cd7c0
%ifarch sparc
cvsdist b1cd7c0
LIBMHACK=-lm
cvsdist b1cd7c0
%endif
cvsdist b1cd7c0
cvsdist b1cd7c0
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBMHACK=$LIBMHACK
cvsdist b1cd7c0
cvsdist b1cd7c0
%install
cvsdist b1cd7c0
rm -rf $RPM_BUILD_ROOT
cvsdist b1cd7c0
make instroot=$RPM_BUILD_ROOT MANDIR=%{_mandir} install
cvsdist b1cd7c0
cvsdist b1cd7c0
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
cvsdist b1cd7c0
ln -s rc.d/init.d $RPM_BUILD_ROOT/etc/init.d
cvsdist b1cd7c0
for n in 0 1 2 3 4 5 6; do
cvsdist b1cd7c0
    mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc${n}.d
cvsdist b1cd7c0
    ln -s rc.d/rc${n}.d $RPM_BUILD_ROOT/etc/rc${n}.d
cvsdist b1cd7c0
done
cvsdist b1cd7c0
cvsdist 0c58a5c
%find_lang %{name}
cvsdist 0c58a5c
cvsdist b1cd7c0
%clean
cvsdist b1cd7c0
rm -rf $RPM_BUILD_ROOT
cvsdist b1cd7c0
cvsdist 0c58a5c
%files -f %{name}.lang
cvsdist b1cd7c0
%defattr(-,root,root)
cvsdist b1cd7c0
/sbin/chkconfig
cvsdist b1cd7c0
/etc/init.d
cvsdist b1cd7c0
/etc/rc.d/init.d
cvsdist b1cd7c0
/etc/rc[0-6].d
cvsdist b1cd7c0
/etc/rc.d/rc[0-6].d
cvsdist b1cd7c0
%{_mandir}/*/chkconfig*
cvsdist b1cd7c0
cvsdist b1cd7c0
%files -n ntsysv
cvsdist b1cd7c0
%defattr(-,root,root)
cvsdist b1cd7c0
/usr/sbin/ntsysv
cvsdist b1cd7c0
%{_mandir}/*/ntsysv.8*
cvsdist b1cd7c0
cvsdist b1cd7c0
%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
cvsdist b1cd7c0
cvsdist b1cd7c0
%changelog
cvsdist 3162ddb
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 3162ddb
- Bump release + rebuild.
cvsdist 3162ddb
cvsdist 0c58a5c
* Sun Mar  4 2001 Bill Nottingham <notting@redhat.com>
cvsdist 0c58a5c
- don't show xinetd services in ntsysv if xinetd doesn't appear to be
cvsdist 0c58a5c
  installed (#30565)
cvsdist 0c58a5c
cvsdist 0c58a5c
* Wed Feb 14 2001 Preston Brown <pbrown@redhat.com>
cvsdist 0c58a5c
- final translation update.
cvsdist 0c58a5c
cvsdist 0c58a5c
* Tue Feb 13 2001 Preston Brown <pbrown@redhat.com>
cvsdist 0c58a5c
- warn in ntsysv if not running as root.
cvsdist 0c58a5c
cvsdist 0c58a5c
* Fri Feb  2 2001 Preston Brown <pbrown@redhat.com>
cvsdist 0c58a5c
- use lang finder script
cvsdist 0c58a5c
cvsdist 0c58a5c
* Fri Feb  2 2001 Bill Nottingham <notting@redhat.com>
cvsdist 0c58a5c
- finally fix the bug Nalin keeps complaining about :)
cvsdist 0c58a5c
cvsdist 0c58a5c
* Wed Jan 24 2001 Preston Brown <pbrown@redhat.com>
cvsdist 0c58a5c
- final i18n update before Beta.
cvsdist 0c58a5c
cvsdist 28ef450
* Wed Oct 18 2000 Bill Nottingham <notting@redhat.com>
cvsdist 28ef450
- ignore .rpmnew files (#18915)
cvsdist 28ef450
- fix typo in error message (#17575)
cvsdist 28ef450
cvsdist b1cd7c0
* Wed Aug 30 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist b1cd7c0
- make xinetd config files mode 0644, not 644
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Aug 24 2000 Erik Troan <ewt@redhat.com>
cvsdist b1cd7c0
- updated it and es translations
cvsdist b1cd7c0
cvsdist b1cd7c0
* Sun Aug 20 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- get man pages in proper packages
cvsdist b1cd7c0
cvsdist b1cd7c0
* Sun Aug 20 2000 Matt Wilson <msw@redhat.com>
cvsdist b1cd7c0
- new translations
cvsdist b1cd7c0
cvsdist b1cd7c0
* Tue Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist b1cd7c0
- don't worry about extra whitespace on chkconfig: lines (#16150)
cvsdist b1cd7c0
cvsdist b1cd7c0
* Wed Aug 10 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist b1cd7c0
- i18n merge
cvsdist b1cd7c0
cvsdist b1cd7c0
* Wed Jul 26 2000 Matt Wilson <msw@redhat.com>
cvsdist b1cd7c0
- new translations for de fr it es
cvsdist b1cd7c0
cvsdist b1cd7c0
* Tue Jul 25 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- change prereqs
cvsdist b1cd7c0
cvsdist b1cd7c0
* Sun Jul 23 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- fix ntsysv's handling of xinetd/init files with the same name
cvsdist b1cd7c0
cvsdist b1cd7c0
* Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- fix segv when reading malformed files
cvsdist b1cd7c0
cvsdist b1cd7c0
* Wed Jul 19 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- put links, rc[0-6].d dirs back, those are necessary
cvsdist b1cd7c0
cvsdist b1cd7c0
* Tue Jul 18 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- add quick hack support for reading descriptions from xinetd files
cvsdist b1cd7c0
cvsdist b1cd7c0
* Mon Jul 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist b1cd7c0
- don't own the /etc/rc[0-6].d symlinks; they're owned by initscripts
cvsdist b1cd7c0
cvsdist b1cd7c0
* Sat Jul 15 2000 Matt Wilson <msw@redhat.com>
cvsdist b1cd7c0
- move back to old file layout
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Jul 13 2000 Preston Brown <pbrown@redhat.com>
cvsdist b1cd7c0
- bump copyright date
cvsdist b1cd7c0
cvsdist b1cd7c0
* Tue Jul 11 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- no %pre today. Maybe tomorrow.
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Jul  6 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- put initscripts %pre here too
cvsdist b1cd7c0
cvsdist b1cd7c0
* Mon Jul  3 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- oops, if we don't prereq initscripts, we *need* to own /etc/rc[0-6].d
cvsdist b1cd7c0
cvsdist b1cd7c0
* Sun Jul  2 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- add xinetd support
cvsdist b1cd7c0
cvsdist b1cd7c0
* Tue Jun 27 2000 Matt Wilson <msw@redhat.com>
cvsdist b1cd7c0
- changed Prereq: initscripts >= 5.18 to Conflicts: initscripts < 5.18
cvsdist b1cd7c0
- fixed sumary and description where a global string replace nuked them
cvsdist b1cd7c0
cvsdist b1cd7c0
* Mon Jun 26 2000 Matt Wilson <msw@redhat.com>
cvsdist b1cd7c0
- what Bill said, but actually build this version
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Jun 15 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- don't own /etc/rc.*
cvsdist b1cd7c0
cvsdist b1cd7c0
* Fri Feb 11 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- typo in man page
cvsdist b1cd7c0
cvsdist b1cd7c0
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
cvsdist b1cd7c0
- fix description
cvsdist b1cd7c0
cvsdist b1cd7c0
* Wed Jan 12 2000 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- link chkconfig statically against popt
cvsdist b1cd7c0
cvsdist b1cd7c0
* Mon Oct 18 1999 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- fix querying alternate levels
cvsdist b1cd7c0
cvsdist b1cd7c0
* Mon Aug 23 1999 Jeff Johnson <jbj@redhat.com>
cvsdist b1cd7c0
- don't use strchr to skip unwanted files, look at extension instead (#4166).
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Aug  5 1999 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- fix --help, --verson
cvsdist b1cd7c0
cvsdist b1cd7c0
* Mon Aug  2 1999 Matt Wilson <msw@redhat.com>
cvsdist b1cd7c0
- rebuilt ntsysv against newt 0.50
cvsdist b1cd7c0
cvsdist b1cd7c0
* Mon Aug  2 1999 Jeff Johnson <jbj@redhat.com>
cvsdist b1cd7c0
- fix i18n problem in usage message (#4233).
cvsdist b1cd7c0
- add --help and --version.
cvsdist b1cd7c0
cvsdist b1cd7c0
* Mon Apr 19 1999 Cristian Gafton <gafton@redhat.com>
cvsdist b1cd7c0
- release for Red Hat 6.0
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Apr  8 1999 Matt Wilson <msw@redhat.com>
cvsdist b1cd7c0
- added support for a "hide: true" tag in initscripts that will make
cvsdist b1cd7c0
  services not appear in ntsysv when run with the "--hide" flag
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Apr  1 1999 Matt Wilson <msw@redhat.com>
cvsdist b1cd7c0
- added --hide flag for ntsysv that allows you to hide a service from the
cvsdist b1cd7c0
  user.
cvsdist b1cd7c0
cvsdist b1cd7c0
* Mon Mar 22 1999 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- fix glob, once and for all. Really. We mean it.
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Mar 18 1999 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- revert fix for services@levels, it's broken
cvsdist b1cd7c0
- change default to only edit the current runlevel
cvsdist b1cd7c0
cvsdist b1cd7c0
* Mon Mar 15 1999 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- don't remove scripts that don't support chkconfig
cvsdist b1cd7c0
cvsdist b1cd7c0
* Tue Mar 09 1999 Erik Troan <ewt@redhat.com>
cvsdist b1cd7c0
- made glob a bit more specific so xinetd and inetd don't cause improper matches
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Feb 18 1999 Matt Wilson <msw@redhat.com>
cvsdist b1cd7c0
- removed debugging output when starting ntsysv
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Feb 18 1999 Preston Brown <pbrown@redhat.com>
cvsdist b1cd7c0
- fixed globbing error
cvsdist b1cd7c0
- fixed ntsysv running services not at their specified levels.
cvsdist b1cd7c0
cvsdist b1cd7c0
* Tue Feb 16 1999 Matt Wilson <msw@redhat.com>
cvsdist b1cd7c0
- print the value of errno on glob failures.
cvsdist b1cd7c0
cvsdist b1cd7c0
* Sun Jan 10 1999 Matt Wilson <msw@redhat.com>
cvsdist b1cd7c0
- rebuilt for newt 0.40 (ntsysv)
cvsdist b1cd7c0
cvsdist b1cd7c0
* Tue Dec 15 1998 Jeff Johnson <jbj@redhat.com>
cvsdist b1cd7c0
- add ru.po.
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Oct 22 1998 Bill Nottingham <notting@redhat.com>
cvsdist b1cd7c0
- build for Raw Hide (slang-1.2.2)
cvsdist b1cd7c0
cvsdist b1cd7c0
* Wed Oct 14 1998 Cristian Gafton <gafton@redhat.com>
cvsdist b1cd7c0
- translation updates
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu Oct 08 1998 Cristian Gafton <gafton@redhat.com>
cvsdist b1cd7c0
- updated czech translation (and use cs instead of cz)
cvsdist b1cd7c0
cvsdist b1cd7c0
* Tue Sep 22 1998 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
cvsdist b1cd7c0
- added pt_BR translations
cvsdist b1cd7c0
- added more translatable strings
cvsdist b1cd7c0
- support for i18n init.d scripts description
cvsdist b1cd7c0
cvsdist b1cd7c0
* Sun Aug 02 1998 Erik Troan <ewt@redhat.com>
cvsdist b1cd7c0
- built against newt 0.30
cvsdist b1cd7c0
- split ntsysv into a separate package
cvsdist b1cd7c0
cvsdist b1cd7c0
* Thu May 07 1998 Erik Troan <ewt@redhat.com>
cvsdist b1cd7c0
- added numerous translations
cvsdist b1cd7c0
cvsdist b1cd7c0
* Mon Mar 23 1998 Erik Troan <ewt@redhat.com>
cvsdist b1cd7c0
- added i18n support
cvsdist b1cd7c0
cvsdist b1cd7c0
* Sun Mar 22 1998 Erik Troan <ewt@redhat.com>
cvsdist b1cd7c0
- added --back