Lines 1-6
Link Here
|
1 |
Name: tcp_wrappers |
1 |
Name: tcp_wrappers |
2 |
Version: 7.6 |
2 |
Version: 7.6 |
3 |
Release: alt4 |
3 |
Release: alt5 |
4 |
Serial: 1 |
4 |
Serial: 1 |
5 |
|
5 |
|
6 |
Summary: A security tool which acts as a wrapper for network services |
6 |
Summary: A security tool which acts as a wrapper for network services |
Lines 84-104
Link Here
|
84 |
%make_build linux |
84 |
%make_build linux |
85 |
|
85 |
|
86 |
%install |
86 |
%install |
87 |
%__mkdir_p $RPM_BUILD_ROOT{/lib,%_libdir,%_sbindir,%_includedir,%_mandir/man{3,5,8}} |
87 |
%__mkdir_p $RPM_BUILD_ROOT{/%_lib,%_libdir,%_sbindir,%_includedir,%_mandir/man{3,5,8}} |
88 |
|
88 |
|
89 |
%__install -p -m755 safe_finger tcpd tcpdchk tcpdmatch try-from \ |
89 |
%__install -p -m755 safe_finger tcpd tcpdchk tcpdmatch try-from \ |
90 |
$RPM_BUILD_ROOT%_sbindir/ |
90 |
$RPM_BUILD_ROOT%_sbindir/ |
91 |
|
91 |
|
92 |
%__cp -a libwrap.* $RPM_BUILD_ROOT%_libdir/ |
92 |
%__cp -a libwrap.* $RPM_BUILD_ROOT%_libdir/ |
93 |
|
93 |
|
94 |
# Relocate shared libraries from %_libdir/ to /lib/. |
94 |
# Relocate shared libraries from %_libdir/ to /%_lib/. |
95 |
for f in $RPM_BUILD_ROOT%_libdir/*.so; do |
95 |
for f in $RPM_BUILD_ROOT%_libdir/*.so; do |
96 |
t=`objdump -p "$f" |awk '/SONAME/ {print $2}'` |
96 |
t=`objdump -p "$f" |awk '/SONAME/ {print $2}'` |
97 |
[ -n "$t" ] |
97 |
[ -n "$t" ] |
98 |
%__ln_s -nf ../../lib/"$t" "$f" |
98 |
%__ln_s -nf ../../%_lib/"$t" "$f" |
99 |
done |
99 |
done |
100 |
%__mv $RPM_BUILD_ROOT%_libdir/*.so.* $RPM_BUILD_ROOT/lib/ |
100 |
%__mv $RPM_BUILD_ROOT%_libdir/*.so.* $RPM_BUILD_ROOT/%_lib/ |
101 |
%__chmod a+x $RPM_BUILD_ROOT/lib/* |
101 |
%__chmod a+x $RPM_BUILD_ROOT/%_lib/* |
102 |
|
102 |
|
103 |
%__install -p -m644 tcpd.h $RPM_BUILD_ROOT%_includedir/ |
103 |
%__install -p -m644 tcpd.h $RPM_BUILD_ROOT%_includedir/ |
104 |
|
104 |
|
Lines 117-123
Link Here
|
117 |
%doc BLURB CHANGES README* DISCLAIMER Banners.Makefile LICENSE |
117 |
%doc BLURB CHANGES README* DISCLAIMER Banners.Makefile LICENSE |
118 |
|
118 |
|
119 |
%files -n libwrap |
119 |
%files -n libwrap |
120 |
/lib/*.so.* |
120 |
/%_lib/*.so.* |
121 |
%_man5dir/* |
121 |
%_man5dir/* |
122 |
|
122 |
|
123 |
%files -n libwrap-devel |
123 |
%files -n libwrap-devel |
Lines 129-134
Link Here
|
129 |
%_libdir/*.a |
129 |
%_libdir/*.a |
130 |
|
130 |
|
131 |
%changelog |
131 |
%changelog |
|
|
132 |
* Mon Jul 26 2004 Kachalov Anton <mouse@altlinux.ru> 1:7.6-alt5 |
133 |
- Change /lib to /%_lib to make compile on x86_64 |
134 |
|
132 |
* Thu Sep 11 2003 Dmitry V. Levin <ldv@altlinux.org> 1:7.6-alt4 |
135 |
* Thu Sep 11 2003 Dmitry V. Levin <ldv@altlinux.org> 1:7.6-alt4 |
133 |
- Relocated man5 documentation (#2588). |
136 |
- Relocated man5 documentation (#2588). |
134 |
- Added hosts_ctl declaration (#2959). |
137 |
- Added hosts_ctl declaration (#2959). |