Re: GSoC Idea: Packaging Tor+Vidalia

2008-03-24 Thread Peter Palfrader
On Mon, 24 Mar 2008, Adna rim wrote:

> Noone doubts that this would be the best solution but at the moment there's 
> no way to do so.

Then write it.  This isn't rocket science.

> The initscript of Tor checks for having vidalia installed and If it's yes it 
> won't start.

No.  That kind of magic is ugly and quite counter intuitive to anybody
installing the package.

Peter


Re: GSoC Idea: Packaging Tor+Vidalia

2008-03-24 Thread Adna rim
On Mon, 24 Mar 2008 10:01:08 +0100
Peter Palfrader <[EMAIL PROTECTED]> wrote:

> I have explained it more than once.  I think the proper way is to teach
> vidalia to use a control unix domain socket and have it use the Tor that
> is installed and running on the system.
> 
> Once vidalia knows how to do that I can enable the control socket in the
> package by default.
> 
> Peter

Noone doubts that this would be the best solution but at the moment there's no 
way to do so. If Vidalia isn't capable of this until the next Ubuntu 
Code-Freeze for Interapid Ibex (8.10) I will suggest a tor package which 
doesn't install as a service by default.

On Mon, 24 Mar 2008 01:37:17 -0700
Jacob Appelbaum <[EMAIL PROTECTED]> wrote:

> That was my thought as well. However, I'm curious what your thoughts are
> on the Debian Way (TM) to solve this problem? Perhaps to patch the tor
> init.d script in the Tor package to check for a flag that can be set by
> the Vadalia package?
> 
> Regards,
> Jacob

I didn't thought about this until now but it sounds good to me. The initscript 
of Tor checks for having vidalia installed and If it's yes it won't start. I 
will further investigate this the next time.


But as said Leandro Doctors is trying to fix it in a proper way with enabling 
vidalia to reign the running tor-service. If this attempt will be succesfull 
none of these steps are necassary and I will be glad to see such a solution.

greets 


signature.asc
Description: PGP signature


Re: GSoC Idea: Packaging Tor+Vidalia

2008-03-24 Thread Peter Palfrader
On Mon, 24 Mar 2008, Jacob Appelbaum wrote:

> Peter Palfrader wrote:
> > On Fri, 21 Mar 2008, Adna rim wrote:
> > 
> >> My solution at the moment is stopping the tor daemon and removing it
> >> from the runlevels through vidalia's postinst script.
> > 
> > Mucking with another package's config is a serious policy violation.
> > Such a package would never be acceptable for Debian.
> > 
> > 
> 
> That was my thought as well. However, I'm curious what your thoughts are
> on the Debian Way (TM) to solve this problem? Perhaps to patch the tor
> init.d script in the Tor package to check for a flag that can be set by
> the Vadalia package?

I have explained it more than once.  I think the proper way is to teach
vidalia to use a control unix domain socket and have it use the Tor that
is installed and running on the system.

Once vidalia knows how to do that I can enable the control socket in the
package by default.

Peter


Re: GSoC Idea: Packaging Tor+Vidalia

2008-03-24 Thread Jacob Appelbaum
Peter Palfrader wrote:
> On Fri, 21 Mar 2008, Adna rim wrote:
> 
>> My solution at the moment is stopping the tor daemon and removing it
>> from the runlevels through vidalia's postinst script.
> 
> Mucking with another package's config is a serious policy violation.
> Such a package would never be acceptable for Debian.
> 
> 

That was my thought as well. However, I'm curious what your thoughts are
on the Debian Way (TM) to solve this problem? Perhaps to patch the tor
init.d script in the Tor package to check for a flag that can be set by
the Vadalia package?

Regards,
Jacob


Re: GSoC Idea: Packaging Tor+Vidalia

2008-03-22 Thread Peter Palfrader
On Fri, 21 Mar 2008, Adna rim wrote:

> My solution at the moment is stopping the tor daemon and removing it
> from the runlevels through vidalia's postinst script.

Mucking with another package's config is a serious policy violation.
Such a package would never be acceptable for Debian.


Re: GSoC Idea: Packaging Tor+Vidalia

2008-03-21 Thread phobos
On Fri, Mar 21, 2008 at 03:16:27PM -0300, [EMAIL PROTECTED] wrote 0.2K bytes in 
11 lines about:
: I would like to apply for the "Better Deb Packaging for Tor+Vidalia" GSoC 
: idea.

Great.  You should follow the steps at
https://www.torproject.org/gsoc.html.en

-- 
Andrew


Re: GSoC Idea: Packaging Tor+Vidalia

2008-03-21 Thread Leandro Doctors
Am Fr 21 Mär 2008 schrieb Adna rim:
> If you are interested I would like to help you with finding a proper
> solution for the problem.
Yes, I am.

Although I have little experience with Debian packaging, I use it daily and I 
have always wanted to contribute to it. Besides, I have C++ (and even some 
Qt) experience.

I guess I'll be applying on Monday -or, as latest, on Tuesday (I will have no 
Internet this weekend).

Cheers,
L



Re: GSoC Idea: Packaging Tor+Vidalia

2008-03-21 Thread Adna rim
Hi,
if you are interested I can defenitivly help you with the packaging part of 
this task! I have already packaged vidalia for ubuntu. My solution at the 
moment is stopping the tor daemon and removing it from the runlevels through 
vidalia's postinst script. There's really no need for tor to run with every 
boot. That should be the users choice not the packagers. Although it is a nicer 
way to run tor as debian-tor user like Peter packaged it.

The next thing is if tor is configured with "ControlPort 9051" Vidalia is 
already attaching to it but it seems it can't change the config than. If you 
are interested I would like to help you with finding a proper solution for the 
problem.

greets


signature.asc
Description: PGP signature


GSoC Idea: Packaging Tor+Vidalia

2008-03-21 Thread Leandro Doctors
Hi,

I would like to apply for the "Better Deb Packaging for Tor+Vidalia" GSoC 
idea.

Should I start looking for a mentor?

Cheers,
L

[0]: https://www.torproject.org/volunteer.html.en#Projects