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

Revision 11944, 16.1 KB checked in by tomop, 5 years ago (diff)

libpcap-1.9.0-1

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