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

Revision 6401, 15.3 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

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