Skip to content

Commit

Permalink
Merge to Stable
Browse files Browse the repository at this point in the history
Conflicts:
	NEWS.asciidoc
	UPGRADE.asciidoc
	addons/packages/packetfence.spec
	debian/changelog
  • Loading branch information
fdurand committed Feb 19, 2015
2 parents 53b3015 + d3829ee commit 0855b29
Show file tree
Hide file tree
Showing 755 changed files with 1,914 additions and 826 deletions.
1,018 changes: 1,018 additions & 0 deletions ChangeLog

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions NEWS.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@ This is a list of noteworthy changes across releases.
For more details and developer visible changes see the ChangeLog file.
For a list of compatibility related changes see the UPGRADE.asciidoc file.

Version 4.6.1 released on 2015-02-19
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

New Features
++++++++++++

Enhancements
++++++++++++

Bug Fixes
+++++++++

* Fix dynamic unregdate breaking when handling the infinite unregdate '0000-00-00'
* Fixed issue where the same password can be generated multiple times
* Assigned LC_CTYPE to C during postinstall script on debian to prevent i18n issues during installation.
* Fixed dynamic_unreg_dated called from the wrong place
* Fix searching for switches in the admin gui
Version 4.6.0 released on 2015-02-04
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
20 changes: 13 additions & 7 deletions UPGRADE.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ PacketFence Upgrade Guide

http://www.packetfence.org/

Notes on upgrading from an older release.
Upgrade procedure
-----------------
For RedHat-based systems, run the following command:

yum update packetfence --enablerepo=packetfence

PacketFence should now be upgraded. However, there may be extra steps required depending on the version you are upgrading from. Please review the following notes about upgrading from an older release.

Upgrading from a version prior to 4.6.0
---------------------------------------
Expand All @@ -16,7 +22,7 @@ We added new INDEX on iplog, violation and locationlog tables.
Make sure you run the following to update your schema:
mysql -u root -p pf -v < db/upgrade-4.5.0-4.6.0.sql
mysql -u root -p pf -v < /usr/local/pf/db/upgrade-4.5.0-4.6.0.sql
Violation template pages language handling
Expand All @@ -40,7 +46,7 @@ The class table has a new column delay_by.

Make sure you run the following to update your schema:

mysql -u root -p pf -v < db/upgrade-4.4.0-4.5.0.sql
mysql -u root -p pf -v < /usr/local/pf/db/upgrade-4.4.0-4.5.0.sql

Upgrading from a version prior to 4.4.0
---------------------------------------
Expand All @@ -65,7 +71,7 @@ The tables email_activation and sms_activation have been merged in a table named

Make sure you run the following to update your schema:

mysql -u root -p pf -v < db/upgrade-4.2.0-4.3.0.sql
mysql -u root -p pf -v < /usr/local/pf/db/upgrade-4.2.0-4.3.0.sql

Configuration changes
^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -98,7 +104,7 @@ New table for WRIX data.
Make sure you run the following to update your schema:
mysql -u root -p pf -v < db/upgrade-4.1.0-4.2.0.sql
mysql -u root -p pf -v < /usr/local/pf/db/upgrade-4.1.0-4.2.0.sql
Configuration changes
^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -128,7 +134,7 @@ Also, the access_level of the temporary_password table is now a string instead o

Make sure you run the following to update your schema:

mysql -u root -p pf -v < db/upgrade-4.0.0-4.1.0.sql
mysql -u root -p pf -v < /usr/local/pf/db/upgrade-4.0.0-4.1.0.sql

