1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Update to 2.0 .

This commit is contained in:
Juergen Lock 2011-04-01 19:10:59 +00:00
parent c291d919cd
commit 104624ba34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272099
9 changed files with 254 additions and 149 deletions

View File

@ -6,13 +6,14 @@
#
PORTNAME= cxxtools
PORTVERSION= 1.4.8
PORTVERSION= 2.0
CATEGORIES= devel
MASTER_SITES= http://www.tntnet.org/download/
MAINTAINER= nox@FreeBSD.org
COMMENT= Collection of general-purpose C++ classes
PATCH_STRIP= -p1
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}"

View File

@ -1,2 +1,2 @@
SHA256 (cxxtools-1.4.8.tar.gz) = 95476dce9f47c87b46806b072d2327d221e50b1502ad44413074d70fc084bde1
SIZE (cxxtools-1.4.8.tar.gz) = 451807
SHA256 (cxxtools-2.0.tar.gz) = ca0eb1beb8cbb78cdaf5672a4105f8cbbdc9f0c64a9ae8ab47a694a740212bee
SIZE (cxxtools-2.0.tar.gz) = 679749

View File

@ -0,0 +1,10 @@
--- a/src/tcpsocketimpl.h
+++ b/src/tcpsocketimpl.h
@@ -36,6 +36,7 @@
#include <string>
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <sys/poll.h>
#include <sys/time.h>
#include <unistd.h>

View File

