source: projects/specs/trunk/f/finger/finger-vl.spec @ 5735

Revision 5735, 8.2 KB checked in by kenta, 12 years ago (diff)

finger: updated Patch10 and added Patch12

Line 
1Summary: The finger client.
2Summary(ja): finger クライアント
3Name: finger
4Version: 0.17
5Release: 36%{?_dist_release}
6License: BSD
7Group: Applications/Internet
8Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/bsd-finger-%{version}.tar.gz
9Source1: finger-xinetd
10Patch1: bsd-finger-0.16-pts.patch
11Patch2: bsd-finger-0.17-exact.patch
12Patch3: bsd-finger-0.16-allocbroken.patch
13Patch4: bsd-finger-0.17-rfc742.patch
14Patch5: bsd-finger-0.17-time.patch
15Patch6: bsd-finger-0.17-usagi-ipv6.patch
16Patch7: bsd-finger-0.17-typo.patch
17Patch8: bsd-finger-0.17-strip.patch
18Patch9: bsd-finger-0.17-utmp.patch
19Patch10: bsd-finger-wide-char-support5.patch
20Patch11: bsd-finger-0.17-init-realname.patch
21Patch12: bsd-finger-0.17-host-info.patch
22
23BuildRoot: %{_tmppath}/%{name}-%{version}-root
24BuildRequires: glibc-devel, perl
25
26
27%description
28Finger is a utility which allows users to see information about system
29users (login name, home directory, name, how long they've been logged
30in to the system, etc.).  The finger package includes a standard
31finger client.
32
33You should install finger if you'd like to retreive finger information
34from other systems.
35
36%description -l ja
37finger はシステムを使用しているユーザの情報 (ログイン名,ホームディレクトリ,
38氏名,システムにログインしてからの時間等) を見ることが出来るユーティリティ
39です.finger パッケージには標準的な finger クライアントが含まれます.
40
41他のシステムから finger 情報を見るには finger をインストールして下さい.
42
43
44%package server
45Summary: The finger daemon.
46Summary(ja): finger デーモン
47Group: System Environment/Daemons
48Requires: xinetd
49
50%description server
51Finger is a utility which allows users to see information about system
52users (login name, home directory, name, how long they've been logged
53in to the system, etc.).  The finger-server package includes a standard
54finger server. The server daemon (fingerd) runs from /etc/inetd.conf,
55which must be modified to disable finger requests.
56
57You should install finger-server if your system is used by multiple users
58and you'd like finger information to be available.
59
60%description server -l ja
61finger はシステムを使用しているユーザの情報 (ログイン名,ホームディレクトリ,
62氏名,システムにログインしてからの時間等) を見ることが出来るユーティリティ
63です.finger-server パッケージには標準的な finger サーバが含まれます.
64サーバデーモン (fingerd) は /etc/inetd.conf から起動されますので,
65finger リクエストを無効にするにはこのファイルを編集して下さい.
66
67あなたのシステムが複数のユーザによって使われていて finger 情報を
68提供するには finger-server パッケージをインストールして下さい.
69
70
71%prep
72%setup -q -n bsd-finger-%{version}
73%patch1 -p1 -b .pts
74%patch2 -p1 -b .exact
75%patch3 -p1
76%patch4 -p1 -b .rfc742
77%patch5 -p1 -b .time
78%patch6 -p1 -b .ipv6
79%patch7 -p1 -b .typo
80%patch8 -p1 -b .strip
81%patch9 -p1 -b .utmp
82%patch10 -p1 -b .widechar
83%patch11 -p1 -b .realname
84%patch12 -p1 -b .host
85
86%build
87sh configure --enable-ipv6
88RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC"
89perl -pi -e '
90    s,^CC=.*$,CC=cc,;
91    s,-O2,\$(RPM_OPT_FLAGS),;
92    s,^BINDIR=.*$,BINDIR=%{_bindir},;
93    s,^MANDIR=.*$,MANDIR=%{_mandir},;
94    s,^SBINDIR=.*$,SBINDIR=%{_sbindir},;
95    s,^LDFLAGS=.*$,LDFLAGS=-pie,;
96    ' MCONFIG
97
98make %{?_smp_mflags}
99
100%install
101rm -rf $RPM_BUILD_ROOT
102mkdir -p $RPM_BUILD_ROOT%{_bindir}
103mkdir -p $RPM_BUILD_ROOT%{_mandir}/man{1,8}
104mkdir -p $RPM_BUILD_ROOT%{_sbindir}
105
106mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d
107install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/xinetd.d/finger
108
109make INSTALLROOT=$RPM_BUILD_ROOT install
110
111
112%clean
113rm -rf $RPM_BUILD_ROOT
114
115%files
116%defattr(-,root,root)
117%attr(0711,root,root)   %{_bindir}/finger
118%{_mandir}/man1/finger.1*
119
120%files server
121%defattr(-,root,root)
122%config(noreplace) /etc/xinetd.d/finger
123%attr(0711,root,root)   %{_sbindir}/in.fingerd
124%{_mandir}/man8/in.fingerd.8*
125%{_mandir}/man8/fingerd.8*
126
127
128%changelog
129* Mon Feb 06 2012 NAKAMURA Kenta <kenta@vinelinux.org> 0.17-36
130- updated Patch10
131- added Patch12 from Fedora
132  * Tue Jul 13 2010 Petr Lautrbach <plautrba@redhat.com> 0.17-42
133  - print user host information in better format  (#532414) - <spoyarek@redhat.com>
134
135* Sun Jan 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-35
136- added Patch11 from Fedora
137  * Mon Sep  7 2009 Radek Vokal <rvokal@redhat.com> - 0.17-39
138  - init realname fix (#520203)
139- Requires: xinetd instead of inetd at server package
140
141* Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 0.17-34
142- added compile option -fPIC
143
144* Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-33
145- applied new versioning policy
146- spec in UTF-8
147
148* Sat Jan 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-32vl1
149- based on Redhat Rawhide 0.17-32
150  * Thu Dec 15 2005 Radek Vokal <rvokal@redhat.com> 0.17-32
151  - another UTF-8 fix
152  * Tue Dec 13 2005 Radek Vokal <rvokal@redhat.com> 0.17-31
153  - real UTF-8 patch by <bnocera@redhat.com>
154  * Mon Nov 28 2005 Radek Vokal <rvokal@redhat.com> 0.17-30
155  - make finger UTF-8 happy (#174352)
156  * Wed Jul 13 2005 Radek Vokal <rvokal@redhat.com> 0.17-29
157  - make finger world readable (#162643)
158  * Tue Jun 15 2004 Alan Cox <alan@redhat.com>
159  - Made finger agree with our other apps about how utmp is managed
160  - Removed dead users from the lists as a result
161  - Fixed random idle time bug
162  * Wed Feb 25 2004 Phil Knirsch <pknirsch@redhat.com> 0.17-21
163  - Made fingerd PIE.
164
165* Sun Sep 21 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-18vl1
166- based on Redhat Rawhide 0.17-18.1
167  * Mon Sep 01 2003 Phil Knirsch <pknirsch@redhat.com> 0.17-18
168  - Fixed manpage bug (#75705).
169  * Wed Jun 19 2002 Phil Knirsch <pknirsch@redhat.com> 0.17-13
170  - Don't forcibly strip binaries
171  * Thu Jan 24 2002 Phil Knirsch <pknirsch@redhat.com>
172  - Fixed various typos in manpage/app (#51891, #54916, #57588)
173- rebuilt with new toolchains
174- s/Copyright/License/
175
176* Wed Dec 19 2001 Toru Sagami <sagami@vinelinux.org> 0.17-3vl4
177- added a patch to build on glibc22 system
178
179* Tue Jan 09 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
180- 0.17-3vl3
181- Oops, spec was written in SJIS...
182
183* Mon Jan 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
184- 0.17-3vl2
185- added Japanese summary and description
186- rebuilt under new %%{_mandir} definitions
187
188* Mon Sep 18 2000 Jun Nishii <jun@vinelinux.org>
189- requires inetd instead of xinetd for Vine Linux 2.1
190
191* Sat Jul 22 2000 Jeff Johnson <jbj@redhat.com>
192- fix RFC742 problem (again) (#6728).
193
194* Tue Jul 18 2000 Bill Nottingham <notting@redhat.com>
195- add description & default to xinetd file
196
197* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
198- automatic rebuild
199
200* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
201- FHS packaging.
202- update to 0.17.
203
204* Wed May 31 2000 Cristian Gafton <gafton@redhat.com>
205- fix the broken malloc code in finger client
206
207* Mon May 22 2000 Trond Eivind Glomsr <teg@redhat.com>
208- converted to use /etc/xinetd.d
209
210* Tue May 16 2000 Chris Evans <chris@ferret.lmh.ox.ac.uk>
211- make some files mode -rwx--x--x as a security hardening measure
212
213* Fri Feb 11 2000 Bill Nottingham <notting@redhat.com>
214- fix description
215
216* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
217- handle compressed manpages
218
219* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
220- fix decsription
221- man pages are compressed
222
223* Tue Jan  4 2000 Bill Nottingham <notting@redhat.com>
224- split client and server
225
226* Tue Dec 21 1999 Jeff Johnson <jbj@redhat.com>
227- update to 0.16.
228
229* Wed Jul 28 1999 Jeff Johnson <jbj@redhat.com>
230- exact match w/o -m and add missing pts patch (#2118).
231- recompile with correct PATH_MAILDIR (#4218).
232
233* Thu Apr  8 1999 Jeff Johnson <jbj@redhat.com>
234- fix process table filled DOS attack (#1271)
235- fix pts display problems (#1987 partially)
236
237* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
238- auto rebuild in the new build environment (release 22)
239
240* Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com>
241- compile for 6.0.
242
243* Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com>
244- fix error message typo.
245
246* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
247- build root
248
249* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
250- translations modified for de, fr, tr
251
252* Mon Sep 22 1997 Erik Troan <ewt@redhat.com>
253- added check for getpwnam() failure
Note: See TracBrowser for help on using the repository browser.