From nobody Sat Sep 30 02:24:36 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 4Ry9ys20xtz4v6hW; Sat, 30 Sep 2023 02:24:37 +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 4Ry9ys0QbGz4Qs3; Sat, 30 Sep 2023 02:24:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696040677; 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=iof2cARx+WJDIn+xKWkL+L/hbqVSXU734dg9Bptvwls=; b=Ylrf1PQqY9/09x8kPwk5N7axasUttMnvL+mLp59CEWDfGf7W2a17YwjBg7X1SD0HUJwad6 W+JZb009gXsstkBT6vVJxTxprd6sRO02Ja18rHwQKZZMFVTM2MWWnccRd26XpFlTGhUhHE wim1s9D9puhRDqDGSXSCKyrto/DulDsWLG6ELmEOxEqzX9xMVdaqs+L3uJLFS7GWaJ2iW9 aodtfeDOkKVgQb33FhbCxt/N4eb+6rBeYiWmuw2XYoouBHQRmSj6vm0PVoj0PjB2jPMmDP kCBpG+OIiNltZvYf0FQCAuKNYvKWms15w/pwg1rhtU0w7yFCFiuMadINg+RFhQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696040677; a=rsa-sha256; cv=none; b=d6uS6oVHyolQ4QDKjvDj9CPtLTjVe2/0Aqfn5dXnNj/CH5o5Gn3H71QsaxQK8ygD0M97xy KxohiXf0NbvG3nFd9OcH78bB7n8Oe5kr+e3Ix6/wBUA1SvgrW40GXQY8GBFZxvlX6knidj y1bHhe5/6A0NdBHpZExsmSu8Trpq55iB1sO+rqBeZ9WIgy0CBcsQdcmaIv/+yx5vwiE6TN OscxN9tL2FZ0is2LZIr+faJvU/OiXjO1Y0OmcbRexQjXtIItEAHo0//PLbq7CI2auCPKjg Y+0Ny2CFjDmBPTTeSHn5W0NR1BGpEdbFZXFzT620EiYVCDXDadqWM1IakQS71Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696040677; 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=iof2cARx+WJDIn+xKWkL+L/hbqVSXU734dg9Bptvwls=; b=lVCtwsqQiAhBnRsUauTurrWE1FoEHpRa53nmdk2C9m1i8CCBalmW0thfI5R+kt95eSs/RR w2q+fEUj+ToU3fKkCc/NrNcyU8T030LRe6fdRQaAvMzIJGNS3x7di8NW96T57vf5Gi43NH 8ie7vaKQCEU2XykR1+6LpC0T8xBNsX+oAkvqPv7tOPeX+axsqqHY03jf5riOHAma6tTmw8 bbu1u/z2IG1uEZBCXizCDzP0fURy77gDIXkJLfC4ADgfkSD8S/O0lDc9Iht+CfoZhnwmZQ 4SO/U5eWf2AN25iWeH4bkUGrqLwwqJ5y/t8yvk4DHO85sAxH7V8dRjpkkhHKwA== 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 4Ry9yr6ZqmzTwH; Sat, 30 Sep 2023 02:24:36 +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 38U2OaBp095749; Sat, 30 Sep 2023 02:24:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38U2OaYQ095746; Sat, 30 Sep 2023 02:24:36 GMT (envelope-from git) Date: Sat, 30 Sep 2023 02:24:36 GMT Message-Id: <202309300224.38U2OaYQ095746@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 2e0a45af304b - main - www/dhttpd: Remove expired 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2e0a45af304b9b1153aa1ec55065a4d3c16dcc19 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2e0a45af304b9b1153aa1ec55065a4d3c16dcc19 commit 2e0a45af304b9b1153aa1ec55065a4d3c16dcc19 Author: Muhammad Moinur Rahman AuthorDate: 2023-09-30 01:20:38 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-09-30 02:22:58 +0000 www/dhttpd: Remove expired port 2023-09-30 www/dhttpd: Abandonware, last release in 15+ years ago. Consider using www/darkhttpd, www/obhttpd or www/miniserve --- MOVED | 1 + www/Makefile | 1 - www/dhttpd/Makefile | 41 ---------------------------------------- www/dhttpd/distinfo | 2 -- www/dhttpd/files/dhttpd.in | 24 ----------------------- www/dhttpd/files/patch-Makefile | 28 --------------------------- www/dhttpd/files/patch-config.hh | 24 ----------------------- www/dhttpd/files/patch-dhhtpd.1 | 15 --------------- www/dhttpd/files/patch-main.cc | 14 -------------- www/dhttpd/files/patch-socket.cc | 27 -------------------------- www/dhttpd/pkg-descr | 5 ----- 11 files changed, 1 insertion(+), 181 deletions(-) diff --git a/MOVED b/MOVED index 04eead5c1b90..87786aaec472 100644 --- a/MOVED +++ b/MOVED @@ -7914,3 +7914,4 @@ sysutils/bareos19-server|sysutils/bareos20-server|2023-09-30|Has expired: Upstre textproc/popup||2023-09-30|Has expired: Abandonware, last release in 2004 and dead upstream textproc/yamcha||2023-09-30|Has expired: Last upstream release was in 2005 japanese/awffull||2023-09-30|Has expired: Abandonware, last release in 14+ years ago. Consider using www/awstats +www/dhttpd||2023-09-30|Has expired: Abandonware, last release in 15+ years ago. Consider using www/darkhttpd, www/obhttpd or www/miniserve diff --git a/www/Makefile b/www/Makefile index b6cfc0e805e7..071a52ba74ea 100644 --- a/www/Makefile +++ b/www/Makefile @@ -136,7 +136,6 @@ SUBDIR += deno SUBDIR += devd SUBDIR += dfileserver - SUBDIR += dhttpd SUBDIR += dillo2 SUBDIR += dojo SUBDIR += dokuwiki diff --git a/www/dhttpd/Makefile b/www/dhttpd/Makefile deleted file mode 100644 index 384effa096f6..000000000000 --- a/www/dhttpd/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -PORTNAME= dhttpd -PORTVERSION= 1.02a -PORTREVISION= 1 -CATEGORIES= www -MASTER_SITES= http://bsd-geek.de/FreeBSD/distfiles/ -EXTRACT_SUFX= .tgz - -MAINTAINER= ports@FreeBSD.org -COMMENT= Minimal secure web server. Fast and efficient, no cgi-bin support - -LICENSE= GPLv2 - -DEPRECATED= Abandonware, last release in 15+ years ago. Consider using www/darkhttpd, www/obhttpd or www/miniserve -EXPIRATION_DATE=2023-09-30 - -USES= cpe - -WRKSRC= ${WRKDIR}/${PORTNAME}-1.02-4 -BUILD_WRKSRC= ${WRKSRC}/src - -PLIST_FILES= sbin/dhttpd man/man1/dhttpd.1.gz - -USE_RC_SUBR= dhttpd - -pre-everything:: - @${ECHO_MSG} "==============================================================" - @${ECHO_MSG} "To change the default document root" - @${ECHO_MSG} "${PREFIX}/www/data edit" - @${ECHO_MSG} "${FILESDIR}/patch-config.hh" - @${ECHO_MSG} "for your needs and re-compile dhhtpd." - @${ECHO_MSG} "==============================================================" - -post-patch: - @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/src/config.hh \ - ${WRKSRC}/dhttpd.1 - -do-install: - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 - ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin - -.include diff --git a/www/dhttpd/distinfo b/www/dhttpd/distinfo deleted file mode 100644 index 43f52147e204..000000000000 --- a/www/dhttpd/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (dhttpd-1.02a.tgz) = 79b6a413b41d6bf91b0b0db5f5129368ce80a85dded703f06571b48c29f7fd91 -SIZE (dhttpd-1.02a.tgz) = 26041 diff --git a/www/dhttpd/files/dhttpd.in b/www/dhttpd/files/dhttpd.in deleted file mode 100644 index 53273d576e5a..000000000000 --- a/www/dhttpd/files/dhttpd.in +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -# PROVIDE: dhttpd -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf to enable dhttpd: -# -# dhttpd_enable (bool): Set it to "YES" to enable dhttpd -# - -. /etc/rc.subr - -name="dhttpd" -desc="Secure and efficient personal HTTP server" -rcvar=dhttpd_enable - -load_rc_config $name - -: ${dhttpd_enable="NO"} - -command=%%PREFIX%%/sbin/${name} - -run_rc_command "$1" diff --git a/www/dhttpd/files/patch-Makefile b/www/dhttpd/files/patch-Makefile deleted file mode 100644 index 634845426973..000000000000 --- a/www/dhttpd/files/patch-Makefile +++ /dev/null @@ -1,28 +0,0 @@ ---- src/Makefile.orig Mon Mar 3 16:35:53 1997 -+++ src/Makefile Sun Oct 20 17:42:06 2002 -@@ -1,22 +1,21 @@ - # if compiling for SunOS, you need to add -lsocket to the LIBS variable - - SH = /bin/sh --CC = gcc -+CXX ?= c++ - MAKEFILE= Makefile --CFLAGS = -O2 --pipe - LIBS = - - OBJECTS = main.o socket.o httpsock.o - - .cc.o: -- $(CC) $(CFLAGS) -c -o $*.o $< -+ $(CXX) $(CXXFLAGS) -c -o $*.o $< - - all: compile dhttpd - - compile: $(OBJECTS) - - dhttpd: $(OBJECTS) -- $(CC) -o dhttpd $(OBJECTS) $(LIBS) -+ $(CXX) -o dhttpd $(OBJECTS) $(LIBS) - strip dhttpd - - clean: diff --git a/www/dhttpd/files/patch-config.hh b/www/dhttpd/files/patch-config.hh deleted file mode 100644 index 231b5dfd208a..000000000000 --- a/www/dhttpd/files/patch-config.hh +++ /dev/null @@ -1,24 +0,0 @@ ---- src/config.hh.orig Mon Jun 24 15:21:37 2002 -+++ src/config.hh Mon Jun 24 15:23:14 2002 -@@ -1,17 +1,17 @@ - /* Set this as the user id number you want dhttpd to use when * - * starting it as root. You can get this info from /etc/passwd. */ --#define UID 65534 -+#define UID 80 - - /* Set this to the proper group id number of UID above. */ --#define GID 65534 -+#define GID 80 - - /* Set your default port number. If you aren't running as * - * root, you must use a value >= 1024, such as 8080. */ - #define DEFAULTPORT 80 - - /* This is the directory where the web pages are located. */ --#define WEBDIRPREFIX "/var/www" -+#define WEBDIRPREFIX "%%PREFIX%%/www/data" - - /* This defines the maximum number of child processes (i.e. * - * maximum sockets being serviced by dhttpd). */ --#define MAXCHILDPROC 100 -+#define MAXCHILDPROC 2048 diff --git a/www/dhttpd/files/patch-dhhtpd.1 b/www/dhttpd/files/patch-dhhtpd.1 deleted file mode 100644 index f50e5dc804fc..000000000000 --- a/www/dhttpd/files/patch-dhhtpd.1 +++ /dev/null @@ -1,15 +0,0 @@ ---- dhttpd.1.orig Tue Mar 4 01:35:54 1997 -+++ dhttpd.1 Sat Jun 9 12:42:17 2007 -@@ -13,6 +13,12 @@ - and it was in working condition, it was realized that it was memory - efficient, low profile, quick, and served the one need for - an HTTP daemon: to transmit files. -+ -+The document root is /usr/local/www/data. -+ -+To enable dhttp, add 'dhttpd_enable="YES"' to /etc/rc.conf. -+If you want to change the default port from 80 to another port, add -+\'dhhtdp_flags="- p "\' to /etc/rc.conf. - .SH OPTIONS - .TP - .B \-h diff --git a/www/dhttpd/files/patch-main.cc b/www/dhttpd/files/patch-main.cc deleted file mode 100644 index 77b53a87a683..000000000000 --- a/www/dhttpd/files/patch-main.cc +++ /dev/null @@ -1,14 +0,0 @@ ---- src/main.cc.orig Mon Mar 3 17:10:41 1997 -+++ src/main.cc Sun Oct 20 17:41:25 2002 -@@ -18,10 +18,10 @@ - */ - - #include --#include - #include - #include - #include -+#include - #include - #include - #include diff --git a/www/dhttpd/files/patch-socket.cc b/www/dhttpd/files/patch-socket.cc deleted file mode 100644 index d0cf933ff48b..000000000000 --- a/www/dhttpd/files/patch-socket.cc +++ /dev/null @@ -1,27 +0,0 @@ ---- src/socket.cc.orig Mon Jun 24 15:12:40 2002 -+++ src/socket.cc Mon Jun 24 15:13:03 2002 -@@ -17,6 +17,7 @@ - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -+#include - #include - #include - #include -@@ -24,7 +25,6 @@ - #include - #include - #include --#include - #include - #include - #include -@@ -149,7 +149,7 @@ - do - { - cSidLen = sizeof( cSid ); -- s = accept( sock, &cSid, &cSidLen ); -+ s = accept( sock, &cSid, (socklen_t *) &cSidLen ); - } - while( s==-1 ); - diff --git a/www/dhttpd/pkg-descr b/www/dhttpd/pkg-descr deleted file mode 100644 index 8e73bab23865..000000000000 --- a/www/dhttpd/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -dhttpd is a secure and efficient personal HTTP server. It does not need a -permanent IP address and can be run from a user account on high ports. Among -its features, dhttpd supports caching, customized error messages, low profile -memory usage, little hard disk space, highly portable code, and easy setup. -dhttpd is the perfect solution for the minimalist in all of us.