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

Revision 9432, 15.5 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

Line 
1Name: libpcap
2Summary: A system-independent interface for user-level packet capture.
3Summary(ja): ユーザレベルでパケットをキャプチャするインターフェイス
4Version: 1.7.2
5Release: 1%{?_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, Takemikaduchi
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* Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1:1.7.2-1
109- new upstream release
110
111* Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1:1.5.3-1
112- new upstream release
113
114* Fri Jun 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1:1.3.0-1
115- new upstream release
116
117* Sat Apr 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1:1.2.1-2
118- re-merge 1.1.1-3
119
120* Wed Apr 11 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1:1.2.1-1
121- update to 1.2.1
122- remove R: kernel
123
124* Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:1.1.1-3
125- rebuild; remove *.a file
126
127* Sat Sep 18 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:1.1.1-2
128- fixed header file location <BTS:994>
129- added URL tag
130
131* Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:1.1.1-1
132- new upstream release
133- dropt Patch50
134- built with new toolchain
135- added BR: libnl-devel
136
137* Fri Apr 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:1.0.0-2vl5
138- split devel package
139
140* Wed Oct 29 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1:1.0.0-1vl5
141- new upstream release
142- update Patch50 to fit 1.0.0
143
144* Mon Apr 14 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1:0.9.8-2vl5
145- add BuildRequires: flex >= 2.4, bison
146
147* Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.9.8-1vl5
148- new upstream release
149
150* Sat Sep  1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.9.7-0vl1
151- new upstream release
152
153* Sat Jul  7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.9.6-0vl1
154- new upstream release
155
156* Sun Aug 21 2005 Satoshi MACHINO <machino@vinelinux.org> 1:0.9.3-0vl1
157- new upstream release
158
159* Sun Jun 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1:0.8.3-0vl1
160- new upstream release
161
162* Sat Oct 11 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.7.2-0vl1
163- updated to 0.7.2
164- dropped patch52
165- s/Copyright/License/
166
167* Fri Feb 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1:0.7.1-0vl1
168- libpcap standalone package splitted from tcpdump
169
170* Fri Feb 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1:3.7.1-0vl1
171- update to new upstream release tcpdump 3.7.1
172- drop unneeded patches
173- use autoconf213, automake14
174- split arpwatch
175
176* Fri Feb 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1:3.6.2-13vl2
177- add patch16 to fix  print_bgp security bug
178  - errata 20030221-3
179
180* Wed Jun 12 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1:3.6.2-13vl1
181- merged with 3.6.2-13
182- fix buffer overflow for errata
183  * Thu May 16 2002 Harald Hoyer <harald@redhat.de> 12:3.6.2-13
184  - added official 3.6.3 fix
185  - fixed 6.2 compat #63113
186  * Wed Jan 23 2002 Harald Hoyer <harald@redhat.de> 12:3.6.2-12
187  - tcpdump-3.6.2-snaplen.patch added to fix #55145
188  * Tue Dec 18 2001 Harald Hoyer <harald@redhat.de> 12:3.6.2-10
189  - took old purge patch for filters
190  - fixed #54225,#58346
191  - drop root by default #49635
192  - fixed #54593
193  - fixed #57711
194
195* Thu Oct 25 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp>
196- 3.6.2-9vl1
197- used PRM macros
198- changed File Name to Package Name in Prereq tag
199- marged 3.6.2-9 (RedHat7.2)
200
201  * Tue Jan 23 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
202  - 3.4-19vl2
203  - use better macros
204 
205  * Thu Sep 21 2000 Yoshihiro Kajiki <kajiki@ylug.org>
206  - add libpcap-0.4-guy-gerald.patch to fix the timeout problem (by Ethereal)
207  - add Japanese summarys and descriptions
208  - modify spec file to build as a normal user
209 
210  * Thu Feb 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
211  - Compile shared libpcap with -fPIC (Bug #6342)
212 
213  * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
214  - fix descriptions
215  - man pages are compressed
216 
217  * Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
218  - remove sparc64 SIOCGIFNAME hack, not needed with (at least) kernel 2.2.12-40.
219  - upgrade to ANK ss991030 snapshot with pcap magic fix (#6773).
220  - add getprotobyname lookup (#6725).
221  - getservbyname port lookup appears functional (#7569).
222  - remove uid 2090 backdoor (sorry Dave) (#7116).
223 
224  * Thu Sep 09 1999 Cristian Gafton <gafton@redhat.com>
225  - fox the pcap.h header
226 
227  * Fri Aug 20 1999 Jeff Johnson <jbj@redhat.com>
228  - prevent segfault on obscure spoofed ip header (#4634).
229 
230  * Wed Aug 18 1999 Jeff Johnson <jbj@redhat.com>
231  - add defattr to arpwatch (#4591).
232 
233  * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
234  - initscript munging
235
236  * Sun Aug  8 1999 Jeff Johnson <jbj@redhat.com>
237  - add -DWORDS_BIGINDIAN to tcpdump compile on sparc sparc61.
238 
239  * Tue Aug  3 1999 Jeff Johnson <jbj@redhat.com>
240  - include A. Kuznetsov's patches to libpcap/tcpdump.
241  - added arpsnmp to package (#3258).
242  - arp2ethers written for different of awk (#4326).
243
244  * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
245  - auto rebuild in the new build environment (release 10)
246
247  * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
248  - strip binaries.
249 
250  * Wed Jan 13 1999 Bill Nottingham <notting@redhat.com>
251  - autoconf fixes for arm
252
253  * Tue Sep 29 1998 Jeff Johnson <jbj@redhat.com>
254  - libpcap description typo.
255
256  * Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
257  - fix arpwatch summary line.
258 
259  * Mon Aug 17 1998 Jeff Johnson <jbj@redhat.com>
260  - enable arpwatch
261 
262  * Mon Aug  3 1998 Jeff Johnson <jbj@redhat.com>
263  - separate package for libpcap.
264  - update tcpdump to 3.4, libpcap to 0.4.
265  - added arpwatch (but disabled for now)
266 
267  * Thu May 07 1998 Prospector System <bugs@redhat.com>
268  - translations modified for de, fr, tr
269 
270  * Sat May  2 1998 Alan Cox <alan@rehat.com>
271  - Added the SACK printing fix so you can dump Linux 2.1+.
272 
273  * Tue Oct 21 1997 Erik Troan <ewt@redhat.com>
274  - updated to release 3.4a5
275  - uses a buildroot and %attr
276 
277  * Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
278  - built against glibc
279
280* Fri Aug 31 2001 Harald Hoyer <harald@redhat.de> 12:3.6.2-9
281- took better fix for #52654 from tcpdump cvs
282
283* Thu Aug 30 2001 Harald Hoyer <harald@redhat.de> 11:3.6.2-8
284- fixed #52654
285
286* Thu Jul 19 2001 Harald Hoyer <harald@redhat.de> 10:3.6.2-7
287- added shared library to libpcap (#47174)
288- afs printing security patch (#49294)
289
290* Wed Jun 20 2001 Harald Hoyer <harald@redhat.de>
291- use initgroups, instead of setgroups
292
293* Mon Jun 18 2001 Harald Hoyer <harald@redhat.de>
294- added dropgroup patches (#44563)
295
296* Mon May 07 2001 Harald Hoyer <harald@redhat.de>
297- switched to Pekka's tcpdump-3.6.2 package
298- incremented epoch
299
300* Sat Apr 14 2001 Pekka Savola <pekkas@netcore.fi>
301- fix building of tcpslice on glibc 2.2.2 (time.h)
302- disable /etc/init.d requirement and fix %post scripts in arpwatch
303
304* Wed Feb 14 2001 Harald Hoyer <harald@redhat.de>
305- glibc sys/time -> time include patch
306
307* Wed Feb  7 2001 Trond Eivind Glomsr <teg@redhat.com>
308- Add space to this check
309
310* Wed Feb 07 2001 Harald Hoyer <harald@redhat.com>
311- added check for presence of /etc/sysconfig/arpwatch (#23172)
312
313* Wed Feb  7 2001 Pekka Savola <pekkas@netcore.fi>
314- update to 3.6.2, 0.6.2 and new CVS of tcpslice.
315- i18n'ize arpwatch init script
316
317* Fri Feb  2 2001 Trond Eivind Glomsr <teg@redhat.com>
318- i18nize initscript
319
320* Mon Jan 29 2001 Harald Hoyer <harald@redhat.com>
321- fixed EINTR stopping for e.g. SIGSTOP. (#22008)
322- added -u option for tcpdump (#20231)
323- new arpwatch version (#23172)
324- added "all" and "one" interface for -i (#20907)
325- added arpwatch sysconfig (#23172)
326
327* Mon Jan 22 2001 Harald Hoyer <harald@redhat.com>
328- more (potential) overflows in libpcap. #21373
329- documentation fix for #20906
330
331* Sun Jan 14 2001 Pekka Savola <pekkas@netcore.fi>
332- use --enable-ipv6
333- Add two patches from CVS to enhance 802.2 printing, and more importantly,
334  to be able to specify 'no stp'
335
336* Sat Jan 13 2001 Pekka Savola <pekkas@netcore.fi>
337- Make SMB printing output a lot more quiet unless in verbose mode.
338- Make -n resolve port/protocol numbers but not hostnames, -nn for no
339  resolving at all
340- Separate droproot patch from a more generic man/usage fix one
341- Add non-promiscuous mode -by default patch, but don't apply it by default
342
343* Thu Jan 11 2001 Pekka Savola <pekkas@netcore.fi>
344- Update to tcpdump 3.6.1 and libpcap 0.6.1 releases.
345
346* Mon Jan  8 2001 Pekka Savola <pekkas@netcore.fi>
347- Update to 20010108 CVS, disable some upstreamed patches.
348- Change some additional .1 pages to .8.
349- Add droproot patch, some --usage and man page fixes.
350
351* Mon Jan  1 2001 Pekka Savola <pekkas@netcore.fi>
352- Initial packaging with latest tcpdump.org CVS tcpdump-3.6 and libpcap-0.6.
353- add earlier print-domain.c, the latest is segfaulting
354- don't unnecesessarily include snprintf.o, it didn't compile with gcc 2.96 anyway
355- don't use savestr, require openssl, tweak tweak tweak
356- add tcpslice, patch it a bit for egcs detection
357
358* Sun Dec 31 2000 Pekka Savola <pekkas@netcore.fi>
359- tcpdump: spice up the manpage about interfaces
360- tcpdump: add 'all' and 'any' keywords to -i, saner default behaviour.
361- upgrade arpwatch to 2.1a10
362
363* Sun Nov 26 2000 Jeff Johnson <jbj@redhat.com>
364- more (potential) overflows in libpcap.
365
366* Sun Nov 12 2000 Jeff Johnson <jbj@redhat.com>
367- eliminate still more buffer overflows (from FreeBSD) (#20069).
368
369* Thu Nov  2 2000 Jeff Johnson <jbj@redhat.com>
370- eliminate more buffer overflows (from FreeBSD) (#20069).
371- 802.1q ether type incorrect (#19850).
372- add -u flag to drop arpwatch privs (#19696).
373
374* Sun Oct 15 2000 Jeff Johnson <jbj@redhat.com>
375- updated ethercodes.dat
376
377* Thu Oct 12 2000 Jeff Johnson <jbj@redhat.com>
378- fix arpwatch tmp race (#18943).
379
380* Fri Aug 11 2000 Bill Nottingham <notting@redhat.com>
381- fix condrestart
382
383* Fri Aug 11 2000 Jeff Johnson <jbj@redhat.com>
384- correct arpsnmp man pages (#15442).
385- don't print harmless ENOPROTOOPT message (#13518).
386
387* Fri Aug  4 2000 Jeff Johnson <jbj@redhat.com>
388- rebuild with final kernel headers (#13518).
389
390* Sat Jul 22 2000 Jeff Johnson <jbj@redhat.com>
391- add STP patch (#14112).
392
393* Fri Jul 14 2000 Matt Wilson <msw@redhat.com>
394- source /etc/init.d/functions
395- back out /etc/init.d/arpwatch, place file in /etc/rc.d
396- move initscript to /etc/init.d
397- changed initscript to use start() and stop() functions
398- added condrestart to init script
399- added %%post %%preun %%postun scripts to register arpwatch script
400- added Prereq: for all things needed in post/preun/postun
401
402* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
403- automatic rebuild
404
405* Tue Jul 11 2000 Jeff Johnson <jbj@redhat.com>
406- updated man page and help (pekkas@netcore.fi) (#10739 et al).
407
408* Sun Jun 18 2000 Jeff Johnson <jbj@redhat/com>
409- FHS packaging.
410
411* Tue May  9 2000 Bill Nottingham <notting@redhat.com>
412- minor tweaks for ia64 (prototypes)
413
414* Thu Feb 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
415- Compile shared libpcap with -fPIC (Bug #6342)
416
417* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
418- fix descriptions
419- man pages are compressed
420
421* Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
422- remove sparc64 SIOCGIFNAME hack, not needed with (at least) kernel 2.2.12-40.
423- upgrade to ANK ss991030 snapshot with pcap magic fix (#6773).
424- add getprotobyname lookup (#6725).
425- getservbyname port lookup appears functional (#7569).
426- remove uid 2090 backdoor (sorry Dave) (#7116).
427
428* Thu Sep 09 1999 Cristian Gafton <gafton@redhat.com>
429- fox the pcap.h header
430
431* Fri Aug 20 1999 Jeff Johnson <jbj@redhat.com>
432- prevent segfault on obscure spoofed ip header (#4634).
433
434* Wed Aug 18 1999 Jeff Johnson <jbj@redhat.com>
435- add defattr to arpwatch (#4591).
436
437* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
438- initscript munging
439
440* Sun Aug  8 1999 Jeff Johnson <jbj@redhat.com>
441- add -DWORDS_BIGINDIAN to tcpdump compile on sparc sparc61.
442
443* Tue Aug  3 1999 Jeff Johnson <jbj@redhat.com>
444- include A. Kuznetsov's patches to libpcap/tcpdump.
445- added arpsnmp to package (#3258).
446- arp2ethers written for different of awk (#4326).
447
448* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
449- auto rebuild in the new build environment (release 10)
450
451* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
452- strip binaries.
453
454* Wed Jan 13 1999 Bill Nottingham <notting@redhat.com>
455- autoconf fixes for arm
456
457* Tue Sep 29 1998 Jeff Johnson <jbj@redhat.com>
458- libpcap description typo.
459
460* Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
461- fix arpwatch summary line.
462
463* Mon Aug 17 1998 Jeff Johnson <jbj@redhat.com>
464- enable arpwatch
465
466* Mon Aug  3 1998 Jeff Johnson <jbj@redhat.com>
467- separate package for libpcap.
468- update tcpdump to 3.4, libpcap to 0.4.
469- added arpwatch (but disabled for now)
470
471* Thu May 07 1998 Prospector System <bugs@redhat.com>
472- translations modified for de, fr, tr
473
474* Sat May  2 1998 Alan Cox <alan@rehat.com>
475- Added the SACK printing fix so you can dump Linux 2.1+.
476
477* Tue Oct 21 1997 Erik Troan <ewt@redhat.com>
478- updated to release 3.4a5
479- uses a buildroot and %attr
480
481* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
482- built against glibc
Note: See TracBrowser for help on using the repository browser.