Re: [Tails-dev] ebuild for tails-installer

2016-01-20 Thread Austin English
On Wed, Jan 20, 2016 at 6:14 AM,   wrote:
> Hi, all
>
> Since the recent announcement of tails-installer package for debian, I thought
> it could be cool to have packages for other distros. In particular I use
> gentoo, so writing an ebuild shouldn't be really hard (it is basically a
> script that downloads the code, compiles and installs it). I could do it
> myself, but I haven't found the location of the source code of tails-
> installer.
>
> Is it in the full repo of tails or does it have a specific repo somewhere 
> else?

Hi Miguel,

I was going to do to the same, and asked on IRC yesterday, but didn't
get a reply until this morning:
https://git-tails.immerda.ch/liveusb-creator

Before that, I was considering using the debian orig.tar.gz:
http://http.debian.net/debian/pool/main/t/tails-installer/tails-installer_4.4.6+dfsg.orig.tar.gz

Linked from:
https://packages.debian.org/en/sid/main/tails-installer

But if you're planning to do so, I'll hold off. I'm about to go on
holiday anyway, so it may be a while before I can.

-- 
-Austin
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] ebuild for tails-installer

2016-01-21 Thread u
Hi,

Austin English:
> On Wed, Jan 20, 2016 at 6:14 AM,   wrote:
>>> Hi, all
>>> 
>>> Since the recent announcement of tails-installer package for
>>> debian, I thought it could be cool to have packages for other
>>> distros. In particular I use gentoo, so writing an ebuild
>>> shouldn't be really hard (it is basically a script that downloads
>>> the code, compiles and installs it). I could do it myself, but I
>>> haven't found the location of the source code of tails- 
>>> installer.

This sounds like a good idea!

>>> Is it in the full repo of tails or does it have a specific repo
>>> somewhere else?
> Hi Miguel,
> 
> I was going to do to the same, and asked on IRC yesterday, but
> didn't get a reply until this morning: 
> https://git-tails.immerda.ch/liveusb-creator

fyi, the feature/jessie branch contains the latest version of the code
while the master branch contains the old version of the installer (which
we distributed in Tails/wheezy).

The debian/sid and tails/jessie branches contain our latest packaging
versions.

We also have some documentation on these branches and tags:
https://tails.boum.org/contribute/release_process/tails-installer/

Please keep us posted if you package this for another distribution, we
could put this in our news :)

Cheers!
u.
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] ebuild for tails-installer

2016-01-21 Thread intrigeri
hi,

(just a tiny detail below; thanks u for providing all these pointers!)

u wrote (21 Jan 2016 17:43:05 GMT) :
> fyi, the feature/jessie branch contains the latest version of the code
> while the master branch contains the old version of the installer (which
> we distributed in Tails/wheezy).

This used to be the case, but a month ago we've merged feature/jessie
into master, so you can now disregard feature/jessie and just look at
master :)

Cheers!
-- 
intrigeri
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] ebuild for tails-installer

2016-01-21 Thread u
intrigeri:
> hi,
> 
> (just a tiny detail below; thanks u for providing all these pointers!)
> 
> u wrote (21 Jan 2016 17:43:05 GMT) :
>> fyi, the feature/jessie branch contains the latest version of the code
>> while the master branch contains the old version of the installer (which
>> we distributed in Tails/wheezy).
> 
> This used to be the case, but a month ago we've merged feature/jessie
> into master, so you can now disregard feature/jessie and just look at
> master :)

ack :) thanks for correcting this.

cheers!
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] ebuild for tails-installer

2016-02-01 Thread sajolida
Miguel Angel Marco Buzunariz:
> I have uploaded the ebuild to 
> https://github.com/miguelmarco/tails-installer-ebuild
> 
> If someone has access to a gentoo box, please test it.
> 
> If furthermore someone maintains a gentoo overlay, or any other place were it 
> makes sense to offer an ebuild, please feel free to include it.

Hi Miguel,

I never used Gentoo myself so I won't be able to test this.

