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

Revision 11185, 15.7 KB checked in by tomop, 7 years ago (diff)

libpcap-1.8.1-1, tcpdump-4.9.2-1

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