aboutsummaryrefslogtreecommitdiff
path: root/devel/libshbuf
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-06 14:47:14 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-06 14:47:14 +0000
commit636e027b6ee2d394995925754805b626b772f71b (patch)
tree7fcdfcf422969f2567aa82ffde7f5f88942cd307 /devel/libshbuf
parent53688aac0f2c2d1384ccc847c47fee7c818a11ac (diff)
downloadports-636e027b6ee2d394995925754805b626b772f71b.tar.gz
ports-636e027b6ee2d394995925754805b626b772f71b.zip
Notes
Diffstat (limited to 'devel/libshbuf')
-rw-r--r--devel/libshbuf/Makefile24
-rw-r--r--devel/libshbuf/distinfo1
-rw-r--r--devel/libshbuf/files/patch-internal.h11
-rw-r--r--devel/libshbuf/files/patch-shbuf.c10
-rw-r--r--devel/libshbuf/pkg-comment1
-rw-r--r--devel/libshbuf/pkg-descr14
-rw-r--r--devel/libshbuf/pkg-plist7
7 files changed, 68 insertions, 0 deletions
diff --git a/devel/libshbuf/Makefile b/devel/libshbuf/Makefile
new file mode 100644
index 000000000000..83c092661a3b
--- /dev/null
+++ b/devel/libshbuf/Makefile
@@ -0,0 +1,24 @@
+# ex:ts=8
+# Ports collection makefile for: libshbuf
+# Date created: May 6, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= libshbuf
+PORTVERSION= 0.0.2
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+
+post-patch:
+ @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/devel/libshbuf/distinfo b/devel/libshbuf/distinfo
new file mode 100644
index 000000000000..4161a949c0f3
--- /dev/null
+++ b/devel/libshbuf/distinfo
@@ -0,0 +1 @@
+MD5 (libshbuf-0.0.2.tar.gz) = 1da7981daeb36e9b7ac968eb1f8266fd
diff --git a/devel/libshbuf/files/patch-internal.h b/devel/libshbuf/files/patch-internal.h
new file mode 100644
index 000000000000..d734ac900137
--- /dev/null
+++ b/devel/libshbuf/files/patch-internal.h
@@ -0,0 +1,11 @@
+--- src/internal.h.orig Mon May 6 22:38:42 2002
++++ src/internal.h Mon May 6 22:40:33 2002
+@@ -72,7 +72,7 @@
+ pthread_t thread;
+ };
+
+-#if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
++#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) || defined(__FreeBSD__))
+ /* union semun is defined by including <sys/sem.h> */
+ #else
+ /* according to X/OPEN we have to define it ourselves */
diff --git a/devel/libshbuf/files/patch-shbuf.c b/devel/libshbuf/files/patch-shbuf.c
new file mode 100644
index 000000000000..56cb781c214a
--- /dev/null
+++ b/devel/libshbuf/files/patch-shbuf.c
@@ -0,0 +1,10 @@
+--- src/shbuf.c.orig Mon May 6 22:37:36 2002
++++ src/shbuf.c Mon May 6 22:38:02 2002
+@@ -24,6 +24,7 @@
+ #include <signal.h>
+ #include <errno.h>
+ #include <stdio.h>
++#include <string.h>
+
+ #include "shbuf.h"
+ #include "internal.h"
diff --git a/devel/libshbuf/pkg-comment b/devel/libshbuf/pkg-comment
new file mode 100644
index 000000000000..8b066a622f4a
--- /dev/null
+++ b/devel/libshbuf/pkg-comment
@@ -0,0 +1 @@
+Library for Shared Buffer IPC
diff --git a/devel/libshbuf/pkg-descr b/devel/libshbuf/pkg-descr
new file mode 100644
index 000000000000..7e67b38d76c2
--- /dev/null
+++ b/devel/libshbuf/pkg-descr
@@ -0,0 +1,14 @@
+libshbuf implements a new kind of IPC: the "shared buffer", a faster, more
+flexible replacement for standard Unix FIFOs. It offers the following
+advantages:
+ - Normally better latency and throughput
+ - Full access to the buffer at any time
+ - Connecting processes need not to be children of each other
+ - Arbitrary buffer lengths
+ - Memory mapped
+ - "Backlog"
+
+The implementation is based on SysV shared memory, semaphores and message
+queues. It makes use of POSIX pthreads.
+
+WWW: http://libshbuf.sourceforge.net/
diff --git a/devel/libshbuf/pkg-plist b/devel/libshbuf/pkg-plist
new file mode 100644
index 000000000000..24b5c1cc9886
--- /dev/null
+++ b/devel/libshbuf/pkg-plist
@@ -0,0 +1,7 @@
+include/libshbuf/shbuf.h
+include/libshbuf/shbuferr.h
+@dirrm include/libshbuf
+lib/libshbuf.a
+lib/libshbuf.la
+lib/libshbuf.so
+lib/libshbuf.so.1