From b2e44ccb2acccbc1f32c619cb1b08bfad6803d3e Mon Sep 17 00:00:00 2001 From: jasper Date: Wed, 17 Sep 2008 14:27:53 +0000 Subject: [PATCH] import sharedance 6.0 Sharedance is a high-performance server that centralize ephemeral KEY/DATA Pairs on remote hosts, without the overhead and the complexity of an SQL database. It was mainly designed to share caches and sessions between a pool of web servers. Access to a sharedance server is trivial through a simple PHP API and it is compatible with the expectations of PHP 4 and PHP 5 session handlers. from William Yodlowsky with some tweaks by me --- databases/sharedance/Makefile | 37 ++++++++++++++++++++++++++++++++ databases/sharedance/distinfo | 5 +++++ databases/sharedance/pkg/DESCR | 8 +++++++ databases/sharedance/pkg/MESSAGE | 6 ++++++ databases/sharedance/pkg/PLIST | 9 ++++++++ 5 files changed, 65 insertions(+) create mode 100644 databases/sharedance/Makefile create mode 100644 databases/sharedance/distinfo create mode 100644 databases/sharedance/pkg/DESCR create mode 100644 databases/sharedance/pkg/MESSAGE create mode 100644 databases/sharedance/pkg/PLIST diff --git a/databases/sharedance/Makefile b/databases/sharedance/Makefile new file mode 100644 index 00000000000..b9a95ea022b --- /dev/null +++ b/databases/sharedance/Makefile @@ -0,0 +1,37 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/09/17 14:27:53 jasper Exp $ + +COMMENT= high-performance server that centralizes key/data pairs + +DISTNAME= sharedance-0.6 +CATEGORIES= databases + +HOMEPAGE= http://sharedance.pureftpd.org/project/sharedance + +MAINTAINER= William Yodlowsky + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +WANTLIB= c event + +MASTER_SITES= http://download.pureftpd.org/pub/sharedance/ + +CONFIGURE_STYLE= simple + +REGRESS_TARGET= check + +EXAMPLESDIR= ${PREFIX}/share/examples/sharedance +PHP_SCRIPTS= session_handler.php sharedance.php \ + test_session.php test_sharedance.php + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sharedance + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sharedance + ${INSTALL_DATA_DIR} ${EXAMPLESDIR} +.for i in ${PHP_SCRIPTS} + ${INSTALL_DATA} ${WRKSRC}/php/${i} ${EXAMPLESDIR} +.endfor + +.include diff --git a/databases/sharedance/distinfo b/databases/sharedance/distinfo new file mode 100644 index 00000000000..f11f5da2f5e --- /dev/null +++ b/databases/sharedance/distinfo @@ -0,0 +1,5 @@ +MD5 (sharedance-0.6.tar.gz) = BJbWZF133OvY8o+/h0Xojg== +RMD160 (sharedance-0.6.tar.gz) = ZDeF7jZ6U5rFVwzCYWMF5M6ofP8= +SHA1 (sharedance-0.6.tar.gz) = BVV60MaBjUv4caAUxrk3U7EaQms= +SHA256 (sharedance-0.6.tar.gz) = 94CjhZg+NbMmHreQw+tZ3UeRvZ1M/0J6FEcpBRWifys= +SIZE (sharedance-0.6.tar.gz) = 110867 diff --git a/databases/sharedance/pkg/DESCR b/databases/sharedance/pkg/DESCR new file mode 100644 index 00000000000..dab8b047572 --- /dev/null +++ b/databases/sharedance/pkg/DESCR @@ -0,0 +1,8 @@ +Sharedance is a high-performance server that centralize ephemeral +KEY/DATA Pairs on remote hosts, without the overhead and the complexity +of an SQL database. + +It was mainly designed to share caches and sessions between a pool of +web servers. Access to a sharedance server is trivial through a simple +PHP API and it is compatible with the expectations of PHP 4 and PHP 5 +session handlers. diff --git a/databases/sharedance/pkg/MESSAGE b/databases/sharedance/pkg/MESSAGE new file mode 100644 index 00000000000..cf1b0677108 --- /dev/null +++ b/databases/sharedance/pkg/MESSAGE @@ -0,0 +1,6 @@ +Please see the README on using sharedance at: +${PREFIX}/share/doc/sharedance/README + +There are example PHP scripts that demonstrate sharedance's use +installed at: ${PREFIX}/share/examples/sharedance/ + diff --git a/databases/sharedance/pkg/PLIST b/databases/sharedance/pkg/PLIST new file mode 100644 index 00000000000..1818f2c35a5 --- /dev/null +++ b/databases/sharedance/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/09/17 14:27:53 jasper Exp $ +@bin sbin/sharedanced +share/doc/sharedance/ +share/doc/sharedance/README +share/examples/sharedance/ +share/examples/sharedance/session_handler.php +share/examples/sharedance/sharedance.php +share/examples/sharedance/test_session.php +share/examples/sharedance/test_sharedance.php