[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libapache2-mod-fastcgi broken on Debian testing



Hi Tatsuki,

please, can you put libapache2-mod-fastcgi 2.4.2-8 from Debian unstable
also to Debian testing? I'm not able upgrade apache2 on Debian testing
(dependency problem).

Thanks. Best regards

On Sat, Oct 28, 2006 at 12:53:28AM +0200, Lubomir Host wrote:
> Hi,
> 
> please, can you recompile libapache2-mod-fastcgi for apache 2.2.3 and
> upload to Debian repository? Current version can't be installed, because
> depends on apache2-common. Apache 2.2.3 depends apche2.2-common (package
> name changed).
> 
> For successfull compilation of libapache2-mod-fastcgi you must apply
> following patch. This patch has been taken from
> http://www.fastcgi.com/archives/fastcgi-developers/2005-December/004060.html
> 
> Thanks, best regards,
> 
> rajo
> 
> -- 
>   ,''`.  Lubomir Host 'rajo' <rajo AT platon.sk>    ICQ #:  257322664
>  : :' :  Jabber: rajo AT jabber.platon.sk      VoIP: callto://rajo207
>  `. `'   WWW: http://rajo.platon.sk/  Platon Group: http://platon.sk/
>    `-    GnuPG key: DC0C C7EA 55C8 B089 C41D 944A F251 A93A 2361 A82F

> diff -ruN mod_fastcgi-2.4.2/fcgi.h mod_fastcgi-2.4.2-ap22/fcgi.h
> --- mod_fastcgi-2.4.2/fcgi.h	2003-02-04 00:07:37.000000000 +0100
> +++ mod_fastcgi-2.4.2-ap22/fcgi.h	2005-12-07 21:05:55.000000000 +0100
> @@ -73,6 +73,36 @@
>  #define ap_reset_timeout(a)
>  #define ap_unblock_alarms()
>  
> +/* starting with apache 2.2 the backward-compatibility defines for
> + * 1.3 APIs are not available anymore. Define them ourselves here.
> + */
> +#ifndef ap_copy_table
> +
> +#define ap_copy_table apr_table_copy
> +#define ap_cpystrn apr_cpystrn
> +#define ap_destroy_pool apr_pool_destroy
> +#define ap_isspace apr_isspace
> +#define ap_make_array apr_array_make
> +#define ap_make_table apr_table_make
> +#define ap_null_cleanup apr_pool_cleanup_null 
> +#define ap_palloc apr_palloc
> +#define ap_pcalloc apr_pcalloc
> +#define ap_psprintf apr_psprintf
> +#define ap_pstrcat apr_pstrcat
> +#define ap_pstrdup apr_pstrdup
> +#define ap_pstrndup apr_pstrndup
> +#define ap_push_array apr_array_push
> +#define ap_register_cleanup apr_pool_cleanup_register
> +#define ap_snprintf apr_snprintf
> +#define ap_table_add apr_table_add
> +#define ap_table_do apr_table_do
> +#define ap_table_get apr_table_get
> +#define ap_table_set apr_table_set
> +#define ap_table_setn apr_table_setn
> +#define ap_table_unset apr_table_unset
> +
> +#endif /* defined(ap_copy_table) */
> +
>  #if (defined(HAVE_WRITEV) && !HAVE_WRITEV && !defined(NO_WRITEV)) || defined WIN32
>  #define NO_WRITEV
>  #endif
> diff -ruN mod_fastcgi-2.4.2/Makefile.AP2 mod_fastcgi-2.4.2-ap22/Makefile.AP2
> --- mod_fastcgi-2.4.2/Makefile.AP2	2002-07-29 03:36:34.000000000 +0200
> +++ mod_fastcgi-2.4.2-ap22/Makefile.AP2	2005-12-07 20:27:50.000000000 +0100
> @@ -20,8 +20,6 @@
>  
>  all: local-shared-build
>  
> -install: install-modules
> -
>  clean:
>  	-rm -f *.o *.lo *.slo *.la 
> 

> --- libapache-mod-fastcgi-2.4.2/debian/control	2006-10-25 11:48:07.296704750 +0200
> +++ libapache-mod-fastcgi-2.4.2-rajo-fixes/debian/control	2006-10-28 00:26:02.355023393 +0200
> @@ -8,7 +8,7 @@
>  
>  Package: libapache2-mod-fastcgi
>  Architecture: any
> -Depends: ${shlibs:Depends}, apache2-common
> +Depends: ${shlibs:Depends}, apache2-common | apache2.2-common
>  Description: Apache 2 FastCGI module for long-running CGI scripts
>   This is a FastCGI module for the Apache 2.x web server.  FastCGI is an
>   open standard for communicating between a web server and a long-running




-- 
  ,''`.  Lubomir Host 'rajo' <rajo AT platon.sk>    ICQ #:  257322664
 : :' :  Jabber: rajo AT jabber.platon.sk      VoIP: callto://rajo207
 `. `'   WWW: http://rajo.platon.sk/  Platon Group: http://platon.sk/
   `-    GnuPG key: DC0C C7EA 55C8 B089 C41D 944A F251 A93A 2361 A82F

Attachment: signature.asc
Description: Digital signature


Reply to: