FreeBSD Bugzilla – Attachment 235388 Details for
Bug 265341
[NEW PORT] database/pgcopydb: Copy a Postgres database to a target Postgres server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-database-pgcopydb-initial-import.patch
0001-database-pgcopydb-initial-import.patch (text/plain), 3.68 KB, created by
Bryan Frimin
on 2022-07-20 14:07:22 UTC
(
hide
)
Description:
0001-database-pgcopydb-initial-import.patch
Filename:
MIME Type:
Creator:
Bryan Frimin
Created:
2022-07-20 14:07:22 UTC
Size:
3.68 KB
patch
obsolete
>From 683190ad16497afddbd29b863230cad9fe08b109 Mon Sep 17 00:00:00 2001 >From: gearnode <bryan@frimin.fr> >Date: Thu, 19 May 2022 15:54:14 +0200 >Subject: [PATCH] database/pgcopydb: initial import > >--- > databases/pgcopydb/Makefile | 52 ++++++++++++++++++++++++++++++++++++ > databases/pgcopydb/distinfo | 3 +++ > databases/pgcopydb/pkg-descr | 7 +++++ > databases/pgcopydb/pkg-plist | 12 +++++++++ > 4 files changed, 74 insertions(+) > create mode 100644 databases/pgcopydb/Makefile > create mode 100644 databases/pgcopydb/distinfo > create mode 100644 databases/pgcopydb/pkg-descr > create mode 100644 databases/pgcopydb/pkg-plist > >diff --git a/databases/pgcopydb/Makefile b/databases/pgcopydb/Makefile >new file mode 100644 >index 000000000000..374180461c40 >--- /dev/null >+++ b/databases/pgcopydb/Makefile >@@ -0,0 +1,52 @@ >+PORTNAME= pgcopydb >+DISTVERSIONPREFIX= v >+DISTVERSION= 0.8 >+CATEGORIES= databases >+ >+MAINTAINER= bryan@frimin.fr >+COMMENT= Copy a Postgres database to a target Postgres server >+ >+LICENSE= PostgreSQL >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+LIB_DEPENDS= liblz4.so:archivers/liblz4 \ >+ libedit.so:devel/libedit \ >+ libicudata.so:devel/icu \ >+ libreadline.so:devel/readline \ >+ libxml2.so:textproc/libxml2 \ >+ libxslt.so:textproc/libxslt \ >+ libintl.so:devel/gettext-runtime \ >+ libpq.so.${PGSQL${PGSQL_VER_NODOT}_LIBVER}:databases/postgresql${PGSQL_VER_NODOT}-client >+ >+USES= gmake pkgconfig pgsql:14 python:build >+WANT_PGSQL= server >+ >+USE_GITHUB= yes >+GH_ACCOUNT= dimitri >+GH_PROJECT= pgcopydb >+ >+OPTIONS_DEFINE= MANPAGES >+ >+OPTIONS_DEFAULT= MANPAGES >+ >+MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/bin/sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} >+ >+PORTMANS= pgcopydb\ clone.1 pgcopydb\ dump.1 pgcopydb\ fork.1 \ >+ pgcopydb\ restore.1 pgcopydb\ stream.1 pgcopydb\ copy.1 \ >+ pgcopydb\ follow.1 pgcopydb\ list.1 pgcopydb\ snapshot.1 \ >+ pgcopydb.1 >+ >+# this port fails to build in parallel >+MAKE_JOBS_UNSAFE= yes >+ >+do-build-MANPAGES-on: >+ @cd ${WRKSRC} && ${GMAKE} docs >+ >+do-install-MANPAGES-on: >+.for i in ${PORTMANS} >+ ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/$i ${STAGEDIR}${PREFIX}/man/man1 >+.endfor >+ ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/pgcopydb.5 ${STAGEDIR}${PREFIX}/man/man5 >+ >+.include <bsd.port.mk> >diff --git a/databases/pgcopydb/distinfo b/databases/pgcopydb/distinfo >new file mode 100644 >index 000000000000..0cb7b868f424 >--- /dev/null >+++ b/databases/pgcopydb/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1658312806 >+SHA256 (dimitri-pgcopydb-v0.8_GH0.tar.gz) = 9c5e60bd9a359f26fce4ce17a4eb0e9f1c678f1ffeba2dfc049df8b8d6c10eeb >+SIZE (dimitri-pgcopydb-v0.8_GH0.tar.gz) = 15831321 >diff --git a/databases/pgcopydb/pkg-descr b/databases/pgcopydb/pkg-descr >new file mode 100644 >index 000000000000..2939964efe1c >--- /dev/null >+++ b/databases/pgcopydb/pkg-descr >@@ -0,0 +1,7 @@ >+pgcopydb is a tool that automates running pg_dump | pg_restore between >+two running Postgres servers. To make a copy of a database to another >+server as quickly as possible, one would like to use the parallel >+options of pg_dump and still be able to stream the data to as many >+pg_restore jobs. >+ >+WWW: https://github.com/dimitri/pgcopydb >diff --git a/databases/pgcopydb/pkg-plist b/databases/pgcopydb/pkg-plist >new file mode 100644 >index 000000000000..5488315f08cb >--- /dev/null >+++ b/databases/pgcopydb/pkg-plist >@@ -0,0 +1,12 @@ >+bin/pgcopydb >+man/man1/pgcopydb clone.1.gz >+man/man1/pgcopydb copy.1.gz >+man/man1/pgcopydb dump.1.gz >+man/man1/pgcopydb follow.1.gz >+man/man1/pgcopydb fork.1.gz >+man/man1/pgcopydb list.1.gz >+man/man1/pgcopydb restore.1.gz >+man/man1/pgcopydb snapshot.1.gz >+man/man1/pgcopydb stream.1.gz >+man/man1/pgcopydb.1.gz >+man/man5/pgcopydb.5.gz >-- >2.37.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265341
: 235388 |
235389