@ -1,97 +1,212 @@
bin/cxxtools-config
lib/libcxxtools.a
lib/libcxxtools-http.la
lib/libcxxtools-http.so
lib/libcxxtools-http.so.7
lib/libcxxtools-unit.la
lib/libcxxtools-unit.so
lib/libcxxtools-unit.so.7
lib/libcxxtools-xml.la
lib/libcxxtools-xml.so
lib/libcxxtools-xml.so.7
lib/libcxxtools-xmlrpc.la
lib/libcxxtools-xmlrpc.so
lib/libcxxtools-xmlrpc.so.7
lib/libcxxtools.la
lib/libcxxtools.so
lib/libcxxtools.so.6
include/cxxtools/callable.h
include/cxxtools/signals.h
include/cxxtools/streamcounter.h
include/cxxtools/xmltag.h
include/cxxtools/byteorder.h
include/cxxtools/void.h
lib/libcxxtools.so.7
include/cxxtools/allocator.h
include/cxxtools/api.h
include/cxxtools/typetraits.h
include/cxxtools/md5.h
include/cxxtools/atomicity.generic.h
include/cxxtools/constmethod.tpp
include/cxxtools/atomicity.h
include/cxxtools/pollclass.h
include/cxxtools/convert.h
include/cxxtools/constmethod.h
include/cxxtools/quotedprintablestream.h
include/cxxtools/log.h
include/cxxtools/dir.h
include/cxxtools/iconvstream.h
include/cxxtools/sudo.h
include/cxxtools/cgi.h
include/cxxtools/delegate.h
include/cxxtools/pool.h
include/cxxtools/thread.h
include/cxxtools/inifile.h
include/cxxtools/udpstream.h
include/cxxtools/dlloader.h
include/cxxtools/iniparser.h
include/cxxtools/regex.h
include/cxxtools/dynbuffer.h
include/cxxtools/method.h
include/cxxtools/atomicity.gcc.x86_64.h
include/cxxtools/connection.h
include/cxxtools/callable.tpp
include/cxxtools/atomicity.gcc.ppc.h
include/cxxtools/atomicity.pthread.h
include/cxxtools/slot.h
include/cxxtools/application.h
include/cxxtools/arg.h
include/cxxtools/invokable.tpp
include/cxxtools/sourceinfo.h
include/cxxtools/tcpstream.h
include/cxxtools/base64stream.h
include/cxxtools/tee.h
include/cxxtools/httpreply.h
include/cxxtools/smartptr.h
include/cxxtools/atomicity.gcc.mips.h
include/cxxtools/multifstream.h
include/cxxtools/mime.h
include/cxxtools/any.h
include/cxxtools/main.h
include/cxxtools/function.tpp
include/cxxtools/atomicity.gcc.arm.h
include/cxxtools/invokable.h
include/cxxtools/signals.tpp
include/cxxtools/method.tpp
include/cxxtools/hdstream.h
include/cxxtools/atomicity.gcc.x86.h
include/cxxtools/iconverter.h
include/cxxtools/pipe.h
include/cxxtools/connectable.h
include/cxxtools/delegate.tpp
include/cxxtools/pipestream.h
include/cxxtools/syserror.h
include/cxxtools/query_params.h
include/cxxtools/fdstream.h
include/cxxtools/net.h
include/cxxtools/refcounted.h
include/cxxtools/log/cxxtools_init.h
include/cxxtools/log/log4cplus.h
include/cxxtools/log/disable.h
include/cxxtools/log/log4cxx_init.h
include/cxxtools/log/disable_init.h
include/cxxtools/log/log4cplus_init.h
include/cxxtools/log/cxxtools.h
include/cxxtools/log/log4cxx.h
include/cxxtools/function.h
include/cxxtools/slot.tpp
include/cxxtools/fork.h
include/cxxtools/properties.h
include/cxxtools/atomicity.windows.h
include/cxxtools/atomicity.gcc.avr32.h
include/cxxtools/atomicity.gcc.mips.h
include/cxxtools/atomicity.gcc.ppc.h
include/cxxtools/atomicity.gcc.sparc.h
include/cxxtools/udp.h
include/cxxtools/loginit.h
include/cxxtools/noncopyable.h
include/cxxtools/md5stream.h
include/cxxtools/httprequest.h
include/cxxtools/atomicity.gcc.x86.h
include/cxxtools/atomicity.gcc.x86_64.h
include/cxxtools/atomicity.generic.h
include/cxxtools/atomicity.h
include/cxxtools/atomicity.pthread.h
include/cxxtools/atomicity.sun.h
include/cxxtools/uuencode.h
include/cxxtools/hirestime.h
include/cxxtools/atomicity.windows.h
include/cxxtools/base64codec.h
include/cxxtools/base64stream.h
include/cxxtools/byteorder.h
include/cxxtools/cache.h
include/cxxtools/callable.h
include/cxxtools/callable.tpp
include/cxxtools/cgi.h
include/cxxtools/char.h
include/cxxtools/clock.h
include/cxxtools/condition.h
include/cxxtools/config.h
include/cxxtools/connectable.h
include/cxxtools/connection.h
include/cxxtools/constmethod.h
include/cxxtools/constmethod.tpp
include/cxxtools/conversionerror.h
include/cxxtools/convert.h
include/cxxtools/date.h
include/cxxtools/datetime.h
include/cxxtools/delegate.h
include/cxxtools/delegate.tpp
include/cxxtools/deserializer.h
include/cxxtools/dir.h
include/cxxtools/directory.h
include/cxxtools/dlloader.h
include/cxxtools/event.h
include/cxxtools/eventloop.h
include/cxxtools/eventsink.h
include/cxxtools/eventsource.h
include/cxxtools/facets.h
include/cxxtools/fdstream.h
include/cxxtools/file.h
include/cxxtools/fileinfo.h
include/cxxtools/fork.h
include/cxxtools/formatter.h
include/cxxtools/function.h
include/cxxtools/function.tpp
include/cxxtools/hdstream.h
include/cxxtools/inifile.h
include/cxxtools/iniparser.h
include/cxxtools/invokable.h
include/cxxtools/invokable.tpp
include/cxxtools/iodevice.h
include/cxxtools/ioerror.h
include/cxxtools/iostream.h
include/cxxtools/jsonserializer.h
include/cxxtools/library.h
include/cxxtools/log.h
include/cxxtools/loginit.h
include/cxxtools/main.h
include/cxxtools/md5.h
include/cxxtools/md5stream.h
include/cxxtools/method.h
include/cxxtools/method.tpp
include/cxxtools/mime.h
include/cxxtools/multifstream.h
include/cxxtools/mutex.h
include/cxxtools/noncopyable.h
include/cxxtools/pipe.h
include/cxxtools/pool.h
include/cxxtools/process.h
include/cxxtools/properties.h
include/cxxtools/query_params.h
include/cxxtools/queue.h
include/cxxtools/quotedprintablestream.h
include/cxxtools/refcounted.h
include/cxxtools/regex.h
include/cxxtools/selectable.h
include/cxxtools/selector.h
include/cxxtools/semaphore.h
include/cxxtools/serializationerror.h
include/cxxtools/serializationinfo.h
include/cxxtools/serializer.h
include/cxxtools/settings.h
include/cxxtools/signal.h
include/cxxtools/signal.tpp
include/cxxtools/singleton.h
include/cxxtools/slot.h
include/cxxtools/slot.tpp
include/cxxtools/smartptr.h
include/cxxtools/sourceinfo.h
include/cxxtools/streambuffer.h
include/cxxtools/streamcounter.h
include/cxxtools/string.h
include/cxxtools/string.tpp
include/cxxtools/stringdata.h
include/cxxtools/stringdata.tpp
include/cxxtools/stringstream.h
include/cxxtools/sudo.h
include/cxxtools/syserror.h
include/cxxtools/systemerror.h
include/cxxtools/tee.h
include/cxxtools/textbuffer.h
include/cxxtools/textcodec.h
include/cxxtools/textstream.h
include/cxxtools/thread.h
include/cxxtools/threadpool.h
include/cxxtools/time.h
include/cxxtools/timer.h
include/cxxtools/timespan.h
include/cxxtools/types.h
include/cxxtools/typetraits.h
include/cxxtools/utf8codec.h
include/cxxtools/uuencode.h
include/cxxtools/void.h
include/cxxtools/xmltag.h
include/cxxtools/http/api.h
include/cxxtools/http/client.h
include/cxxtools/http/messageheader.h
include/cxxtools/http/reply.h
include/cxxtools/http/replyheader.h
include/cxxtools/http/request.h
include/cxxtools/http/requestheader.h
include/cxxtools/http/responder.h
include/cxxtools/http/server.h
include/cxxtools/http/service.h
include/cxxtools/log/cxxtools.h
include/cxxtools/log/cxxtools_init.h
include/cxxtools/log/disable.h
include/cxxtools/log/disable_init.h
include/cxxtools/log/log4cplus.h
include/cxxtools/log/log4cplus_init.h
include/cxxtools/log/log4cxx.h
include/cxxtools/log/log4cxx_init.h
include/cxxtools/net/addrinfo.h
include/cxxtools/net/net.h
include/cxxtools/net/tcpserver.h
include/cxxtools/net/tcpsocket.h
include/cxxtools/net/tcpstream.h
include/cxxtools/net/udp.h
include/cxxtools/net/udpstream.h
include/cxxtools/posix/pipe.h
include/cxxtools/posix/pipestream.h
include/cxxtools/unit/application.h
include/cxxtools/unit/assertion.h
include/cxxtools/unit/registertest.h
include/cxxtools/unit/reporter.h
include/cxxtools/unit/test.h
include/cxxtools/unit/testcase.h
include/cxxtools/unit/testcontext.h
include/cxxtools/unit/testfixture.h
include/cxxtools/unit/testmain.h
include/cxxtools/unit/testmethod.h
include/cxxtools/unit/testprotocol.h
include/cxxtools/unit/testsuite.h
include/cxxtools/xml/api.h
include/cxxtools/xml/characters.h
include/cxxtools/xml/comment.h
include/cxxtools/xml/doctypedeclaration.h
include/cxxtools/xml/enddocument.h
include/cxxtools/xml/endelement.h
include/cxxtools/xml/entityresolver.h
include/cxxtools/xml/namespace.h
include/cxxtools/xml/namespacecontext.h
include/cxxtools/xml/node.h
include/cxxtools/xml/processinginstruction.h
include/cxxtools/xml/startelement.h
include/cxxtools/xml/xmldeserializer.h
include/cxxtools/xml/xmlerror.h
include/cxxtools/xml/xmlreader.h
include/cxxtools/xml/xmlserializer.h
include/cxxtools/xml/xmlwriter.h
include/cxxtools/xmlrpc/api.h
include/cxxtools/xmlrpc/client.h
include/cxxtools/xmlrpc/fault.h
include/cxxtools/xmlrpc/formatter.h
include/cxxtools/xmlrpc/httpclient.h
include/cxxtools/xmlrpc/remoteprocedure.h
include/cxxtools/xmlrpc/responder.h
include/cxxtools/xmlrpc/result.h
include/cxxtools/xmlrpc/scanner.h
include/cxxtools/xmlrpc/service.h
@dirrm include/cxxtools/http
@dirrm include/cxxtools/log
@dirrm include/cxxtools/net
@dirrm include/cxxtools/posix
@dirrm include/cxxtools/unit
@dirrm include/cxxtools/xml
@dirrm include/cxxtools/xmlrpc
@dirrm include/cxxtools

