From owner-freebsd-arm@FreeBSD.ORG Thu Mar 19 21:10:53 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 08588BE6 for ; Thu, 19 Mar 2015 21:10:53 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96DAD953 for ; Thu, 19 Mar 2015 21:10:52 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t2JLAoVE039548; Thu, 19 Mar 2015 17:10:50 -0400 (EDT) (envelope-from freebsd-arm@wynn.com) Date: Thu, 19 Mar 2015 17:10:49 -0400 From: Brett Wynkoop To: jungle Boogie Subject: Re: PKG and Raspberry Pi Message-ID: <20150319171049.67d4a8d9@ivory.wynn.com> In-Reply-To: References: <20150318173449.2376514d@ivory.wynn.com> <20150319160603.1207813a@ivory.wynn.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2015 21:10:53 -0000 On Thu, 19 Mar 2015 13:48:04 -0700 jungle Boogie wrote: > Hi Brett, > On 19 March 2015 at 13:17, jungle Boogie > 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).