[521] | 1 | Summary: The finger client. |
---|
| 2 | Summary(ja): finger クライアント |
---|
| 3 | Name: finger |
---|
| 4 | Version: 0.17 |
---|
[5735] | 5 | Release: 36%{?_dist_release} |
---|
[521] | 6 | License: BSD |
---|
| 7 | Group: Applications/Internet |
---|
| 8 | Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/bsd-finger-%{version}.tar.gz |
---|
| 9 | Source1: finger-xinetd |
---|
| 10 | Patch1: bsd-finger-0.16-pts.patch |
---|
| 11 | Patch2: bsd-finger-0.17-exact.patch |
---|
| 12 | Patch3: bsd-finger-0.16-allocbroken.patch |
---|
| 13 | Patch4: bsd-finger-0.17-rfc742.patch |
---|
| 14 | Patch5: bsd-finger-0.17-time.patch |
---|
| 15 | Patch6: bsd-finger-0.17-usagi-ipv6.patch |
---|
| 16 | Patch7: bsd-finger-0.17-typo.patch |
---|
| 17 | Patch8: bsd-finger-0.17-strip.patch |
---|
| 18 | Patch9: bsd-finger-0.17-utmp.patch |
---|
| 19 | Patch10: bsd-finger-wide-char-support5.patch |
---|
| 20 | Patch11: bsd-finger-0.17-init-realname.patch |
---|
[5735] | 21 | Patch12: bsd-finger-0.17-host-info.patch |
---|
[521] | 22 | |
---|
| 23 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 24 | BuildRequires: glibc-devel, perl |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | Finger is a utility which allows users to see information about system |
---|
| 29 | users (login name, home directory, name, how long they've been logged |
---|
| 30 | in to the system, etc.). The finger package includes a standard |
---|
| 31 | finger client. |
---|
| 32 | |
---|
| 33 | You should install finger if you'd like to retreive finger information |
---|
| 34 | from other systems. |
---|
| 35 | |
---|
| 36 | %description -l ja |
---|
| 37 | finger はシステムを使用しているユーザの情報 (ログイン名,ホームディレクトリ, |
---|
| 38 | 氏名,システムにログインしてからの時間等) を見ることが出来るユーティリティ |
---|
| 39 | です.finger パッケージには標準的な finger クライアントが含まれます. |
---|
| 40 | |
---|
| 41 | 他のシステムから finger 情報を見るには finger をインストールして下さい. |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %package server |
---|
| 45 | Summary: The finger daemon. |
---|
| 46 | Summary(ja): finger デーモン |
---|
| 47 | Group: System Environment/Daemons |
---|
| 48 | Requires: xinetd |
---|
| 49 | |
---|
| 50 | %description server |
---|
| 51 | Finger is a utility which allows users to see information about system |
---|
| 52 | users (login name, home directory, name, how long they've been logged |
---|
| 53 | in to the system, etc.). The finger-server package includes a standard |
---|
| 54 | finger server. The server daemon (fingerd) runs from /etc/inetd.conf, |
---|
| 55 | which must be modified to disable finger requests. |
---|
| 56 | |
---|
| 57 | You should install finger-server if your system is used by multiple users |
---|
| 58 | and you'd like finger information to be available. |
---|
| 59 | |
---|
| 60 | %description server -l ja |
---|
| 61 | finger はシステムを使用しているユーザの情報 (ログイン名,ホームディレクトリ, |
---|
| 62 | 氏名,システムにログインしてからの時間等) を見ることが出来るユーティリティ |
---|
| 63 | です.finger-server パッケージには標準的な finger サーバが含まれます. |
---|
| 64 | サーバデーモン (fingerd) は /etc/inetd.conf から起動されますので, |
---|
| 65 | finger リクエストを無効にするにはこのファイルを編集して下さい. |
---|
| 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 |
---|
[5735] | 83 | %patch11 -p1 -b .realname |
---|
| 84 | %patch12 -p1 -b .host |
---|
[521] | 85 | |
---|
| 86 | %build |
---|
| 87 | sh configure --enable-ipv6 |
---|
| 88 | RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC" |
---|
| 89 | perl -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 | |
---|
| 98 | make %{?_smp_mflags} |
---|
| 99 | |
---|
| 100 | %install |
---|
| 101 | rm -rf $RPM_BUILD_ROOT |
---|
| 102 | mkdir -p $RPM_BUILD_ROOT%{_bindir} |
---|
| 103 | mkdir -p $RPM_BUILD_ROOT%{_mandir}/man{1,8} |
---|
| 104 | mkdir -p $RPM_BUILD_ROOT%{_sbindir} |
---|
| 105 | |
---|
| 106 | mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d |
---|
| 107 | install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/xinetd.d/finger |
---|
| 108 | |
---|
| 109 | make INSTALLROOT=$RPM_BUILD_ROOT install |
---|
| 110 | |
---|
| 111 | |
---|
| 112 | %clean |
---|
| 113 | rm -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 |
---|
[5735] | 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 | |
---|
[521] | 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 |
---|