View File

@ -6,7 +6,7 @@
#
PORTNAME= tntnet
PORTVERSION= 1.6.3
PORTVERSION= 2.0
CATEGORIES= www devel
MASTER_SITES= http://www.tntnet.org/download/

View File

@ -1,2 +1,2 @@
SHA256 (tntnet-1.6.3.tar.gz) = 1c16547e4fe6c07f8fe1b9d2eeb750cb2061032f31880f93f2080b049d54a3a4
SIZE (tntnet-1.6.3.tar.gz) = 1952122
SHA256 (tntnet-2.0.tar.gz) = 8e5daf06f9ae1ec05654c3f2b3c2a74cfd64cc2a9f6267f6e4bb604842315b1a
SIZE (tntnet-2.0.tar.gz) = 1553215

View File

@ -1,6 +1,6 @@
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -1,30 +1,35 @@
@@ -1,31 +1,36 @@
nobase_dist_noinst_DATA = \
tntnet/tntnet.conf.in \
- init.d/tntnet.in
@ -24,8 +24,8 @@
+tntnet/mime.conf.sample: tntnet/mime.conf
+ cp tntnet/mime.conf $@
-tntnet/tntnet.conf: tntnet/tntnet.conf.in Makefile
+tntnet/tntnet.conf.sample: tntnet/tntnet.conf.in Makefile
-tntnet/tntnet.conf: tntnet/tntnet.conf.in
+tntnet/tntnet.conf.sample: tntnet/tntnet.conf.in
sed -e 's,@libdir\@,@libdir@,g;' \
-e 's,@pkglibdir\@,@pkglibdir@,g;' \
-e 's,@sysconfdir\@,@sysconfdir@,g;' \
@ -33,8 +33,8 @@
- -e 's,@datadir\@,@datadir@,g;' <tntnet/tntnet.conf.in >tntnet/tntnet.conf
+ -e 's,@datadir\@,@datadir@,g;' <tntnet/tntnet.conf.in >tntnet/tntnet.conf.sample
-init.d/tntnet: init.d/tntnet.in Makefile
+tntnet/tntnet: init.d/tntnet.in Makefile
-init.d/tntnet: init.d/tntnet.in
+tntnet/tntnet: init.d/tntnet.in
sed -e 's,@libdir\@,@libdir@,g;' \
-e 's,@pkglibdir\@,@pkglibdir@,g;' \
-e 's,@sysconfdir\@,@sysconfdir@,g;' \
@ -43,13 +43,14 @@
+ -e 's/^function //;' \
+ -e 's,@datadir\@,@datadir@,g;' <init.d/tntnet.in >tntnet/tntnet
-tntnet/tntnet.properties: Makefile
+tntnet/tntnet.properties.sample: Makefile
cxxtools-config --logfile @localstatedir@/log/tntnet/tntnet.log --properties tntnet >$@
-tntnet/tntnet.properties:
+tntnet/tntnet.properties.sample:
../tntnet-config --properties tntnet | \
sed -e 's,^#file=tntnet.log,file=@localstatedir@/log/tntnet/tntnet.log,' >$@
--- a/etc/Makefile.in
+++ b/etc/Makefile.in
@@ -194,17 +194,18 @@ target_os = @target_os@
target_vendor = @target_vendor@
@@ -206,17 +206,18 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
nobase_dist_noinst_DATA = \
tntnet/tntnet.conf.in \
- init.d/tntnet.in
@ -72,15 +73,15 @@
all: all-am
@@ -436,21 +437,25 @@ uninstall-am: uninstall-info-am uninstal
@@ -483,21 +484,25 @@ uninstall-am: uninstall-nobase_dist_sysc
uninstall-nobase_sysconfDATA
-tntnet/tntnet.conf: tntnet/tntnet.conf.in Makefile
-tntnet/tntnet.conf: tntnet/tntnet.conf.in
+tntnet/mime.conf.sample: tntnet/mime.conf
+ cp tntnet/mime.conf $@
+
+tntnet/tntnet.conf.sample: tntnet/tntnet.conf.in Makefile
+tntnet/tntnet.conf.sample: tntnet/tntnet.conf.in
sed -e 's,@libdir\@,@libdir@,g;' \
-e 's,@pkglibdir\@,@pkglibdir@,g;' \
-e 's,@sysconfdir\@,@sysconfdir@,g;' \
@ -88,8 +89,8 @@
- -e 's,@datadir\@,@datadir@,g;' <tntnet/tntnet.conf.in >tntnet/tntnet.conf
+ -e 's,@datadir\@,@datadir@,g;' <tntnet/tntnet.conf.in >tntnet/tntnet.conf.sample
-init.d/tntnet: init.d/tntnet.in Makefile
+tntnet/tntnet: init.d/tntnet.in Makefile
-init.d/tntnet: init.d/tntnet.in
+tntnet/tntnet: init.d/tntnet.in
sed -e 's,@libdir\@,@libdir@,g;' \
-e 's,@pkglibdir\@,@pkglibdir@,g;' \
-e 's,@sysconfdir\@,@sysconfdir@,g;' \
@ -98,11 +99,11 @@
+ -e 's/^function //;' \
+ -e 's,@datadir\@,@datadir@,g;' <init.d/tntnet.in >tntnet/tntnet
-tntnet/tntnet.properties: Makefile
+tntnet/tntnet.properties.sample: Makefile
cxxtools-config --logfile @localstatedir@/log/tntnet/tntnet.log --properties tntnet >$@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
-tntnet/tntnet.properties:
+tntnet/tntnet.properties.sample:
../tntnet-config --properties tntnet | \
sed -e 's,^#file=tntnet.log,file=@localstatedir@/log/tntnet/tntnet.log,' >$@
--- a/etc/tntnet/tntnet.conf.in
+++ b/etc/tntnet/tntnet.conf.in
@@ -2,12 +2,15 @@

