1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
27 SUMMARY = Who Is Online? IPFire extension
32 DIR_APP = $(DIR_SRC)/$(THISAPP)
33 TARGET = $(DIR_INFO)/$(THISAPP)
41 ###############################################################################
43 ###############################################################################
56 ###############################################################################
57 # Installation Details
58 ###############################################################################
60 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
65 mkdir -p /var/log/rrd/wio
66 mkdir -p /var/ipfire/wio
67 chmod 755 /srv/web/ipfire/html/images/wio
69 install -v -m 755 $(DIR_SRC)/config/wio/wio /etc/fcron.minutely/
70 install -v -m 644 $(DIR_SRC)/config/wio/wio.conf /var/ipfire/wio/
71 install -v -m 754 $(DIR_SRC)/config/wio/wio.pl /var/ipfire/wio/
72 install -v -m 754 $(DIR_SRC)/config/wio/wiovpn.pl /var/ipfire/wio/
73 install -v -m 644 $(DIR_SRC)/config/wio/wio-lib.pl /usr/lib/wio/
74 install -v -m 644 $(DIR_SRC)/config/wio/wio-graphs.pl /usr/lib/wio/
75 install -v -m 644 $(DIR_SRC)/config/wio/wioips /var/log/wio/
77 # Install addon-specific language-files.
78 install -v -m 004 $(DIR_SRC)/config/wio/wio.*.pl \
79 /var/ipfire/addon-lang/
81 # install backup include file
82 install -v -m 644 $(DIR_SRC)/config/backup/includes/wio \
83 /var/ipfire/backup/addons/includes/wio