pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/pear-Net_Socket Add pear-Net_Socket 1.0.1 - PHP cl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/deefad6bb231
branches:  trunk
changeset: 482704:deefad6bb231
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Mon Nov 01 21:36:44 2004 +0000

description:
Add pear-Net_Socket 1.0.1 - PHP classes to provide Network Socket Interface.
This comes bundled in 4.x, so arrange for this to be built only with PHP 5.x.

diffstat:

 net/pear-Net_Socket/DESCR         |   2 ++
 net/pear-Net_Socket/Makefile      |  17 +++++++++++++++++
 net/pear-Net_Socket/PLIST         |   1 +
 net/pear-Net_Socket/buildlink3.mk |  25 +++++++++++++++++++++++++
 net/pear-Net_Socket/builtin.mk    |  13 +++++++++++++
 net/pear-Net_Socket/distinfo      |   4 ++++
 6 files changed, 62 insertions(+), 0 deletions(-)

diffs (86 lines):

diff -r 52c59bc3618c -r deefad6bb231 net/pear-Net_Socket/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_Socket/DESCR Mon Nov 01 21:36:44 2004 +0000
@@ -0,0 +1,2 @@
+Supports GET/POST/HEAD/TRACE/PUT/DELETE, Basic authentication, Proxy,
+Proxy Authentication, SSL, file uploads etc.
diff -r 52c59bc3618c -r deefad6bb231 net/pear-Net_Socket/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_Socket/Makefile      Mon Nov 01 21:36:44 2004 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/01 21:36:44 jdolecek Exp $
+
+DISTNAME=      Net_Socket-1.0.1
+CATEGORIES+=   net
+
+MAINTAINER=    jdolecek%NetBSD.org@localhost
+HOMEPAGE=      http://pear.php.net/package/Net_Socket
+COMMENT=       PHP classes to provide Network Socket Interface
+
+.include "../../lang/php/pear.mk"
+
+# used to be bundled before PHP 5.x
+.if ${_PHP_VERSION} < 5
+PKG_SKIP_REASON=       "${PKGNAME} is part of PHP${_PHP_VERSION}"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff -r 52c59bc3618c -r deefad6bb231 net/pear-Net_Socket/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_Socket/PLIST Mon Nov 01 21:36:44 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/01 21:36:44 jdolecek Exp $
diff -r 52c59bc3618c -r deefad6bb231 net/pear-Net_Socket/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_Socket/buildlink3.mk Mon Nov 01 21:36:44 2004 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/11/01 21:36:44 jdolecek Exp $
+#
+# Net_Socket was bundled with PHP 4.x, but has been pushed to pear
+# in PHP 5.x. If we build for PHP4, use the bundled version, otherwise 
+# force dependance and install of this package.
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+NETSOCKET_BUILDLINK3_MK:=      ${NETSOCKET_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    pear-netsocket
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Npear-netsocket}
+BUILDLINK_PACKAGES+=   pear-netsocket
+
+.if !empty(NETSOCKET_BUILDLINK3_MK:M+)
+
+BUILDLINK_DEPENDS.pear-netsocket+=     pear-Net_Socket>=1.0.1
+BUILDLINK_PKGSRCDIR.pear-netsocket?=   ../../wip/pear-Net_Socket
+BUILDLINK_DEPMETHOD.pear-netsocket?=   full
+
+.endif # NETSOCKET_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 52c59bc3618c -r deefad6bb231 net/pear-Net_Socket/builtin.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_Socket/builtin.mk    Mon Nov 01 21:36:44 2004 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: builtin.mk,v 1.1.1.1 2004/11/01 21:36:45 jdolecek Exp $
+
+.include "../../lang/php/phpversion.mk"
+
+.if ${_PHP_VERSION} < 5
+IS_BUILTIN.pear-netsocket=     yes
+.else
+IS_BUILTIN.pear-netsocket=     no
+.endif
+
+USE_BUILTIN.pear-netsocket?=   ${IS_BUILTIN.pear-netsocket}
+
+BUILDLINK_VARS+=        IS_BUILTIN.openssl
diff -r 52c59bc3618c -r deefad6bb231 net/pear-Net_Socket/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_Socket/distinfo      Mon Nov 01 21:36:44 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/01 21:36:44 jdolecek Exp $
+
+SHA1 (Net_Socket-1.0.1.tgz) = 2a9590984c91fa5bb9d99e3a440ef1f77a5b9350
+Size (Net_Socket-1.0.1.tgz) = 3513 bytes



Home | Main Index | Thread Index | Old Index