[opensuse-packaging] What is the correct project for a new apache module?
I'm thinking of packaging mpm_itk for apache 2.4 (only), so I've been trying to figure out how to add a new package to Factory. I've been reading this: https://en.opensuse.org/openSUSE:How_to_contribute_to_Factory#How_to_add_a_n... Which project would be the correct one - Apache:Modules ? -- Per Jessen, Zürich (15.5°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
El 17/10/13 12:51, Per Jessen escribió:
I'm thinking of packaging mpm_itk for apache 2.4 (only), so I've been trying to figure out how to add a new package to Factory. I've been reading this:
https://en.opensuse.org/openSUSE:How_to_contribute_to_Factory#How_to_add_a_n...
Which project would be the correct one - Apache:Modules ?
Per, There is no need to do this, there is a reason why this MPM was disabled in the first place. I will correct the lack of the ITK MPM when apache 2.4.7 is released..(has all the required patches in) Also, providing the ITK MPM as a shared module wont work at all currently. this is because only one MPM can be loaded at a particular time and the "apache2" packages all have an MPM built-in that cannot be unloaded. -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Cristian Rodríguez wrote:
El 17/10/13 12:51, Per Jessen escribió:
I'm thinking of packaging mpm_itk for apache 2.4 (only), so I've been trying to figure out how to add a new package to Factory. I've been reading this:
https://en.opensuse.org/openSUSE:How_to_contribute_to_Factory#How_to_add_a_n...
Which project would be the correct one - Apache:Modules ?
Per, There is no need to do this, there is a reason why this MPM was disabled in the first place.
I will correct the lack of the ITK MPM when apache 2.4.7 is released..(has all the required patches in)
Also, providing the ITK MPM as a shared module wont work at all currently. this is because only one MPM can be loaded at a particular time and the "apache2" packages all have an MPM built-in that cannot be unloaded.
Actually, I've got it working with apache 2.4.6 from Factory. I set it all up about a week ago, I don't remember doing anything special. -- Per Jessen, Zürich (14.9°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Per Jessen wrote:
Cristian Rodríguez wrote:
El 17/10/13 12:51, Per Jessen escribió:
I'm thinking of packaging mpm_itk for apache 2.4 (only), so I've been trying to figure out how to add a new package to Factory. I've been reading this:
https://en.opensuse.org/openSUSE:How_to_contribute_to_Factory#How_to_add_a_n...
Which project would be the correct one - Apache:Modules ?
Per, There is no need to do this, there is a reason why this MPM was disabled in the first place.
I will correct the lack of the ITK MPM when apache 2.4.7 is released..(has all the required patches in)
Also, providing the ITK MPM as a shared module wont work at all currently. this is because only one MPM can be loaded at a particular time and the "apache2" packages all have an MPM built-in that cannot be unloaded.
Actually, I've got it working with apache 2.4.6 from Factory. I set it all up about a week ago, I don't remember doing anything special.
Correction - of course I did, I patched apache and rebuilt it. I've got it (apache with mpm_itk module loaded) running in semi-production right now, but it has not been thoroughly tested. I'm only using the AssignUserid config statement. Anyway, I'll wait for 2.4.7 :-) -- Per Jessen, Zürich (14.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
El 17/10/13 13:11, Per Jessen escribió:
Actually, I've got it working with apache 2.4.6 from Factory. I set it all up about a week ago, I don't remember doing anything special.
Are you sure ? server/config.c error = ap_check_mpm(); if (error) { ap_log_error(APLOG_MARK, APLOG_STARTUP|APLOG_CRIT, 0, NULL, APLOGNO(00534) "%s: Configuration error: %s", ap_server_argv0, error); return NULL; } ap_check_mpm() will return an error message if there is more than 1 MPM loaded, or if there is no MPM loaded... Also, apache changelog for the next version (2.4.7) says: *) core: Add open_htaccess hook which, in conjunction with dirwalk_stat and post_perdir_config (introduced in 2.4.5), allows mpm-itk to be used without patches to httpd core. [Stefan Fritsch] -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
El 17/10/13 13:22, Per Jessen escribió:
Anyway, I'll wait for 2.4.7 :-)
If it compiles, please submit the modular mpm_itk to the "Apache" project anyway..so I do not have to spend time re-creating the package again ;-P -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Cristian Rodríguez wrote:
El 17/10/13 13:11, Per Jessen escribió:
Actually, I've got it working with apache 2.4.6 from Factory. I set it all up about a week ago, I don't remember doing anything special.
Are you sure ?
server/config.c
error = ap_check_mpm(); if (error) { ap_log_error(APLOG_MARK, APLOG_STARTUP|APLOG_CRIT, 0, NULL, APLOGNO(00534) "%s: Configuration error: %s", ap_server_argv0, error); return NULL; }
ap_check_mpm() will return an error message if there is more than 1 MPM loaded, or if there is no MPM loaded...
I applied a patch from the mpm-itk tarball, and config.c was altered but not wrt ap_check_mpm().
Also, apache changelog for the next version (2.4.7) says:
*) core: Add open_htaccess hook which, in conjunction with dirwalk_stat and post_perdir_config (introduced in 2.4.5), allows mpm-itk to be used without patches to httpd core. [Stefan Fritsch]
Yep, that's the bit I patched. -- Per Jessen, Zürich (13.2°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Cristian Rodríguez
-
Per Jessen