source: projects/specs/trunk/lib/libp/libpcap/libpcap-vl.spec @ 6037

Revision 6037, 15.2 KB checked in by daisuke, 12 years ago (diff)

remerge 1.1.1-3

Line 
1Name: libpcap
2Summary: A system-independent interface for user-level packet capture.
3Summary(ja): ユーザレベルでパケットをキャプチャするインターフェイス
4Version: 1.2.1
5Release: 2%{?_dist_release}
6Epoch: 1
7
8Group: System Environment/Libraries
9# XXX epoch is necessary to obsolete tcpdump-3.4a5
10License: BSD
11URL: http://www.tcpdump.org/
12
13Source0: http://www.tcpdump.org/release/libpcap-%{version}.tar.gz
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: kernel-headers >= 2.2.0
17BuildRequires: flex >= 2.4
18BuildRequires: bison
19BuildRequires: openssl-devel
20BuildRequires: libnl-devel
21
22Vendor: Project Vine
23Distribution: Vine Linux
24Packager: daisuke
25
26%description
27Libpcap provides a portable framework for low-level network
28monitoring. Libpcap can provide network statistics collection,
29security monitoring and network debugging. Since almost every system
30vendor provides a different interface for packet capture, the libpcap
31authors created this system-independent API to ease in porting and to
32alleviate the need for several system-dependent packet capture modules
33in each application.
34
35Install libpcap if you need to do low-level network traffic monitoring
36on your network.
37
38%description -l ja
39Libpcap は低レベルでネットワークをモニタするためのポータブルなフレーム
40ワークを提供します.Libpcap はネットワークの統計を収集したり,セキュリ
41ティの為のモニタリングやネットワークのデバッグなどの用途に使用できます.
42ほぼ全てのシステムベンダがパケットのキャプチャに異なるインターフェイス
43を提供していたので,libpcap の作者は 移植性を良くして 各々のアプリケー
44ションにおける数々のシステムに依存したパケットキャプチャモジュールを
45可能にするために,このシステムに依存しない API を作成しました.
46
47ネットワークの低レベルのトラフィックを監視する必要がある場合,libpcap
48をインストールして下さい.
49
50%package devel
51Summary:  Development package for %{name}
52Summary(ja): %{name} の開発用ファイル
53Group:    Development/Libraries
54Requires: %{name} = %{epoch}:%{version}-%{release}
55
56%description devel
57The %{name}-devel package contains the files needed for development
58with %{name}.
59
60%description devel -l ja
61%{name}-devel パッケージには,%{name} を使った開発に必要なファイルが
62含まれています.
63
64%prep
65%setup -q
66
67%build
68%configure
69DEFS="-g -D_U_=\"\" -fPIC -DHAVE_CONFIG_H"
70%ifarch alpha sparc sparc64
71DEFS="$DEFS -DHAVE_ETHER_HOSTTON=1 -DLBL_ALIGN=1"
72%endif
73make DEFS="$DEFS"
74
75%install
76rm -rf %{buildroot}
77mkdir -p %{buildroot}%{_libdir}
78mkdir -p %{buildroot}%{_bindir}
79
80make DESTDIR=%{buildroot} install
81rm -f %{buildroot}%{_libdir}/libpcap.a
82
83%clean
84rm -rf %{buildroot}
85
86%post -p /sbin/ldconfig
87 
88%postun -p /sbin/ldconfig
89
90%files
91%defattr(-,root,root)
92%doc README CHANGES
93%{_libdir}/libpcap.so.*
94
95%files devel
96%defattr(-,root,root)
97%{_bindir}/pcap-config
98%{_includedir}/pcap*.h
99%dir %{_includedir}/pcap
100%{_includedir}/pcap/*
101%{_libdir}/libpcap.so
102%{_mandir}/man1/*
103%{_mandir}/man3/*
104%{_mandir}/man5/*
105%{_mandir}/man7/*
106
107%changelog
108* Sat Apr 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1:1.2.1-2
109- re-merge 1.1.1-3
110
111* Wed Apr 11 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1:1.2.1-1
112- update to 1.2.1
113- remove R: kernel
114
115* Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:1.1.1-3
116- rebuild; remove *.a file
117
118* Sat Sep 18 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:1.1.1-2
119- fixed header file location <BTS:994>
120- added URL tag
121
122* Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:1.1.1-1
123- new upstream release
124- dropt Patch50
125- built with new toolchain
126- added BR: libnl-devel
127
128* Fri Apr 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:1.0.0-2vl5
129- split devel package
130
131* Wed Oct 29 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1:1.0.0-1vl5
132- new upstream release
133- update Patch50 to fit 1.0.0
134
135* Mon Apr 14 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1:0.9.8-2vl5
136- add BuildRequires: flex >= 2.4, bison
137
138* Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.9.8-1vl5
139- new upstream release
140
141* Sat Sep  1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.9.7-0vl1
142- new upstream release
143
144* Sat Jul  7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.9.6-0vl1
145- new upstream release
146
147* Sun Aug 21 2005 Satoshi MACHINO <machino@vinelinux.org> 1:0.9.3-0vl1
148- new upstream release
149
150* Sun Jun 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1:0.8.3-0vl1
151- new upstream release
152
153* Sat Oct 11 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.7.2-0vl1
154- updated to 0.7.2
155- dropped patch52
156- s/Copyright/License/
157
158* Fri Feb 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1:0.7.1-0vl1
159- libpcap standalone package splitted from tcpdump
160
161* Fri Feb 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1:3.7.1-0vl1
162- update to new upstream release tcpdump 3.7.1
163- drop unneeded patches
164- use autoconf213, automake14
165- split arpwatch
166
167* Fri Feb 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1:3.6.2-13vl2
168- add patch16 to fix  print_bgp security bug
169  - errata 20030221-3
170
171* Wed Jun 12 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1:3.6.2-13vl1
172- merged with 3.6.2-13
173- fix buffer overflow for errata
174  * Thu May 16 2002 Harald Hoyer <harald@redhat.de> 12:3.6.2-13
175  - added official 3.6.3 fix
176  - fixed 6.2 compat #63113
177  * Wed Jan 23 2002 Harald Hoyer <harald@redhat.de> 12:3.6.2-12
178  - tcpdump-3.6.2-snaplen.patch added to fix #55145
179  * Tue Dec 18 2001 Harald Hoyer <harald@redhat.de> 12:3.6.2-10
180  - took old purge patch for filters
181  - fixed #54225,#58346
182  - drop root by default #49635
183  - fixed #54593
184  - fixed #57711
185
186* Thu Oct 25 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp>
187- 3.6.2-9vl1
188- used PRM macros
189- changed File Name to Package Name in Prereq tag
190- marged 3.6.2-9 (RedHat7.2)
191
192  * Tue Jan 23 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
193  - 3.4-19vl2
194  - use better macros
195 
196  * Thu Sep 21 2000 Yoshihiro Kajiki <kajiki@ylug.org>
197  - add libpcap-0.4-guy-gerald.patch to fix the timeout problem (by Ethereal)
198  - add Japanese summarys and descriptions
199  - modify spec file to build as a normal user
200 
201  * Thu Feb 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
202  - Compile shared libpcap with -fPIC (Bug #6342)
203 
204  * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
205  - fix descriptions
206  - man pages are compressed
207 
208  * Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
209  - remove sparc64 SIOCGIFNAME hack, not needed with (at least) kernel 2.2.12-40.
210  - upgrade to ANK ss991030 snapshot with pcap magic fix (#6773).
211  - add getprotobyname lookup (#6725).
212  - getservbyname port lookup appears functional (#7569).
213  - remove uid 2090 backdoor (sorry Dave) (#7116).
214 
215  * Thu Sep 09 1999 Cristian Gafton <gafton@redhat.com>
216  - fox the pcap.h header
217 
218  * Fri Aug 20 1999 Jeff Johnson <jbj@redhat.com>
219  - prevent segfault on obscure spoofed ip header (#4634).
220 
221  * Wed Aug 18 1999 Jeff Johnson <jbj@redhat.com>
222  - add defattr to arpwatch (#4591).
223 
224  * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
225  - initscript munging
226
227  * Sun Aug  8 1999 Jeff Johnson <jbj@redhat.com>
228  - add -DWORDS_BIGINDIAN to tcpdump compile on sparc sparc61.
229 
230  * Tue Aug  3 1999 Jeff Johnson <jbj@redhat.com>
231  - include A. Kuznetsov's patches to libpcap/tcpdump.
232  - added arpsnmp to package (#3258).
233  - arp2ethers written for different of awk (#4326).
234
235  * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
236  - auto rebuild in the new build environment (release 10)
237
238  * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
239  - strip binaries.
240 
241  * Wed Jan 13 1999 Bill Nottingham <notting@redhat.com>
242  - autoconf fixes for arm
243
244  * Tue Sep 29 1998 Jeff Johnson <jbj@redhat.com>
245  - libpcap description typo.
246
247  * Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
248  - fix arpwatch summary line.
249 
250  * Mon Aug 17 1998 Jeff Johnson <jbj@redhat.com>
251  - enable arpwatch
252 
253  * Mon Aug  3 1998 Jeff Johnson <jbj@redhat.com>
254  - separate package for libpcap.
255  - update tcpdump to 3.4, libpcap to 0.4.
256  - added arpwatch (but disabled for now)
257 
258  * Thu May 07 1998 Prospector System <bugs@redhat.com>
259  - translations modified for de, fr, tr
260 
261  * Sat May  2 1998 Alan Cox <alan@rehat.com>
262  - Added the SACK printing fix so you can dump Linux 2.1+.
263 
264  * Tue Oct 21 1997 Erik Troan <ewt@redhat.com>
265  - updated to release 3.4a5
266  - uses a buildroot and %attr
267 
268  * Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
269  - built against glibc
270
271* Fri Aug 31 2001 Harald Hoyer <harald@redhat.de> 12:3.6.2-9
272- took better fix for #52654 from tcpdump cvs
273
274* Thu Aug 30 2001 Harald Hoyer <harald@redhat.de> 11:3.6.2-8
275- fixed #52654
276
277* Thu Jul 19 2001 Harald Hoyer <harald@redhat.de> 10:3.6.2-7
278- added shared library to libpcap (#47174)
279- afs printing security patch (#49294)
280
281* Wed Jun 20 2001 Harald Hoyer <harald@redhat.de>
282- use initgroups, instead of setgroups
283
284* Mon Jun 18 2001 Harald Hoyer <harald@redhat.de>
285- added dropgroup patches (#44563)
286
287* Mon May 07 2001 Harald Hoyer <harald@redhat.de>
288- switched to Pekka's tcpdump-3.6.2 package
289- incremented epoch
290
291* Sat Apr 14 2001 Pekka Savola <pekkas@netcore.fi>
292- fix building of tcpslice on glibc 2.2.2 (time.h)
293- disable /etc/init.d requirement and fix %post scripts in arpwatch
294
295* Wed Feb 14 2001 Harald Hoyer <harald@redhat.de>
296- glibc sys/time -> time include patch
297
298* Wed Feb  7 2001 Trond Eivind Glomsr <teg@redhat.com>
299- Add space to this check
300
301* Wed Feb 07 2001 Harald Hoyer <harald@redhat.com>
302- added check for presence of /etc/sysconfig/arpwatch (#23172)
303
304* Wed Feb  7 2001 Pekka Savola <pekkas@netcore.fi>
305- update to 3.6.2, 0.6.2 and new CVS of tcpslice.
306- i18n'ize arpwatch init script
307
308* Fri Feb  2 2001 Trond Eivind Glomsr <teg@redhat.com>
309- i18nize initscript
310
311* Mon Jan 29 2001 Harald Hoyer <harald@redhat.com>
312- fixed EINTR stopping for e.g. SIGSTOP. (#22008)
313- added -u option for tcpdump (#20231)
314- new arpwatch version (#23172)
315- added "all" and "one" interface for -i (#20907)
316- added arpwatch sysconfig (#23172)
317
318* Mon Jan 22 2001 Harald Hoyer <harald@redhat.com>
319- more (potential) overflows in libpcap. #21373
320- documentation fix for #20906
321
322* Sun Jan 14 2001 Pekka Savola <pekkas@netcore.fi>
323- use --enable-ipv6
324- Add two patches from CVS to enhance 802.2 printing, and more importantly,
325  to be able to specify 'no stp'
326
327* Sat Jan 13 2001 Pekka Savola <pekkas@netcore.fi>
328- Make SMB printing output a lot more quiet unless in verbose mode.
329- Make -n resolve port/protocol numbers but not hostnames, -nn for no
330  resolving at all
331- Separate droproot patch from a more generic man/usage fix one
332- Add non-promiscuous mode -by default patch, but don't apply it by default
333
334* Thu Jan 11 2001 Pekka Savola <pekkas@netcore.fi>
335- Update to tcpdump 3.6.1 and libpcap 0.6.1 releases.
336
337* Mon Jan  8 2001 Pekka Savola <pekkas@netcore.fi>
338- Update to 20010108 CVS, disable some upstreamed patches.
339- Change some additional .1 pages to .8.
340- Add droproot patch, some --usage and man page fixes.
341
342* Mon Jan  1 2001 Pekka Savola <pekkas@netcore.fi>
343- Initial packaging with latest tcpdump.org CVS tcpdump-3.6 and libpcap-0.6.
344- add earlier print-domain.c, the latest is segfaulting
345- don't unnecesessarily include snprintf.o, it didn't compile with gcc 2.96 anyway
346- don't use savestr, require openssl, tweak tweak tweak
347- add tcpslice, patch it a bit for egcs detection
348
349* Sun Dec 31 2000 Pekka Savola <pekkas@netcore.fi>
350- tcpdump: spice up the manpage about interfaces
351- tcpdump: add 'all' and 'any' keywords to -i, saner default behaviour.
352- upgrade arpwatch to 2.1a10
353
354* Sun Nov 26 2000 Jeff Johnson <jbj@redhat.com>
355- more (potential) overflows in libpcap.
356
357* Sun Nov 12 2000 Jeff Johnson <jbj@redhat.com>
358- eliminate still more buffer overflows (from FreeBSD) (#20069).
359
360* Thu Nov  2 2000 Jeff Johnson <jbj@redhat.com>
361- eliminate more buffer overflows (from FreeBSD) (#20069).
362- 802.1q ether type incorrect (#19850).
363- add -u flag to drop arpwatch privs (#19696).
364
365* Sun Oct 15 2000 Jeff Johnson <jbj@redhat.com>
366- updated ethercodes.dat
367
368* Thu Oct 12 2000 Jeff Johnson <jbj@redhat.com>
369- fix arpwatch tmp race (#18943).
370
371* Fri Aug 11 2000 Bill Nottingham <notting@redhat.com>
372- fix condrestart
373
374* Fri Aug 11 2000 Jeff Johnson <jbj@redhat.com>
375- correct arpsnmp man pages (#15442).
376- don't print harmless ENOPROTOOPT message (#13518).
377
378* Fri Aug  4 2000 Jeff Johnson <jbj@redhat.com>
379- rebuild with final kernel headers (#13518).
380
381* Sat Jul 22 2000 Jeff Johnson <jbj@redhat.com>
382- add STP patch (#14112).
383
384* Fri Jul 14 2000 Matt Wilson <msw@redhat.com>
385- source /etc/init.d/functions
386- back out /etc/init.d/arpwatch, place file in /etc/rc.d
387- move initscript to /etc/init.d
388- changed initscript to use start() and stop() functions
389- added condrestart to init script
390- added %%post %%preun %%postun scripts to register arpwatch script
391- added Prereq: for all things needed in post/preun/postun
392
393* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
394- automatic rebuild
395
396* Tue Jul 11 2000 Jeff Johnson <jbj@redhat.com>
397- updated man page and help (pekkas@netcore.fi) (#10739 et al).
398
399* Sun Jun 18 2000 Jeff Johnson <jbj@redhat/com>
400- FHS packaging.
401
402* Tue May  9 2000 Bill Nottingham <notting@redhat.com>
403- minor tweaks for ia64 (prototypes)
404
405* Thu Feb 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
406- Compile shared libpcap with -fPIC (Bug #6342)
407
408* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
409- fix descriptions
410- man pages are compressed
411
412* Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
413- remove sparc64 SIOCGIFNAME hack, not needed with (at least) kernel 2.2.12-40.
414- upgrade to ANK ss991030 snapshot with pcap magic fix (#6773).
415- add getprotobyname lookup (#6725).
416- getservbyname port lookup appears functional (#7569).
417- remove uid 2090 backdoor (sorry Dave) (#7116).
418
419* Thu Sep 09 1999 Cristian Gafton <gafton@redhat.com>
420- fox the pcap.h header
421
422* Fri Aug 20 1999 Jeff Johnson <jbj@redhat.com>
423- prevent segfault on obscure spoofed ip header (#4634).
424
425* Wed Aug 18 1999 Jeff Johnson <jbj@redhat.com>
426- add defattr to arpwatch (#4591).
427
428* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
429- initscript munging
430
431* Sun Aug  8 1999 Jeff Johnson <jbj@redhat.com>
432- add -DWORDS_BIGINDIAN to tcpdump compile on sparc sparc61.
433
434* Tue Aug  3 1999 Jeff Johnson <jbj@redhat.com>
435- include A. Kuznetsov's patches to libpcap/tcpdump.
436- added arpsnmp to package (#3258).
437- arp2ethers written for different of awk (#4326).
438
439* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
440- auto rebuild in the new build environment (release 10)
441
442* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
443- strip binaries.
444
445* Wed Jan 13 1999 Bill Nottingham <notting@redhat.com>
446- autoconf fixes for arm
447
448* Tue Sep 29 1998 Jeff Johnson <jbj@redhat.com>
449- libpcap description typo.
450
451* Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
452- fix arpwatch summary line.
453
454* Mon Aug 17 1998 Jeff Johnson <jbj@redhat.com>
455- enable arpwatch
456
457* Mon Aug  3 1998 Jeff Johnson <jbj@redhat.com>
458- separate package for libpcap.
459- update tcpdump to 3.4, libpcap to 0.4.
460- added arpwatch (but disabled for now)
461
462* Thu May 07 1998 Prospector System <bugs@redhat.com>
463- translations modified for de, fr, tr
464
465* Sat May  2 1998 Alan Cox <alan@rehat.com>
466- Added the SACK printing fix so you can dump Linux 2.1+.
467
468* Tue Oct 21 1997 Erik Troan <ewt@redhat.com>
469- updated to release 3.4a5
470- uses a buildroot and %attr
471
472* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
473- built against glibc
Note: See TracBrowser for help on using the repository browser.