Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2023 13:08:57 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5b94c38688fe - main - www/dfileserver: Remove expired port
Message-ID:  <202311221308.3AMD8vJR002390@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b94c38688fe552301a2073dfa840d9225faebfc

commit 5b94c38688fe552301a2073dfa840d9225faebfc
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-11-22 13:08:36 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-11-22 13:08:36 +0000

    www/dfileserver: Remove expired port
    
    2023-11-22 www/dfileserver: Obsolete, consider using www/darkhttpd
---
 MOVED                                              |  1 +
 www/Makefile                                       |  1 -
 www/dfileserver/Makefile                           | 33 --------------------
 www/dfileserver/distinfo                           |  2 --
 www/dfileserver/files/patch-src_CPathResolver.cxx  | 11 -------
 www/dfileserver/files/patch-src_DashFileServer.cxx | 13 --------
 www/dfileserver/files/patch-src_contrib_Base64.cpp | 36 ----------------------
 www/dfileserver/pkg-descr                          |  6 ----
 8 files changed, 1 insertion(+), 102 deletions(-)

diff --git a/MOVED b/MOVED
index 17255390518d..36af5b505399 100644
--- a/MOVED
+++ b/MOVED
@@ -8090,3 +8090,4 @@ devel/mingw32-gcc||2023-11-21|Has expired: Upstream release was in 2015 and ming
 www/guile-www||2023-11-21|Has expired: Last upstream release was in 2002 and no longer relevant nowadays
 x11-toolkits/wlroots-devel|x11-toolkits/wlroots|2023-11-21|Out of date: use x11-toolkits/wlroots for now
 games/suyimazu|games/mizuma|2023-11-22|Project renamed
+www/dfileserver||2023-11-22|Has expired: Obsolete, consider using www/darkhttpd
diff --git a/www/Makefile b/www/Makefile
index e3cd2f92c889..7363c1f0c891 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -135,7 +135,6 @@
     SUBDIR += deno
     SUBDIR += devd
     SUBDIR += dezoomify-rs
-    SUBDIR += dfileserver
     SUBDIR += dillo2
     SUBDIR += dojo
     SUBDIR += dokuwiki
