diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2013-12-17 20:05:47 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2013-12-17 20:05:47 -0500 |
commit | 164401c547782f155d87d83a7307baa3a63fad98 (patch) | |
tree | d09315907d089c55b03c30748bb98f673a40433b /config/snort | |
parent | a1eb07ae4019b15e7f4d4375e066038e18a59993 (diff) | |
download | pfsense-packages-164401c547782f155d87d83a7307baa3a63fad98.tar.gz pfsense-packages-164401c547782f155d87d83a7307baa3a63fad98.tar.bz2 pfsense-packages-164401c547782f155d87d83a7307baa3a63fad98.zip |
Update copyright notice per Ermal's suggestion.
Diffstat (limited to 'config/snort')
-rw-r--r-- | config/snort/snort_import_aliases.php | 6 | ||||
-rw-r--r-- | config/snort/snort_migrate_config.php | 7 | ||||
-rw-r--r-- | config/snort/snort_post_install.php | 5 |
3 files changed, 8 insertions, 10 deletions
diff --git a/config/snort/snort_import_aliases.php b/config/snort/snort_import_aliases.php index d9f751cd..77cd5490 100644 --- a/config/snort/snort_import_aliases.php +++ b/config/snort/snort_import_aliases.php @@ -2,11 +2,7 @@ /* $Id$ */ /* snort_import_aliases.php - Copyright (C) 2004 Scott Ullrich - All rights reserved. - - originially part of m0n0wall (http://m0n0.ch/wall) - Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>. + Copyright (C) 2013 Bill Meeks All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/config/snort/snort_migrate_config.php b/config/snort/snort_migrate_config.php index 78ccb737..1a555408 100644 --- a/config/snort/snort_migrate_config.php +++ b/config/snort/snort_migrate_config.php @@ -2,10 +2,7 @@ /* * snort_migrate_config.inc * - * Copyright (C) 2006 Scott Ullrich - * Copyright (C) 2009-2010 Robert Zelaya - * Copyright (C) 2011-2012 Ermal Luci - * part of pfSense + * Copyright (C) 2013 Bill Meeks * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -299,7 +296,7 @@ unset($r); // Write out the new configuration to disk if we changed anything if ($updated_cfg) { - $config['installedpackages']['snortglobal']['snort_config_ver'] = "3.0.0"; + $config['installedpackages']['snortglobal']['snort_config_ver'] = "3.0.1"; log_error("[Snort] Saving configuration settings in new format..."); write_config(); log_error("[Snort] Settings successfully migrated to new configuration format..."); diff --git a/config/snort/snort_post_install.php b/config/snort/snort_post_install.php index ef73b892..a7b54503 100644 --- a/config/snort/snort_post_install.php +++ b/config/snort/snort_post_install.php @@ -5,6 +5,7 @@ * Copyright (C) 2006 Scott Ullrich * Copyright (C) 2009-2010 Robert Zelaya * Copyright (C) 2011-2012 Ermal Luci + * Copyright (C) 2013 Bill Meeks * part of pfSense * All rights reserved. * @@ -1451,6 +1452,10 @@ if ($config['installedpackages']['snortglobal']['forcekeepsettings'] == 'on') { } } +/* Update Snort package version in configuration */ +$config['installedpackages']['snortglobal']['snort_config_ver'] = "3.0.1"; +write_config(); + /* Done with post-install, so clear flag */ unset($g['snort_postinstall']); log_error(gettext("[Snort] Package post-installation tasks completed...")); |