Page MenuHomeFreeBSD

New port: www/sws
ClosedPublic

Authored by rpaulo on Feb 28 2015, 8:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 17 2024, 5:36 AM
Unknown Object (File)
Oct 15 2024, 8:36 PM
Unknown Object (File)
Oct 15 2024, 5:59 PM
Unknown Object (File)
Oct 13 2024, 9:32 AM
Unknown Object (File)
Oct 11 2024, 11:41 AM
Unknown Object (File)
Oct 10 2024, 5:39 AM
Unknown Object (File)
Oct 5 2024, 11:58 PM
Unknown Object (File)
Oct 4 2024, 9:56 PM
Subscribers
None

Details

Summary

PR: 197694

[simple | small | shell] web server

sws was born out of a project requirement for a small universal Web
server
that could run on any POSIX platform to serve static content. Since it
is
written in /bin/sh it should run on any BSD/GNU-Linux/Unix system. It
has
been tested on FreeBSD, Solaris, and Debian GNU/Linux. Installation
consists
of putting the program somewhere, making it executable, creating the
document directory, and creating an entry in inetd.conf. sws requires
/bin/sh, dirname, cat, and date to function. These should be found on
any
modern POSIX system.

WWW: http://prd4.wynn.com:8080/

Test Plan

% sudo make install

> License BSD2CLAUSE accepted by the user

> sws-1.0 depends on file: /usr/local/sbin/pkg - found

> Fetching all distfiles required by sws-1.0 for building

> Extracting for sws-1.0

> SHA256 Checksum OK for sws-1.0.tar.gz.

> Patching for sws-1.0

> Configuring for sws-1.0

> Building for sws-1.0

> Staging for sws-1.0

> Generating temporary packing list

mkdir -p
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/sws/docs
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/man/man8
touch
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/etc/sws.cfg
chmod 775
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/sws/docs
chmod 644
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/etc/sws.cfg
cp sws.txt
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/bin/sws
cp sws.8.txt
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/man/man8/sws.8
chmod 755
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/bin/sws
chmod 644
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/man/man8/sws.8
chown root:wheel
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/bin/sws
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/man/man8/sws.8
chown www:www
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/sws/docs
chown www:www
/home/rpaulo/svn/ports/head/www/sws/work/stage/usr/local/etc/sws.cfg

> Compressing man pages (compress-man)
> Running Q/A tests (stage-qa)

> Installing for sws-1.0

> Checking if sws already installed

> Registering installation for sws-1.0

Installing sws-1.0...

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

rpaulo retitled this revision from to New port: www/sws.
rpaulo updated this object.
rpaulo edited the test plan for this revision. (Show Details)
rpaulo added reviewers: bapt, swills.
swills edited edge metadata.

Looks fine!

This revision is now accepted and ready to land.Mar 1 2015, 3:44 PM
rpaulo updated this revision to Diff 4053.

Closed by commit rP380221 (authored by @rpaulo).