]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/wio
suricata: Change midstream policy to "pass-flow"
[people/pmueller/ipfire-2.x.git] / lfs / wio
diff --git a/lfs/wio b/lfs/wio
index a87fa635ef06dc5ab058c6e6d442501ea5f4bee5..b173b935a46afb9a6a0c7c307b522b7022b16b95 100644 (file)
--- a/lfs/wio
+++ b/lfs/wio
@@ -1,6 +1,21 @@
 ###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
 ###############################################################################
 
 ###############################################################################
@@ -17,7 +32,7 @@ THISAPP    = wio-$(VER)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = wio
-PAK_VER    = 14
+PAK_VER    = 17
 
 DEPS       =
 
@@ -44,31 +59,28 @@ dist:
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && mkdir $(DIR_APP) && cp -R $(DIR_SRC)/src/wio/ $(DIR_APP)
-       cd $(DIR_APP)
+       @rm -rf $(DIR_APP)
        mkdir -p /usr/lib/wio
        mkdir -p /var/log/wio
        mkdir -p /var/log/rrd/wio
-       mkdir -p /srv/web/ipfire/html/images/wio
        mkdir -p /var/ipfire/wio
-
-       install -v -m 755 $(DIR_APP)/wio/wio.cgi /srv/web/ipfire/cgi-bin/
-       install -v -m 755 $(DIR_APP)/wio/wiographs.cgi /srv/web/ipfire/cgi-bin/
-       install -v -m 755 $(DIR_APP)/wio/wio /etc/fcron.minutely/
-       install -v -m 644 $(DIR_APP)/wio/main/wio.conf /var/ipfire/wio/
-       install -v -m 754 $(DIR_APP)/wio/main/wio.pl /var/ipfire/wio/
-       install -v -m 754 $(DIR_APP)/wio/main/wiovpn.pl /var/ipfire/wio/
-       install -v -m 644 $(DIR_APP)/wio/wio-lib.pl /usr/lib/wio/
-       install -v -m 644 $(DIR_APP)/wio/wio-graphs.pl /usr/lib/wio/
-       install -v -m 644 $(DIR_APP)/wio/wioips /var/log/wio/
-       install -v -m 644 $(DIR_APP)/wio/images/* /srv/web/ipfire/html/images/wio/
-       install -v -m 644 $(DIR_APP)/wio/lang/wio.de.pl /var/ipfire/addon-lang/
-       install -v -m 644 $(DIR_APP)/wio/lang/wio.en.pl /var/ipfire/addon-lang/
-       install -v -m 644 $(DIR_APP)/wio/lang/wio.es.pl /var/ipfire/addon-lang/
-       install -v -m 644 $(DIR_APP)/wio/lang/wio.fr.pl /var/ipfire/addon-lang/
-       install -v -m 644 $(DIR_APP)/wio/lang/wio.tr.pl /var/ipfire/addon-lang/
-       install -v -m 644 $(DIR_APP)/wio/EX-wio.menu /var/ipfire/menu.d/
-       install -v -m 644 $(DIR_APP)/wio/config/backup/includes/wio /var/ipfire/backup/addons/includes/wio
+       chmod 755 /srv/web/ipfire/html/images/wio
+
+       install -v -m 755 $(DIR_SRC)/config/wio/wio /etc/fcron.minutely/
+       install -v -m 644 $(DIR_SRC)/config/wio/wio.conf /var/ipfire/wio/
+       install -v -m 754 $(DIR_SRC)/config/wio/wio.pl /var/ipfire/wio/
+       install -v -m 754 $(DIR_SRC)/config/wio/wiovpn.pl /var/ipfire/wio/
+       install -v -m 644 $(DIR_SRC)/config/wio/wio-lib.pl /usr/lib/wio/
+       install -v -m 644 $(DIR_SRC)/config/wio/wio-graphs.pl /usr/lib/wio/
+       install -v -m 644 $(DIR_SRC)/config/wio/wioips /var/log/wio/
+       
+       # Install addon-specific language-files.
+       install -v -m 004 $(DIR_SRC)/config/wio/wio.*.pl \
+               /var/ipfire/addon-lang/ 
+               
+       # install backup include file
+       install -v -m 644 $(DIR_SRC)/config/backup/includes/wio \
+                       /var/ipfire/backup/addons/includes/wio
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)