diff --git a/net-tools-1.60-selinux.patch b/net-tools-1.60-selinux.patch index d026669..811893a 100644 --- a/net-tools-1.60-selinux.patch +++ b/net-tools-1.60-selinux.patch @@ -203,3 +203,23 @@ case '?': case 'h': usage(); +--- net-tools-1.60/netstat.c.sel 2007-05-21 14:02:08.000000000 -0400 ++++ net-tools-1.60/netstat.c 2007-05-21 14:03:23.000000000 -0400 +@@ -769,6 +769,9 @@ static void finish_this_one(int uid, uns + } + if (flag_prg) + printf("%-" PROGNAME_WIDTHs "s",prg_cache_get(inode)); ++ if (flag_selinux) ++ printf("%-" SELINUX_WIDTHs "s",prg_cache_get_con(inode)); ++ + if (flag_opt) + printf("%s", timers); + putchar('\n'); +@@ -2420,6 +2423,7 @@ int main + if (flag_exp > 1) + printf(_(" User Inode ")); + print_progname_banner(); ++ print_selinux_banner(); + if (flag_opt) + printf(_(" Timer")); /* xxx */ + printf("\n"); diff --git a/net-tools.spec b/net-tools.spec index 147f7a0..1abcc22 100644 --- a/net-tools.spec +++ b/net-tools.spec @@ -3,7 +3,7 @@ Summary: Basic networking tools Name: net-tools Version: 1.60 -Release: 81%{?dist} +Release: 82%{?dist} License: GPL Group: System Environment/Base URL: http://www.tazenda.demon.co.uk/phil/net-tools/ @@ -261,6 +261,9 @@ exit 0 %{_sysconfdir}/rc.d/init.d/netplugd %changelog +* Tue May 22 2007 Radek Vokál - 1.60-82 +- better SELinux patch by + * Tue Mar 27 2007 Radek Vokál - 1.60-81 - fix segfault for empty interface (#234045)