Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

Add "provides httpd" in debian/ubuntu packages

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


email at davebv

Nov 6, 2009, 1:16 AM

Post #1 of 11 (663 views)
Permalink
Add "provides httpd" in debian/ubuntu packages

I just found that upgrading packages such as mythweb or others that depends
on "httpd" virtual package do not find cherokee as part of that package, so
they force me to install apache as default, or by using aptitude, it offers
to downgrade to the default distribution version.

How can I avoid installing apache while preserving those packages?

Is there any way to add cherokee from ppa to that virtual package?


More info about virtual packages.
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-virtual


email at davebv

Nov 6, 2009, 1:24 AM

Post #2 of 11 (629 views)
Permalink
Re: Add "provides httpd" in debian/ubuntu packages [In reply to]

I found out the package from ppa "provides: web, web-cgi" while the original
from ubuntu repositories "provides: httpd, httpd-cgi".

Is hits as it should be or it is a misconfiguration?

On Fri, Nov 6, 2009 at 10:16 AM, Site Mail <email [at] davebv> wrote:

> I just found that upgrading packages such as mythweb or others that depends
> on "httpd" virtual package do not find cherokee as part of that package, so
> they force me to install apache as default, or by using aptitude, it offers
> to downgrade to the default distribution version.
>
> How can I avoid installing apache while preserving those packages?
>
> Is there any way to add cherokee from ppa to that virtual package?
>
>
> More info about virtual packages.
> http://www.debian.org/doc/debian-policy/ch-relationships.html#s-virtual
>


email at davebv

Nov 6, 2009, 1:32 AM

Post #3 of 11 (629 views)
Permalink
Re: Add "provides httpd" in debian/ubuntu packages [In reply to]

I am so sorry this is the third, I found the virtual package list to comply
to debian policy and it says in the network section to reference to httpd,
so I think maybe the ppa packages should change "section" and "provides" to
httpd and httpd, httpd-cgi respectively?

Thanks for your patience!

On Fri, Nov 6, 2009 at 10:24 AM, Site Mail <email [at] davebv> wrote:

> I found out the package from ppa "provides: web, web-cgi" while the
> original from ubuntu repositories "provides: httpd, httpd-cgi".
>
> Is hits as it should be or it is a misconfiguration?
>
>
> On Fri, Nov 6, 2009 at 10:16 AM, Site Mail <email [at] davebv> wrote:
>
>> I just found that upgrading packages such as mythweb or others that
>> depends on "httpd" virtual package do not find cherokee as part of that
>> package, so they force me to install apache as default, or by using
>> aptitude, it offers to downgrade to the default distribution version.
>>
>> How can I avoid installing apache while preserving those packages?
>>
>> Is there any way to add cherokee from ppa to that virtual package?
>>
>>
>> More info about virtual packages.
>> http://www.debian.org/doc/debian-policy/ch-relationships.html#s-virtual
>>
>
>


listas at enelserver

Nov 6, 2009, 6:17 AM

Post #4 of 11 (626 views)
Permalink
Re: Add "provides httpd" in debian/ubuntu packages [In reply to]

> I found out the package from ppa "provides: web, web-cgi" while the
original
> from ubuntu repositories "provides: httpd, httpd-cgi".
>
> Is hits as it should be or it is a misconfiguration?
>


For Jaunty and before versions, lintian and Launchpad rejected the
packages because there was no httpd section, that's why was changed to the
web section

Seems that with karmic we got httpd section.

The package forks start to show, it's gonna be fun every cherokee
release..
karmic in httpd section and with upstart scripts ...

Thank you for your report.

Saludos

Leonel






_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


gwolf at gwolf

Nov 6, 2009, 7:24 AM

Post #5 of 11 (628 views)
Permalink
Re: Add "provides httpd" in debian/ubuntu packages [In reply to]

Site Mail dijo [Fri, Nov 06, 2009 at 10:16:00AM +0100]:
> I just found that upgrading packages such as mythweb or others that depends
> on "httpd" virtual package do not find cherokee as part of that package, so
> they force me to install apache as default, or by using aptitude, it offers
> to downgrade to the default distribution version.
>
> How can I avoid installing apache while preserving those packages?
>
> Is there any way to add cherokee from ppa to that virtual package?

The PPA archives Leonel builds are based on the same tree than the
official Debian packages, and they do provide httpd:

$ apt-cache show cherokee|grep Provides
Provides: httpd, httpd-cgi

And as for the latest specific package, I just uploaded it to Debian
based on what Leonel did:

$ dpkg -I cherokee_0.99.27-1_amd64.deb |grep Provides
Provides: httpd, httpd-cgi

Greetings,

--
Gunnar Wolf • gwolf [at] gwolf • (+52-55)5623-0154 / 1451-2244
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


gwolf at gwolf

Nov 6, 2009, 7:31 AM

Post #6 of 11 (635 views)
Permalink
Re: Add "provides httpd" in debian/ubuntu packages [In reply to]

Leonel Nunez dijo [Fri, Nov 06, 2009 at 07:17:19AM -0700]:
> For Jaunty and before versions, lintian and Launchpad rejected the
> packages because there was no httpd section, that's why was changed to the
> web section
>
> Seems that with karmic we got httpd section.

Oh, that explains :-) I thought you were uploading from the same tree
I was.

Don't confuse things: The 'Provides' control field is in no way
related to sections, but to virtual packages.

> The package forks start to show, it's gonna be fun every cherokee
> release.. karmic in httpd section and with upstart scripts ...

