aboutsummaryrefslogtreecommitdiffstats
path: root/net/pear-Net_Server
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-29 03:18:26 +0800
committerpav <pav@FreeBSD.org>2004-10-29 03:18:26 +0800
commita959fb16e60b7c578afb22e903e8663c8c569fa7 (patch)
tree7a18203904cd4e633cab2c79334d193e6649bc55 /net/pear-Net_Server
parentea597c9aa5b6b08f8fb826608b7d83bf0e5daa3e (diff)
downloadfreebsd-ports-gnome-a959fb16e60b7c578afb22e903e8663c8c569fa7.tar.gz
freebsd-ports-gnome-a959fb16e60b7c578afb22e903e8663c8c569fa7.tar.zst
freebsd-ports-gnome-a959fb16e60b7c578afb22e903e8663c8c569fa7.zip
Add pear-Net_Server, a generic server class based on ext/sockets,
used to develop any kind of server. PR: ports/73064 Submitted by: Gerrit Beine <tux@pinguru.net>
Diffstat (limited to 'net/pear-Net_Server')
-rw-r--r--net/pear-Net_Server/Makefile28
-rw-r--r--net/pear-Net_Server/distinfo2
-rw-r--r--net/pear-Net_Server/files/patch-package.xml11
-rw-r--r--net/pear-Net_Server/pkg-descr3
4 files changed, 44 insertions, 0 deletions
diff --git a/net/pear-Net_Server/Makefile b/net/pear-Net_Server/Makefile
new file mode 100644
index 000000000000..2d7f88da7e1b
--- /dev/null
+++ b/net/pear-Net_Server/Makefile
@@ -0,0 +1,28 @@
+# Ports collection makefile for: pear-Net_Server
+# Date created: 23 Octobre 2004
+# Whom: Gerrit Beine (<tux@pinguru.net>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net_Server
+PORTVERSION= 0.12.0
+CATEGORIES= net pear
+
+MAINTAINER= tux@pinguru.net
+COMMENT= Generic server class
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PHP= sockets pcntl
+CATEGORY= Net
+FILES= Server.php \
+ Server/Driver.php Server/Handler.php \
+ Server/Driver/Fork.php Server/Driver/Sequential.php
+DOCS= todo.txt
+EXAMPLES= talkback.php
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/net/pear-Net_Server/distinfo b/net/pear-Net_Server/distinfo
new file mode 100644
index 000000000000..8db978ad03b1
--- /dev/null
+++ b/net/pear-Net_Server/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/Net_Server-0.12.0.tgz) = f73b4f437ab48ae089db4e92d4d92709
+SIZE (PEAR/Net_Server-0.12.0.tgz) = 9226
diff --git a/net/pear-Net_Server/files/patch-package.xml b/net/pear-Net_Server/files/patch-package.xml
new file mode 100644
index 000000000000..23d8a95f9717
--- /dev/null
+++ b/net/pear-Net_Server/files/patch-package.xml
@@ -0,0 +1,11 @@
+--- ../package.xml.orig Sat Aug 21 23:43:15 2004
++++ ../package.xml Sun Oct 24 09:36:17 2004
+@@ -30,8 +30,6 @@
+ <deps>
+ <dep type="php" rel="ge" version="4.2.0" optional="no"/>
+ <dep type="pkg" rel="has" optional="no">PEAR</dep>
+- <dep type="ext" rel="has" optional="no">sockets</dep>
+- <dep type="ext" rel="has" optional="yes">pcntl</dep>
+ </deps>
+ <filelist>
+ <file role="doc" baseinstalldir="Net" name="docs\todo.txt"/>
diff --git a/net/pear-Net_Server/pkg-descr b/net/pear-Net_Server/pkg-descr
new file mode 100644
index 000000000000..96aa51c9a85c
--- /dev/null
+++ b/net/pear-Net_Server/pkg-descr
@@ -0,0 +1,3 @@
+Generic server class based on ext/sockets, used to develop any kind of server.
+
+WWW: http://pear.php.net/package/Net_Server/