Summary:ASTERISK-07094: make install target incompatible with packaging
Reporter:Jonathan S. Shapiro (shap)Labels:
Date Opened:2006-06-04 19:54:21Date Closed:2011-06-07 14:08:20
Versions:Frequency of
Description:The current makefile for zaptel performs various "post install" actions in the install target, notably updating the selinux config and such. These need to be done, but the file install steps need to be separated from the post-install steps in order for clean packaging to be possible.

I can supply a patch, but before doing the work I wanted to find out if the patch was actually of interest. Also, there needs to be some discussion of what the new makefile targets should be. My suggestion is to break the current install target into:

  install-files:  (copies all files to right places)
  postinstall: (performs postinstall steps)
  install: install-files postinstall

The same process needs to be done for libpri and asterisk.

I understand the philosophical preference that people should build from source. This misses the point that packaging provides a clean mechanism for uninstall, which is very desirable.
Comments:By: Serge Vecher (serge-v) 2006-06-04 20:04:11

shap: this certainly makes a lot of sense. Could you please email the asterisk-dev list with this question or join the #asterisk-dev channel on IRC? These are the best venues to discuss such things with the development team. Thanks!

By: Serge Vecher (serge-v) 2006-06-08 16:22:07

also, please note that the latest version of Asterisk is

By: Serge Vecher (serge-v) 2006-06-28 14:30:09

I'm going to suspend this issue for now. Please feel free to reopen the bug if you have received enough feedback on the mailing list and have a patch ready that implements your suggestion.