aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2023-11-29 18:55:20 +0000
committerRenato Botelho <garga@FreeBSD.org>2023-11-29 18:58:13 +0000
commita576a40bf19fd89d18dbbb180eb3629dc8bc6b9c (patch)
treec8069283e2b8de961cde5d4d953846a740c28d53
parentf62be8afe27cde80f2d689aa7e41d342b26cbad4 (diff)
downloadports-a576a40bf19fd89d18dbbb180eb3629dc8bc6b9c.tar.gz
ports-a576a40bf19fd89d18dbbb180eb3629dc8bc6b9c.zip
www/sws: Revive the port
It was removed from the tree because sources were not fetchable. Author (and also maintainer) restored source files and asked port to be re-added to the tree PR: 254688 Requested by: Brett Wynkoop <wynkoop@wynn.com> (maintainer)
-rw-r--r--MOVED1
-rw-r--r--www/Makefile1
-rw-r--r--www/sws/Makefile14
-rw-r--r--www/sws/distinfo3
-rw-r--r--www/sws/files/patch-Makefile9
-rw-r--r--www/sws/pkg-descr10
-rw-r--r--www/sws/pkg-plist4
7 files changed, 41 insertions, 1 deletions
diff --git a/MOVED b/MOVED
index 0177e774cd74..5fa666a37dd8 100644
--- a/MOVED
+++ b/MOVED
@@ -4409,7 +4409,6 @@ www/redmine-sidebar_hide||2020-05-05|Has expired: Broken for more than 6 months
www/rssowl||2020-05-05|Has expired: Broken for more than 6 months
www/skytemplate||2020-05-05|Has expired: Broken for more than 6 months
www/surfraw||2020-05-05|Has expired: Broken for more than 6 months
-www/sws||2020-05-05|Has expired: Broken for more than 6 months
www/tickr||2020-05-05|Has expired: Broken for more than 6 months
www/tinytinyhttpd||2020-05-05|Has expired: Broken for more than 6 months
www/udmsearch||2020-05-05|Has expired: Broken for more than 6 months
diff --git a/www/Makefile b/www/Makefile
index 2c9029fbfad4..1a0c69dc9857 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2346,6 +2346,7 @@
SUBDIR += suphp
SUBDIR += surf
SUBDIR += swiggle
+ SUBDIR += sws
SUBDIR += tcexam
SUBDIR += tclhttpd
SUBDIR += tclwebtest
diff --git a/www/sws/Makefile b/www/sws/Makefile
new file mode 100644
index 000000000000..740e9af68558
--- /dev/null
+++ b/www/sws/Makefile
@@ -0,0 +1,14 @@
+PORTNAME= sws
+PORTVERSION= 1.0
+CATEGORIES= www
+MASTER_SITES= http://prd4.wynn.com:8080/src/
+
+MAINTAINER= wynkoop@wynn.com
+COMMENT= Simple, safe, secure, web server written in /bin/sh
+WWW= http://prd4.wynn.com:8080/
+
+LICENSE= BSD2CLAUSE
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/sws/distinfo b/www/sws/distinfo
new file mode 100644
index 000000000000..743761e11b6f
--- /dev/null
+++ b/www/sws/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1701284279
+SHA256 (sws-1.0.tar.gz) = 73f6decf47c32d65752efc24acec62fb50556bb005a9f378738c26f61a4081c3
+SIZE (sws-1.0.tar.gz) = 4886
diff --git a/www/sws/files/patch-Makefile b/www/sws/files/patch-Makefile
new file mode 100644
index 000000000000..fe1a7de880ef
--- /dev/null
+++ b/www/sws/files/patch-Makefile
@@ -0,0 +1,9 @@
+--- Makefile.orig 2015-02-15 23:56:31 UTC
++++ Makefile
+@@ -16,6 +16,3 @@ install:
+ cp sws.8.txt ${DST}/man/man8/sws.8
+ chmod 755 ${DST}/bin/sws
+ chmod 644 ${DST}/man/man8/sws.8
+- chown root:wheel ${DST}/bin/sws ${DST}/man/man8/sws.8
+- chown www:www ${DST}/sws/docs
+- chown www:www ${DST}/etc/sws.cfg
diff --git a/www/sws/pkg-descr b/www/sws/pkg-descr
new file mode 100644
index 000000000000..60ebd87ccb00
--- /dev/null
+++ b/www/sws/pkg-descr
@@ -0,0 +1,10 @@
+[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.
diff --git a/www/sws/pkg-plist b/www/sws/pkg-plist
new file mode 100644
index 000000000000..8beaa3bddcf8
--- /dev/null
+++ b/www/sws/pkg-plist
@@ -0,0 +1,4 @@
+bin/sws
+%%ETCDIR%%.cfg
+man/man8/sws.8.gz
+@dir sws/docs