aboutsummaryrefslogtreecommitdiff
path: root/devel/libbobcat
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2013-11-28 07:17:03 +0000
committerGabor Pali <pgj@FreeBSD.org>2013-11-28 07:17:03 +0000
commit21071c5ef5c6e9eca384ee3472c34ced08225afb (patch)
tree1aa4b2a29b63d23a4e7b11a3b2a22143fa9fa678 /devel/libbobcat
parent1c0c48a09fabbda15ad44bbddb65dfeb215bb0f5 (diff)
downloadports-21071c5ef5c6e9eca384ee3472c34ced08225afb.tar.gz
ports-21071c5ef5c6e9eca384ee3472c34ced08225afb.zip
- Update to 3.18.01
- Add support for staging, use shebangfix, switch to GCC 4.7 - Give up maintainership
Notes
Notes: svn path=/head/; revision=335079
Diffstat (limited to 'devel/libbobcat')
-rw-r--r--devel/libbobcat/Makefile60
-rw-r--r--devel/libbobcat/distinfo4
-rw-r--r--devel/libbobcat/files/patch-arg-arg12
-rw-r--r--devel/libbobcat/files/patch-datetime-datetime13
-rw-r--r--devel/libbobcat/files/patch-diffiehellman-diffiehellman13
-rw-r--r--devel/libbobcat/files/patch-exception-errnodescr.cc20
-rw-r--r--devel/libbobcat/files/patch-glob-glob1.cc12
-rw-r--r--devel/libbobcat/files/patch-hostname-hostname13
-rw-r--r--devel/libbobcat/files/patch-hostname-hostname.ih12
-rw-r--r--devel/libbobcat/files/patch-icmake-man23
-rw-r--r--devel/libbobcat/files/patch-ifilterstreambuf-ifilterstreambuf13
-rw-r--r--devel/libbobcat/files/patch-inetaddress-inetaddress14
-rw-r--r--devel/libbobcat/files/patch-inetaddress-inetaddress.ih12
-rw-r--r--devel/libbobcat/files/patch-localsocketbase-localsocketbase13
-rw-r--r--devel/libbobcat/files/patch-localsocketbase-localsocketbase.ih12
-rw-r--r--devel/libbobcat/files/patch-ofdstreambuf-ofdstreambuf13
-rw-r--r--devel/libbobcat/files/patch-process-process13
-rw-r--r--devel/libbobcat/files/patch-process-process.ih12
-rw-r--r--devel/libbobcat/files/patch-sharedmemory-sharedmemory13
-rw-r--r--devel/libbobcat/files/patch-sharedstreambuf-sharedstreambuf13
-rw-r--r--devel/libbobcat/files/patch-signal-signal13
-rw-r--r--devel/libbobcat/files/patch-socketbase-socketbase13
-rw-r--r--devel/libbobcat/files/patch-stat-stat13
-rw-r--r--devel/libbobcat/files/patch-syslogbuf-syslogbuf14
-rw-r--r--devel/libbobcat/files/patch-syslogstream-syslogstream14
-rw-r--r--devel/libbobcat/pkg-plist120
26 files changed, 384 insertions, 113 deletions
diff --git a/devel/libbobcat/Makefile b/devel/libbobcat/Makefile
index 4d5886125d15..661ce87f7684 100644
--- a/devel/libbobcat/Makefile
+++ b/devel/libbobcat/Makefile
@@ -1,14 +1,13 @@
# $FreeBSD$
PORTNAME= libbobcat
-PORTVERSION= 3.11.01
-PORTREVISION= 1
+PORTVERSION= 3.18.01
CATEGORIES= devel
MASTER_SITES= SF/bobcat/bobcat/${PORTVERSION}
DISTNAME= bobcat_${PORTVERSION}
EXTRACT_SUFX= .orig.tar.gz
-MAINTAINER= pgj@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Brokken's Own Base Classes And Templates
LICENSE= GPLv3
@@ -18,46 +17,28 @@ BUILD_DEPENDS= icmake:${PORTSDIR}/devel/icmake \
USE_XORG= x11
-MANCOMPRESSED= yes
-MAN3= a2x.3bobcat align.3bobcat arg.3bobcat argconfig.3bobcat \
- bigint.3bobcat binarysearch.3bobcat \
- binops.3bobcat cgi.3bobcat cidr.3bobcat clientsocket.3bobcat \
- cmdfinder.3bobcat cmdfinderbase.3bobcat configfile.3bobcat \
- datetime.3bobcat decryptbuf.3bobcat digestbuf.3bobcat \
- encryptbuf.3bobcat errno.3bobcat fork.3bobcat fswap.3bobcat \
- gethostent.3bobcat glob.3bobcat hash.3bobcat hmacbuf.3bobcat \
- hostent.3bobcat hostname.3bobcat ifdstream.3bobcat \
- ifdstreambuf.3bobcat indent.3bobcat inetaddress.3bobcat \
- iostream.3bobcat iostreambuf.3bobcat irandstream.3bobcat \
- level.3bobcat lm.3bobcat localclientsocket.3bobcat \
- localserversocket.3bobcat localsocketbase.3bobcat log.3bobcat \
- logbuffer.3bobcat mailheaders.3bobcat manipulators.3bobcat \
- mbuf.3bobcat milter.3bobcat mlm.3bobcat \
- mstream.3bobcat multistreambuf.3bobcat ofdstream.3bobcat \
- ofdstreambuf.3bobcat ofilterstreambuf.3bobcat \
- ofoldstream.3bobcat ofoldstreambuf.3bobcat \
- ohexstreambuf.3bobcat onekey.3bobcat pattern.3bobcat \
- pipe.3bobcat process.3bobcat ptriter.3bobcat randbuffer.3bobcat \
- ranger.3bobcat readlinebuf.3bobcat readlinehistory.3bobcat \
- readlinestream.3bobcat redirector.3bobcat \
- repeat.3bobcat selector.3bobcat serversocket.3bobcat \
- signal.3bobcat socketbase.3bobcat stat.3bobcat string.3bobcat \
- stringline.3bobcat syslogbuf.3bobcat syslogstream.3bobcat \
- table.3bobcat tablebuf.3bobcat tablelines.3bobcat \
- tablesupport.3bobcat tempstream.3bobcat typetrait.3bobcat \
- user.3bobcat x2a.3bobcat xpointer.3bobcat
-MAN7= bobcat.7
-
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= *
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
-USE_GCC= 4.6
+USE_GCC= 4.7
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/bobcat-${PORTVERSION}
-NO_STAGE= yes
+USES= shebangfix
+
+SHEBANG_LANG= icmake
+icmake_OLD_CMD= /usr/bin/icmake
+icmake_CMD= ${LOCALBASE}/bin/icmake
+
+SHEBANG_FILES= build \
+ documentation/examples/sockets/client/build \
+ documentation/examples/sockets/client2/build \
+ documentation/examples/sockets/forkserver/build \
+ documentation/examples/sockets/forkserver2/build \
+ documentation/examples/sockets/server/build
+
.include <bsd.port.options.mk>
post-patch:
@@ -67,11 +48,10 @@ post-patch:
s|"/share/man"|"/man"| ; \
s|"-d"|"-Pp"| ; \
s|#define MANHTML|| ; \
- s|g++|g++46| ; \
- s|gcc|gcc46|' \
+ s|g++|g++47| ; \
+ s|gcc|gcc47|' \
${WRKSRC}/INSTALL.im
- @${REINPLACE_CMD} -e 's|#!/usr/bin/icmake|#!${LOCALBASE}/bin/icmake| ; \
- s|"-isystem tmp -Wall -O3"|"-isystem tmp ${LOCALBASE}/include -Wall ${CXXFLAGS}"|' \
+ @${REINPLACE_CMD} -e 's|"-isystem tmp -Wall -O3"|"-isystem tmp ${LOCALBASE}/include -Wall ${CXXFLAGS}"|' \
${WRKSRC}/build
@${REINPLACE_CMD} -e 's|"cp -r |"cp -R |' \
${WRKSRC}/icmake/install
@@ -88,6 +68,6 @@ do-build:
@cd ${WRKSRC} && ./build libraries all strip && ./build man
do-install:
- @cd ${WRKSRC} && ./build install
+ @cd ${WRKSRC} && ./build install ${STAGEDIR} ${STAGEDIR}
.include <bsd.port.mk>
diff --git a/devel/libbobcat/distinfo b/devel/libbobcat/distinfo
index 019572836f2b..c8d19dff142f 100644
--- a/devel/libbobcat/distinfo
+++ b/devel/libbobcat/distinfo
@@ -1,2 +1,2 @@
-SHA256 (bobcat_3.11.01.orig.tar.gz) = aba495ff6837761d0a6c8a602a07fcad9782ff627117a0a0f1d0d1d0e5889947
-SIZE (bobcat_3.11.01.orig.tar.gz) = 875674
+SHA256 (bobcat_3.18.01.orig.tar.gz) = c4986aa865937c496de66186652ed37d474ab23407913e09884dae450fea2ffb
+SIZE (bobcat_3.18.01.orig.tar.gz) = 995892
diff --git a/devel/libbobcat/files/patch-arg-arg b/devel/libbobcat/files/patch-arg-arg
new file mode 100644
index 000000000000..2c3da13c9721
--- /dev/null
+++ b/devel/libbobcat/files/patch-arg-arg
@@ -0,0 +1,12 @@
+--- arg/arg.orig 2013-11-13 11:44:52.000000000 +0100
++++ arg/arg 2013-11-27 16:37:01.000000000 +0100
+@@ -5,6 +5,9 @@
+ Singleton Class built around getopt() and getopt_long() (3)
+ */
+
++#ifdef __FreeBSD__
++#include <errno.h>
++#endif
+
+ #include <string>
+ #include <vector>
diff --git a/devel/libbobcat/files/patch-datetime-datetime b/devel/libbobcat/files/patch-datetime-datetime
new file mode 100644
index 000000000000..2d744bc876f1
--- /dev/null
+++ b/devel/libbobcat/files/patch-datetime-datetime
@@ -0,0 +1,13 @@
+--- datetime/datetime.orig 2013-11-13 11:44:52.000000000 +0100
++++ datetime/datetime 2013-11-27 16:22:41.000000000 +0100
+@@ -1,6 +1,10 @@
+ #ifndef INCLUDED_BOBCAT_DATETIME_
+ #define INCLUDED_BOBCAT_DATETIME_
+
++#ifdef __FreeBSD__
++#include <errno.h>
++#endif
++
+ #include <ctime>
+ #include <iosfwd>
+
diff --git a/devel/libbobcat/files/patch-diffiehellman-diffiehellman b/devel/libbobcat/files/patch-diffiehellman-diffiehellman
new file mode 100644
index 000000000000..713b90ac45f3
--- /dev/null
+++ b/devel/libbobcat/files/patch-diffiehellman-diffiehellman
@@ -0,0 +1,13 @@
+--- diffiehellman/diffiehellman.orig 2013-10-02 12:36:00.000000000 +0200
++++ diffiehellman/diffiehellman 2013-11-27 14:08:18.000000000 +0100
+@@ -1,6 +1,10 @@
+ #ifndef INCLUDED_BOBCAT_DIFFIEHELLMAN_
+ #define INCLUDED_BOBCAT_DIFFIEHELLMAN_
+
++#ifdef __FreeBSD__
++#include <sys/types.h>
++#endif
++
+ #include <memory>
+ #include <iosfwd>
+
diff --git a/devel/libbobcat/files/patch-exception-errnodescr.cc b/devel/libbobcat/files/patch-exception-errnodescr.cc
new file mode 100644
index 000000000000..f60dcf563f14
--- /dev/null
+++ b/devel/libbobcat/files/patch-exception-errnodescr.cc
@@ -0,0 +1,20 @@
+--- exception/errnodescr.cc.orig 2013-10-02 12:36:00.000000000 +0200
++++ exception/errnodescr.cc 2013-11-27 15:02:26.000000000 +0100
+@@ -7,16 +7,12 @@
+ {
+ if (errno != 0)
+ {
+- char *buffer = new char[Exception::STRERROR_BUFSIZE];
+-
+- if (char *cp = strerror_r(errno, buffer, Exception::STRERROR_BUFSIZE))
++ if (char *cp = strerror(errno))
+ out << cp;
+ else
+ {
+ out << "internal error: strerror_r failed with errno = " << errno;
+ }
+-
+- delete[] buffer;
+ }
+
+ return out;
diff --git a/devel/libbobcat/files/patch-glob-glob1.cc b/devel/libbobcat/files/patch-glob-glob1.cc
deleted file mode 100644
index 6a05f1f1b35a..000000000000
--- a/devel/libbobcat/files/patch-glob-glob1.cc
+++ /dev/null
@@ -1,12 +0,0 @@
---- glob/glob1.cc.orig 2012-10-27 10:28:31.000000000 +0200
-+++ glob/glob1.cc 2012-12-02 01:08:36.000000000 +0100
-@@ -1,6 +1,6 @@
- #include "glob.ih"
-
- Glob::Glob(string const &pattern, int flags, Dots dots)
--:
-- Glob(ANY, pattern, flags, dots)
--{}
-+{
-+ Glob(ANY, pattern, flags, dots);
-+}
diff --git a/devel/libbobcat/files/patch-hostname-hostname b/devel/libbobcat/files/patch-hostname-hostname
new file mode 100644
index 000000000000..ba7ff8aac328
--- /dev/null
+++ b/devel/libbobcat/files/patch-hostname-hostname
@@ -0,0 +1,13 @@
+--- hostname/hostname.orig 2013-11-13 11:45:02.000000000 +0100
++++ hostname/hostname 2013-11-27 16:50:05.000000000 +0100
+@@ -1,6 +1,10 @@
+ #ifndef INCLUDED_BOBCAT_HOSTNAME_
+ #define INCLUDED_BOBCAT_HOSTNAME_
+
++#ifdef __FreeBSD__
++#include <sys/socket.h>
++#endif
++
+ #include <bobcat/hostent>
+
+ namespace FBB
diff --git a/devel/libbobcat/files/patch-hostname-hostname.ih b/devel/libbobcat/files/patch-hostname-hostname.ih
deleted file mode 100644
index 05e9a911bf27..000000000000
--- a/devel/libbobcat/files/patch-hostname-hostname.ih
+++ /dev/null
@@ -1,12 +0,0 @@
---- hostname/hostname.ih.orig 2007-02-13 13:29:39.000000000 +0100
-+++ hostname/hostname.ih 2009-03-10 05:44:08.000000000 +0100
-@@ -3,6 +3,9 @@
- #include <bobcat/inetaddress>
- #include <bobcat/gethostent>
- #include <netdb.h>
-+#ifdef __FreeBSD__
-+#include <sys/socket.h>
-+#endif
-
- using namespace std;
- using namespace FBB;
diff --git a/devel/libbobcat/files/patch-icmake-man b/devel/libbobcat/files/patch-icmake-man
index d2e94ad29455..47f2a86e00ed 100644
--- a/devel/libbobcat/files/patch-icmake-man
+++ b/devel/libbobcat/files/patch-icmake-man
@@ -1,5 +1,5 @@
---- icmake/man.orig 2011-05-25 13:00:10.000000000 +0200
-+++ icmake/man 2011-11-14 20:36:27.000000000 +0100
+--- icmake/man.orig 2013-11-13 11:44:52.000000000 +0100
++++ icmake/man 2013-11-27 12:47:25.000000000 +0100
@@ -9,7 +9,10 @@
special(0, 0);
@@ -14,22 +14,23 @@
@@ -35,8 +38,10 @@
- run("yodl2man --no-warnings -r 15000 -o ../../tmp/man/man3/" +
- base + ".3bobcat " + yodl);
+ run("yodl2man --no-warnings -r 3 -o ../../tmp/man/man3/" +
+ base + ".3" LIBRARY " " + yodl);
+#ifdef MANHTML
- run("yodl2html --no-warnings -r 15000 -o ../../tmp/manhtml/" +
- base + ".3.html " + yodl);
+ run("yodl2html --no-warnings -r 3 -o ../../tmp/manhtml/" +
+ base + ".3.html " + yodl);
+#endif
}
}
-@@ -44,8 +49,10 @@
+@@ -44,9 +49,11 @@
{
- run("yodl2man --no-warnings -r 15000 -o ../../tmp/man/man7/bobcat.7 "
- "bobcat.yo");
+ run("yodl2man --no-warnings -r 3 -o ../../tmp/man/man7/"
+ LIBRARY ".7 " LIBRARY ".yo");
+#ifdef MANHTML
- run("yodl2html --no-warnings -r 15000 "
- "-o ../../tmp/manhtml/bobcat.7.html bobcat.yo");
+ run("yodl2html --no-warnings -r 3 "
+ "-o ../../tmp/manhtml/" LIBRARY ".7.html "
+ LIBRARY ".yo");
+#endif
}
diff --git a/devel/libbobcat/files/patch-ifilterstreambuf-ifilterstreambuf b/devel/libbobcat/files/patch-ifilterstreambuf-ifilterstreambuf
new file mode 100644
index 000000000000..666a11a95a25
--- /dev/null
+++ b/devel/libbobcat/files/patch-ifilterstreambuf-ifilterstreambuf
@@ -0,0 +1,13 @@
+--- ifilterstreambuf/ifilterstreambuf.orig 2013-11-13 11:44:52.000000000 +0100
++++ ifilterstreambuf/ifilterstreambuf 2013-11-27 14:52:22.000000000 +0100
+@@ -1,6 +1,10 @@
+ #ifndef INCLUDED_BOBCAT_IFILTERSTREAMBUF_
+ #define INCLUDED_BOBCAT_IFILTERSTREAMBUF_
+
++#ifdef __FreeBSD__
++#include <stdio.h>
++#endif
++
+ #include <streambuf>
+ #include <memory>
+
diff --git a/devel/libbobcat/files/patch-inetaddress-inetaddress b/devel/libbobcat/files/patch-inetaddress-inetaddress
new file mode 100644
index 000000000000..74fc9e5ccb44
--- /dev/null
+++ b/devel/libbobcat/files/patch-inetaddress-inetaddress
@@ -0,0 +1,14 @@
+--- inetaddress/inetaddress.orig 2013-11-13 11:44:52.000000000 +0100
++++ inetaddress/inetaddress 2013-11-27 16:51:01.000000000 +0100
+@@ -1,6 +1,11 @@
+ #ifndef INCLUDED_BOBCAT_INETADDRESS_
+ #define INCLUDED_BOBCAT_INETADDRESS_
+
++#ifdef __FreeBSD__
++#include <sys/types.h>
++#include <sys/socket.h>
++#endif
++
+ #include <netinet/in.h>
+ #include <string>
+
diff --git a/devel/libbobcat/files/patch-inetaddress-inetaddress.ih b/devel/libbobcat/files/patch-inetaddress-inetaddress.ih
deleted file mode 100644
index db4b8c937dab..000000000000
--- a/devel/libbobcat/files/patch-inetaddress-inetaddress.ih
+++ /dev/null
@@ -1,12 +0,0 @@
---- inetaddress/inetaddress.ih.orig 2007-02-13 13:29:39.000000000 +0100
-+++ inetaddress/inetaddress.ih 2009-03-10 05:44:57.000000000 +0100
-@@ -2,6 +2,9 @@
-
- #include <netdb.h>
- #include <bobcat/gethostent>
-+#ifdef __FreeBSD__
-+#include <sys/socket.h>
-+#endif
-
- using namespace std;
- using namespace FBB;
diff --git a/devel/libbobcat/files/patch-localsocketbase-localsocketbase b/devel/libbobcat/files/patch-localsocketbase-localsocketbase
new file mode 100644
index 000000000000..f879c9018829
--- /dev/null
+++ b/devel/libbobcat/files/patch-localsocketbase-localsocketbase
@@ -0,0 +1,13 @@
+--- localsocketbase/localsocketbase.orig 2013-11-13 11:44:52.000000000 +0100
++++ localsocketbase/localsocketbase 2013-11-27 16:51:46.000000000 +0100
+@@ -5,6 +5,10 @@
+ #include <string>
+ #include <sys/socket.h>
+
++#ifdef __FreeBSD__
++#include <string.h>
++#endif
++
+ namespace FBB
+ {
+
diff --git a/devel/libbobcat/files/patch-localsocketbase-localsocketbase.ih b/devel/libbobcat/files/patch-localsocketbase-localsocketbase.ih
deleted file mode 100644
index 2c1fce5703d9..000000000000
--- a/devel/libbobcat/files/patch-localsocketbase-localsocketbase.ih
+++ /dev/null
@@ -1,12 +0,0 @@
---- localsocketbase/localsocketbase.ih.orig 2007-02-13 13:29:39.000000000 +0100
-+++ localsocketbase/localsocketbase.ih 2009-10-05 02:41:02.000000000 +0200
-@@ -1,6 +1,9 @@
- #include "localsocketbase"
-
- #include <netinet/in.h>
-+#ifdef __FreeBSD__
-+#include <string.h>
-+#endif
-
- using namespace std;
- using namespace FBB;
diff --git a/devel/libbobcat/files/patch-ofdstreambuf-ofdstreambuf b/devel/libbobcat/files/patch-ofdstreambuf-ofdstreambuf
new file mode 100644
index 000000000000..e8db2a42b26d
--- /dev/null
+++ b/devel/libbobcat/files/patch-ofdstreambuf-ofdstreambuf
@@ -0,0 +1,13 @@
+--- ofdstreambuf/ofdstreambuf.orig 2013-11-13 11:44:53.000000000 +0100
++++ ofdstreambuf/ofdstreambuf 2013-11-27 14:45:13.000000000 +0100
+@@ -1,6 +1,10 @@
+ #ifndef INCLUDED_BOBCAT_OFDSTREAMBUF_
+ #define INCLUDED_BOBCAT_OFDSTREAMBUF_
+
++#ifdef __FreeBSD__
++#include <stdio.h>
++#endif
++
+ #include <streambuf>
+
+ namespace FBB
diff --git a/devel/libbobcat/files/patch-process-process b/devel/libbobcat/files/patch-process-process
new file mode 100644
index 000000000000..38a0767b8fa4
--- /dev/null
+++ b/devel/libbobcat/files/patch-process-process
@@ -0,0 +1,13 @@
+--- process/process.orig 2013-11-13 11:45:02.000000000 +0100
++++ process/process 2013-11-27 16:52:35.000000000 +0100
+@@ -5,6 +5,10 @@
+ #include <ostream>
+ #include <istream>
+
++#ifdef __FreeBSD__
++#include <signal.h>
++#endif
++
+ #include <bobcat/fork>
+ #include <bobcat/string>
+ #include <bobcat/pipe>
diff --git a/devel/libbobcat/files/patch-process-process.ih b/devel/libbobcat/files/patch-process-process.ih
deleted file mode 100644
index b24ca76420b7..000000000000
--- a/devel/libbobcat/files/patch-process-process.ih
+++ /dev/null
@@ -1,12 +0,0 @@
---- process/process.ih.orig 2008-11-03 16:24:04.000000000 +0100
-+++ process/process.ih 2009-03-10 05:45:35.000000000 +0100
-@@ -6,6 +6,9 @@
- #include <sys/types.h>
- // #include <sys/stat.h>
- #include <sys/wait.h>
-+#ifdef __FreeBSD__
-+#include <signal.h>
-+#endif
-
- #include <bobcat/errno>
- #include <bobcat/redirector>
diff --git a/devel/libbobcat/files/patch-sharedmemory-sharedmemory b/devel/libbobcat/files/patch-sharedmemory-sharedmemory
new file mode 100644
index 000000000000..68fd1433ab04
--- /dev/null
+++ b/devel/libbobcat/files/patch-sharedmemory-sharedmemory
@@ -0,0 +1,13 @@
+--- sharedmemory/sharedmemory.orig 2013-11-22 08:50:45.000000000 +0100
++++ sharedmemory/sharedmemory 2013-11-27 14:38:27.000000000 +0100
+@@ -1,6 +1,10 @@
+ #ifndef INCLUDED_BOBCAT_SHAREDMEMORY_
+ #define INCLUDED_BOBCAT_SHAREDMEMORY_
+
++#ifdef __FreeBSD__
++#include <stdio.h>
++#endif
++
+ #include <ios>
+
+ #include <bobcat/fswap>
diff --git a/devel/libbobcat/files/patch-sharedstreambuf-sharedstreambuf b/devel/libbobcat/files/patch-sharedstreambuf-sharedstreambuf
new file mode 100644
index 000000000000..d4a0e72a63f6
--- /dev/null
+++ b/devel/libbobcat/files/patch-sharedstreambuf-sharedstreambuf
@@ -0,0 +1,13 @@
+--- sharedstreambuf/sharedstreambuf.orig 2013-11-22 08:53:40.000000000 +0100
++++ sharedstreambuf/sharedstreambuf 2013-11-27 14:30:47.000000000 +0100
+@@ -1,6 +1,10 @@
+ #ifndef INCLUDED_BOBCAT_SHAREDSTREAMBUF_
+ #define INCLUDED_BOBCAT_SHAREDSTREAMBUF_
+
++#ifdef __FreeBSD__
++#include <stdio.h>
++#endif
++
+ #include <ios>
+ #include <streambuf>
+
diff --git a/devel/libbobcat/files/patch-signal-signal b/devel/libbobcat/files/patch-signal-signal
new file mode 100644
index 000000000000..4f972a6a64fb
--- /dev/null
+++ b/devel/libbobcat/files/patch-signal-signal
@@ -0,0 +1,13 @@
+--- signal/signal.orig 2013-10-02 12:35:59.000000000 +0200
++++ signal/signal 2013-11-27 14:28:38.000000000 +0100
+@@ -1,6 +1,10 @@
+ #ifndef INCLUDED_SIGNAL_
+ #define INCLUDED_SIGNAL_
+
++#ifdef __FreeBSD__
++#include <stdlib.h>
++#endif
++
+ #include <vector>
+ #include <signal.h>
+
diff --git a/devel/libbobcat/files/patch-socketbase-socketbase b/devel/libbobcat/files/patch-socketbase-socketbase
new file mode 100644
index 000000000000..4d83073ee0b7
--- /dev/null
+++ b/devel/libbobcat/files/patch-socketbase-socketbase
@@ -0,0 +1,13 @@
+--- socketbase/socketbase.orig 2013-11-13 11:44:53.000000000 +0100
++++ socketbase/socketbase 2013-11-27 14:27:08.000000000 +0100
+@@ -1,6 +1,10 @@
+ #ifndef INCLUDED_BOBCAT_SOCKETBASE_
+ #define INCLUDED_BOBCAT_SOCKETBASE_
+
++#ifdef __FreeBSD__
++#include <sys/types.h>
++#endif
++
+ #include <string>
+ #include <sys/socket.h>
+
diff --git a/devel/libbobcat/files/patch-stat-stat b/devel/libbobcat/files/patch-stat-stat
new file mode 100644
index 000000000000..2d9ba0c3e841
--- /dev/null
+++ b/devel/libbobcat/files/patch-stat-stat
@@ -0,0 +1,13 @@
+--- stat/stat.orig 2013-11-13 11:44:53.000000000 +0100
++++ stat/stat 2013-11-27 14:25:52.000000000 +0100
+@@ -6,6 +6,10 @@
+ #include <unistd.h>
+ #include <string>
+
++#ifdef __FreeBSD__
++#include <errno.h>
++#endif
++
+ #include <bobcat/datetime>
+ #include <bobcat/gs>
+
diff --git a/devel/libbobcat/files/patch-syslogbuf-syslogbuf b/devel/libbobcat/files/patch-syslogbuf-syslogbuf
new file mode 100644
index 000000000000..ace0a11c6414
--- /dev/null
+++ b/devel/libbobcat/files/patch-syslogbuf-syslogbuf
@@ -0,0 +1,14 @@
+--- syslogbuf/syslogbuf.orig 2013-11-13 11:45:02.000000000 +0100
++++ syslogbuf/syslogbuf 2013-11-27 14:19:23.000000000 +0100
+@@ -90,6 +90,11 @@
+ #include <syslog.h>
+ #include <streambuf>
+ #include <string>
++
++#ifdef __FreeBSD__
++#include <stdio.h>
++#endif
++
+
+ namespace FBB
+ {
diff --git a/devel/libbobcat/files/patch-syslogstream-syslogstream b/devel/libbobcat/files/patch-syslogstream-syslogstream
new file mode 100644
index 000000000000..4dfed91bfe1b
--- /dev/null
+++ b/devel/libbobcat/files/patch-syslogstream-syslogstream
@@ -0,0 +1,14 @@
+--- syslogstream/syslogstream.orig 2013-11-13 11:44:53.000000000 +0100
++++ syslogstream/syslogstream 2013-11-27 14:17:49.000000000 +0100
+@@ -88,6 +88,11 @@
+
+ #include <ostream>
+ #include <syslog.h>
++
++#ifdef __FreeBSD__
++#include <errno.h>
++#endif
++
+
+ namespace FBB
+ {
diff --git a/devel/libbobcat/pkg-plist b/devel/libbobcat/pkg-plist
index 9ff6cd1b6315..62ffe19b6b49 100644
--- a/devel/libbobcat/pkg-plist
+++ b/devel/libbobcat/pkg-plist
@@ -4,6 +4,7 @@ include/bobcat/align
include/bobcat/arg
include/bobcat/argconfig
include/bobcat/autoptr
+include/bobcat/base64streambufbase
include/bobcat/bigint
include/bobcat/binarysearch
include/bobcat/binops
@@ -15,9 +16,12 @@ include/bobcat/cmdfinderbase
include/bobcat/configfile
include/bobcat/datetime
include/bobcat/decryptbuf
+include/bobcat/diffiehellman
include/bobcat/digestbuf
include/bobcat/encryptbuf
include/bobcat/errno
+include/bobcat/exception
+include/bobcat/fbb
include/bobcat/fnwrap
include/bobcat/foreach
include/bobcat/fork
@@ -29,13 +33,19 @@ include/bobcat/hash
include/bobcat/hmacbuf
include/bobcat/hostent
include/bobcat/hostname
+include/bobcat/ibase64stream
+include/bobcat/ibase64streambuf
include/bobcat/ifdstream
include/bobcat/ifdstreambuf
+include/bobcat/ifilterstreambuf
include/bobcat/indent
include/bobcat/inetaddress
include/bobcat/iostream
include/bobcat/iostreambuf
include/bobcat/irandstream
+include/bobcat/isharedstream
+include/bobcat/isymcryptstream
+include/bobcat/isymcryptstreambuf
include/bobcat/iuo
include/bobcat/lc
include/bobcat/level
@@ -57,8 +67,10 @@ include/bobcat/ofoldstream
include/bobcat/ofoldstreambuf
include/bobcat/ohexstreambuf
include/bobcat/onekey
+include/bobcat/osharedstream
include/bobcat/pattern
include/bobcat/pipe
+include/bobcat/primefactors
include/bobcat/process
include/bobcat/ptriter
include/bobcat/randbuffer
@@ -71,11 +83,19 @@ include/bobcat/refcount
include/bobcat/repeat
include/bobcat/selector
include/bobcat/serversocket
+include/bobcat/sharedblock
+include/bobcat/sharedmemory
+include/bobcat/sharedmutex
+include/bobcat/sharedpos
+include/bobcat/sharedsegment
+include/bobcat/sharedstream
+include/bobcat/sharedstreambuf
include/bobcat/signal
include/bobcat/socketbase
include/bobcat/stat
include/bobcat/string
include/bobcat/stringline
+include/bobcat/symcryptstreambufbase
include/bobcat/syslogbuf
include/bobcat/syslogstream
include/bobcat/table
@@ -92,4 +112,104 @@ lib/libbobcat.a
lib/libbobcat.so
lib/libbobcat.so.%%PORTVERSION%%
lib/libbobcat.so.3
+man/man3/a2x.3bobcat.gz
+man/man3/align.3bobcat.gz
+man/man3/arg.3bobcat.gz
+man/man3/argconfig.3bobcat.gz
+man/man3/bigint.3bobcat.gz
+man/man3/binarysearch.3bobcat.gz
+man/man3/binops.3bobcat.gz
+man/man3/cgi.3bobcat.gz
+man/man3/cidr.3bobcat.gz
+man/man3/clientsocket.3bobcat.gz
+man/man3/cmdfinder.3bobcat.gz
+man/man3/cmdfinderbase.3bobcat.gz
+man/man3/configfile.3bobcat.gz
+man/man3/datetime.3bobcat.gz
+man/man3/decryptbuf.3bobcat.gz
+man/man3/diffiehellman.3bobcat.gz
+man/man3/digestbuf.3bobcat.gz
+man/man3/encryptbuf.3bobcat.gz
+man/man3/exception.3bobcat.gz
+man/man3/fork.3bobcat.gz
+man/man3/fswap.3bobcat.gz
+man/man3/gethostent.3bobcat.gz
+man/man3/glob.3bobcat.gz
+man/man3/hash.3bobcat.gz
+man/man3/hmacbuf.3bobcat.gz
+man/man3/hostent.3bobcat.gz
+man/man3/hostname.3bobcat.gz
+man/man3/ibase64stream.3bobcat.gz
+man/man3/ibase64streambuf.3bobcat.gz
+man/man3/ifdstream.3bobcat.gz
+man/man3/ifdstreambuf.3bobcat.gz
+man/man3/ifilterstreambuf.3bobcat.gz
+man/man3/indent.3bobcat.gz
+man/man3/inetaddress.3bobcat.gz
+man/man3/iostream.3bobcat.gz
+man/man3/iostreambuf.3bobcat.gz
+man/man3/irandstream.3bobcat.gz
+man/man3/isharedstream.3bobcat.gz
+man/man3/isymcryptstream.3bobcat.gz
+man/man3/isymcryptstreambuf.3bobcat.gz
+man/man3/level.3bobcat.gz
+man/man3/lm.3bobcat.gz
+man/man3/localclientsocket.3bobcat.gz
+man/man3/localserversocket.3bobcat.gz
+man/man3/localsocketbase.3bobcat.gz
+man/man3/log.3bobcat.gz
+man/man3/logbuffer.3bobcat.gz
+man/man3/mailheaders.3bobcat.gz
+man/man3/manipulators.3bobcat.gz
+man/man3/mbuf.3bobcat.gz
+man/man3/milter.3bobcat.gz
+man/man3/mlm.3bobcat.gz
+man/man3/mstream.3bobcat.gz
+man/man3/multistreambuf.3bobcat.gz
+man/man3/ofdstream.3bobcat.gz
+man/man3/ofdstreambuf.3bobcat.gz
+man/man3/ofilterstreambuf.3bobcat.gz
+man/man3/ofoldstream.3bobcat.gz
+man/man3/ofoldstreambuf.3bobcat.gz
+man/man3/ohexstreambuf.3bobcat.gz
+man/man3/onekey.3bobcat.gz
+man/man3/osharedstream.3bobcat.gz
+man/man3/pattern.3bobcat.gz
+man/man3/pipe.3bobcat.gz
+man/man3/primefactors.3bobcat.gz
+man/man3/process.3bobcat.gz
+man/man3/ptriter.3bobcat.gz
+man/man3/randbuffer.3bobcat.gz
+man/man3/ranger.3bobcat.gz
+man/man3/readlinebuf.3bobcat.gz
+man/man3/readlinehistory.3bobcat.gz
+man/man3/readlinestream.3bobcat.gz
+man/man3/redirector.3bobcat.gz
+man/man3/repeat.3bobcat.gz
+man/man3/selector.3bobcat.gz
+man/man3/serversocket.3bobcat.gz
+man/man3/sharedblock.3bobcat.gz
+man/man3/sharedmemory.3bobcat.gz
+man/man3/sharedmutex.3bobcat.gz
+man/man3/sharedpos.3bobcat.gz
+man/man3/sharedsegment.3bobcat.gz
+man/man3/sharedstream.3bobcat.gz
+man/man3/sharedstreambuf.3bobcat.gz
+man/man3/signal.3bobcat.gz
+man/man3/socketbase.3bobcat.gz
+man/man3/stat.3bobcat.gz
+man/man3/string.3bobcat.gz
+man/man3/stringline.3bobcat.gz
+man/man3/syslogbuf.3bobcat.gz
+man/man3/syslogstream.3bobcat.gz
+man/man3/table.3bobcat.gz
+man/man3/tablebuf.3bobcat.gz
+man/man3/tablelines.3bobcat.gz
+man/man3/tablesupport.3bobcat.gz
+man/man3/tempstream.3bobcat.gz
+man/man3/typetrait.3bobcat.gz
+man/man3/user.3bobcat.gz
+man/man3/x2a.3bobcat.gz
+man/man3/xpointer.3bobcat.gz
+man/man7/bobcat.7.gz
@dirrm include/bobcat