Bug 159899 - New port: sysutils/spiped secure pipe daemon
Summary: New port: sysutils/spiped secure pipe daemon
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Chris Rees
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-19 05:40 UTC by Colin Percival
Modified: 2011-08-21 12:40 UTC (History)
0 users

See Also:


Attachments
spiped.shar (3.41 KB, text/plain)
2011-08-19 05:40 UTC, Colin Percival
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Percival freebsd_committer freebsd_triage 2011-08-19 05:40:09 UTC
Port of the spiped secure pipe daemon; this is essentially a replacement
for 'ssh -L', but using a pre-shared symmetric key (and not requiring SSH).

The only non-trivial component here is the rc.d script for creating
pipes; it is common for multiple instances of spiped to be required so
the rc.d script uses a list of pipes ($spiped_pipes) and options for
each pipe ($spiped_pipe_X_* for the pipe X).

I have a ports commit bit but don't use it often, and I'm not sure about
whether I got the rc.d script right in particular, so I'm submitting
this as a PR rather than committing it myself in the hopes that someone
with more ports-fu will make sure that I did things right. ;-)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-08-19 05:40:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cperciva

Submitter has GNATS access (via the GNATS Auto Assign Tool)
Comment 2 Chris Rees freebsd_committer freebsd_triage 2011-08-19 18:22:11 UTC
Responsible Changed
From-To: cperciva->crees

I'll take it, but I'll also get dougb to review your rc script :)
Comment 3 Chris Rees 2011-08-19 18:32:56 UTC
Looking over your rc script -- would you be happy with making a 
/var/run/${name} dir, rather than potentially loads of ${name}_$P.pid 
files in /var/run?

I've fixed a typo with a variable too; I'll send the script to rc for 
review.

Chris

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Comment 4 Colin Percival freebsd_committer freebsd_triage 2011-08-19 20:48:00 UTC
On 08/19/11 10:32, Chris Rees wrote:
> Looking over your rc script -- would you be happy with making a
> /var/run/${name} dir, rather than potentially loads of ${name}_$P.pid
> files in /var/run?

Absolutely.  I wasn't sure if there was any precedent for pid files not
being directly under /var/run/.

> I've fixed a typo with a variable too; I'll send the script to rc for
> review.

Cool, thanks!

-- 
Colin Percival
Security Officer, FreeBSD | freebsd.org | The power to serve
Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-08-21 12:32:28 UTC
crees       2011-08-21 11:32:16 UTC

  FreeBSD ports repository

  Modified files:
    sysutils             Makefile 
  Added files:
    sysutils/spiped      Makefile distinfo pkg-descr 
    sysutils/spiped/files spiped.in 
  Log:
  Spiped (pronounced "ess-pipe-dee") is a utility for creating symmetrically
  encrypted and authenticated pipes between socket addresses, so that one may
  connect to one address (e.g., a UNIX socket on localhost) and transparently
  have a connection established to another address (e.g., a UNIX socket on a
  different system). This is similar to 'ssh -L' functionality, but does not
  use SSH and requires a pre-shared symmetric key.
  
  WWW: http://www.tarsnap.com/spiped.html
  
  - Colin Percival
  cperciva@tarsnap.com
  
  PR:             ports/159899
  Submitted by:   Colin Percival
  
  Revision  Changes    Path
  1.1315    +1 -0      ports/sysutils/Makefile
  1.1       +21 -0     ports/sysutils/spiped/Makefile (new)
  1.1       +2 -0      ports/sysutils/spiped/distinfo (new)
  1.1       +78 -0     ports/sysutils/spiped/files/spiped.in (new)
  1.1       +11 -0     ports/sysutils/spiped/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Chris Rees freebsd_committer freebsd_triage 2011-08-21 12:32:55 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!