aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2010-03-04 22:04:57 +0800
committerkuriyama <kuriyama@FreeBSD.org>2010-03-04 22:04:57 +0800
commit5b1b665ed632266da7acd0be5ab81d447e2ad742 (patch)
tree8f7e51d18e4a41bd3b68261030200b55939c1643
parent6622a5420cf17157560be6931db4306879e57ea8 (diff)
downloadfreebsd-ports-gnome-5b1b665ed632266da7acd0be5ab81d447e2ad742.tar.gz
freebsd-ports-gnome-5b1b665ed632266da7acd0be5ab81d447e2ad742.tar.zst
freebsd-ports-gnome-5b1b665ed632266da7acd0be5ab81d447e2ad742.zip
This project aims to reduce the size of archive log files by replacing
backup blocks (full page writes) marked as "removable" (introduced in 8.3) with corresponding incremental logs. WWW: http://pglesslog.projects.postgresql.org/ Feature safe: yes
-rw-r--r--databases/Makefile1
-rw-r--r--databases/pglesslog/Makefile32
-rw-r--r--databases/pglesslog/distinfo3
-rw-r--r--databases/pglesslog/pkg-descr5
-rw-r--r--databases/pglesslog/pkg-plist4
5 files changed, 45 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 6a0126a9d35c..0c8397587848 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -466,6 +466,7 @@
SUBDIR += pgcluster
SUBDIR += pgdbf
SUBDIR += pgfouine
+ SUBDIR += pglesslog
SUBDIR += pgloader
SUBDIR += pgpool
SUBDIR += pgpool-II
diff --git a/databases/pglesslog/Makefile b/databases/pglesslog/Makefile
new file mode 100644
index 000000000000..c320b2bcb0e9
--- /dev/null
+++ b/databases/pglesslog/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: pglesslog
+# Date created: 4 March 2010
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pglesslog
+PORTVERSION= 1.2
+CATEGORIES= databases
+MASTER_SITES= http://pgfoundry.org/frs/download.php/2127/
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Reduce size of PostgreSQL archive log files by replacing backup blocks
+
+BUILD_DEPENDS= \
+ ${NONEXISTENT}:${PORTSDIR}/${PGSQL_PORT}-server:build
+
+USE_GMAKE= yes
+USE_PGSQL= YES
+WANT_PGSQL_VER?=83
+WRKSRC= ${WRKDIR}/lesslog-${PORTVERSION}
+
+.include <bsd.port.pre.mk>
+
+PGSQL_PORT= databases/postgresql${PGSQL_VER}
+PGSQL_SRCDIR= `cd ${PORTSDIR}/${PGSQL_PORT}-server; ${MAKE} -VWRKSRC`
+
+pre-build:
+ ${REINPLACE_CMD} "s|top_builddir = ../..|top_builddir = ${PGSQL_SRCDIR}|" ${WRKSRC}/Makefile.*
+
+.include <bsd.port.post.mk>
diff --git a/databases/pglesslog/distinfo b/databases/pglesslog/distinfo
new file mode 100644
index 000000000000..cc02a08c3648
--- /dev/null
+++ b/databases/pglesslog/distinfo
@@ -0,0 +1,3 @@
+MD5 (pglesslog-1.2.tar.gz) = 0712ae52970b65f255486a38bf766ca0
+SHA256 (pglesslog-1.2.tar.gz) = 9d2acad86f416609b44c13bfb9aecd8dee7094e4bef24b578e84945563483d05
+SIZE (pglesslog-1.2.tar.gz) = 19873
diff --git a/databases/pglesslog/pkg-descr b/databases/pglesslog/pkg-descr
new file mode 100644
index 000000000000..839c093c69a1
--- /dev/null
+++ b/databases/pglesslog/pkg-descr
@@ -0,0 +1,5 @@
+This project aims to reduce the size of archive log files by replacing
+backup blocks (full page writes) marked as "removable" (introduced in
+8.3) with corresponding incremental logs.
+
+WWW: http://pglesslog.projects.postgresql.org/
diff --git a/databases/pglesslog/pkg-plist b/databases/pglesslog/pkg-plist
new file mode 100644
index 000000000000..67ffafa5b928
--- /dev/null
+++ b/databases/pglesslog/pkg-plist
@@ -0,0 +1,4 @@
+bin/pg_compresslog
+bin/pg_decompresslog
+share/doc/postgresql/contrib/README.lesslog
+@dirrmtry share/doc/postgresql/contrib