Upgrade to 0.7.
This commit is contained in:
parent
c2485e8e0f
commit
6c6a7ed115
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197490
6 changed files with 35 additions and 21 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= spserver
|
||||
PORTVERSION= 0.6
|
||||
PORTVERSION= 0.7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://spserver.googlecode.com/files/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (spserver-0.6.src.tar.gz) = 3e48c85a01be17f7b6a0ffc5ac2306eb
|
||||
SHA256 (spserver-0.6.src.tar.gz) = 533bd04f351368b25df9d58419946a7d3fd341408dd66517fb6ac8635f428a0c
|
||||
SIZE (spserver-0.6.src.tar.gz) = 40380
|
||||
MD5 (spserver-0.7.src.tar.gz) = c857d63995c2f38fe2fed4848b554079
|
||||
SHA256 (spserver-0.7.src.tar.gz) = 44aa23a7a06d6c3e36c4e7062c9cf6887d9d03474df57a18b11088fafb1497b2
|
||||
SIZE (spserver-0.7.src.tar.gz) = 50477
|
||||
|
|
|
@ -1,24 +1,15 @@
|
|||
--- speventcb.cpp.orig Sun Jul 1 13:21:42 2007
|
||||
+++ speventcb.cpp Mon Jul 2 21:20:16 2007
|
||||
@@ -15,6 +15,8 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/tcp.h>
|
||||
+#include <sys/uio.h>
|
||||
+#include <unistd.h>
|
||||
--- speventcb.cpp.orig Sat Aug 11 12:23:46 2007
|
||||
+++ speventcb.cpp Sat Aug 11 20:49:04 2007
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "spiochannel.hpp"
|
||||
#include "spioutils.hpp"
|
||||
|
||||
#include "speventcb.hpp"
|
||||
#include "spsession.hpp"
|
||||
@@ -27,7 +29,7 @@
|
||||
#include "sprequest.hpp"
|
||||
#include "spmsgblock.hpp"
|
||||
|
||||
-#include "config.h"
|
||||
+//#include "config.h"
|
||||
-#include "config.h" // from libevent, for event.h
|
||||
+//#include "config.h" // from libevent, for event.h
|
||||
#include "event_msgqueue.h"
|
||||
#include "event.h"
|
||||
|
||||
@@ -476,7 +478,7 @@
|
||||
@@ -396,7 +396,7 @@
|
||||
char buffer[ 16 ] = { 0 };
|
||||
session->getInBuffer()->take( buffer, sizeof( buffer ) );
|
||||
syslog( LOG_WARNING, "session(%d.%d) status is %d, ignore [%s...] (%dB)",
|
||||
|
|
11
net/spserver/files/patch-spiochannel.cpp
Normal file
11
net/spserver/files/patch-spiochannel.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- spiochannel.cpp.orig Sat Aug 11 20:50:32 2007
|
||||
+++ spiochannel.cpp Sat Aug 11 20:50:38 2007
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "spbuffer.hpp"
|
||||
#include "spmsgblock.hpp"
|
||||
|
||||
-#include "config.h"
|
||||
+//#include "config.h"
|
||||
#include "event.h"
|
||||
|
||||
//---------------------------------------------------------
|
10
net/spserver/files/patch-spioutils.cpp
Normal file
10
net/spserver/files/patch-spioutils.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- spioutils.cpp.orig Sat Aug 11 20:49:44 2007
|
||||
+++ spioutils.cpp Sat Aug 11 20:50:00 2007
|
||||
@@ -3,6 +3,7 @@
|
||||
* For license terms, see the file COPYING along with this library.
|
||||
*/
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/tcp.h>
|
|
@ -5,6 +5,8 @@ include/spserver/spexecutor.hpp
|
|||
include/spserver/sphandler.hpp
|
||||
include/spserver/sphttp.hpp
|
||||
include/spserver/sphttpmsg.hpp
|
||||
include/spserver/spiochannel.hpp
|
||||
include/spserver/spioutils.hpp
|
||||
include/spserver/splfserver.hpp
|
||||
include/spserver/spmsgblock.hpp
|
||||
include/spserver/spmsgdecoder.hpp
|
||||
|
|
Loading…
Reference in a new issue