SF.net SVN: gar:[24706] csw/mgar/pkg/netsnmp/trunk/Makefile

hjb001 at users.sourceforge.net hjb001 at users.sourceforge.net
Tue Mar 3 15:41:10 CET 2015


Revision: 24706
          http://sourceforge.net/p/gar/code/24706
Author:   hjb001
Date:     2015-03-03 14:41:09 +0000 (Tue, 03 Mar 2015)
Log Message:
-----------
netsnmp/trunk: added preserve of snmpd.conf

Modified Paths:
--------------
    csw/mgar/pkg/netsnmp/trunk/Makefile

Modified: csw/mgar/pkg/netsnmp/trunk/Makefile
===================================================================
--- csw/mgar/pkg/netsnmp/trunk/Makefile	2015-03-03 12:15:30 UTC (rev 24705)
+++ csw/mgar/pkg/netsnmp/trunk/Makefile	2015-03-03 14:41:09 UTC (rev 24706)
@@ -69,6 +69,7 @@
 INITSMF = $(sysconfdir)/init.d/netsnmpd
 INITSMF += $(sysconfdir)/init.d/netsnmptrapd
 
+PRESERVECONF = $(sysconfdir)/snmp/snmpd.conf
 
 EXTRA_MODULATORS += PYTHON_VERSION
 MODULATIONS_PYTHON_VERSION = 2.6 2.7
@@ -253,5 +254,5 @@
 	ginstall -d $(DESTDIR)/$(localstatedir)/log
 	ginstall -m 755	$(WORKSRC)/dist/snmpd-init.d $(DESTDIR)/$(sysconfdir)/init.d/netsnmpd
 	ginstall -m 755	$(WORKSRC)/dist/snmptrapd-init.d $(DESTDIR)/$(sysconfdir)/init.d/netsnmptrapd
-	ginstall -m 755	$(WORKSRC)/EXAMPLE.conf $(DESTDIR)/$(sysconfdir)/snmp/snmpd.conf
+	ginstall -m 755	$(WORKSRC)/EXAMPLE.conf $(DESTDIR)/$(sysconfdir)/snmp/snmpd.conf.CSW
 	@$(MAKECOOKIE)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list