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

Revision 12239, 16.2 KB checked in by tomop, 3 years ago (diff)

updated 2 packages

libpcap-1.9.1-1

tcpdump-4.9.3-1

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