Bug#342138: package asterisk-dev should contain asterisk.h main header

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Dec 5 19:36:01 UTC 2005


On Mon, Dec 05, 2005 at 04:29:17PM -0200, Caio Begotti wrote:
> Package: asterisk-dev
> Version: 1.2.0.dfsg-4
> 
> The header named asterisk.h from the source code of Asterisk should be chipped 
> into the asterisk-dev package (in the /usr/include directory, not 
> in /usr/include/asterisk, by the way) so that developers can use the main 
> call/functions/definitions from it and it would specially allow packages like 
> extras channels and peripheric code (chan_unicall.so for example) to be 
> created. I'm already maintaining it, but "offline", 'cause this bug.

Are you sure it is actually needed? If so, why doesn't 'make install'
install it?

Specifically, I know that at least some of the packages that claim to
require it, actually don't.

Could you please provide one specific example of a package that needs
asterisk.h ?

> 
> Please, consider to fix it for the next revision... here's what I changed to 
> fix it in my asterisk-dev (pretty simple, what makes me think why it's not 
> included by default):
> 
> diff -ruN orig/asterisk-1.2.0.dfsg/debian/rules 
> asterisk-1.2.0.dfsg/debian/rules
> --- orig/asterisk-1.2.0.dfsg/debian/rules       2005-12-05 14:23:56.321246488 
> -0200
> +++ asterisk-1.2.0.dfsg/debian/rules    2005-12-05 14:12:22.503722784 -0200
> @@ -131,6 +131,8 @@
>         cp debian/asterisk.default $(CURDIR)/debian/tmp/etc/default/asterisk
>         mkdir -p $(CURDIR)/debian/tmp/usr/lib/cgi-bin/asterisk/
>         cp contrib/scripts/vmail.cgi 
> $(CURDIR)/debian/tmp/usr/lib/cgi-bin/asterisk/
> +       cp include/asterisk.h $(CURDIR)/debian/tmp/usr/include/
> +
>         chmod +x $(CURDIR)/debian/tmp/usr/lib/cgi-bin/asterisk/vmail.cgi
> 
>         dh_install --sourcedir=debian/tmp
> 
> 
> diff -ruN orig/asterisk-1.2.0.dfsg/debian/asterisk-dev.install 
> asterisk-1.2.0.dfsg/debian/asterisk-dev.install
> --- orig/asterisk-1.2.0.dfsg/debian/asterisk-dev.install        2005-12-05 
> 14:23:56.322246336 -0200
> +++ asterisk-1.2.0.dfsg/debian/asterisk-dev.install     2005-12-05 
> 14:18:01.461193416 -0200
> @@ -1 +1,2 @@
> +usr/include
>  usr/include/asterisk
> 
> Cheers!
> 
> -- 
> Caio Begotti (caio1982)
> http://caio.ueberalles.net
> 
> 
> _______________________________________________
> Pkg-voip-maintainers mailing list
> Pkg-voip-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers
> 

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the Pkg-voip-maintainers mailing list