summaryrefslogtreecommitdiff
path: root/databases/usogres
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-08-20 11:22:45 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-08-20 11:22:45 +0000
commit448400856963b6f45d56b4e1d8b9b042a4357af6 (patch)
tree7a6b69d3300e0f6a5ec80c66392452989ba25c0c /databases/usogres
parentupdate courier-imap to 2.1.1 which fixes the issue why the port was backed out (diff)
Add usogres 0.8.1, real-time backup utility for PostgreSQL.
Notes
Notes: svn path=/head/; revision=87377
Diffstat (limited to 'databases/usogres')
-rw-r--r--databases/usogres/Makefile27
-rw-r--r--databases/usogres/distinfo1
-rw-r--r--databases/usogres/files/patch-Makefile.in11
-rw-r--r--databases/usogres/files/patch-exception.cc11
-rw-r--r--databases/usogres/files/patch-exception.h68
-rw-r--r--databases/usogres/files/patch-lock.cc11
-rw-r--r--databases/usogres/files/patch-protocol.cc11
-rw-r--r--databases/usogres/files/patch-protocol.h11
-rw-r--r--databases/usogres/files/patch-rc.h11
-rw-r--r--databases/usogres/pkg-descr3
-rw-r--r--databases/usogres/pkg-plist3
11 files changed, 168 insertions, 0 deletions
diff --git a/databases/usogres/Makefile b/databases/usogres/Makefile
new file mode 100644
index 000000000000..1113b2580889
--- /dev/null
+++ b/databases/usogres/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: usogres
+# Date Created: 20 Aug, 2003
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= usogres
+PORTVERSION= 0.8.1
+CATEGORIES= databases
+MASTER_SITES= http://usogres.good-day.net/download/
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Real-time backup utility for PostgreSQL
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+post-patch:
+ cd ${WRKSRC}; ${CP} usogresrc usogresrc.sample
+
+post-install:
+ [ -f ${PREFIX}/etc/usogresrc ] || \
+ ${INSTALL_DATA} ${WRKSRC}/usogresrc ${PREFIX}/etc
+
+.include <bsd.port.mk>
diff --git a/databases/usogres/distinfo b/databases/usogres/distinfo
new file mode 100644
index 000000000000..2e3596b4f148
--- /dev/null
+++ b/databases/usogres/distinfo
@@ -0,0 +1 @@
+MD5 (usogres-0.8.1.tar.bz2) = fc26edea988a6374db4251aded7f58d3
diff --git a/databases/usogres/files/patch-Makefile.in b/databases/usogres/files/patch-Makefile.in
new file mode 100644
index 000000000000..b8dd5726675b
--- /dev/null
+++ b/databases/usogres/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Wed Aug 20 20:13:13 2003
++++ Makefile.in Wed Aug 20 20:13:24 2003
+@@ -64,7 +64,7 @@
+ VERSION = @VERSION@
+
+ SUBDIRS = src
+-sysconf_DATA = usogresrc
++sysconf_DATA = usogresrc.sample
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = config.h
diff --git a/databases/usogres/files/patch-exception.cc b/databases/usogres/files/patch-exception.cc
new file mode 100644
index 000000000000..9098de3c6284
--- /dev/null
+++ b/databases/usogres/files/patch-exception.cc
@@ -0,0 +1,11 @@
+--- src/exception.cc.orig Wed Aug 20 19:02:22 2003
++++ src/exception.cc Wed Aug 20 19:02:25 2003
+@@ -32,7 +32,7 @@
+ {
+ }
+
+-UsogresException::~UsogresException()
++UsogresException::~UsogresException() throw()
+ {
+ delete [] msg_buf;
+ }
diff --git a/databases/usogres/files/patch-exception.h b/databases/usogres/files/patch-exception.h
new file mode 100644
index 000000000000..004fd24a4120
--- /dev/null
+++ b/databases/usogres/files/patch-exception.h
@@ -0,0 +1,68 @@
+--- src/exception.h.orig Mon Apr 15 22:00:03 2002
++++ src/exception.h Wed Aug 20 19:01:50 2003
+@@ -37,56 +37,56 @@
+ char* msg_buf;
+ public:
+ UsogresException(const char* fn, int ln);
+- virtual ~UsogresException();
++ virtual ~UsogresException() throw();
+ virtual const char* where();
+ };
+
+ class ImcompletedValueException : public UsogresException {
+ public:
+ ImcompletedValueException(const char* fn, int ln) : UsogresException(fn, ln) {}
+- virtual const char* what() const { return "ImcompletedValueException"; }
++ virtual const char* what() const throw() { return "ImcompletedValueException"; }
+ };
+
+ class MemoryException : public UsogresException {
+ public:
+ MemoryException(const char* fn, int ln) : UsogresException(fn, ln) {}
+- virtual const char* what() const { return "MemoryException"; }
++ virtual const char* what() const throw() { return "MemoryException"; }
+ };
+
+ class FileException : public UsogresException {
+ public:
+ FileException(const char* fn, int ln) : UsogresException(fn, ln) {}
+- virtual const char* what() const { return "FileException"; }
++ virtual const char* what() const throw() { return "FileException"; }
+ };
+
+ class EnvException : public UsogresException {
+ public:
+ EnvException(const char* fn, int ln) : UsogresException(fn, ln) {}
+- virtual const char* what() const { return "EnvException"; }
++ virtual const char* what() const throw() { return "EnvException"; }
+ };
+
+ class FileFormatException : public UsogresException {
+ public:
+ FileFormatException(const char* fn, int ln) : UsogresException(fn, ln) {}
+- virtual const char* what() const { return "FileFormatException"; }
++ virtual const char* what() const throw() { return "FileFormatException"; }
+ };
+
+ class TokenFormatException : public UsogresException {
+ public:
+ TokenFormatException(const char* fn, int ln) : UsogresException(fn, ln) {}
+- virtual const char* what() const { return "TokenFormatException"; }
++ virtual const char* what() const throw() { return "TokenFormatException"; }
+ };
+
+ class LogicalException : public UsogresException {
+ public:
+ LogicalException(const char* fn, int ln) : UsogresException(fn, ln) {}
+- virtual const char* what() const { return "LogicalException"; }
++ virtual const char* what() const throw() { return "LogicalException"; }
+ };
+
+ class InvalidProtocolException : public UsogresException {
+ public:
+ InvalidProtocolException(const char* fn, int ln) : UsogresException(fn, ln) {}
+- virtual const char* what() const { return "InvalidProtocolException"; }
++ virtual const char* what() const throw() { return "InvalidProtocolException"; }
+ };
+
+ #endif
diff --git a/databases/usogres/files/patch-lock.cc b/databases/usogres/files/patch-lock.cc
new file mode 100644
index 000000000000..fe9f055f9f7a
--- /dev/null
+++ b/databases/usogres/files/patch-lock.cc
@@ -0,0 +1,11 @@
+--- src/lock.cc.orig Wed Aug 20 19:50:03 2003
++++ src/lock.cc Wed Aug 20 19:50:17 2003
+@@ -115,7 +115,7 @@
+
+ if (oflag & O_CREAT) {
+ va_start(ap, oflag);
+- mode = va_arg(ap, mode_t);
++ mode = (int)va_arg(ap, int);
+ value = va_arg(ap, unsigned int);
+ va_end(ap);
+ if (mkfifo(path, mode) < 0) {
diff --git a/databases/usogres/files/patch-protocol.cc b/databases/usogres/files/patch-protocol.cc
new file mode 100644
index 000000000000..a8d1c3f27b90
--- /dev/null
+++ b/databases/usogres/files/patch-protocol.cc
@@ -0,0 +1,11 @@
+--- src/protocol.cc.orig Wed Aug 20 19:10:01 2003
++++ src/protocol.cc Wed Aug 20 19:10:03 2003
+@@ -330,7 +330,7 @@
+ #ifdef WIN32
+ std::string str(p + sizeof(int), len);
+ #else
+- string str(p + sizeof(int), len);
++ std::string str(p + sizeof(int), len);
+ #endif
+ printf(" Value:%s\n", str.c_str());
+ p += len + sizeof(int);
diff --git a/databases/usogres/files/patch-protocol.h b/databases/usogres/files/patch-protocol.h
new file mode 100644
index 000000000000..ba8b2ff5539f
--- /dev/null
+++ b/databases/usogres/files/patch-protocol.h
@@ -0,0 +1,11 @@
+--- src/protocol.h.orig Wed Aug 20 19:09:09 2003
++++ src/protocol.h Wed Aug 20 19:09:19 2003
+@@ -25,7 +25,7 @@
+ #ifdef WIN32
+ typedef std::basic_string<char> ug_string;
+ #else
+-typedef basic_string<char> ug_string;
++typedef std::basic_string<char> ug_string;
+ #endif
+
+ class ug_bytes;
diff --git a/databases/usogres/files/patch-rc.h b/databases/usogres/files/patch-rc.h
new file mode 100644
index 000000000000..7f679a78ecc4
--- /dev/null
+++ b/databases/usogres/files/patch-rc.h
@@ -0,0 +1,11 @@
+--- src/rc.h.orig Wed Aug 20 19:04:19 2003
++++ src/rc.h Wed Aug 20 19:07:33 2003
+@@ -29,7 +29,7 @@
+ #ifdef WIN32
+ typedef std::basic_string<char> string;
+ #else
+-typedef basic_string<char> string;
++typedef std::basic_string<char> string;
+ #endif
+
+ class UsogresRC {
diff --git a/databases/usogres/pkg-descr b/databases/usogres/pkg-descr
new file mode 100644
index 000000000000..3b1183359d9e
--- /dev/null
+++ b/databases/usogres/pkg-descr
@@ -0,0 +1,3 @@
+Usogres is Synchronizing Option for postGRESql.
+
+WWW: http://usogres.good-day.net/
diff --git a/databases/usogres/pkg-plist b/databases/usogres/pkg-plist
new file mode 100644
index 000000000000..2b0ab6b82f4a
--- /dev/null
+++ b/databases/usogres/pkg-plist
@@ -0,0 +1,3 @@
+bin/usogres
+etc/usogresrc
+etc/usogresrc.sample