File net-snmp-5.4.2_snmpconf-selinux.patch of Package net-snmp

https://bugzilla.redhat.com/show_bug.cgi?id=248329

Index: local/snmpconf
===================================================================
--- local/snmpconf.orig	2005-08-16 17:59:16.000000000 +0200
+++ local/snmpconf	2008-10-24 15:31:06.798387241 +0200
@@ -682,6 +682,7 @@ sub output_files {
 	    }
 	}
 	close(O);
+	system("restorecon $outputf");
     }
 }
 
openSUSE Build Service is sponsored by