From 879e6bb2402b0f18d464090c9e6868517528ba92 Mon Sep 17 00:00:00 2001 From: Peter Pfeiffer Date: Sun, 6 Sep 2009 18:01:57 +0200 Subject: [PATCH] add WEB-IF for addon apcupsd --- config/rootfiles/packages/apcupsd | 4 ++++ doc/packages-list.txt | 1 + lfs/apcupsd | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/packages/apcupsd b/config/rootfiles/packages/apcupsd index 7d81689000..f14e64a6de 100644 --- a/config/rootfiles/packages/apcupsd +++ b/config/rootfiles/packages/apcupsd @@ -20,3 +20,7 @@ etc/rc.d/init.d/apcupsd etc/rc.d/rc0.d/K35apcupsd etc/rc.d/rc3.d/S65apcupsd etc/rc.d/rc6.d/K35apcupsd +#srv/web/ipfire/cgi-bin/multimon.cgi +srv/web/ipfire/cgi-bin/upsfstats.cgi +srv/web/ipfire/cgi-bin/upsimage.cgi +srv/web/ipfire/cgi-bin/upsstats.cgi diff --git a/doc/packages-list.txt b/doc/packages-list.txt index fab524669e..f72c4dff6d 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -203,6 +203,7 @@ * mbr-1.1.8 * mc-4.6.2 * mechanize-0.1.8 +* mediatomb-svn2020 * memtest86+-2.11 * miau-0.6.5 * misc-progs diff --git a/lfs/apcupsd b/lfs/apcupsd index 6d6fc913d5..0d6f9a0b34 100644 --- a/lfs/apcupsd +++ b/lfs/apcupsd @@ -77,7 +77,8 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && ./configure --prefix=/usr --enable-usb + cd $(DIR_APP) && ./configure --prefix=/usr --enable-usb --enable-cgi \ + --with-cgi-bin=/srv/web/ipfire/cgi-bin cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install install -v -m755 $(DIR_SRC)/config/apcupsd/apcupsd /etc/init.d/apcupsd -- 2.39.2