View File

@ -1,11 +0,0 @@
--- a/sdk/demos/calc/Makefile.in
+++ b/sdk/demos/calc/Makefile.in
@@ -467,7 +467,7 @@ info: info-am
info-am:
-install-data-am: install-docDATA
+install-data-am: #install-docDATA
install-exec-am: install-pkglibLTLIBRARIES

View File

@ -13,10 +13,13 @@ bin/tntnet-config
@unexec if cmp -s %D/etc/tntnet/tntnet.properties.sample %D/etc/tntnet/tntnet.properties; then rm -f %D/etc/tntnet/tntnet.properties; fi
%%ETCDIR%%/tntnet.properties.sample
@exec if [ ! -f %D/etc/tntnet/tntnet.properties ] ; then cp -p %D/%F %B/tntnet.properties; fi
include/tnt/applicationunlocker.h
include/tnt/cmd.h
include/tnt/compident.h
include/tnt/comploader.h
include/tnt/component.h
include/tnt/componentfactory.h
include/tnt/configurator.h
include/tnt/contentdisposition.h
include/tnt/contenttype.h
include/tnt/convert.h
@ -34,10 +37,10 @@ include/tnt/httpmessage.h
include/tnt/httpparser.h
include/tnt/httpreply.h
include/tnt/httprequest.h
include/tnt/inflatestream.h
include/tnt/job.h
include/tnt/langlib.h
include/tnt/maptarget.h
include/tnt/mbcomponent.h
include/tnt/messageattribute.h
include/tnt/messageheader.h
include/tnt/messageheaderparser.h
@ -46,14 +49,16 @@ include/tnt/multipart.h
include/tnt/object.h
include/tnt/parser.h
include/tnt/poller.h
include/tnt/process.h
include/tnt/query_params.h
include/tnt/regex.h
include/tnt/savepoint.h
include/tnt/scope.h
include/tnt/scopemanager.h
include/tnt/sessionscope.h
include/tnt/sodata.h
include/tnt/sessionunlocker.h
include/tnt/socketif.h
include/tnt/stringlessignorecase.h
include/tnt/threadcontext.h
include/tnt/tntconfig.h
include/tnt/tntnet.h
include/tnt/unzipfile.h
@ -61,55 +66,43 @@ include/tnt/urlescostream.h
include/tnt/urlmapper.h
include/tnt/worker.h
include/tnt/zdata.h
lib/libtntnet.a
lib/libtntnet.la
lib/libtntnet.so
lib/libtntnet.so.8
lib/libtntnet.so.9
lib/libtntnet_cgi.a
lib/libtntnet_cgi.la
lib/libtntnet_cgi.so
lib/libtntnet_cgi.so.8
lib/libtntnet_sdk.a
lib/libtntnet_cgi.so.9
lib/libtntnet_sdk.la
lib/libtntnet_sdk.so
lib/libtntnet_sdk.so.8
lib/tntnet/alldemos.a
lib/libtntnet_sdk.so.9
lib/tntnet/alldemos.la
lib/tntnet/alldemos.so
lib/tntnet/alldemos.so.0
lib/tntnet/calc.a
lib/tntnet/calc.la
lib/tntnet/calc.so
lib/tntnet/calc.so.0
lib/tntnet/calcajax.a
lib/tntnet/calcajax.la
lib/tntnet/calcajax.so
lib/tntnet/calcajax.so.0
lib/tntnet/calci18n.a
lib/tntnet/calci18n.la
lib/tntnet/calci18n.so
lib/tntnet/calci18n.so.0
lib/tntnet/calcmvc.a
lib/tntnet/calcmvc.la
lib/tntnet/calcmvc.so
lib/tntnet/calcmvc.so.0
lib/tntnet/chat.a
lib/tntnet/chat.la
lib/tntnet/chat.so
lib/tntnet/chat.so.0
lib/tntnet/comp.a
lib/tntnet/comp.la
lib/tntnet/comp.so
lib/tntnet/comp.so.0
lib/tntnet/config.a
lib/tntnet/config.la
lib/tntnet/config.so
lib/tntnet/config.so.0
lib/tntnet/controls.a
lib/tntnet/controls.la
lib/tntnet/controls.so
lib/tntnet/controls.so.0
lib/tntnet/cookie.a
lib/tntnet/cookie.la
lib/tntnet/cookie.so
lib/tntnet/cookie.so.0
@ -117,31 +110,27 @@ lib/tntnet/extlib.a
lib/tntnet/extlib.la
lib/tntnet/extlib.so
lib/tntnet/extlib.so.0
lib/tntnet/hello.a
lib/tntnet/hello.la
lib/tntnet/hello.so
lib/tntnet/hello.so.0
lib/tntnet/savepoint.a
lib/tntnet/message.la
lib/tntnet/message.so
lib/tntnet/message.so.0
lib/tntnet/savepoint.la
lib/tntnet/savepoint.so
lib/tntnet/savepoint.so.0
lib/tntnet/session.a
lib/tntnet/session.la
lib/tntnet/session.so
lib/tntnet/session.so.0
lib/tntnet/sprintf.a
lib/tntnet/sprintf.la
lib/tntnet/sprintf.so
lib/tntnet/sprintf.so.0
lib/tntnet/strings.a
lib/tntnet/strings.la
lib/tntnet/strings.so
lib/tntnet/strings.so.0
lib/tntnet/tntnet.a
lib/tntnet/tntnet.la
lib/tntnet/tntnet.so
lib/tntnet/tntnet.so.8
lib/tntnet/upload.a
lib/tntnet/tntnet.so.9
lib/tntnet/upload.la
lib/tntnet/upload.so
lib/tntnet/upload.so.0