diff --git a/tcp_wrappers-7.6-man.patch b/tcp_wrappers-7.6-man.patch new file mode 100644 index 0000000..6ca5429 --- /dev/null +++ b/tcp_wrappers-7.6-man.patch @@ -0,0 +1,71 @@ +diff -up tcp_wrappers_7.6/Makefile.man tcp_wrappers_7.6/Makefile +diff -up tcp_wrappers_7.6/safe_finger.8.man tcp_wrappers_7.6/safe_finger.8 +--- tcp_wrappers_7.6/safe_finger.8.man 2010-02-05 09:19:38.000000000 +0100 ++++ tcp_wrappers_7.6/safe_finger.8 2010-02-05 09:11:12.000000000 +0100 +@@ -0,0 +1,34 @@ ++.TH SAFE_FINGER 8 "21th June 1997" Linux "Linux Programmer's Manual" ++.SH NAME ++safe_finger \- finger client wrapper that protects against nasty stuff ++from finger servers ++.SH SYNOPSIS ++.B safe_finger [finger_options] ++.SH DESCRIPTION ++The ++.B safe_finger ++command protects against nasty stuff from finger servers. Use this ++program for automatic reverse finger probes from the ++.B tcp_wrapper ++.B (tcpd) ++, not the raw finger command. The ++.B safe_finger ++command makes sure that the finger client is not run with root ++privileges. It also runs the finger client with a defined PATH ++environment. ++.B safe_finger ++will also protect you from problems caused by the output of some ++finger servers. The problem: some programs may react to stuff in ++the first column. Other programs may get upset by thrash anywhere ++on a line. File systems may fill up as the finger server keeps ++sending data. Text editors may bomb out on extremely long lines. ++The finger server may take forever because it is somehow wedged. ++.B safe_finger ++takes care of all this badness. ++.SH SEE ALSO ++.BR hosts_access (5), ++.BR hosts_options (5), ++.BR tcpd (8) ++.SH AUTHOR ++Wietse Venema, Eindhoven University of Technology, The Netherlands. ++ +diff -up tcp_wrappers_7.6/try-from.8.man tcp_wrappers_7.6/try-from.8 +--- tcp_wrappers_7.6/try-from.8.man 2010-02-05 09:20:00.000000000 +0100 ++++ tcp_wrappers_7.6/try-from.8 2010-02-05 09:12:54.000000000 +0100 +@@ -0,0 +1,28 @@ ++.TH TRY-FROM 8 "21th June 1997" Linux "Linux Programmer's Manual" ++.SH NAME ++try-from \- test program for the tcp_wrapper ++.SH SYNOPSIS ++.B try-from ++.SH DESCRIPTION ++The ++.B try\-from ++command can be called via a remote shell command to find out ++if the hostname and address are properly recognized ++by the ++.B tcp_wrapper ++library, if username lookup works, and (SysV only) if the TLI ++on top of IP heuristics work. Diagnostics are reported through ++.BR syslog (3) ++and redirected to stderr. ++ ++Example: ++ ++rsh host /some/where/try\-from ++ ++.SH SEE ALSO ++.BR hosts_access (5), ++.BR hosts_options (5), ++.BR tcpd (8) ++.SH AUTHOR ++Wietse Venema, Eindhoven University of Technology, The Netherlands. ++ diff --git a/tcp_wrappers.spec b/tcp_wrappers.spec index 4a911e9..84d91f2 100644 --- a/tcp_wrappers.spec +++ b/tcp_wrappers.spec @@ -1,7 +1,7 @@ Summary: A security tool which acts as a wrapper for TCP daemons Name: tcp_wrappers Version: 7.6 -Release: 57%{?dist} +Release: 58%{?dist} %define LIB_MAJOR 0 %define LIB_MINOR 7 @@ -19,6 +19,7 @@ Patch4: tcp_wrappers-7.6-bug17795.patch Patch5: tcp_wrappers-7.6-bug17847.patch Patch6: tcp_wrappers-7.6-fixgethostbyname.patch Patch7: tcp_wrappers-7.6-docu.patch +Patch8: tcp_wrappers-7.6-man.patch Patch9: tcp_wrappers.usagi-ipv6.patch Patch10: tcp_wrappers.ume-ipv6.patch Patch11: tcp_wrappers-7.6-shared.patch @@ -74,6 +75,7 @@ develop applications with tcp_wrappers support. %patch5 -p1 -b .bug17847 %patch6 -p1 -b .fixgethostbyname %patch7 -p1 -b .docu +%patch8 -p1 -b .man %patch9 -p1 -b .usagi-ipv6 %patch10 -p1 -b .ume-ipv6 %patch11 -p1 -b .shared @@ -102,7 +104,7 @@ mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} install -p -m644 hosts_access.3 ${RPM_BUILD_ROOT}%{_mandir}/man3 install -p -m644 hosts_access.5 hosts_options.5 ${RPM_BUILD_ROOT}%{_mandir}/man5 -install -p -m644 tcpd.8 tcpdchk.8 tcpdmatch.8 ${RPM_BUILD_ROOT}%{_mandir}/man8 +install -p -m644 tcpd.8 tcpdchk.8 tcpdmatch.8 safe_finger.8 try-from.8 ${RPM_BUILD_ROOT}%{_mandir}/man8 ln -sf hosts_access.5 ${RPM_BUILD_ROOT}%{_mandir}/man5/hosts.allow.5 ln -sf hosts_access.5 ${RPM_BUILD_ROOT}%{_mandir}/man5/hosts.deny.5 #cp -a libwrap.a ${RPM_BUILD_ROOT}%{_libdir} @@ -146,6 +148,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man3/* %changelog +* Fri Feb 5 2010 Jan F. Chadima - 7.6-58 +- Add manual pages for safe_finger and try-from (#526190) + * Wed Jan 6 2010 Jan F. Chadima - 7.6-57 - Merge review (#226482)