Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2015 17:10:49 -0400
From:      Brett Wynkoop <freebsd-arm@wynn.com>
To:        jungle Boogie <jungleboogie0@gmail.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: PKG and Raspberry Pi
Message-ID:  <20150319171049.67d4a8d9@ivory.wynn.com>
In-Reply-To: <CAKE2PDs4OT=PUGDyh%2B%2BzkU7n3zx39OzMb3wLd=1xgNGMGvg2FQ@mail.gmail.com>
References:  <CABMOuVfL250Upz-mL8kr%2BxwGY6RySmBFmUjGEGC1fOan=9hVMg@mail.gmail.com> <CAKE2PDvs56D3e7i1cx9Fy1TVT164c5CpN8FqB%2Bc0zdTeMGX15Q@mail.gmail.com> <20150318173449.2376514d@ivory.wynn.com> <CAKE2PDvXV2%2B-y1jROjsD%2Bcun972eA3Th7oS8ayvii00ai-iOcA@mail.gmail.com> <20150319160603.1207813a@ivory.wynn.com> <CAKE2PDsBNy-CiOdV=znVcGZ2H%2BTU9xVb5v9ZtN0ZB08jE1z5sA@mail.gmail.com> <CAKE2PDs4OT=PUGDyh%2B%2BzkU7n3zx39OzMb3wLd=1xgNGMGvg2FQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Mar 2015 13:48:04 -0700
jungle Boogie <jungleboogie0@gmail.com> wrote:

> Hi Brett,
> On 19 March 2015 at 13:17, jungle Boogie <jungleboogie0@gmail.com>
> wrote:
> > Never heard of sws and it looks like it just came to freebsd this
> > month: https://www.freshports.org/www/sws/
> >
> > Pretty interesting that its written in shell!
> 
> 
> Wait, did you write sws, Brett? Nice work!

Yes I wrote sws for a project I consulted on several years ago.
Thanks.

> 
> I follow the fossil-scm.org project closely and it allows you to type
> 'fossil server' and then anyone on your LAN (or WAN if you have a
> public IP) can access it by ip.add.res.ss:8080
> to see your repo.

I never heard of fossil.  I will have to check it out.

> 
> Can sws start a one off instance and then just kill it with CTRL-C?

Per the man page sws runs out of inetd, so when not actually speaking
to a client it is not in memory and not running.  That is one reason I
use it for static content on small boxes.

The main site for sws is http://prd4.wynn.com:8080/ where the man page
can be seen without grabbing the whole tarball, but sws is really
small, so grabbing the archive is not a big deal.

root@beaglebone:/usr/local/sws/docs/FreeBSD/fbsd-11-arm/packages/All #
ls -lh  sws*
sws-1.0.txz -rw-r--r--  2 root  wheel   4.9K Mar 19 00:57



-Brett


-- 

wynkoop@wynn.com               http://prd4.wynn.com/wynkoop/pgp-keys.txt
917-642-6925
929-272-0000

If cowardly and dishonorable men sometimes shoot unarmed men with army 
pistols or guns, the evil must be prevented by the penitentiary and 
gallows, and not by a general deprivation of a constitutional privilege.

-Honorable J. A. Williams, Circuit Judge - 
                  Wilson v. State, 33 Ark. 557, 34 Am. Rep. 52 (1878).




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150319171049.67d4a8d9>