source: projects/specs/trunk/b/bootparamd/bootparamd-vl.spec @ 5979

Revision 5979, 5.6 KB checked in by shaolin, 12 years ago (diff)
  • bootparamd: updated to 0.17 release
Line 
1Summary:        A server process which provides boot information to diskless clients.
2Summary(ja):    ディスクレスクライアントに起動情報を提供するサーバプロセス
3Name:           bootparamd
4Version:        0.17
5Release:        16%{?_dist_release}
6License:        BSD
7Group:          System Environment/Daemons
8Source:         ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz
9Source1:        bootparamd.init
10Patch0:         bootparamd-manpage-63567.patch
11Patch1:         bootparamd-resolver.patch
12Patch2:         bootparamd-debug.patch
13Patch3:         bootparamd.fast-dns.patch
14Patch4:         bootparamd-resolver-fix.patch
15Patch5:         bootparamd-get-router.patch
16Patch6:         bootparamd-err.patch
17Patch7:         bootparamd-byteorder.patch
18#PreReq: /sbin/chkconfig /sbin/init.d
19Requires(post): /sbin/chkconfig
20Requires(preun): /sbin/chkconfig
21Requires:       portmap
22BuildRoot:      %{_tmppath}/%{name}-%{version}-root
23
24
25%description
26The bootparamd process provides bootparamd, a server process which
27provides the information needed by diskless clients in order for them
28to successfully boot.  Bootparamd looks first in /etc/bootparams for an
29entry for that particular client; if a local bootparams file doesn't
30exist, it looks at the appropriate Network Information Service (NIS)
31map.  Some network boot loaders (notably Sun's) rely on special boot
32server code on the server, in addition to the RARP and TFTP servers.
33This bootparamd server process is compatible with SunOS bootparam clients
34and servers which need that boot server code.
35
36You should install bootparamd if you need to provide boot information to
37diskless clients on your network.
38
39%description -l ja
40bootparamd はディスクレスクライアントが正しく起動する為の情報を
41提供するサーバプロセスです.bootparamd は最初に /etc/bootparams を
42見て特定のクライアントの情報を探します./etc/bootparams がなければ
43NIS (Network Information Service) のマップを探します.
44ネットワークブートローダの中には (特に Sun のものが) RARP や TFTP
45サーバに加えて特別なブートサーバを必要とします.この bootparamd サーバは
46SunOS の bootparam クライアント/サーバと互換性があります.
47
48ネットワーク上のディスクレスクライアントに起動情報を提供する必要が
49ある場合は bootparamd パッケージをインストールして下さい.
50
51
52%prep
53%setup -q -n netkit-%{name}-%{version}
54%patch0 -p1
55%patch1 -p1
56%patch2 -p1 -b .unblocksignals
57%patch3 -p1
58%patch4 -p1
59%patch5 -p1 -b .router
60%patch6 -p1 -b .err
61%patch7 -p1 -b .byteorder
62
63
64%build
65sh configure --with-c-compiler=gcc
66perl -pi -e '
67    s,^CC=.*$,CC=cc,;
68    s,-O2,\$(RPM_OPT_FLAGS) -D_BSD_SOURCE \$(f_PIE),;
69    s,^BINDIR=.*$,BINDIR=%{_bindir},;
70    s,^MANDIR=.*$,MANDIR=%{_mandir},;
71    s,^SBINDIR=.*$,SBINDIR=%{_sbindir},;
72    ' MCONFIG
73%ifarch s390 s390x
74export f_PIE="-fPIE"
75%else
76export f_PIE="-fpie"
77%endif
78make %{?_smp_mflags}
79
80
81%install
82rm -rf %{buildroot}
83mkdir -p %{buildroot}%{_bindir}
84mkdir -p %{buildroot}%{_mandir}/man{1,8}
85mkdir -p %{buildroot}%{_sbindir}
86mkdir -p %{buildroot}%{_initdir}
87
88make INSTALLROOT=%{buildroot} install
89install -m 755 %{SOURCE1} %{buildroot}%{_initdir}/bootparamd
90
91
92%clean
93rm -rf %{buildroot}
94
95
96%post
97/sbin/chkconfig --add bootparamd
98
99
100%preun
101if [ $1 = 0 ]; then
102    /sbin/chkconfig --del bootparamd
103fi
104
105
106%files
107%defattr(-,root,root)
108%{_sbindir}/rpc.bootparamd
109%{_bindir}/callbootd
110%{_mandir}/man8/rpc.bootparamd.*
111%{_mandir}/man8/bootparamd.*
112%config %{_initdir}/bootparamd
113
114
115%changelog
116* Sat Mar 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.17-16
117- updated to 0.17 release
118- import Patch1-7 from Fedora
119
120* Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 0.17-15vl5
121- applied new versioning policy, spec in utf-8
122
123* Thu Jul  3 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-14vl1
124- based on Redhat Rawhide 0.17-14
125- rebuild with new toolchains
126- s/Copyright/License/
127
128* Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
129- 0.17-5vl3
130- use better macros (%%{_initdir})
131- added Japanese summary and description
132- rebuilt with newer %%{_mandir} definition
133
134* Tue Dec 12 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17-5vl2
135- remove /etc/init.d from PreReq
136
137* Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 0.17-5vl1
138- build on Vine Linux with gcc-2.95.3
139
140* Sat Aug 05 2000 Bill Nottingham <notting@redhat.com>
141- condrestart fixes
142
143* Sat Jul 15 2000 Bill Nottingham <notting@redhat.com>
144- move initscript back
145
146* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
147- automatic rebuild
148
149* Mon Jul 10 2000 Preston Brown <pbrown@redhat.com>
150- move initscript
151 
152* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
153- FHS packaging
154- 0.17
155
156* Thu Feb 03 2000 Erik Troan <ewt@redhat.com>
157- gzipped man pages
158
159* Tue Dec 21 1999 Jeff Johnson <jbj@redhat.com>
160- update to 0.16.
161
162* Fri Sep 25 1999 Bill Nottingham <notting@redhat.com>
163- *sigh*.
164
165* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
166- initrscript munging
167
168* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
169- auto rebuild in the new build environment (release 22)
170
171* Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com>
172- compile for 6.0
173
174* Mon Jun 29 1998 Jeff Johnson <jbj@redhat.com>
175- removed triggerpostun.
176
177* Fri May 01 1998 Jeff Johnson <jbj@redhat.com>
178- added triggerpostun
179
180* Wed Apr 22 1998 Michael K. Johnson <johnsonm@redhat.com>
181- enhanced initscript
182
183* Thu Jan 08 1998 Erik Troan <ewt@redhat.com>
184- updated initscript to include functions
185- fixed 'stop' action of initscript
186- added requirement for portmap
187
188* Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
189- added an initscript
190
191* Tue Jul 15 1997 Erik Troan <ewt@redhat.com>
192- initial build
Note: See TracBrowser for help on using the repository browser.