mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
www/dfileserver: Remove expired port
2023-11-22 www/dfileserver: Obsolete, consider using www/darkhttpd
This commit is contained in:
parent
2038ace504
commit
5b94c38688
1
MOVED
1
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
|
||||
|
@ -135,7 +135,6 @@
|
||||
SUBDIR += deno
|
||||
SUBDIR += devd
|
||||
SUBDIR += dezoomify-rs
|
||||
SUBDIR += dfileserver
|
||||
SUBDIR += dillo2
|
||||
SUBDIR += dojo
|
||||
SUBDIR += dokuwiki
|
||||
|
@ -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>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (DFileServer-1.1.3.tar.gz) = 450beaa1aea3151d8d4da14c9f60c1fc5cef69fc79bcf3e29d8e983b8e4eb1d5
|
||||
SIZE (DFileServer-1.1.3.tar.gz) = 22909
|
@ -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;
|
@ -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;
|
@ -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)
|
||||
{
|
@ -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.
|
Loading…
Reference in New Issue
Block a user