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

Revision 8191, 15.4 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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