File nrpe-xinetd.patch of Package nrpe.27675

Index: sample-config/nrpe.xinetd.in
===================================================================
--- sample-config/nrpe.xinetd.in.orig
+++ sample-config/nrpe.xinetd.in
@@ -1,16 +1,17 @@
-# default: on
+# default: off
 # description: NRPE (Nagios Remote Plugin Executor)
 service nrpe
 {
        	flags           = REUSE
-        socket_type     = stream    
-	port		= @nrpe_port@    
+        socket_type     = stream
+        type            = UNLISTED
+        port            = @nrpe_port@
        	wait            = no
         user            = @nrpe_user@
-	group		= @nrpe_group@
+        group           = @nrpe_group@
        	server          = @bindir@/nrpe
         server_args     = -c @sysconfdir@/nrpe.cfg --inetd
        	log_on_failure  += USERID
-        disable         = no
-	only_from       = 127.0.0.1
+        disable         = yes
+        # only_from       = 127.0.0.1
 }
Index: Makefile.in
===================================================================
--- Makefile.in.orig
+++ Makefile.in
@@ -56,7 +56,7 @@ install:
 	cd $(SRC_BASE) && $(MAKE) $@
 
 install-xinetd:
-	$(INSTALL) -m 644 sample-config/nrpe.xinetd /etc/xinetd.d/nrpe 
+	$(INSTALL) -m 644 sample-config/nrpe.xinetd $(DESTDIR)/etc/xinetd.d/nrpe 
 
 install-daemon-config:
 	$(INSTALL) -m 775 $(NAGIOS_INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)
openSUSE Build Service is sponsored by