Configuration changes
^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -208,7 +214,7 @@ Moreover, an "admin" user is now automatically created. The default password
is also "admin". Finally, a new table has been added for saved searches in the
new Web administrative interface.
mysql -u root -p pf -v < db/upgrade-3.6.1-4.0.0.sql
mysql -u root -p pf -v < /usr/local/pf/db/upgrade-3.6.1-4.0.0.sql
Other important changes
^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion addons/accounting.pl
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/autodiscover.pl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/captive-portal/proxy-bypass/squid-redirector.pl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/connect_and_read.pl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/convertToPortSecurity.pl
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/database-backup-and-maintenance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# - compressed mysqldump to $BACKUP_DIRECTORY, rotate and clean
# - archive locationlog_history entries older than a year the first day of each month
#
# Copyright (C) 2005-2013 Inverse inc.
# Copyright (C) 2005-2015 Inverse inc.
#
# Author: Inverse inc. <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion addons/dev-helpers/dump.pl
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/dev-helpers/radius-hook.pl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/dev-helpers/test-billing.pl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/dev-helpers/useragent-build-regexp.pl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/dhcp_dumper.pl
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
Copyright (C) 2005 Kevin Amorin
Expand Down
4 changes: 2 additions & 2 deletions addons/extract_i18n_strings.pl
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ sub print_po {

print <<EOT;
# English translations for $package package.
# Copyright (C) 2012-2014 Inverse inc.
# Copyright (C) 2005-2015 Inverse inc.
# This file is distributed under the same license as the $package package.
#
msgid ""
Expand Down Expand Up @@ -492,7 +492,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2013-2014 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/high-availability/pf-diff
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Highlight changes between pf servers
#
# Copyright (C) 2005-2013 Inverse inc.
# Copyright (C) 2005-2015 Inverse inc.
#
# Author: Inverse inc. <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion addons/high-availability/rdiff
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Convenient little wrapper to remotely diff files
#
# Copyright (C) 2005-2013 Inverse inc.
# Copyright (C) 2005-2015 Inverse inc.
#
# Author: Inverse inc. <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion addons/import-node-csv.pl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/integration-testing/replay-snmptrapd-logs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/iplog-cleanup.pl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2014 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/locationlog-cleanup.pl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2014 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/migrate-to-locationlog_history.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Usage: migrate-to-locationlog_history.sh <days>
# Where <days> is the number of days to migrate the records of.
#
# Copyright (C) 2005-2013 Inverse inc.
# Copyright (C) 2005-2015 Inverse inc.
#
# Author: Inverse inc. <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion addons/monitorpfsetvlan.pl
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/network-save-configs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/packages/packetfence-rpm-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# - building directly from git
# - specifying branch to build
#
# Copyright (C) 2005-2013 Inverse inc.
# Copyright (C) 2005-2015 Inverse inc.
#
# Author: Inverse inc. <[email protected]>
#
Expand Down
3 changes: 3 additions & 0 deletions addons/packages/packetfence.spec
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,9 @@ fi
%attr(6755, root, root) /usr/local/pf/bin/pfcmd

%changelog
* Thu Feb 19 2015 Inverse <[email protected]> - 4.6.1-1
- New release 4.6.1

* Wed Feb 04 2015 Inverse <[email protected]> - 4.6.0-1
- New release 4.6.0

Expand Down
2 changes: 1 addition & 1 deletion addons/packages/perl-Net-Appliance-Session.spec.diff
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# http://packetfence.org/bugs/view.php?id=1556
#
# Olivier Bilodeau <[email protected]>
# Copyright 2012 Inverse inc.
# Copyright (C) 2005-2015 Inverse inc.
#
--- perl-Net-Appliance-Session.spec 2012-09-26 13:40:14.000000000 -0400
+++ SPECS/perl-Net-Appliance-Session.spec 2012-09-26 13:38:08.000000000 -0400
Expand Down
2 changes: 1 addition & 1 deletion addons/pf-maint.pl
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2014 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/pfarp_remote/sbin/pfarp_remote
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ Inverse inc. <[email protected]>
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/pfdetect_remote/sbin/pfdetect_remote
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ Inverse inc. <[email protected]>
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/recovery.pl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/snort/update_rules.pl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/template-from-csv.pl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2014 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/upgrade/to-2.2.0-update-all-useragents.pl
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
2 changes: 1 addition & 1 deletion addons/upgrade/to-3.0-networks.conf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ =head1 AUTHOR
=head1 COPYRIGHT
Copyright (C) 2005-2013 Inverse inc.
Copyright (C) 2005-2015 Inverse inc.
=head1 LICENSE
Expand Down
Loading

0 comments on commit 0855b29

Please sign in to comment.