diff --git a/COPYRIGHT b/COPYRIGHT
index 85b347bd..431c7a5c 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -12,5 +12,5 @@ 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/
+along with this program. If not, see https://www.gnu.org/licenses/
to obtain one.
diff --git a/doc/legal.sgml b/doc/legal.sgml
index a3fefe35..8d7baeea 100644
--- a/doc/legal.sgml
+++ b/doc/legal.sgml
@@ -1,4 +1,4 @@
-
+
2017
@@ -12,9 +12,26 @@
repmgr is Copyright © 2010-2017
- by 2ndQuadrant, Ltd.
+ by 2ndQuadrant, Ltd. All rights reserved.
- add license
+
+ 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
+ https://www.gnu.org/licenses/
+ to obtain one.
+