Lets keep the forks as small as they should :-) Regarding the upstart
scripts, they should work the same - After all, the init script only
needs to provide the start/stop/restart/status functionality, it is
only what triggers the invocation that chages. In fact, Debian has
already switched to a (different) dependency-based initialization
system, and I have done the minor modifications that were needed¹.

So fear not - We do not have to face a fork. After all, upstart is
also part of Debian. Not the default system, but part of the available
systems.

¹ http://git.debian.org/?p=collab-maint/cherokee.git;a=commitdiff;h=0a91f3bdfb0ced143166f9388daacdcde4163221;hp=bf3e3289004d3a0edcc35421ba445f31f3318f9f

--
Gunnar Wolf • gwolf [at] gwolf • (+52-55)5623-0154 / 1451-2244
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


listas at enelserver

Nov 6, 2009, 9:06 AM

Post #7 of 11 (629 views)
Permalink
Re: Add "provides httpd" in debian/ubuntu packages [In reply to]

> Leonel Nunez dijo [Fri, Nov 06, 2009 at 07:17:19AM -0700]:
>> For Jaunty and before versions, lintian and Launchpad rejected the
>> packages because there was no httpd section, that's why was changed to
>> the
>> web section
>>
>> Seems that with karmic we got httpd section.
>
> Oh, that explains :-) I thought you were uploading from the same tree
> I was.
>
> Don't confuse things: The 'Provides' control field is in no way
> related to sections, but to virtual packages.
>

I've fixed that and now uploading new Ubuntu Packges ..

>> The package forks start to show, it's gonna be fun every cherokee
>> release.. karmic in httpd section and with upstart scripts ...
>
> Lets keep the forks as small as they should :-) Regarding the upstart
> scripts, they should work the same - After all, the init script only
> needs to provide the start/stop/restart/status functionality, it is
> only what triggers the invocation that chages. In fact, Debian has
> already switched to a (different) dependency-based initialization
> system, and I have done the minor modifications that were needed¹.
>
> So fear not - We do not have to face a fork. After all, upstart is
> also part of Debian. Not the default system, but part of the available
> systems.
>
> ¹
> http://git.debian.org/?p=collab-maint/cherokee.git;a=commitdiff;h=0a91f3bdfb0ced143166f9388daacdcde4163221;hp=bf3e3289004d3a0edcc35421ba445f31f3318f9f
>

I don't want forks but for what I've known for Lucid Lynx (10.04) ( should
be named Lucky Leonel :)) upstart will be used on all programs but still
need to see how things get by then.


Saludos ..

> --
> Gunnar Wolf • gwolf [at] gwolf • (+52-55)5623-0154 / 1451-2244
>


Leonel


_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


gwolf at gwolf

Nov 6, 2009, 9:43 AM

Post #8 of 11 (628 views)
Permalink
Re: Add "provides httpd" in debian/ubuntu packages [In reply to]

Leonel Nunez dijo [Fri, Nov 06, 2009 at 10:06:15AM -0700]:
> > So fear not - We do not have to face a fork. After all, upstart is
> > also part of Debian. Not the default system, but part of the available
> > systems.
>
> I don't want forks but for what I've known for Lucid Lynx (10.04) ( should
> be named Lucky Leonel :)) upstart will be used on all programs but still
> need to see how things get by then.

Of course — What I mean is that we package maintainers have to ensure
our init scripts work with either initialization style. There is
nothing wrong in providing init scripts that provide the needed
metadata to work both with upstart and with sysv (and with filerc and
with runit and with many other init schemes there are available for
many years already).

After all, the only thing upstart needs is metainformation: What event
should trigger a 'cherokee start'? what event should trigger a
'cherokee stop'? What events do they trigger?

The interface for the initialization script should be the same, we are
only adding information to it.

Greetings,

--
Gunnar Wolf • gwolf [at] gwolf • (+52-55)5623-0154 / 1451-2244
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


listas at enelserver

Nov 6, 2009, 10:18 AM

Post #9 of 11 (627 views)
Permalink
Re: Add "provides httpd" in debian/ubuntu packages [In reply to]

> I found out the package from ppa "provides: web, web-cgi" while the
> original
> from ubuntu repositories "provides: httpd, httpd-cgi".
>

Fixed the provides httpd httpd-cgi on the ubuntu packages.
now on building queue on launchpad ..

Thank you for your report.


Saludos ..

Leonel


_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


listas at enelserver

Nov 6, 2009, 10:55 AM

Post #10 of 11 (643 views)
Permalink
Re: Add "provides httpd" in debian/ubuntu packages [In reply to]

New Ubuntu Packages for Karmic,Jaunty,Intrepid,Hardy for
Cherokee 0.99.27 fixes a packaging bug

Aways a the usual place :
https://edge.launchpad.net/~cherokee-webserver/+archive/ppa/+packages


Saludos


Leonel


_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


email at davebv

Nov 6, 2009, 3:28 PM

Post #11 of 11 (627 views)
Permalink
Re: Add "provides httpd" in debian/ubuntu packages [In reply to]

Thanks for the quick fix!!

On Nov 6, 2009, at 7:55 PM, Leonel Nunez wrote:

>
>
> New Ubuntu Packages for Karmic,Jaunty,Intrepid,Hardy for
> Cherokee 0.99.27 fixes a packaging bug
>
> Aways a the usual place :
> https://edge.launchpad.net/~cherokee-webserver/+archive/ppa/+packages
>
>
> Saludos
>
>
> Leonel
>
>

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.