[Home]

Summary:ASTERISK-05623: [patch] Zaptel Makefile Changes
Reporter:Shane Spencer (whardier)Labels:
Date Opened:2005-11-16 20:52:52.000-0600Date Closed:2006-01-12 17:26:52.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) zaptel-1.2.0-rc2-makefile-seperation.patch
Description:Attempting to use checkinstall in order to work more cleanly with other administrators, see apt-cache show checkinstall for more information.

These changes allow a more sperated installation, still allowing "make" and "make install" to perform the same behaviour. This list of checkinstall commands should summarize the changes.

Additional information should describe the changes made.  I am going to attemp autoconf configuration of this and see if it can be adopted by a more stable developer.

The checkinstall output produces the following packages if debian target selected (Not sure how to declare depends/requires yet):

libtonezone_1.2.0-rc2-1.2.0-rc2-1_i386.deb
libtonezone-dev_1.2.0-rc2-1.2.0-rc2-1_i386.deb
zaptel_1.2.0-rc2-1.2.0-rc2-1_i386.deb
zaptel-dev_1.2.0-rc2-1.2.0-rc2-1_i386.deb
zaptel-modules-2.6.14-1-686-smp_1.2.0-rc2+2.6.14-1-686-smp-1.2.0-rc2-1_i386.deb

These can now be removed cleanly with no traces left (except one little modified config).

I can see this being a better insentive for worried debian/redhat users who want an uninstall for asterisk CVS.

****** ADDITIONAL INFORMATION ******

mkdir doc-pak
cp zaptel.conf.sample doc-pak/
cp ChangeLog LICENSE README* doc-pak/

checkinstall --pkgname=zaptel --pkgversion=1.2.0-rc2 \
 --pkgrelease=1.2.0-rc2-1 --pkglicense=GPL --maintainer=shane@tdxnet.com \
 make install-bins install-man

checkinstall --pkgname=zaptel-dev --pkgversion=1.2.0-rc2 \
 --pkgrelease=1.2.0-rc2-1 --pkglicense=GPL --maintainer=shane@tdxnet.com \
 make install-devel

checkinstall --pkgname=libtonezone --pkgversion=1.2.0-rc2 \
 --pkgrelease=1.2.0-rc2-1 --pkglicense=GPL --maintainer=shane@tdxnet.com \
 make install-tonezone

checkinstall --pkgname=libtonezone-devel --pkgversion=1.2.0-rc2 \
 --pkgrelease=1.2.0-rc2-1 --pkglicense=GPL --maintainer=shane@tdxnet.com \
 make install-tonezone-devel

checkinstall --pkgname=zaptel-modules-`uname -r` \
 --pkgversion=1.2.0-rc2+`uname -r`--pkgrelease=1.2.0-rc2-1 \
 --pkglicense=GPL --maintainer=shane@tdxnet.com \
 make IGNOREDYNFS=true install-modules install-udev install-devices
Comments:By: Tzafrir Cohen (tzafrir) 2005-11-26 15:43:01.000-0600

Good to see someone taking a stab at this horrible install target.

1. Please check the patches in ZAP-68 . Specifically Makefile_targets and Makefile_pscmd . As you can see, I simply avoided the original install target.

2. You assume that the man pages are installed to /usr/share/man/man8 . Better change that to $(MANPATH)/man8 .

3. Ditto for the libraries and include files.

By: Matthew Fredrickson (mattf) 2006-01-12 17:26:10.000-0600

The zaptel Makefile just went through some considerable changes.  If you still need the features of this patch, open a new bug not with an updated version of the patch and we'll review it.

By: Matthew Fredrickson (mattf) 2006-01-12 17:26:41.000-0600

Possibly fixed in 4962