aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2008-04-15 01:02:20 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2008-04-15 01:02:20 +0000
commit851b613b5b3b927708729dcbbb59f7d89b4f5c65 (patch)
treea7d767890e62664470e58992ff722d6505e000c5 /databases
parent906205dde89dbe847c0ef2efec5cc59175050019 (diff)
downloadports-851b613b5b3b927708729dcbbb59f7d89b4f5c65.tar.gz
ports-851b613b5b3b927708729dcbbb59f7d89b4f5c65.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/sharedance/Makefile26
-rw-r--r--databases/sharedance/distinfo3
-rw-r--r--databases/sharedance/files/patch-src-sharedanced.c30
-rw-r--r--databases/sharedance/pkg-descr5
-rw-r--r--databases/sharedance/pkg-plist7
6 files changed, 72 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 3fb84011549b..a9586cc59837 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -533,6 +533,7 @@
SUBDIR += rubygem-postgres
SUBDIR += rubygem-rrdtool
SUBDIR += rubygem-sqlite3
+ SUBDIR += sharedance
SUBDIR += skytools
SUBDIR += slony1
SUBDIR += sqlcached
diff --git a/databases/sharedance/Makefile b/databases/sharedance/Makefile
new file mode 100644
index 000000000000..ff1dbcfbaff8
--- /dev/null
+++ b/databases/sharedance/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: sharedance
+# Date created: 2008-04-13
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sharedance
+PORTVERSION= 0.6
+CATEGORIES= databases
+MASTER_SITES= http://download.pureftpd.org/pub/sharedance/
+
+MAINTAINER= gslin@gslin.org
+COMMENT= A daemon to centralize keys and associated data
+
+LIB_DEPENDS= event-1.3e:${PORTSDIR}/devel/libevent
+
+CONFIGURE_ARGS= --with-largefile
+GNU_CONFIGURE= yes
+USE_BZIP2= yes
+
+post-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/php/*.php ${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/databases/sharedance/distinfo b/databases/sharedance/distinfo
new file mode 100644
index 000000000000..1ac020f35f40
--- /dev/null
+++ b/databases/sharedance/distinfo
@@ -0,0 +1,3 @@
+MD5 (sharedance-0.6.tar.bz2) = 73e60374cc04a825090530e90ce3e2ba
+SHA256 (sharedance-0.6.tar.bz2) = ed7df7c1b204027f992689cbca87420c21c3e2fc0b07169c1cb43e11ed634d05
+SIZE (sharedance-0.6.tar.bz2) = 88571
diff --git a/databases/sharedance/files/patch-src-sharedanced.c b/databases/sharedance/files/patch-src-sharedanced.c
new file mode 100644
index 000000000000..69d7a6195f97
--- /dev/null
+++ b/databases/sharedance/files/patch-src-sharedanced.c
@@ -0,0 +1,30 @@
+--- src/sharedanced.c.orig 2008-04-15 00:45:17.000000000 +0800
++++ src/sharedanced.c 2008-04-15 00:45:25.000000000 +0800
+@@ -99,27 +99,6 @@
+ #endif
+ }
+
+-static void setprogname(const char * const title)
+-{
+-#ifndef NO_PROCNAME_CHANGE
+-# ifdef HAVE_SETPROCTITLE
+- setproctitle("-%s", title);
+-# elif defined(__linux__)
+- if (argv0 != NULL) {
+- memset(argv0[0], 0, argv_lth);
+- strncpy(argv0[0], title, argv_lth - 2);
+- argv0[1] = NULL;
+- }
+-# elif defined(__hpux__)
+- union pstun pst;
+-
+- pst.pst_command = title;
+- pstat(PSTAT_SETCMD, pst, strlen(title), 0, 0);
+-# endif
+-#endif
+- (void) title;
+-}
+-
+ static void usage(void)
+ {
+ puts("\n" PACKAGE_STRING " - " __DATE__ "\n");
diff --git a/databases/sharedance/pkg-descr b/databases/sharedance/pkg-descr
new file mode 100644
index 000000000000..c0cf9d83f5fc
--- /dev/null
+++ b/databases/sharedance/pkg-descr
@@ -0,0 +1,5 @@
+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.
+
+WWW: http://sharedance.pureftpd.org/project/sharedance
diff --git a/databases/sharedance/pkg-plist b/databases/sharedance/pkg-plist
new file mode 100644
index 000000000000..063973410310
--- /dev/null
+++ b/databases/sharedance/pkg-plist
@@ -0,0 +1,7 @@
+@comment $FreeBSD$
+%%DATADIR%%/session_handler.php
+%%DATADIR%%/sharedance.php
+%%DATADIR%%/test_session.php
+%%DATADIR%%/test_sharedance.php
+sbin/sharedanced
+@dirrmtry %%DATADIR%%