Difference between revisions of "Ubuntu-Debian Package Developers Page"

From OpenEMR Project Wiki
Line 1: Line 1:
:*May try to prepare the next official package (4.1.3-1) to get submitted to debian and ubuntu.
*Current am working on packaging 4.1.2 patch 5 with help from the Debian Med mailing list.  Top issues that we have are:
::*: Currently working with debian-med to do this
** Filesystem of package is not compliant with Debian and would need to be modified to comply with:
::<code>/etc/openemr</code> - Conf files '''Apache2, MySQL, PHP5'''
::<code>/usr/sbin</code> - Scripts to help secure/configure application after install (PHPMyAdmin has pma-secure, pma-configure)
::<code>/usr/share/openemr</code> - PHP script code (non-writtable per FHS standard)
::<code>/usr/share/doc/openemr</code> - Generated code documentation (I don't think we have any)
::<code>/usr/share/doc-base/openemr</code> - Doc-base doc
::<code>/usr/share/man/man8</code> - Man page (PHPMyAdmin places there's in man8 and seems reasonable)
::<code>/var/lib/openemr</code> - Writtable dirs/files
::<code>/var/lib/openemr/sites/*/documents</code>
::<code>/var/lib/openemr/sites/*/edi</code>
::<code>/var/lib/openemr/sites/*/era</code>
::<code>/var/lib/openemr/sites/*/letter_templates</code>
::<code>/var/lib/openemr/gacl/admin/templates_c</code>
::<code>/var/lib/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/complied</code>
::<code>/var/lib/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache</code>
 
Current issues:
# Our code is currently held under /var/www
# Our configuration is almost exclusively held in some directory underneath /var/www well.
# globals.php is the typical file that holds all the PATHs and other variables that most other scripts rely on to orient themselves on the system.  To be Debian compliant there will most likely need to be some modifications.
 
Goals:
# Create Alioth Account for Debian and confirm that have ssh to Alioth for git repo, etc.
# Create dummy package with openemr-4.1.2 patch 5 so that we can start reworking things.
# With upstream tar ball start patching globals.php such that it might actually conform to the above structure using quilt
# Try to figure out what 'build' system PHPMyAdmin source uses since they package ok with debhelper tools (is it Makefile, etc)
 


[[Category:Ubuntu Package]][[Category:Debian Package]][[Category:Developer Guide]]
[[Category:Ubuntu Package]][[Category:Debian Package]][[Category:Developer Guide]]

Revision as of 05:14, 5 June 2014

  • Current am working on packaging 4.1.2 patch 5 with help from the Debian Med mailing list. Top issues that we have are:
    • Filesystem of package is not compliant with Debian and would need to be modified to comply with:
/etc/openemr - Conf files Apache2, MySQL, PHP5
/usr/sbin - Scripts to help secure/configure application after install (PHPMyAdmin has pma-secure, pma-configure)
/usr/share/openemr - PHP script code (non-writtable per FHS standard)
/usr/share/doc/openemr - Generated code documentation (I don't think we have any)
/usr/share/doc-base/openemr - Doc-base doc
/usr/share/man/man8 - Man page (PHPMyAdmin places there's in man8 and seems reasonable)
/var/lib/openemr - Writtable dirs/files
/var/lib/openemr/sites/*/documents
/var/lib/openemr/sites/*/edi
/var/lib/openemr/sites/*/era
/var/lib/openemr/sites/*/letter_templates
/var/lib/openemr/gacl/admin/templates_c
/var/lib/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/complied
/var/lib/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache

Current issues:

  1. Our code is currently held under /var/www
  2. Our configuration is almost exclusively held in some directory underneath /var/www well.
  3. globals.php is the typical file that holds all the PATHs and other variables that most other scripts rely on to orient themselves on the system. To be Debian compliant there will most likely need to be some modifications.

Goals:

  1. Create Alioth Account for Debian and confirm that have ssh to Alioth for git repo, etc.
  2. Create dummy package with openemr-4.1.2 patch 5 so that we can start reworking things.
  3. With upstream tar ball start patching globals.php such that it might actually conform to the above structure using quilt
  4. Try to figure out what 'build' system PHPMyAdmin source uses since they package ok with debhelper tools (is it Makefile, etc)