I just installed a new freebsd 12.1 VM and on moving to /usr/ports/www/sws I discovered it did not exist. This is with ports current as of 31 March 2021. Being the author I just grabbed the code from my own web server with lynx and installed by hand. Why was sws removed from ports? What do I have to do to get it back in? It has been perfectly functional since I contributed it and it runs on even the most recent versions. There are times when you just need a super small web server that needs nothing more than /bin/sh to run. Help. Thanks. -Brett
(In reply to Brett Wynkoop from comment #0) > Why was sws removed from ports? Apparently it failed to build: portsjail% grep www/sws $PORTSDIR/MOVED www/sws||2020-05-05|Has expired: Broken for more than 6 months
Wish someone would have emailed me. Not sure how it could fail to build. The whole thing is a single man page, single /bin/sh script, and a config file. Perhaps since the source site was off line for a bit that failed it. Source system is back up now and has been for some time. Can we get it back in? Also I have a bug fix. How do I go about updating to a new version that has the bug fixed? Thanks so much!
I just dropped the sws port dir into /usr/ports/www/sws on a freebsd 12.2 system and the results of make are below: root@prd1:/usr/ports/www/sws # make ===> License BSD2CLAUSE accepted by the user ===> sws-1.0 depends on file: /usr/local/sbin/pkg - found => sws-1.0.tar.gz doesn't seem to exist in /var/ports/distfiles/. => Attempting to fetch http://prd4.wynn.com:8080/src/sws-1.0.tar.gz fetch: http://prd4.wynn.com:8080/src/sws-1.0.tar.gz: size unknown fetch: http://prd4.wynn.com:8080/src/sws-1.0.tar.gz: size of remote file is not known sws-1.0.tar.gz 4886 B 118 kBps 00s ===> 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 ===> Applying FreeBSD patches for sws-1.0 from /var/ports/www/sws/files ===> Configuring for sws-1.0 ===> Building for sws-1.0 ===> Staging for sws-1.0 ===> Generating temporary packing list mkdir -p /var/ports/www/sws/work/stage/usr/local/sws/docs /var/ports/www/sws/work/stage/usr/local/man/man8 touch /var/ports/www/sws/work/stage/usr/local/etc/sws.cfg chmod 775 /var/ports/www/sws/work/stage/usr/local/sws/docs chmod 644 /var/ports/www/sws/work/stage/usr/local/etc/sws.cfg cp sws.txt /var/ports/www/sws/work/stage/usr/local/bin/sws cp sws.8.txt /var/ports/www/sws/work/stage/usr/local/man/man8/sws.8 chmod 755 /var/ports/www/sws/work/stage/usr/local/bin/sws chmod 644 /var/ports/www/sws/work/stage/usr/local/man/man8/sws.8 ====> Compressing man pages (compress-man) root@prd1:/usr/ports/www/sws # Can we please get this put back into ports?
root@prd1:/usr/ports/www/sws # make install ===> Installing for sws-1.0 ===> Checking if sws is already installed ===> Registering installation for sws-1.0 Installing sws-1.0... root@prd1:/usr/ports/www/sws # make package ===> Building package for sws-1.0 root@prd1:/usr/ports/www/sws # root@prd1:/usr/ports/www/sws # uname -a FreeBSD prd1 12.2-RELEASE-p6 FreeBSD 12.2-RELEASE-p6 GENERIC amd64