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

Revision 9587, 15.6 KB checked in by Takemikaduchi, 9 years ago (diff)

mate-user-guide: NEW package
others: new upstream release

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