But I wrote the new set of installation instructions [1] and I wonder
when and how we should document tails-installer for Gentoo in there.

So, what would be the process for the official inclusion of
tails-installer in Gentoo? What needs to happen before a regular Gentoo
user can use your work?

Once this happen, I'd like to get some basic instructions so I can maybe
test this in a Gentoo live CD and then I'll propose something to
document this in [1].

[1]: https://tails.boum.org/install/
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] ebuild for tails-installer

2016-02-02 Thread Austin English
On Feb 1, 2016 6:33 PM,  wrote:
>
> In gentoo, there are essentially three ways to install a package through
the
> package manager:
>
> 1) Packages that are included in the main portage tree (that would be the
> official packages of the distro)
> 2) Packages included in one of the layman overlays (would be like thirthd
> party repos, but can be easily managed with a tool provided by the
distro).
> 3) Packages in the local overlay of the user (would be the equivalent of
> downloading a .deb package and install it manually).
>
> I have no contact with the official gentoo team, so can't do much about
option
> 1). However, Austin English, who also showed interest in this, might help
with
> that. AFAIK, he is on hollyday now. Maybe when he comes back he could help

Yes, I am, but I've got a few minutes to reply. I'm in the process of
becoming a Gentoo developer myself, and child commit it at that point, or I
have other contacts that may be willing.

> with that. If this get fixed, gentoo users that want to install
tails-installer
> should just use the standard way:
>
> $ emerge tails-installer
>
> and that would be it (well, maybe some work should be done to allow the
> installation of a package that is not marked as fully stable, but that is
the
> kind of things that a typical gentoo user is used to deal with)

Yes,  but unfortunately this package could never be stable,  as it's a
- (for non Gentoo people,  that refers to live/trunk ebuilds rather
than one that is tied to a specific version).

It would be extremely helpful if source tarballs were available at Tails
upstream for each release. That would allow Gentoo upstream to stabilize
known good versions after a period of testing.

> About option 2), I also don't maintain any of those semioficial overlays.
> However, one of those overlays is focused preciselly on torbrowser and
related
> packages. I have already sent a pull request to include my ebuild in it.
If it
> is merged, the installation would be almost as easy. Just install the
layman
> tool in the usual way and then:
>
> $ layman -a torbrowser
> $ emerge tails-installer
>
> Finally, until 1) and/or 2) become possible, a regular user can use a
local
> overlay. In order to do so, (s)he should follow the following steps:
>
> a) enable the local overlay by adding a line like
>
> PORTDIR_OVERLAY = "/usr/local/portage/"
>
> to the file /etc/portage/make.conf
>
> b) copy the directory tails-installer and its content inside of the
directory
> /usr/local/portage/app-misc
>
> c) run the usual "emerge tails-installer" command.
>
> I hope this helps to clarify the general picture. If you need more
details, I
> would be happy to provide them.
>
>
> P.S. During the writing of the ebuild I noticed that there are several
> dependencies that are not listed in the README file. They are the
following:
>
> configobj
> urlgrabber
> python-distutils-extra
> pygobject
> pyparted
> cdrtools
> gptfdisk
>
>
> best,
>
> Miguel Marco
>
>
>
>
>
>
> > Miguel Angel Marco Buzunariz:
> > > I have uploaded the ebuild to
> > > https://github.com/miguelmarco/tails-installer-ebuild
> > >
> > > If someone has access to a gentoo box, please test it.
> > >
> > > If furthermore someone maintains a gentoo overlay, or any other place
were
> > > it
> > > makes sense to offer an ebuild, please feel free to include it.
> >
> > Hi Miguel,
> >
> > I never used Gentoo myself so I won't be able to test this.
> >
> > But I wrote the new set of installation instructions [1] and I wonder
> > when and how we should document tails-installer for Gentoo in there.
> >
> > So, what would be the process for the official inclusion of
> > tails-installer in Gentoo? What needs to happen before a regular Gentoo
> > user can use your work?
> >
> > Once this happen, I'd like to get some basic instructions so I can maybe
> > test this in a Gentoo live CD and then I'll propose something to
> > document this in [1].
> >
> > [1]: https://tails.boum.org/install/
> ___
> Tails-dev mailing list
> Tails-dev@boum.org
> https://mailman.boum.org/listinfo/tails-dev
> To unsubscribe from this list, send an empty email to
tails-dev-unsubscr...@boum.org.
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] ebuild for tails-installer

2016-02-03 Thread intrigeri
Hi,

(sorry I didn't read the entire thread; if there's anything not
Gentoo-specific that I should be aware of, please point me to it
explicitly)

Austin English wrote (03 Feb 2016 04:30:12 GMT) :
> It would be extremely helpful if source tarballs were available at Tails
> upstream for each release.

Our upstream tarballs can be found there:

 http://deb.tails.boum.org/pool/main/t/tails-installer/
 http://ftp.us.debian.org/debian/pool/main/t/tails-installer/

Cheers,
-- 
intrigeri
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] ebuild for tails-installer

2016-02-03 Thread Austin English
On Feb 3, 2016 3:19 PM, "intrigeri"  wrote:
>
> Hi,
>
> (sorry I didn't read the entire thread; if there's anything not
> Gentoo-specific that I should be aware of, please point me to it
> explicitly)

No, Gentoo specific, ignore :).

> Austin English wrote (03 Feb 2016 04:30:12 GMT) :
> > It would be extremely helpful if source tarballs were available at Tails
> > upstream for each release.
>
> Our upstream tarballs can be found there:
>
>  http://deb.tails.boum.org/pool/main/t/tails-installer/
>  http://ftp.us.debian.org/debian/pool/main/t/tails-installer/

Fantastic, thanks!
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] ebuild for tails-installer

2016-02-07 Thread Austin English
Great Miguel!

I'll work on getting it merged once I'm back and I finish my developer
onboarding.

On Feb 7, 2016 3:30 PM, "Miguel Angel Marco Buzunariz" 
wrote:
>
> Good news!
>
> Poncho merged my pull requests in his torbrowser overlay. He also
improved my ebuild a bit. That means that option 2) of what I mentioned in
my previous email should "just work".
>
> So now, a gentoo user  that wants to get tails-installer just needs to do
the following:
>
> first, install the layman tool to manage overlays (if it is not already
installed):
>
> $ emerge layman
>
> then pull the torbrowser overlay (if it is not installed already):
>
> $ layman -a torbrowser
>
> finally, just the usual installation:
>
> $ emerge tails-installer
>
> Deppending on the user configuration, the system might complain about the
package not being marked as stable. In that case, add a line like
>
> =app-misc/tails-installer-4.4.7
>
> to the file /etc/portage/packages.keywords
> (again, deppending on the user configuration, the emerge command itself
could offer the option of doing this automatically).
>
> If you want to include this information in the web page, and need some
further explanations, please contact me.
>
> However, I think roght now it would be better to wait and see if Austin
English can manage to include the ebuild in the main portage tree, which
would make the process even simpler.
>
> Best,
>
> Miguel Marco
>
>
> > In gentoo, there are essentially three ways to install a package
through the
> > package manager:
> >
> > 1) Packages that are included in the main portage tree (that would be
the
> > official packages of the distro)
> > 2) Packages included in one of the layman overlays (would be like
thirthd
> > party repos, but can be easily managed with a tool provided by the
distro).
> > 3) Packages in the local overlay of the user (would be the equivalent of
> > downloading a .deb package and install it manually).
> >
> > I have no contact with the official gentoo team, so can't do much about
> > option 1). However, Austin English, who also showed interest in this,
might
> > help with that. AFAIK, he is on hollyday now. Maybe when he comes back
he
> > could help with that. If this get fixed, gentoo users that want to
install
> > tails-installer should just use the standard way:
> >
> > $ emerge tails-installer
> >
> > and that would be it (well, maybe some work should be done to allow the
> > installation of a package that is not marked as fully stable, but that
is
> > the
> > kind of things that a typical gentoo user is used to deal with)
> >
> > About option 2), I also don't maintain any of those semioficial
overlays.
> > However, one of those overlays is focused preciselly on torbrowser and
> > related packages. I have already sent a pull request to include my
ebuild
> > in it. If it is merged, the installation would be almost as easy. Just
> > install the layman tool in the usual way and then:
> >
> > $ layman -a torbrowser
> > $ emerge tails-installer
> >
> > Finally, until 1) and/or 2) become possible, a regular user can use a
local
> > overlay. In order to do so, (s)he should follow the following steps:
> >
> > a) enable the local overlay by adding a line like
> >
> > PORTDIR_OVERLAY = "/usr/local/portage/"
> >
> > to the file /etc/portage/make.conf
> >
> > b) copy the directory tails-installer and its content inside of the
> > directory
> > /usr/local/portage/app-misc
> >
> > c) run the usual "emerge tails-installer" command.
> >
> > I hope this helps to clarify the general picture. If you need more
details,
> > I
> > would be happy to provide them.
> >
> >
> > P.S. During the writing of the ebuild I noticed that there are several
> > dependencies that are not listed in the README file. They are the
following:
> >
> > configobj
> > urlgrabber
> > python-distutils-extra
> > pygobject
> > pyparted
> > cdrtools
> > gptfdisk
> >
> >
> > best,
> >
> > Miguel Marco
>
> ___
> Tails-dev mailing list
> Tails-dev@boum.org
> https://mailman.boum.org/listinfo/tails-dev
> To unsubscribe from this list, send an empty email to
tails-dev-unsubscr...@boum.org.
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] ebuild for tails-installer

2016-02-08 Thread sajolida
Miguel Angel Marco Buzunariz:
> If you want to include this information in the web page, and need
> some further explanations, please contact me.

The way our documentation (eg https://tails.boum.org/install/debian/usb)
is built is both quite complicated and new. So I want to take some time
to think about how integrating new package in other distros. I didn't
expect this to go this fast! :)

I create https://labs.riseup.net/code/issues/11080 to track this.

Once Gentoo is documented I think it will be easier to add more distros
in there.

> However, I think roght now it would be better to wait and see if
> Austin English can manage to include the ebuild in the main portage
> tree, which would make the process even simpler.

I'm glad I'll have a bit more time to work on #11080 :)
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] ebuild for tails-installer

2016-04-07 Thread Austin English
On Mon, Feb 8, 2016 at 7:50 AM, sajolida  wrote:
> Miguel Angel Marco Buzunariz:
>> If you want to include this information in the web page, and need
>> some further explanations, please contact me.
>
> The way our documentation (eg https://tails.boum.org/install/debian/usb)
> is built is both quite complicated and new. So I want to take some time
> to think about how integrating new package in other distros. I didn't
> expect this to go this fast! :)
>
> I create https://labs.riseup.net/code/issues/11080 to track this.
>
> Once Gentoo is documented I think it will be easier to add more distros
> in there.
>
>> However, I think roght now it would be better to wait and see if
>> Austin English can manage to include the ebuild in the main portage
>> tree, which would make the process even simpler.
>
> I'm glad I'll have a bit more time to work on #11080 :)
> ___
> Tails-dev mailing list
> Tails-dev@boum.org
> https://mailman.boum.org/listinfo/tails-dev
> To unsubscribe from this list, send an empty email to 
> tails-dev-unsubscr...@boum.org.

Hi all, sorry for the delay, upstream took a while to get me commit
access. I've committed a modified version of Miguel's ebuild for
tails-installer-4.4.8 [1]. Many thanks to Miguel for writing it!

Gentoo users can now simply:

# emerge tails-installer

to install tails. Depending on the user's portage settings, they may
need to unmask the package before it will install. Once it's been in
for 30 days with no open bugs, it can be stabilized, at which point no
workaround is needed.

[1] 
https://github.com/gentoo/gentoo/commit/0135da7291c4ad7df83d763db304416ce3d93ad1

-- 
-Austin
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.