Re: Packaging OpenEMR officially for Debian
On Tue, Jul 31, 2012 at 12:20:27PM -0700, Brady Miller wrote:
> It definitely would be nice to have an official debian package; was
> thinking about this awhile back and made the following wiki page to
> track this project .
Thanks for the information. In case you would consider this honestly it
is most probably very helpful if you would subscribe the Debian Med
mailing list. This way you will be able to stay in contact with
people working on similar things and you will make sure you will not
miss any information (list policy is to post only to the list and not to
CC the author - I might perhaps forget to keep you posted because of
> Here's the code for the current OpenEMR
> debian package (and plop the openemr package at /var/www/openemr/)
I checked this out and learned that we are facing another instance of a
just archived DEBIAN/ directory - oh how do I hate these instructions
for doing it this way somewhere in the dark corners of the internet
which somehow seem to prevent people reading instructions like
> Will be helpful to know if the current debian package contains
> any things that need to modified to get considered as an official
> debian package.
My remark above is a clear sign: Yes, we need to modify things to make
a real Debian package. The reason is that Debian packages are
autobuilded for several reasons (different architectures - which is not
relevant for OpenEMR, quality assurance issues, porting to derived
distros etc.). So we need to create a proper debian/ dir as described
in the docs and I'd be happy to guide you into this.
> Regarding the OpenEMR upgrade mechanism , OpenEMR also has a
> database upgrade script (there are actually two, one to deal with
> database upgrades and the other to deal with upgrading the access
> controls). The current OpenEMR debian package automates this
I remember that we had some disputes regarding the GNUmed package when
to do the upgrade. It is actually the Debian way to automate things if
possible but there should be a way out of this at least - so we could
do this if the user have acknowledged this in a debconf question. But
these are details we will come to in a later stage of the process.
Currently I'm a bit busy with several things but I hope to come back
to you with some kickstart debian/ dir were we could keep on working
towards an official package.
>  http://www.open-emr.org/wiki/index.php/Ubuntu-Debian_Package_Developers_Page
>  http://github.com/openemr/openemr/tree/master/contrib/util/ubuntu_package_scripts/production
>  http://www.open-emr.org/wiki/index.php/Upgrade_Mechanism