diff --git a/www/dfileserver/Makefile b/www/dfileserver/Makefile
deleted file mode 100644
index 1ff935a17e0d..000000000000
--- a/www/dfileserver/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-PORTNAME=	DFileServer
-PORTVERSION=	1.1.3
-PORTREVISION=	1
-CATEGORIES=	www
-MASTER_SITES=	http://rodrigo.osorio.free.fr/freebsd/distfiles/
-
-MAINTAINER=	rodrigo@FreeBSD.org
-COMMENT=	Compact web server designed to make sharing files easy
-WWW=		https://osorio.me/projects/dev/dfileserver/
-
-DEPRECATED= Obsolete, consider using www/darkhttpd
-EXPIRATION_DATE= 2023-11-22
-
-LICENSE=	BSD3CLAUSE
-
-USES=	dos2unix
-
-PLIST_FILES=	bin/dfileserver
-
-WRKSRC=		${WRKDIR}/${PORTNAME}
-
-post-patch:
-	${REINPLACE_CMD} 's,g++,${CXX},;s,$$GCCFLAGS,${CXXFLAGS},; \
-		s,strip,${STRIP_CMD},' ${WRKSRC}/build.sh
-
-do-build:
-	@(cd ${WRKSRC}; \
-	${SETENV} ${MAKE_ENV} ./build.sh)
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/DFileServer.x86 ${STAGEDIR}${PREFIX}/bin/dfileserver
-
-.include <bsd.port.mk>
diff --git a/www/dfileserver/distinfo b/www/dfileserver/distinfo
deleted file mode 100644
index f4aed6ae986c..000000000000
--- a/www/dfileserver/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (DFileServer-1.1.3.tar.gz) = 450beaa1aea3151d8d4da14c9f60c1fc5cef69fc79bcf3e29d8e983b8e4eb1d5
-SIZE (DFileServer-1.1.3.tar.gz) = 22909
diff --git a/www/dfileserver/files/patch-src_CPathResolver.cxx b/www/dfileserver/files/patch-src_CPathResolver.cxx
deleted file mode 100644
index 9199fc4379eb..000000000000
--- a/www/dfileserver/files/patch-src_CPathResolver.cxx
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/CPathResolver.cxx.orig	2018-07-02 11:45:26 UTC
-+++ src/CPathResolver.cxx
-@@ -100,7 +100,7 @@ CPathResolver::CPathResolver( string Con
- 	mPaths = new SPathNode();
- 
- 	ifstream Config( ConfigFile.c_str(), ios::in );
--	if( Config == NULL ) throw( (exn_t)EXN_IO );
-+	if( ! Config.is_open() ) throw( (exn_t)EXN_IO );
- 
- 	while( !Config.eof() ) {
- 		string Fake, Real;
diff --git a/www/dfileserver/files/patch-src_DashFileServer.cxx b/www/dfileserver/files/patch-src_DashFileServer.cxx
deleted file mode 100644
index 73cedd2ad804..000000000000
--- a/www/dfileserver/files/patch-src_DashFileServer.cxx
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/DashFileServer.cxx.orig	2018-07-02 11:55:29 UTC
-+++ src/DashFileServer.cxx
-@@ -218,8 +218,8 @@ int InitalizeNetwork ( int ArgPort, int 
- 	memset(&(ListenAddr.sin_zero), '\0', 8);
- 
- 	// Bind the socket to the listening network struct.
--	if ( bind( NetworkSocket, (struct sockaddr *)&ListenAddr, 
--					sizeof( struct sockaddr ) ) == -1 )
-+	if ( ::bind( NetworkSocket, (struct sockaddr *)&ListenAddr, 
-+					sizeof( struct sockaddr ) ) == -1)
- 	{
- 		perror("InitalizeNetwork -- bind()");
- 		return -1;
diff --git a/www/dfileserver/files/patch-src_contrib_Base64.cpp b/www/dfileserver/files/patch-src_contrib_Base64.cpp
deleted file mode 100644
index 8d7fc4f0b8d3..000000000000
--- a/www/dfileserver/files/patch-src_contrib_Base64.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
---- src/contrib/Base64.cpp.orig	2005-09-30 05:15:19 UTC
-+++ src/contrib/Base64.cpp
-@@ -27,11 +27,12 @@ static string       cvt = "ABCDEFGHIJKLM
- 
- string Base64::encode(string data)
- {
--    auto     string::size_type  i;
--    auto     char               c;
--    auto     string::size_type  len = data.length();
--    auto     string             ret;
-+    std::string::size_type  i;
-+    std::string::size_type  len;
-+    char               c;
-+    string             ret;
- 
-+    len = data.length();
-     for (i = 0; i < len; ++i)
-     {
-         c = (data[i] >> 2) & 0x3f;
-@@ -71,11 +72,11 @@ string Base64::encode(string data)
- 
- string Base64::decode(string data)
- {
--    auto     string::size_type  i;
--    auto     char               c;
--    auto     char               c1;
--    auto     string::size_type  len = data.length();
--    auto     string             ret;
-+    string::size_type  i;
-+    char               c;
-+    char               c1;
-+    string::size_type  len = data.length();
-+    string             ret;
- 
-     for (i = 0; i < len; ++i)
-     {
diff --git a/www/dfileserver/pkg-descr b/www/dfileserver/pkg-descr
deleted file mode 100644
index aae0c9b0c1b6..000000000000
--- a/www/dfileserver/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-A small and simple web server programmed in C++ that was designed to make
-sharing files easy.
-
-By default, it shares whatever folder it was executed from on port 2000.
-While simple, a good deal of flexibility is exposed when you read the
-documentation and look at the optional configuration files.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311221308.3AMD8vJR002390>