Univention Bugzilla – Bug 31151
dh-umc-module-* can be used for LDAP-only modules
Last modified: 2016-10-07 15:39:23 CEST
Created attachment 5190 [details] Fixes + Cleanup dh-umc-module-build and dh-umc-module-install cannot be used to add additional UDM modules, which only require an umc/*.xml file, but no additional umc/python/ and/or umc/javascript/ files. An option should be added to allow such simple extensions. Currently the functionality has to be re-implemented by hand, that is - Install icons - Install message catalog - postinst magic - ... The attached patch tried this, but it was not yet tested. The following change would be needed in univention-management-console/dev/dh_umc.py: - for required in (MODULE, PYTHON, DEFINITION, JAVASCRIPT): + for required in (MODULE, DEFINITION,): The --core function looks very internal (the module name is hard-coded to "umc-core"); it should be replaced by a more lenient switch to make the Python and JavaScript code optional. Some other issues: - The command line parsing of umc-create-module is wrong: «for "$@"» and «shift» don't work together. - Fix permissions of installed files (644) - Move umc reload from prerm to postrm: Restarting UMC while the modules are still installed is useless. - Fix Bug #31123 - Update DTD to match reality (Bug #26275) - Fix XSD - Add RelaxNG schema
The UCS 4.2 dh_umc is capable of this.