]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/guardian
amazon-ssm-agent: Update to 3.0.356.0
[people/pmueller/ipfire-2.x.git] / lfs / guardian
index 2eaf77212b2ce53dcd908f6dd45d717757801db8..c24687a38783751524b4e4f5881b72a919e2a6d6 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2019  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,9 +33,9 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
 PROG       = guardian
-PAK_VER    = 15
+PAK_VER    = 21
 
-DEPS       = "perl-inotify2 perl-Net-IP"
+DEPS       = perl-inotify2 perl-Net-IP
 
 ###############################################################################
 # Top-level Rules
@@ -79,6 +79,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axvf $(DIR_DL)/$(DL_FILE)
 
+       # Add upstream patches.
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/guardian-2.0.2-http-parser.patch
+
        # Adjust path for firewall binaries.
        cd $(DIR_APP) && sed -i "s|/usr/sbin/|/sbin/|g" modules/IPtables.pm