View | Details | Raw Unified
Collapse All | Expand All

(-)iproute2.spec.orig (-1 / +18 lines)
 Lines 2-8    Link Here 
2
%define major 2.4.7
2
%define major 2.4.7
3
%define snapshot 020116
3
%define snapshot 020116
4
Version: %major.20%snapshot
4
Version: %major.20%snapshot
5
Release: alt5
5
Release: alt6
6
6
7
Summary: Enhanced IP routing and network devices configuration tools
7
Summary: Enhanced IP routing and network devices configuration tools
8
Copyright: GPL
8
Copyright: GPL
 Lines 44-54    Link Here 
44
Group: Networking/Other
44
Group: Networking/Other
45
Requires: %name = %version-%release
45
Requires: %name = %version-%release
46
46
47
%package devel-static
48
Summary: libnetlink and others
49
Group: Networking/Other
50
47
%description -n arpd
51
%description -n arpd
48
arpd is a daemon collecting gratuitous ARP information, saving
52
arpd is a daemon collecting gratuitous ARP information, saving
49
it on local disk and feeding it to kernel on demand to avoid
53
it on local disk and feeding it to kernel on demand to avoid
50
redundant broadcasting due to limited size of kernel ARP cache. 
54
redundant broadcasting due to limited size of kernel ARP cache. 
51
55
56
%description devel-static
57
This package contains libnetlink static libraries and headers.
58
52
%prep
59
%prep
53
%setup -q -n %name -a1
60
%setup -q -n %name -a1
54
%patch0 -p1
61
%patch0 -p1
 Lines 76-86    Link Here 
76
83
77
%install
84
%install
78
%__mkdir_p $RPM_BUILD_ROOT{/sbin,%_sbindir,%_man8dir,%_sysconfdir/%name,%_initdir,%_localstatedir/arpd}
85
%__mkdir_p $RPM_BUILD_ROOT{/sbin,%_sbindir,%_man8dir,%_sysconfdir/%name,%_initdir,%_localstatedir/arpd}
86
%__mkdir_p $RPM_BUILD_ROOT{%_libdir,%_includedir/libnetlink}
79
87
80
%__install -p -m755 ip/{ip,ifcfg,rtmon} tc/tc $RPM_BUILD_ROOT/sbin/
88
%__install -p -m755 ip/{ip,ifcfg,rtmon} tc/tc $RPM_BUILD_ROOT/sbin/
81
%__install -p -m755 misc/{arpd,ifstat,nstat,rtacct,rtstat,ss} $RPM_BUILD_ROOT%_sbindir/
89
%__install -p -m755 misc/{arpd,ifstat,nstat,rtacct,rtstat,ss} $RPM_BUILD_ROOT%_sbindir/
82
%__install -p -m644 etc/%name/* $RPM_BUILD_ROOT%_sysconfdir/%name/
90
%__install -p -m644 etc/%name/* $RPM_BUILD_ROOT%_sysconfdir/%name/
83
%__install -p -m644 %name-man/*.8 $RPM_BUILD_ROOT%_man8dir/
91
%__install -p -m644 %name-man/*.8 $RPM_BUILD_ROOT%_man8dir/
92
%__install -p -m644 lib/libnetlink.a $RPM_BUILD_ROOT%_libdir/
93
%__install -p -m644 include/*.h $RPM_BUILD_ROOT%_includedir/libnetlink
84
94
85
%__install -p -m644 %SOURCE11 %SOURCE12 %SOURCE13 doc/
95
%__install -p -m644 %SOURCE11 %SOURCE12 %SOURCE13 doc/
86
96
 Lines 96-102    Link Here 
96
%_sbindir/arpd
106
%_sbindir/arpd
97
%attr(700,root,root) %dir %_localstatedir/arpd
107
%attr(700,root,root) %dir %_localstatedir/arpd
98
108
109
%files devel-static
110
%_libdir/libnetlink.a
111
%_includedir/libnetlink/*.h
112
99
%changelog
113
%changelog
114
* Wed Sep 15 2004 Denis Ovsienko <pilot@altlinux.ru> 2.4.7.20020116-alt6
115
- added devel-static with libnetlink
116
100
* Sat May 01 2004 Dmitry V. Levin <ldv@altlinux.org> 2.4.7.20020116-alt5
117
* Sat May 01 2004 Dmitry V. Levin <ldv@altlinux.org> 2.4.7.20020116-alt5
101
- Fixed the potential buffer overflow in nstat discovered by Steve Grubb,
118
- Fixed the potential buffer overflow in nstat discovered by Steve Grubb,
102
  and a number of other related potential issues in nstat (Owl).
119
  and a number of other related potential issues in nstat (Owl).