summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/files/patch-src_cgi_Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2017-03-07 10:21:01 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2017-03-07 10:21:01 +0000
commit9221d550d0215af70017a39e45919fdcf5ccac60 (patch)
tree6ef16735597b64f23a91ca3bb6cc3986c46a11a9 /sysutils/apcupsd/files/patch-src_cgi_Makefile
parent- Update to 1.7.3.318 (diff)
- Enable SNMP driver by default due to popular demand [1]
- Rename option USB -> USB_DRV for consistency with other drivers and provide better option names while I'm here - Remove hand-rolled `post-install' target now that @sample files are installed properly - Reorder some knobs and drop CPPFLAGS/LIBS now that those seem to be detected correctly PR: 215153 [1]
Diffstat (limited to 'sysutils/apcupsd/files/patch-src_cgi_Makefile')
-rw-r--r--sysutils/apcupsd/files/patch-src_cgi_Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/apcupsd/files/patch-src_cgi_Makefile b/sysutils/apcupsd/files/patch-src_cgi_Makefile
new file mode 100644
index 000000000000..981c42d2bd34
--- /dev/null
+++ b/sysutils/apcupsd/files/patch-src_cgi_Makefile
@@ -0,0 +1,15 @@
+--- src/cgi/Makefile.orig 2014-11-04 19:17:43 UTC
++++ src/cgi/Makefile
+@@ -43,9 +43,9 @@ install-cgi:
+ $(call INSTPROG,755,upsfstats.cgi,$(cgibin))
+ $(call INSTPROG,755,upsimage.cgi,$(cgibin))
+ $(call MKDIR,$(sysconfdir))
+- $(call INSTNEW,644,apcupsd.css,$(sysconfdir))
+- $(call INSTNEW,644,$(topdir)/platforms/etc/hosts.conf,$(sysconfdir))
+- $(call INSTNEW,644,$(topdir)/platforms/etc/multimon.conf,$(sysconfdir))
++ $(call INSTDATA,644,apcupsd.css,$(sysconfdir)/apcupsd.css.sample)
++ $(call INSTDATA,644,$(topdir)/platforms/etc/hosts.conf,$(sysconfdir)/hosts.conf.sample)
++ $(call INSTDATA,644,$(topdir)/platforms/etc/multimon.conf,$(sysconfdir)/multimon.conf.sample)
+
+ uninstall-cgi:
+ $(call UNINST,$(cgibin)/multimon.cgi)