From 98b325140ae3b39a4dd59e85aabecd1783a44584 Mon Sep 17 00:00:00 2001 From: bradymiller Date: Tue, 19 Jan 2016 00:40:11 -0800 Subject: [PATCH] prepping ubuntu-debian package for future 4.3.0 release --- contrib/util/ubuntu_package_scripts/production/README.Debian | 4 ++-- contrib/util/ubuntu_package_scripts/production/changelog.Debian | 6 ++++++ contrib/util/ubuntu_package_scripts/production/control | 2 +- contrib/util/ubuntu_package_scripts/production/copyright | 6 +++--- contrib/util/ubuntu_package_scripts/production/preinst | 8 +++++--- 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/contrib/util/ubuntu_package_scripts/production/README.Debian b/contrib/util/ubuntu_package_scripts/production/README.Debian index 2071ac17b..ad91942b0 100644 --- a/contrib/util/ubuntu_package_scripts/production/README.Debian +++ b/contrib/util/ubuntu_package_scripts/production/README.Debian @@ -46,5 +46,5 @@ just installed it is very helpful. Authors of debianized OpenEMR: ------------------------------ --- Brady Miller Mon, 25 May 2015 13:15:39 -0700 --- Amalu Obinna Mon, 25 May 2015 13:15:39 -0700 +-- Brady Miller Tue, 19 Jan 2016 00:28:15 -0800 +-- Amalu Obinna Tue, 19 Jan 2016 00:28:15 -0800 diff --git a/contrib/util/ubuntu_package_scripts/production/changelog.Debian b/contrib/util/ubuntu_package_scripts/production/changelog.Debian index 2767b2d8d..37f860eba 100644 --- a/contrib/util/ubuntu_package_scripts/production/changelog.Debian +++ b/contrib/util/ubuntu_package_scripts/production/changelog.Debian @@ -1,3 +1,9 @@ +openemr (4.3.0-1) stable; urgency=low + + * New upstream version + + -- Brady Miller Tue, 19 Jan 2016 00:28:15 -0800 + openemr (4.2.0-2) stable; urgency=low * Security fix (patch number 3). diff --git a/contrib/util/ubuntu_package_scripts/production/control b/contrib/util/ubuntu_package_scripts/production/control index 5f87cca55..cba9d8365 100644 --- a/contrib/util/ubuntu_package_scripts/production/control +++ b/contrib/util/ubuntu_package_scripts/production/control @@ -1,5 +1,5 @@ Package: openemr -Version: 4.2.0-2 +Version: 4.3.0-1 Maintainer: Brady Miller Installed-Size: 127000 Priority: optional diff --git a/contrib/util/ubuntu_package_scripts/production/copyright b/contrib/util/ubuntu_package_scripts/production/copyright index 441744139..68c9799ae 100644 --- a/contrib/util/ubuntu_package_scripts/production/copyright +++ b/contrib/util/ubuntu_package_scripts/production/copyright @@ -1,5 +1,5 @@ This package was debianized by Brady Miller on -Mon, 25 May 2015 13:09:11 -0700. +Tue, 19 Jan 2016 00:28:15 -0800. It was downloaded from sourceforge. @@ -7,10 +7,10 @@ Upstream Author: http://www.open-emr.org Copyright: - Copyright (C) 2015 http://www.oemr.org + Copyright (C) 2016 http://www.oemr.org License: GPL -The Debian packaging is (C) 2015, Brady Miller and +The Debian packaging is (C) 2016, Brady Miller and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/contrib/util/ubuntu_package_scripts/production/preinst b/contrib/util/ubuntu_package_scripts/production/preinst index b1577829f..402f611ba 100644 --- a/contrib/util/ubuntu_package_scripts/production/preinst +++ b/contrib/util/ubuntu_package_scripts/production/preinst @@ -5,7 +5,7 @@ #the Free Software Foundation; either version 2 of the License, or #(at your option) any later version. # -# Copyright 2013 +# Copyright 2016 # authors: Amalu Obinna # Brady Miller # @@ -217,15 +217,17 @@ upgrade_function () { OLD_VERSION="4.1.1-1" elif [ "$OLD_VERSION" == "4.1.2" ]; then OLD_VERSION="4.1.2-1" + elif [ "$OLD_VERSION" == "4.2.0" ]; then + OLD_VERSION="4.2.0-1" else prompt_input openemr/upgrade_not_supported critical ret_result unable_exit "Unable to upgrade from $OLD_VERSION version package with $UPGRADETYPE method, so can not upgrade the OpenEMR Package." fi fi # - # ONLY acceptable package and converted raw is 3.0.1-1 or 3.1.0-1 or 3.2.0-1 or 4.0.0-1 or 4.1.0-1 or 4.1.1-1 or 4.1.2-1 or 4.1.2-2 or 4.1.2-3 + # ONLY acceptable package and converted raw is 3.0.1-1 or 3.1.0-1 or 3.2.0-1 or 4.0.0-1 or 4.1.0-1 or 4.1.1-1 or 4.1.2-1 or 4.1.2-2 or 4.1.2-3 or 4.2.0-1 or 4.2.0-2 # - if [ "$OLD_VERSION" != "3.0.1-1" ] && [ "$OLD_VERSION" != "3.1.0-1" ] && [ "$OLD_VERSION" != "3.2.0-1" ] && [ "$OLD_VERSION" != "4.0.0-1" ] && [ "$OLD_VERSION" != "4.1.0-1" ] && [ "$OLD_VERSION" != "4.1.1-1" ] && [ "$OLD_VERSION" != "4.1.2-1" ] && [ "$OLD_VERSION" != "4.1.2-2" ] && [ "$OLD_VERSION" != "4.1.2-3" ]; then + if [ "$OLD_VERSION" != "3.0.1-1" ] && [ "$OLD_VERSION" != "3.1.0-1" ] && [ "$OLD_VERSION" != "3.2.0-1" ] && [ "$OLD_VERSION" != "4.0.0-1" ] && [ "$OLD_VERSION" != "4.1.0-1" ] && [ "$OLD_VERSION" != "4.1.1-1" ] && [ "$OLD_VERSION" != "4.1.2-1" ] && [ "$OLD_VERSION" != "4.1.2-2" ] && [ "$OLD_VERSION" != "4.1.2-3" ] && [ "$OLD_VERSION" != "4.2.0-1" ] && [ "$OLD_VERSION" != "4.2.0-2" ]; then prompt_input openemr/upgrade_not_supported critical ret_result unable_exit "Unable to upgrade from $OLD_VERSION version package with $UPGRADETYPE method, so can not upgrade the OpenEMR Package." fi -- 2.11.4.GIT