Date: Wed, 25 Jun 2003 04:43:38 +0400 From: Sergey Matveychuk <sem@ciam.ru> To: FreeBSD-gnats-submit@freebsd.org Cc: ports@freebsd.org Subject: [UPDATE] devel/ptypes to 1.8.0 Message-ID: <E19UyNu-0000fQ-00@sem-home.ciam.ru>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Sergey Matveychuk >Organization: >Confidential: no >Synopsis: [UPDATE] devel/ptypes to 1.8.0 >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 5.1-RELEASE i386 >Environment: System: FreeBSD sem-home.ciam.ru 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Wed Jun 11 02:03:37 MSD 2003 root@sem-home.ciam.ru:/usr/src/sys/i386/compile/SEM-HOME i386 >Description: This patch includes: * update devel/ptypes to 1.8.0 * fix PTHREAD_CFLAGS passing * fix patches and add one more * change port description (full features list) * fix plist for NOPORTDOCS=yes case add files/patch-wshare-Makefile.FreeBSD PS. Looks like I made a last update too. So, can I become a maintainer for this port? >How-To-Repeat: >Fix: diff -ruN ptypes.orig/Makefile ptypes/Makefile --- ptypes.orig/Makefile Wed Jun 25 01:06:36 2003 +++ ptypes/Makefile Wed Jun 25 03:53:11 2003 @@ -7,7 +7,7 @@ # PORTNAME= ptypes -PORTVERSION= 1.7.5 +PORTVERSION= 1.8.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,11 +15,10 @@ MAINTAINER= ports@FreeBSD.org COMMENT= C++ Portable Types Library -CFLAGS+= ${PTHREAD_CFLAGS} SHLIB_VER= 1 INSTALLS_SHLIB= yes -MAKE_ARGS+= SHLIB_VER=${SHLIB_VER} CFLAGS="${CFLAGS}" \ - PTHREAD_LIBS=${PTHREAD_LIBS} +MAKE_ARGS+= SHLIB_VER=${SHLIB_VER} PTHREAD_LIBS=${PTHREAD_LIBS} \ + PTHREAD_CFLAGS=${PTHREAD_CFLAGS} do-install: ${MKDIR} ${PREFIX}/include/ptypes diff -ruN ptypes.orig/distinfo ptypes/distinfo --- ptypes.orig/distinfo Wed Jun 25 01:06:36 2003 +++ ptypes/distinfo Wed Jun 25 01:41:57 2003 @@ -1 +1 @@ -MD5 (ptypes-1.7.5.tar.gz) = e5dc13801bdb74a8c1bcf36db5a64b6c +MD5 (ptypes-1.8.0.tar.gz) = 79c3fbe546b3f7a28c9f47b30f975b4e diff -ruN ptypes.orig/files/patch-src-Makefile.FreeBSD ptypes/files/patch-src-Makefile.FreeBSD --- ptypes.orig/files/patch-src-Makefile.FreeBSD Wed Jun 25 01:06:36 2003 +++ ptypes/files/patch-src-Makefile.FreeBSD Wed Jun 25 02:39:45 2003 @@ -1,14 +1,17 @@ ---- src/Makefile.FreeBSD.orig Wed Jan 8 03:14:56 2003 -+++ src/Makefile.FreeBSD Wed Jan 8 03:14:59 2003 -@@ -15,9 +15,9 @@ +--- Makefile.FreeBSD.orig Tue Jun 24 13:49:22 2003 ++++ src/Makefile.FreeBSD Wed Jun 25 02:36:53 2003 +@@ -15,11 +15,11 @@ CXX = g++ --CXXOPTS = -pthread -+CXXOPTS = - --LDLIBS = -lc_r -+LDLIBS = +-OS_CXXOPTS = -pthread +-OS_LDLIBS = -lc_r ++OS_CXXOPTS = $(PTHREAD_CFLAGS) ++OS_LDLIBS = $(PTHREAD_LIBS) SOEXT = so +-LIBTOOL = $(CXX) -shared -pthread ++LIBTOOL = $(CXX) -shared $(PTHREAD_CFLAGS) + SOSTRIP = strip + include Makefile.common diff -ruN ptypes.orig/files/patch-src-Makefile.common ptypes/files/patch-src-Makefile.common --- ptypes.orig/files/patch-src-Makefile.common Wed Jun 25 01:06:36 2003 +++ ptypes/files/patch-src-Makefile.common Wed Jun 25 03:57:14 2003 @@ -1,42 +1,27 @@ ---- src/Makefile.common.orig Wed Jan 8 03:12:14 2003 -+++ src/Makefile.common Wed Jan 8 03:13:59 2003 -@@ -20,17 +20,17 @@ +--- src/Makefile.common.orig Tue Jun 24 13:49:22 2003 ++++ src/Makefile.common Wed Jun 25 03:56:22 2003 +@@ -19,12 +19,12 @@ + AR = ar + RANLIB = ranlib + +-DDEBUG = -DDEBUG ++DDEBUG = + INCDIR = ../include +-CXXOPTS = $(OS_CXXOPTS) $(DDEBUG) -I$(INCDIR) -fPIC -Wall -O2 ++CXXOPTS = $(OS_CXXOPTS) $(DDEBUG) -I$(INCDIR) -fPIC -Wall $(CFLAGS) + LDLIBS = $(OS_LDLIBS) + +-CXXOPTS_ST = -DPTYPES_ST $(OS_CXXOPTS_ST) $(DDEBUG) -I$(INCDIR) -Wall -O2 ++CXXOPTS_ST = -DPTYPES_ST $(OS_CXXOPTS_ST) $(DDEBUG) -I$(INCDIR) -Wall $(CFLAGS) + LDLIBS_ST = $(OS_LDLIBS_ST) + + LIBNAME = libptypes.a +@@ -32,7 +32,7 @@ + LIBDEST = ../lib + + SONAME = libptypes.$(SOEXT) +-SOVER = 1 ++SOVER = $(SHLIB_VER) + SOREALNAME = $(SONAME).$(SOVER) + SODEST = ../so - RANLIB = ranlib - --CXXDEFS = -DDEBUG -+CXXDEFS = - - INCDIR = ../include - --CXXFLAGS = $(CXXOPTS) $(CXXDEFS) -I$(INCDIR) -fPIC -Wall -O2 -+CXXFLAGS = $(CXXOPTS) $(CXXDEFS) -I$(INCDIR) -fPIC -Wall $(CFLAGS) - - LIBNAME = libptypes.a - LIBDEST = ../lib - - SONAME = libptypes.$(SOEXT) --SOVER = 1 -+SOVER = $(SHLIB_VER) - SOREALNAME = $(SONAME).$(SOVER) - SODEST = ../so - -@@ -74,7 +74,7 @@ - cp $@ $(LIBDEST)/ - - $(SOREALNAME): $(LIBOBJS) -- $(LIBTOOL) $(LIBOBJS) $(LDLIBS) -o $@ -+ $(LIBTOOL) $(LIBOBJS) $(LDLIBS) -o $@ ${PTHREAD_LIBS} -lc_r - rm -f $(SONAME) ; ln -s $@ $(SONAME) - cp $@ $(SODEST)/ - cd $(SODEST) ; rm -f $(SONAME) ; ln -s $@ $(SONAME) ; $(SOSTRIP) $@ -@@ -190,7 +190,8 @@ - ptypes_test.o: ptypes_test.cxx $(HALL) - - ptypes_test: ptypes_test.o $(LIBNAME) -- $(CXX) $(CXXFLAGS) $@.o -L./ $(LDLIBS) libptypes.a -o $@ -+ $(CXX) $(CXXFLAGS) $@.o -L./ $(LDLIBS) libptypes.a -o $@ \ -+ $(PTHREAD_LIBS) -lc_r - - clean: clean-src - rm -f $(LIBDEST)/$(LIBNAME) diff -ruN ptypes.orig/files/patch-wshare-Makefile.FreeBSD ptypes/files/patch-wshare-Makefile.FreeBSD --- ptypes.orig/files/patch-wshare-Makefile.FreeBSD Thu Jan 1 03:00:00 1970 +++ ptypes/files/patch-wshare-Makefile.FreeBSD Wed Jun 25 02:39:59 2003 @@ -0,0 +1,13 @@ +--- Makefile.FreeBSD.orig Wed Jun 25 02:38:24 2003 ++++ wshare/Makefile.FreeBSD Wed Jun 25 02:38:48 2003 +@@ -15,8 +15,8 @@ + + CXX = g++ + +-OS_CXXOPTS = -pthread +-OS_LDLIBS = -lc_r ++OS_CXXOPTS = $(PTHREAD_CFLAGS) ++OS_LDLIBS = $(PTHREAD_LIBS) + + include Makefile.common + diff -ruN ptypes.orig/files/patch-wshare-Makefile.common ptypes/files/patch-wshare-Makefile.common --- ptypes.orig/files/patch-wshare-Makefile.common Wed Jun 25 01:06:36 2003 +++ ptypes/files/patch-wshare-Makefile.common Wed Jun 25 02:43:14 2003 @@ -1,15 +1,14 @@ ---- wshare/Makefile.common.orig Fri Oct 18 09:01:35 2002 -+++ wshare/Makefile.common Tue Oct 22 07:36:40 2002 -@@ -16,11 +16,11 @@ +--- Makefile.common.orig Wed Jun 25 02:41:34 2003 ++++ wshare/Makefile.common Wed Jun 25 02:42:10 2003 +@@ -16,9 +16,9 @@ .SUFFIXES: .cxx .o --CXXDEFS = -DDEBUG -+CXXDEFS = - +-DDEBUG = -DDEBUG ++DDEBUG = INCDIR = ../include - --CXXFLAGS = $(CXXOPTS) $(CXXDEFS) -I$(INCDIR) -Wall -O2 -+CXXFLAGS = $(CXXOPTS) $(CXXDEFS) -I$(INCDIR) -Wall $(CFLAGS) +-CXXOPTS = $(OS_CXXOPTS) $(DDEBUG) -I$(INCDIR) -Wall -O2 ++CXXOPTS = $(OS_CXXOPTS) $(DDEBUG) -I$(INCDIR) -Wall $(CFLAGS) + LDLIBS = $(OS_LDLIBS) BINDEST = ../bin diff -ruN ptypes.orig/pkg-descr ptypes/pkg-descr --- ptypes.orig/pkg-descr Wed Jun 25 01:06:36 2003 +++ ptypes/pkg-descr Wed Jun 25 04:10:28 2003 @@ -1,14 +1,23 @@ -PTypes (C++ Portable Types Library) is a simple alternative to the STL that -includes multithreading and networking. It defines dynamic strings, character -sets, lists, and other basic data types along with threads, synchronization -and IP sockets. PTypes also offers message queues as an alternative method of -thread synchronization. Its main `target audience' is developers of complex -network daemons, robots or non-visual client/server applications of any kind. +PTypes is a C++ Portable Types Library. It offers the following features: -PTypes defines simple and intuitive interfaces. It is portable across many -modern operating systems (Currently FreeBSD, Linux, SunOS, Mac OS X and -Windows). All platform-dependent issues are hidden inside. A simple web server -called wshare is now included in the package to demonstrate the full power of -PTypes. +* Threads and synchronization objects along with message queues solve + the vital problem of diversity of the threading API's on different + platforms. +* IP socket classes and utilities provide complete IP-based framework + for both client-side and server-side programming. They can be + combined with PTypes multithreading. +* Dynamic strings, variants, character sets, date/time type and various + kinds of dynamic and associative arrays: Delphi programmers will find + them very similar to the ones in their favorite language. +* Streaming interfaces provide buffered I/O with simple and powerful text + parsing methods. A strictly defined syntax for the given text format + or a formal language can be represented by calls to PTypes token + extraction methods. The unified streaming interface is applicable to + files, named pipes and network sockets. +* Special thread class with enhanced functionality called unit. Units have + their own main() and input/output 'plugs'; they can be connected to each + other within one application to form pipes, like processes in the Unix shell. +* Finally, everything above is portable: all platform-dependent details + are hidden inside. WWW: http://ptypes.sourceforge.net/ diff -ruN ptypes.orig/pkg-plist ptypes/pkg-plist --- ptypes.orig/pkg-plist Wed Jun 25 01:06:36 2003 +++ ptypes/pkg-plist Wed Jun 25 03:40:28 2003 @@ -7,86 +7,89 @@ lib/libptypes.a lib/libptypes.so lib/libptypes.so.1 -share/doc/ptypes/LICENSE -share/doc/ptypes/doc/async.examples.html -share/doc/ptypes/doc/async.html -share/doc/ptypes/doc/async.message.html -share/doc/ptypes/doc/async.msgqueue.html -share/doc/ptypes/doc/async.mutex.html -share/doc/ptypes/doc/async.rwlock.html -share/doc/ptypes/doc/async.semaphore.html -share/doc/ptypes/doc/async.thread.html -share/doc/ptypes/doc/async.trigger.html -share/doc/ptypes/doc/async.utils.html -share/doc/ptypes/doc/basic.html -share/doc/ptypes/doc/changes.html -share/doc/ptypes/doc/compiling.html -share/doc/ptypes/doc/criterrors.html -share/doc/ptypes/doc/cset.constructors.html -share/doc/ptypes/doc/cset.html -share/doc/ptypes/doc/cset.manipulation.html -share/doc/ptypes/doc/cset.operators.html -share/doc/ptypes/doc/deploying.html -share/doc/ptypes/doc/freshmeat-logo.gif -share/doc/ptypes/doc/index.html -share/doc/ptypes/doc/inet.examples.html -share/doc/ptypes/doc/inet.html -share/doc/ptypes/doc/inet.ipmessage.html -share/doc/ptypes/doc/inet.ipmsgserver.html -share/doc/ptypes/doc/inet.ipstmserver.html -share/doc/ptypes/doc/inet.ipstream.html -share/doc/ptypes/doc/inet.utils.html -share/doc/ptypes/doc/intro.html -share/doc/ptypes/doc/lists.html -share/doc/ptypes/doc/lists.objlist.constructors.html -share/doc/ptypes/doc/lists.objlist.html -share/doc/ptypes/doc/lists.objlist.manipulation.html -share/doc/ptypes/doc/lists.strlist.constructors.html -share/doc/ptypes/doc/lists.strlist.html -share/doc/ptypes/doc/lists.strlist.manipulation.html -share/doc/ptypes/doc/lists.strlist.search.html -share/doc/ptypes/doc/lists.strmap.constructors.html -share/doc/ptypes/doc/lists.strmap.html -share/doc/ptypes/doc/lists.strmap.manipulation.html -share/doc/ptypes/doc/lists.strmap.search.html -share/doc/ptypes/doc/portability.html -share/doc/ptypes/doc/ref.html -share/doc/ptypes/doc/ref.tmpl.html -share/doc/ptypes/doc/source-forge-logo.gif -share/doc/ptypes/doc/streams.errors.html -share/doc/ptypes/doc/streams.examples.html -share/doc/ptypes/doc/streams.html -share/doc/ptypes/doc/streams.infile.html -share/doc/ptypes/doc/streams.inmem.html -share/doc/ptypes/doc/streams.instm.html -share/doc/ptypes/doc/streams.iobase.html -share/doc/ptypes/doc/streams.md5.html -share/doc/ptypes/doc/streams.namedpipe.html -share/doc/ptypes/doc/streams.npserver.html -share/doc/ptypes/doc/streams.outfile.html -share/doc/ptypes/doc/streams.outmem.html -share/doc/ptypes/doc/streams.outstm.html -share/doc/ptypes/doc/streams.stdio.html -share/doc/ptypes/doc/string.constructors.html -share/doc/ptypes/doc/string.html -share/doc/ptypes/doc/string.manipulation.html -share/doc/ptypes/doc/string.operators.html -share/doc/ptypes/doc/string.typecasts.html -share/doc/ptypes/doc/styles.css -share/doc/ptypes/doc/time.calendar.html -share/doc/ptypes/doc/time.datetime.html -share/doc/ptypes/doc/time.html -share/doc/ptypes/doc/time.time.html -share/doc/ptypes/doc/title-1.7.gif -share/doc/ptypes/doc/unit.html -share/doc/ptypes/doc/unknown.html -share/doc/ptypes/doc/variant.arrays.html -share/doc/ptypes/doc/variant.html -share/doc/ptypes/doc/variant.objrefs.html -share/doc/ptypes/doc/variant.typecasts.html -share/doc/ptypes/doc/variant.utils.html -share/doc/ptypes/doc/wshare.html -share/doc/ptypes/index.html +lib/libptypesn.a +%%PORTDOCS%%share/doc/ptypes/LICENSE +%%PORTDOCS%%share/doc/ptypes/doc/async.examples.html +%%PORTDOCS%%share/doc/ptypes/doc/async.html +%%PORTDOCS%%share/doc/ptypes/doc/async.message.html +%%PORTDOCS%%share/doc/ptypes/doc/async.msgqueue.html +%%PORTDOCS%%share/doc/ptypes/doc/async.mutex.html +%%PORTDOCS%%share/doc/ptypes/doc/async.rwlock.html +%%PORTDOCS%%share/doc/ptypes/doc/async.semaphore.html +%%PORTDOCS%%share/doc/ptypes/doc/async.thread.html +%%PORTDOCS%%share/doc/ptypes/doc/async.trigger.html +%%PORTDOCS%%share/doc/ptypes/doc/async.utils.html +%%PORTDOCS%%share/doc/ptypes/doc/basic.html +%%PORTDOCS%%share/doc/ptypes/doc/changes.html +%%PORTDOCS%%share/doc/ptypes/doc/compiling.html +%%PORTDOCS%%share/doc/ptypes/doc/criterrors.html +%%PORTDOCS%%share/doc/ptypes/doc/cset.constructors.html +%%PORTDOCS%%share/doc/ptypes/doc/cset.html +%%PORTDOCS%%share/doc/ptypes/doc/cset.manipulation.html +%%PORTDOCS%%share/doc/ptypes/doc/cset.operators.html +%%PORTDOCS%%share/doc/ptypes/doc/deploying.html +%%PORTDOCS%%share/doc/ptypes/doc/freshmeat-logo.png +%%PORTDOCS%%share/doc/ptypes/doc/index.html +%%PORTDOCS%%share/doc/ptypes/doc/inet.examples.html +%%PORTDOCS%%share/doc/ptypes/doc/inet.html +%%PORTDOCS%%share/doc/ptypes/doc/inet.ipmessage.html +%%PORTDOCS%%share/doc/ptypes/doc/inet.ipmsgserver.html +%%PORTDOCS%%share/doc/ptypes/doc/inet.ipstmserver.html +%%PORTDOCS%%share/doc/ptypes/doc/inet.ipstream.html +%%PORTDOCS%%share/doc/ptypes/doc/inet.utils.html +%%PORTDOCS%%share/doc/ptypes/doc/intro.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.objlist.constructors.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.objlist.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.objlist.manipulation.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.strlist.constructors.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.strlist.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.strlist.manipulation.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.strlist.search.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.strmap.constructors.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.strmap.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.strmap.manipulation.html +%%PORTDOCS%%share/doc/ptypes/doc/lists.strmap.search.html +%%PORTDOCS%%share/doc/ptypes/doc/portability.html +%%PORTDOCS%%share/doc/ptypes/doc/ref.html +%%PORTDOCS%%share/doc/ptypes/doc/ref.tmpl.html +%%PORTDOCS%%share/doc/ptypes/doc/source-forge-logo.png +%%PORTDOCS%%share/doc/ptypes/doc/streams.errors.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.examples.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.infile.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.inmem.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.instm.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.iobase.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.logfile.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.md5.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.namedpipe.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.npserver.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.outfile.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.outmem.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.outstm.html +%%PORTDOCS%%share/doc/ptypes/doc/streams.stdio.html +%%PORTDOCS%%share/doc/ptypes/doc/string.constructors.html +%%PORTDOCS%%share/doc/ptypes/doc/string.conversion.html +%%PORTDOCS%%share/doc/ptypes/doc/string.html +%%PORTDOCS%%share/doc/ptypes/doc/string.manipulation.html +%%PORTDOCS%%share/doc/ptypes/doc/string.operators.html +%%PORTDOCS%%share/doc/ptypes/doc/string.typecasts.html +%%PORTDOCS%%share/doc/ptypes/doc/styles.css +%%PORTDOCS%%share/doc/ptypes/doc/time.calendar.html +%%PORTDOCS%%share/doc/ptypes/doc/time.datetime.html +%%PORTDOCS%%share/doc/ptypes/doc/time.html +%%PORTDOCS%%share/doc/ptypes/doc/time.time.html +%%PORTDOCS%%share/doc/ptypes/doc/title-1.8.png +%%PORTDOCS%%share/doc/ptypes/doc/unit.html +%%PORTDOCS%%share/doc/ptypes/doc/unknown.html +%%PORTDOCS%%share/doc/ptypes/doc/variant.arrays.html +%%PORTDOCS%%share/doc/ptypes/doc/variant.html +%%PORTDOCS%%share/doc/ptypes/doc/variant.objrefs.html +%%PORTDOCS%%share/doc/ptypes/doc/variant.typecasts.html +%%PORTDOCS%%share/doc/ptypes/doc/variant.utils.html +%%PORTDOCS%%share/doc/ptypes/doc/wshare.html +%%PORTDOCS%%share/doc/ptypes/index.html share/examples/ptypes/wshare/Makefile.Darwin share/examples/ptypes/wshare/Makefile.FreeBSD share/examples/ptypes/wshare/Makefile.Linux @@ -101,6 +104,8 @@ share/examples/ptypes/wshare/mimetable.awk share/examples/ptypes/wshare/mimetable.cxx share/examples/ptypes/wshare/mod_about.cxx +share/examples/ptypes/wshare/mod_file.cxx +share/examples/ptypes/wshare/mod_wstat.cxx share/examples/ptypes/wshare/modules.cxx share/examples/ptypes/wshare/modules.h share/examples/ptypes/wshare/request.cxx @@ -116,6 +121,6 @@ share/examples/ptypes/wshare/wshare.mak @dirrm share/examples/ptypes/wshare @dirrm share/examples/ptypes -@dirrm share/doc/ptypes/doc -@dirrm share/doc/ptypes +%%PORTDOCS%%@dirrm share/doc/ptypes/doc +%%PORTDOCS%%@dirrm share/doc/ptypes @dirrm include/ptypes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19UyNu-0000fQ-00>