summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
commit52c19805011b2d8d525f4d2a6c01cf961940d9aa (patch)
tree9eebc2a4ea3e6fa6c783e1abb83bc43228266985 /net
parent0ed49ace1ff1fc3ca3ff39742f593ac63c9a9c81 (diff)
downloadpkgsrc-52c19805011b2d8d525f4d2a6c01cf961940d9aa.tar.gz
new PHP extension module framework, which makes it possible to build
individual PHP extension packages with either PHP 4.x or PHP 5.x convert existing php4-* packages to this framework and import as php-*
Diffstat (limited to 'net')
-rw-r--r--net/php-ftp/DESCR2
-rw-r--r--net/php-ftp/Makefile18
-rw-r--r--net/php-snmp/DESCR2
-rw-r--r--net/php-snmp/Makefile14
-rw-r--r--net/php-sockets/DESCR2
-rw-r--r--net/php-sockets/Makefile13
-rw-r--r--net/php-yp/DESCR2
-rw-r--r--net/php-yp/Makefile13
8 files changed, 66 insertions, 0 deletions
diff --git a/net/php-ftp/DESCR b/net/php-ftp/DESCR
new file mode 100644
index 00000000000..14c70f9402e
--- /dev/null
+++ b/net/php-ftp/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to FTP sites through a FTP library.
diff --git a/net/php-ftp/Makefile b/net/php-ftp/Makefile
new file mode 100644
index 00000000000..5d59dcc4956
--- /dev/null
+++ b/net/php-ftp/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= ftp
+PKGREVISION= # empty
+CATEGORIES+= net
+COMMENT= PHP extension for FTP access
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --enable-${MODNAME}
+
+# adjust so that the pkg gets built with SSL support
+LIBS+= -lssl -lcrypto
+CFLAGS+= -DHAVE_OPENSSL_EXT
+
+.include "../../lang/php/ext.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/php-snmp/DESCR b/net/php-snmp/DESCR
new file mode 100644
index 00000000000..4f9847f40a8
--- /dev/null
+++ b/net/php-snmp/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides support for SNMP.
diff --git a/net/php-snmp/Makefile b/net/php-snmp/Makefile
new file mode 100644
index 00000000000..8e2d7ba004e
--- /dev/null
+++ b/net/php-snmp/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= snmp
+CATEGORIES+= net
+PKGREVISION= # empty
+COMMENT= PHP extension for SNMP
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --with-${MODNAME}=${PREFIX}
+
+.include "../../lang/php/ext.mk"
+.include "../../net/net-snmp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/php-sockets/DESCR b/net/php-sockets/DESCR
new file mode 100644
index 00000000000..65ef93df1c5
--- /dev/null
+++ b/net/php-sockets/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides sockets support.
diff --git a/net/php-sockets/Makefile b/net/php-sockets/Makefile
new file mode 100644
index 00000000000..3d3119a78bf
--- /dev/null
+++ b/net/php-sockets/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= sockets
+CATEGORIES+= net
+PKGREVISION= # empty
+COMMENT= PHP extension for sockets support
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/php-yp/DESCR b/net/php-yp/DESCR
new file mode 100644
index 00000000000..ead05d20689
--- /dev/null
+++ b/net/php-yp/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to a YP domain.
diff --git a/net/php-yp/Makefile b/net/php-yp/Makefile
new file mode 100644
index 00000000000..c731e3d1e74
--- /dev/null
+++ b/net/php-yp/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= yp
+CATEGORIES+= net
+PKGREVISION= # empty
+COMMENT= PHP extension for YP domain support
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"