]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/guardian
xz: Update to 5.2.4
[people/pmueller/ipfire-2.x.git] / lfs / guardian
index b02ec5413a289dfa48a2e5c11408e4729450fc84..f3001c82128f3ba08290eea295b87cf342f65590 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2016  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        #
@@ -33,11 +33,10 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
 PROG       = guardian
-PAK_VER    = 10
+PAK_VER    = 14
 
 DEPS       = "perl-inotify2 perl-Net-IP"
 
-
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -94,6 +93,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        -mkdir -pv /var/log/guardian
        touch /var/log/guardian/guardian.log
 
+       #install initscripts
+       $(call INSTALL_INITSCRIPT,guardian)
+
        # Create symlinks for runlevel interaction.
        ln -svf /etc/rc.d/init.d/guardian /etc/rc.d/rc3.d/S45guardian
        ln -svf /etc/rc.d/init.d/guardian /etc/rc.d/rc0.d/K76guardian
@@ -108,5 +110,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        install -v -m 644 $(DIR_SRC)/config/guardian/guardian.logrotate \
                /etc/logrotate.d/guardian
 
+       # Install addon-specific language-files.
+       install -v -m 004 $(DIR_SRC)/config/guardian/guardian.*.pl \
+               /var/ipfire/addon-lang/
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)