From nobody Wed Nov 29 18:58:17 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SgT9j3kKcz535wF; Wed, 29 Nov 2023 18:58:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SgT9j2wBwz4QGL; Wed, 29 Nov 2023 18:58:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701284297; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ALoFRY7tnTU+EGi8JiwNy/J4SaMjnogFDBn5u/8gO6w=; b=FMnpIqWwgSj4RRbHeYhXN84gGK5RKNBn3nyNxRdFEPDNrPRn9wR3Z9oyrIf4ay+rys/cZM tOMowh84Q38DjcT94v5D9hUKYe2yYyg2w1nSOGOepxb1utOQ4Ayj/XPIWH+wryAJkcdNdp d/CrZM95u7c0Q8yNAx/G/9c6ocdckqNCWcPakT8rR5A09PFZcZcBy+syq9yZ8dhDXW92n/ eyQePOX+/Pu4DXAHN3uGHWylGEqYAywQsP8qf06hmqxtHQ4IUSC25JsNhm6zwNIEm+G5Xi KLLnRdTxEchkePNQD2GqX71EfXUd4OL80sEMvBbhKkGzU97Xe8qFc7aOrxoVig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701284297; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ALoFRY7tnTU+EGi8JiwNy/J4SaMjnogFDBn5u/8gO6w=; b=u3u1B0oSwt2suuzi0FSwR//XNr24sM/YO2xVf/WJBsnoxMWkGnTyin4uIJHZulXitQc3rM xAN0xuQEZC0T9lv29Vf1LaIoJjQbwkus/wMewB4FODE0lkumhx0DgJeQaiNS6MwiIRXt4c F+7Uq9ordl1tGyItCxuGHM91XTlI9LV07qa7sQDinF42Nv5bXh0rhp0CHmRcvMd1Z2YokK 9u54xF0G/+CWjT12AFmEPVBC80YHd0NwN+hvj+rYfOOs7Pw9RuIp7RIrp9syve6WIjiF6d yLtMr9aXBvO4Vula+mubRn4FmNJY+ra+U6xtAA5Q9CkQyVVNxBXPTqamD3mkZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701284297; a=rsa-sha256; cv=none; b=Kea0tiVVhZcv4+2GZBzZGF0bU/4j/Ou4nGv1mn9eEbagsPA8oBcPkgLMaCbJDqqGyskdmI rV3BSfWxFp03jQqoSbn+Q09xM5hqmzd4yG3VItp+g8fd9+SdV66bc/PG18psc+LFhNNVnf WJvLNoU6bM3cORZl3CEgx4EeUmv3aF5jlk7+4SMT9UyKXcWAUF7uLNL+glU8p+siOVY3cd VAq35mMlbFdeALnqlbAjZ+uxhX+zkm6b35g43YqgEewTFbB5ZwYGjUZButhOjtgZSehsl4 IyxGgffhYsIdHvyLxl2Sx6ra43YO6ART5PXKXGURUnqWfi1jaFWXavs5OUeo9g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SgT9j1xKRz2yP; Wed, 29 Nov 2023 18:58:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ATIwH4W082310; Wed, 29 Nov 2023 18:58:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ATIwHCj082307; Wed, 29 Nov 2023 18:58:17 GMT (envelope-from git) Date: Wed, 29 Nov 2023 18:58:17 GMT Message-Id: <202311291858.3ATIwHCj082307@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Renato Botelho Subject: git: a576a40bf19f - main - www/sws: Revive the port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: garga X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a576a40bf19fd89d18dbbb180eb3629dc8bc6b9c Auto-Submitted: auto-generated The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=a576a40bf19fd89d18dbbb180eb3629dc8bc6b9c commit a576a40bf19fd89d18dbbb180eb3629dc8bc6b9c Author: Renato Botelho AuthorDate: 2023-11-29 18:55:20 +0000 Commit: Renato Botelho CommitDate: 2023-11-29 18:58:13 +0000 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 (maintainer) --- MOVED | 1 - www/Makefile | 1 + www/sws/Makefile | 14 ++++++++++++++ www/sws/distinfo | 3 +++ www/sws/files/patch-Makefile | 9 +++++++++ www/sws/pkg-descr | 10 ++++++++++ www/sws/pkg-plist | 4 ++++ 7 files changed, 41 insertions(+), 1 deletion(-) 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 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