ports/sysutils/apcupsd/files/patch-platforms_etc_Makefile
Danilo G. Baio 1936d5d190 sysutils/apcupsd: Several improvements
Add support for running multiple instances of apcupsd[1]
Add an option to use `shutdown -p` rather than `shutdown -h`[2]
Set as @sample several scripts that can be customized[3]
Add an option for build with MODBUS USB driver support (Enabled by default)[4]
Set LICENSE_FILE [5]
Sort OPTIONS and make a small adjustment in pkg-message
Take maintainer'ship

PR:		180336 [1]
PR:		187924 [2][3]
PR:		215809 [4]
PR:		220002 [5]

Submitted by:	leres@ee.lbl.gov [1]
Submitted by:	tdb [3]
Submitted by:	ipluta@wp.pl [4]
Submitted by:	takefu@airport.fm [5]

Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D11224
2017-06-19 22:45:58 +00:00

21 lines
867 B
Text

--- platforms/etc/Makefile.orig 2014-04-09 22:15:34 UTC
+++ platforms/etc/Makefile
@@ -8,12 +8,12 @@ all-uninstall: uninstall-etc
install-etc:
$(call MKDIR,$(sysconfdir))
- $(call INSTNEW,644,apcupsd.conf,$(sysconfdir))
- $(call INSTORIG,744,changeme,$(sysconfdir))
- $(call INSTORIG,744,commfailure,$(sysconfdir))
- $(call INSTORIG,744,commok,$(sysconfdir))
- $(call INSTORIG,744,offbattery,$(sysconfdir))
- $(call INSTORIG,744,onbattery,$(sysconfdir))
+ $(call INSTDATA,644,apcupsd.conf,$(sysconfdir)/apcupsd.conf.sample)
+ $(call INSTDATA,744,changeme,$(sysconfdir)/changeme.sample)
+ $(call INSTDATA,744,commfailure,$(sysconfdir)/commfailure.sample)
+ $(call INSTDATA,744,commok,$(sysconfdir)/commok.sample)
+ $(call INSTDATA,744,offbattery,$(sysconfdir)/offbattery.sample)
+ $(call INSTDATA,744,onbattery,$(sysconfdir)/onbattery.sample)
uninstall-etc: