Re: File sharing with GNU Guix (was: Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock)

2018-04-21 Thread Pierre Neidhardt

Chris Marusich  writes:

> Some people have already mentioned simple HTTP servers, which are an
> easy ad-hoc option.  Other potentially interesting ways of sharing
> files that seem to be available in Guix today include:
>
> * onionshare
> * gnunet

I did not know those two!  While they don't really answer my needs, they
look fascinating!  I'll definitely explore more in that direction.

>
> I found some of these via:

>   guix package --search='file.*shar|shar.*file' | recsel -p 
> name,synopsis,description | less

True so, guix search capabilities combined with recutils are enormously helpful!

-- 
Pierre Neidhardt


signature.asc
Description: PGP signature


File sharing with GNU Guix (was: Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock)

2018-04-21 Thread Chris Marusich
Pierre Neidhardt  writes:

> Clément Lassieur  writes:
>
>> Pierre Neidhardt  writes:
>>
>>> vsftp:  Very Secure FTP daemon
>>> Upstream URL:   https://security.appspot.com/vsftpd.html
>>> (It seems that there is not a single FTP server on Guix.  Strange... Can 
>>> anyone
>>> recommend anything better than vsftp for file sharing?  Not necessarily
>>> FTP.)
>>
>> There is SFTP, which is secure, and supported by GuixSD.  It's not FTP,
>> and it runs over SSH.
>
> My use-case is the following: share files with random people with
> zero-configuration on their end.  Because FTP is supported by most web
> browsers it is one of the most available options I think.
>
> Any other suggestion?  There is Samba, but I'm not sure I'd like to dive
> into that...

Some people have already mentioned simple HTTP servers, which are an
easy ad-hoc option.  Other potentially interesting ways of sharing
files that seem to be available in Guix today include:

* scp
* rsync
* syncthing
* onionshare
* linuxdcpp
* nfs (see: nfs-utils)
* cifs (see: cifs-utils and samba)
* gnunet

I found some of these via:

  guix package --search='file.*shar|shar.*file' | recsel -p 
name,synopsis,description | less

All methods of sharing, even FTP, require some amount of configuration
on the client end, but obviously the question of what tools require
effectively "zero configuration" on the client end depends on the
situation.  If you've both got accounts on all the servers in question,
then scp is dead simple.

It would certainly be nice if somebody packaged an FTP server.  Until
then, I usually just use scp.  If you want to go super low tech, you can
even email large files by compressing them and splitting them with split
and cat (from coreutils).  I've done this in the past to get around
email size limitations; it's fun but a little tedious, and it depends on
the recipient knowing how to cat the parts back together.

-- 
Chris


signature.asc
Description: PGP signature


Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock

2018-04-12 Thread Pierre Neidhardt

Woof seems even better!  Thanks for the suggestion!
Can't believe I never ran into this before...

-- 
Pierre Neidhardt

We are not a clone.


signature.asc
Description: PGP signature


Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock

2018-04-12 Thread Clément Lassieur
Marius Bakke  writes:

> Pierre Neidhardt  writes:
>
>> Clément Lassieur  writes:
>>
>>> Pierre Neidhardt  writes:
>>>
 vsftp: Very Secure FTP daemon
 Upstream URL:  https://security.appspot.com/vsftpd.html
 (It seems that there is not a single FTP server on Guix.  Strange... Can 
 anyone
 recommend anything better than vsftp for file sharing?  Not necessarily
 FTP.)
>>>
>>> There is SFTP, which is secure, and supported by GuixSD.  It's not FTP,
>>> and it runs over SSH.
>>
>> My use-case is the following: share files with random people with
>> zero-configuration on their end.  Because FTP is supported by most web
>> browsers it is one of the most available options I think.
>>
>> Any other suggestion?  There is Samba, but I'm not sure I'd like to dive
>> into that...
>
> I often start a HTTP server with `guix environment` for quick and dirty
> network sharing of the current directory:
>
> $ guix environment -C -N --ad-hoc python -- python3 -m http.server
>
> I suppose "wget" would be able to mass-download.

And there is 'woof' (packaged by Guix), it's a small HTTP server too,
very handy.  I use it very often at work to share files with my
collegues.  It serves the file only once unless specifed otherwise, and
'woof -U' provides an upload form, so that users can upload files
without having to install anything.  And it auto-tar directories.



Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock

2018-04-12 Thread Pierre Neidhardt

Marius Bakke  writes:

> I often start a HTTP server with `guix environment` for quick and dirty
> network sharing of the current directory:
>
> $ guix environment -C -N --ad-hoc python -- python3 -m http.server
>
> I suppose "wget" would be able to mass-download.

This is absolutely fantastic!  Thank you so much for this!

Bye-bye FTP then :p

-- 
Pierre Neidhardt

Finster's Law:
A closed mouth gathers no feet.


signature.asc
Description: PGP signature


Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock

2018-04-12 Thread Marius Bakke
Pierre Neidhardt  writes:

> Clément Lassieur  writes:
>
>> Pierre Neidhardt  writes:
>>
>>> vsftp:  Very Secure FTP daemon
>>> Upstream URL:   https://security.appspot.com/vsftpd.html
>>> (It seems that there is not a single FTP server on Guix.  Strange... Can 
>>> anyone
>>> recommend anything better than vsftp for file sharing?  Not necessarily
>>> FTP.)
>>
>> There is SFTP, which is secure, and supported by GuixSD.  It's not FTP,
>> and it runs over SSH.
>
> My use-case is the following: share files with random people with
> zero-configuration on their end.  Because FTP is supported by most web
> browsers it is one of the most available options I think.
>
> Any other suggestion?  There is Samba, but I'm not sure I'd like to dive
> into that...

I often start a HTTP server with `guix environment` for quick and dirty
network sharing of the current directory:

$ guix environment -C -N --ad-hoc python -- python3 -m http.server

I suppose "wget" would be able to mass-download.


signature.asc
Description: PGP signature


Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock

2018-04-12 Thread Pierre Neidhardt

Clément Lassieur  writes:

> Pierre Neidhardt  writes:
>
>> vsftp:   Very Secure FTP daemon
>> Upstream URL:https://security.appspot.com/vsftpd.html
>> (It seems that there is not a single FTP server on Guix.  Strange... Can 
>> anyone
>> recommend anything better than vsftp for file sharing?  Not necessarily
>> FTP.)
>
> There is SFTP, which is secure, and supported by GuixSD.  It's not FTP,
> and it runs over SSH.

My use-case is the following: share files with random people with
zero-configuration on their end.  Because FTP is supported by most web
browsers it is one of the most available options I think.

Any other suggestion?  There is Samba, but I'm not sure I'd like to dive
into that...

-- 
Pierre Neidhardt

The brain is a wonderful organ; it starts working the moment you get up
in the morning, and does not stop until you get to work.


signature.asc
Description: PGP signature


Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock

2018-04-12 Thread Clément Lassieur
Pierre Neidhardt  writes:

> vsftp:Very Secure FTP daemon
> Upstream URL: https://security.appspot.com/vsftpd.html
> (It seems that there is not a single FTP server on Guix.  Strange... Can 
> anyone
> recommend anything better than vsftp for file sharing?  Not necessarily
> FTP.)

There is SFTP, which is secure, and supported by GuixSD.  It's not FTP,
and it runs over SSH.



Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock

2018-04-12 Thread Leo Famulari
On Thu, Apr 12, 2018 at 03:04:59PM +0200, Ricardo Wurmus wrote:
> 
> Hi Pierre,
> 
> > Description:The RAR uncompression program
> > Upstream URL:   http://www.rarlab.com/rar_add.htm
> > (Not sure about the licensing of this one: does not look free.  Is there
> > any free way to extract RAR?)
> 
> This is not free software.  There was an unrar package, but it is no
> longer maintained and it had accumulated a few security problems, so we
> decided to remove it.

This discussion was in bug #28972:

https://bugs.gnu.org/28972

Apparently file-roller can handle some RAR files via libarchive.


signature.asc
Description: PGP signature


Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock

2018-04-12 Thread Ricardo Wurmus

Hi Pierre,

> Description:  The RAR uncompression program
> Upstream URL: http://www.rarlab.com/rar_add.htm
> (Not sure about the licensing of this one: does not look free.  Is there
> any free way to extract RAR?)

This is not free software.  There was an unrar package, but it is no
longer maintained and it had accumulated a few security problems, so we
decided to remove it.

-- 
Ricardo




Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock

2018-04-01 Thread Pierre Neidhardt

Pierre Neidhardt  writes:

>> vsftp:   Very Secure FTP daemon
>> Upstream URL:https://security.appspot.com/vsftpd.html
>> (It seems that there is not a single FTP server on Guix.  Strange... Can 
>> anyone
>> recommend anything better than vsftp for file sharing?  Not necessarily
>> FTP.)
>
> Correction: There is an FTP server in the inetutils package.

And here is a system configuration to get an FTP server up and running
with inetutils:

(use-modules (GNU)
 ; ...
 (gnu services networking)
 (gnu packages admin))

(operating-system
 ; ...
 (users (cons* (user-account
(name "ambrevar")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/ambrevar"))
   (user-account
(name "ftp")
(group "nogroup")
(home-directory "/home/ftp"))
   %base-user-accounts))

 (services (cons* (service
   inetd-service-type
   (inetd-configuration
(entries
 (list
  (inetd-entry
   (node "127.0.0.1")
   (name "ftp")
   (socket-type 'stream)
   (protocol "tcp")
   (wait? #f)
   (user "root")
   (program (file-append inetutils "/libexec/ftpd"))
   (arguments
'("ftpd" "--anonymous-only" "-l"))
   )
  %my-services)))


I'm now trying to figure out how to declare a service without starting
it when booting.  In the case of inetd, I want to start it manually:

  > sudo herd start inetd

Anyone?

--
Pierre Neidhardt


signature.asc
Description: PGP signature


Re: Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock

2018-03-30 Thread Pierre Neidhardt

Pierre Neidhardt  writes:

> vsftp:Very Secure FTP daemon
> Upstream URL: https://security.appspot.com/vsftpd.html
> (It seems that there is not a single FTP server on Guix.  Strange... Can 
> anyone
> recommend anything better than vsftp for file sharing?  Not necessarily
> FTP.)

Correction: There is an FTP server in the inetutils package.

-- 
Pierre Neidhardt


signature.asc
Description: PGP signature


Package requests: fortune, gifsicle, inxi, uncrustify, unrar, vsftp, xss-lock

2018-03-28 Thread Pierre Neidhardt

I'm missing the following packages in Guix.  If no one has planned to
package them yet, I'll give it a go.

fortune:The Fortune Cookie Program from BSD games
Upstream URL:   http://www.shlomifish.org/open-source/projects/fortune-mod/

gifsicle:   A powerful command-line program for creating, editing, 
manipulating and getting information about GIF images and animations
Upstream URL:   http://www.lcdf.org/gifsicle/

inxi:   script to get system information
Upstream URL:   https://github.com/smxi/inxi

uncrustify: A source code beautifier
Upstream URL:   http://uncrustify.sourceforge.net/

Description:The RAR uncompression program
Upstream URL:   http://www.rarlab.com/rar_add.htm
(Not sure about the licensing of this one: does not look free.  Is there
any free way to extract RAR?)

vsftp:  Very Secure FTP daemon
Upstream URL:   https://security.appspot.com/vsftpd.html
(It seems that there is not a single FTP server on Guix.  Strange... Can anyone
recommend anything better than vsftp for file sharing?  Not necessarily
FTP.)

xss-lock:   Use external locker as X screen saver
Upstream URL:   https://bitbucket.org/raymonad/xss-lock

-- 
Pierre Neidhardt


signature.asc
Description: PGP signature