123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362 |
- Summary: A system tool for maintaining the /etc/rc*.d hierarchy.
- Summary(ja): /etc/rc.d の階層をメンテナンスするためのシステムツール
- Name: chkconfig
- Version: 1.3.61
- Release: 3%{?_dist_release}
- Group: System Environment/Base
- Vendor: Project Vine
- Distribution: Vine Linux
- License: GPL
- Source: %{name}-%{version}.tar.bz2
- Source2: chkconfig.8
- Source3: ntsysv.8
- Source4: update-alternatives.ja.8
- Patch1: chkconfig-1.3.51-vine.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: newt-devel
- BuildRequires: popt-devel
- 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.
- %description -l ja
- chkconfig は基本的なシステムユーティリティである。これはシステムサービスの
- runlevel の情報をアップデートや検証する。chkconfig は /etc/rc.d の
- 多数のシンボリックリンクを操作しますので、システム管理者は手動で
- シンボリックリンクをたびたびエディットしなくてもよい。
- %package -n ntsysv
- Summary: A tool to set the stop/start of system services in a runlevel.
- Summary(ja): /etc/rc.d 階階層をメンテナンスするシステムツール
- Group: System Environment/Base
- %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).
- %description -n ntsysv -l ja
- ntsysv はシステムサービスの runlevel の情報をアップデートや検証する。
- ntsysv は システム管理者が直接/etc/rc.d の多数のシンボリックリンクを
- 操作することから解放する。
- %package -n alternatives
- Summary: maintain symbolic links determining default commands (from Debian dpkg utilities)
- Summary(ja): コマンドのシンボリックリンクを管理する (Debian dpkg ユーティリティーより)
- Group: System Environment/Base
- %description -n alternatives
- maintain symbolic links determining default commands (from Debian dpkg utilities)
- %description -n alternatives -l ja
- コマンドのシンボリックリンクを管理する (Debian dpkg ユーティリティーより)
- %prep
- %setup -q
- %patch1 -p1
- %build
- %ifarch sparc
- LIBMHACK=-lm
- %endif
- %__make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBMHACK=$LIBMHACK
- %install
- rm -rf $RPM_BUILD_ROOT
- %__make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} SBINDIR=%{_sbindir} 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
- mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man8
- cp %SOURCE2 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/ja/man8
- # alternatives
- mv -f $RPM_BUILD_ROOT/%{_sbindir}/*alternatives $RPM_BUILD_ROOT/%{_syssbindir}
- mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/alternatives
- mkdir -p $RPM_BUILD_ROOT/var/lib/rpm/alternatives
- install -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/ja/man8/alternatives.8
- ln -sf alternatives.8.gz $RPM_BUILD_ROOT%{_mandir}/ja/man8/update-alternatives.8.gz
- # create compat symlinks
- mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
- for i in alternatives update-alternatives chkconfig
- do
- ln -sf /sbin/$i $RPM_BUILD_ROOT/%{_sbindir}/$i
- done
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root)
- /sbin/chkconfig
- %{_sbindir}/chkconfig
- /etc/init.d
- /etc/rc.d/init.d
- /etc/rc[0-6].d
- /etc/rc.d/rc[0-6].d
- %{_mandir}/*/chkconfig*
- %{_mandir}/ja/*/chkconfig*
- %{_localedir}/*/LC_MESSAGES/chkconfig.mo
- %files -n ntsysv
- %defattr(-,root,root)
- %{_sbindir}/ntsysv
- %{_mandir}/*/ntsysv.8*
- %{_mandir}/ja/*/ntsysv.8*
- %files -n alternatives
- %defattr (-, root, root)
- /sbin/alternatives
- /sbin/update-alternatives
- %{_sbindir}/alternatives
- %{_sbindir}/update-alternatives
- %{_sysconfdir}/alternatives
- %{_mandir}/man8/*
- %{_mandir}/ja/man8/*
- /var/lib/rpm/alternatives
- %changelog
- * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.61-3
- - rebuilt with current environment.
- * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.61-2
- - rebuild with VineSeed environment
- * Wed Nov 13 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.61-1
- - update to 1.3.61
- - create compat symlinks in %%{_sbindir}
- * Thu Jun 06 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.60-1
- - update to 1.3.60
- * Tue Jun 07 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.51-2
- - change BuildRequires: popt-devel intead of popt
- * Fri Apr 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.51-1
- - new upstream release
- - enable fedora version of alternatives
- - add alternatives subpackage, replace debian's alternatives
- * Tue Aug 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.37-1
- - new upstream release
- * Sun Jul 27 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.34-1vl5
- - applied new versioning policy and spec in utf-8
- * Fri May 04 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.34-0vl2
- - dropped obsoleted Makefile.x86_64.patch
- * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.34-0vl1
- - new upstream release
- * Thu Jul 06 2006 Shu KONNO <owa@bg.wakwak.com> 1.2.17-1vl9
- - add Makefile.x86_64.patch
- * Wed May 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.17-1vl8
- - add Patch10 to skip xinetd parsing if not exist.
- * Sat Apr 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.2.17-1vl7
- - rebuild
- * Thu Sep 06 2001 akira yamada <akira@vinelinux.org> 1.2.17-1vl6
- - Requires -> Conflicts.
- apt-0.3.19.cnc.52-3vl1 can handle Conflicts-field nicely, so
- Conflicts/Pre-Depends-loop does not happen.
- * Sun Sep 02 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.17-1vl5
- - Oops not PreReq but Requires. Fixed.
- * Sun Sep 02 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.17-1vl4
- - change Conflicts: initscripts <= 5.30-1 to PreReq: initscripts > 5.30-1
- to avoid Conflicts/Pre-Depends loop on apt
- * Thu Jun 28 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp>
- - 1.2.17-1vl3
- - change checkbox color
- * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
- - 1.2.17-1vl2
- - rebuilt for VineSeed
- * Sun Dec 10 2000 Jun Nishii <jun@vinelinux.org>
- - 1.2.17-1vl1
- * Wed Oct 18 2000 Bill Nottingham <notting@redhat.com>
- - ignore .rpmnew files (#18915)
- - fix typo in error message (#17575)
- * Wed Aug 30 2000 Nalin Dahyabhai <nalin@redhat.com>
- - make xinetd config files mode 0644, not 644
- * Thu Aug 24 2000 Erik Troan <ewt@redhat.com>
- - updated it and es translations
- * Sun Aug 20 2000 Bill Nottingham <notting@redhat.com>
- - get man pages in proper packages
- * Sun Aug 20 2000 Matt Wilson <msw@redhat.com>
- - new translations
- * Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
- - don't worry about extra whitespace on chkconfig: lines (#16150)
- * Thu Aug 10 2000 Trond Eivind Glomsr <teg@redhat.com>
- - i18n merge
- * Wed Jul 26 2000 Matt Wilson <msw@redhat.com>
- - new translations for de fr it es
- * Tue Jul 25 2000 Bill Nottingham <notting@redhat.com>
- - change prereqs
- * Sun Jul 23 2000 Bill Nottingham <notting@redhat.com>
- - fix ntsysv's handling of xinetd/init files with the same name
- * Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- - fix segv when reading malformed files
- * Wed Jul 19 2000 Bill Nottingham <notting@redhat.com>
- - put links, rc[0-6].d dirs back, those are necessary
- * Tue Jul 18 2000 Bill Nottingham <notting@redhat.com>
- - add quick hack support for reading descriptions from xinetd files
- * Mon Jul 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- - don't own the /etc/rc[0-6].d symlinks; they're owned by initscripts
- * Sat Jul 15 2000 Matt Wilson <msw@redhat.com>
- - move back to old file layout
- * Thu Jul 13 2000 Preston Brown <pbrown@redhat.com>
- - bump copyright date
- * Tue Jul 11 2000 Bill Nottingham <notting@redhat.com>
- - no %pre today. Maybe tomorrow.
- * Thu Jul 6 2000 Bill Nottingham <notting@redhat.com>
- - put initscripts %pre here too
- * Mon Jul 3 2000 Bill Nottingham <notting@redhat.com>
- - oops, if we don't prereq initscripts, we *need* to own /etc/rc[0-6].d
- * Sun Jul 2 2000 Bill Nottingham <notting@redhat.com>
- - add xinetd support
- * Tue Jun 27 2000 Matt Wilson <msw@redhat.com>
- - 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 <msw@redhat.com>
- - what Bill said, but actually build this version
- * Thu Jun 15 2000 Bill Nottingham <notting@redhat.com>
- - don't own /etc/rc.*
- * Fri Feb 11 2000 Bill Nottingham <notting@redhat.com>
- - typo in man page
- * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
- - fix description
- * Wed Jan 12 2000 Bill Nottingham <notting@redhat.com>
- - link chkconfig statically against popt
- * Mon Oct 18 1999 Bill Nottingham <notting@redhat.com>
- - fix querying alternate levels
- * Mon Aug 23 1999 Jeff Johnson <jbj@redhat.com>
- - don't use strchr to skip unwanted files, look at extension instead (#4166).
- * Thu Aug 5 1999 Bill Nottingham <notting@redhat.com>
- - fix --help, --verson
- * Mon Aug 2 1999 Matt Wilson <msw@redhat.com>
- - rebuilt ntsysv against newt 0.50
- * Mon Aug 2 1999 Jeff Johnson <jbj@redhat.com>
- - fix i18n problem in usage message (#4233).
- - add --help and --version.
- * Mon Apr 19 1999 Cristian Gafton <gafton@redhat.com>
- - release for Red Hat 6.0
- * Thu Apr 8 1999 Matt Wilson <msw@redhat.com>
- - 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 <msw@redhat.com>
- - added --hide flag for ntsysv that allows you to hide a service from the
- user.
- * Mon Mar 22 1999 Bill Nottingham <notting@redhat.com>
- - fix glob, once and for all. Really. We mean it.
- * Thu Mar 18 1999 Bill Nottingham <notting@redhat.com>
- - revert fix for services@levels, it's broken
- - change default to only edit the current runlevel
- * Mon Mar 15 1999 Bill Nottingham <notting@redhat.com>
- - don't remove scripts that don't support chkconfig
- * Tue Mar 09 1999 Erik Troan <ewt@redhat.com>
- - made glob a bit more specific so xinetd and inetd don't cause improper matches
- * Thu Feb 18 1999 Matt Wilson <msw@redhat.com>
- - removed debugging output when starting ntsysv
- * Thu Feb 18 1999 Preston Brown <pbrown@redhat.com>
- - fixed globbing error
- - fixed ntsysv running services not at their specified levels.
- * Tue Feb 16 1999 Matt Wilson <msw@redhat.com>
- - print the value of errno on glob failures.
- * Sun Jan 10 1999 Matt Wilson <msw@redhat.com>
- - rebuilt for newt 0.40 (ntsysv)
- * Tue Dec 15 1998 Jeff Johnson <jbj@redhat.com>
- - add ru.po.
- * Thu Oct 22 1998 Bill Nottingham <notting@redhat.com>
- - build for Raw Hide (slang-1.2.2)
- * Wed Oct 14 1998 Cristian Gafton <gafton@redhat.com>
- - translation updates
- * Thu Oct 08 1998 Cristian Gafton <gafton@redhat.com>
- - updated czech translation (and use cs instead of cz)
- * Tue Sep 22 1998 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
- - added pt_BR translations
- - added more translatable strings
- - support for i18n init.d scripts description
- * Sun Aug 02 1998 Erik Troan <ewt@redhat.com>
- - built against newt 0.30
- - split ntsysv into a separate package
- * Thu May 07 1998 Erik Troan <ewt@redhat.com>
- - added numerous translations
- * Mon Mar 23 1998 Erik Troan <ewt@redhat.com>
- - added i18n support
- * Sun Mar 22 1998 Erik Troan <ewt@redhat.com>
- - added --back
|