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

Revision 12529, 16.3 KB checked in by tomop, 3 years ago (diff)

updated 5 packages

ModemManager?-1.14.10-1

NetworkManager-1.28.0-1

libpcap-1.10.0-1

ppp-2.4.9-1

xl2tpd-1.3.16-1

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