pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/pg_repack Add pg_repack-1.4.1 as databases/p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16bc9787e20f
branches:  trunk
changeset: 366523:16bc9787e20f
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Aug 15 08:34:20 2017 +0000

description:
Add pg_repack-1.4.1 as databases/pg_repack.

pg_repack is a PostgreSQL extension which lets you remove bloat from
tables and indexes, and optionally restore the physical order of
clustered indexes.

diffstat:

 databases/pg_repack/DESCR                      |   3 +++
 databases/pg_repack/Makefile                   |  20 ++++++++++++++++++++
 databases/pg_repack/PLIST                      |   5 +++++
 databases/pg_repack/distinfo                   |   7 +++++++
 databases/pg_repack/patches/patch-bin_Makefile |  12 ++++++++++++
 5 files changed, 47 insertions(+), 0 deletions(-)

diffs (67 lines):

diff -r 6caddc0f0cb8 -r 16bc9787e20f databases/pg_repack/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/pg_repack/DESCR Tue Aug 15 08:34:20 2017 +0000
@@ -0,0 +1,3 @@
+pg_repack is a PostgreSQL extension which lets you remove bloat from
+tables and indexes, and optionally restore the physical order of
+clustered indexes.
diff -r 6caddc0f0cb8 -r 16bc9787e20f databases/pg_repack/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/pg_repack/Makefile      Tue Aug 15 08:34:20 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/15 08:34:20 fhajny Exp $
+
+DISTNAME=      pg_repack-1.4.1
+PKGNAME=       postgresql${PGSQL_VERSION}-${DISTNAME}
+CATEGORIES=    databases
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=reorg/}
+
+MAINTAINER=    filip%joyent.com@localhost
+HOMEPAGE=      http://reorg.github.io/pg_repack/
+COMMENT=       Reorganize tables in PostgreSQL databases with minimal locks
+LICENSE=       modified-bsd
+
+GITHUB_PROJECT=        pg_repack
+GITHUB_TAG=    ver_${PKGVERSION_NOREV}
+WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
+
+USE_TOOLS+=    gmake
+
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6caddc0f0cb8 -r 16bc9787e20f databases/pg_repack/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/pg_repack/PLIST Tue Aug 15 08:34:20 2017 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/15 08:34:20 fhajny Exp $
+bin/pg_repack
+lib/postgresql/pg_repack.so
+share/postgresql/extension/pg_repack--${PKGVERSION}.sql
+share/postgresql/extension/pg_repack.control
diff -r 6caddc0f0cb8 -r 16bc9787e20f databases/pg_repack/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/pg_repack/distinfo      Tue Aug 15 08:34:20 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/08/15 08:34:20 fhajny Exp $
+
+SHA1 (pg_repack-1.4.1.tar.gz) = 38440383e6e471c9a89888c98e21a21d6266a1e6
+RMD160 (pg_repack-1.4.1.tar.gz) = a26a14bd82e4145bc1b3b63a35be4d3f4ee16ab3
+SHA512 (pg_repack-1.4.1.tar.gz) = 937a4b181d81a77626feeb0696574d558bfcbed03217f900d20af9fb483cd7a74b3b776a55f1ccfcfc847dc0ec29dbae35ec8f5215af21726e4cf20d9dc3b4a6
+Size (pg_repack-1.4.1.tar.gz) = 91564 bytes
+SHA1 (patch-bin_Makefile) = 7e82083f0df7e9a1532be323196875bd8ba44520
diff -r 6caddc0f0cb8 -r 16bc9787e20f databases/pg_repack/patches/patch-bin_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/pg_repack/patches/patch-bin_Makefile    Tue Aug 15 08:34:20 2017 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-bin_Makefile,v 1.1 2017/08/15 08:34:20 fhajny Exp $
+
+editline might be readline in reality.
+
+--- bin/Makefile.orig  2017-04-25 06:25:42.000000000 +0000
++++ bin/Makefile
+@@ -32,4 +32,4 @@ include $(PGXS)
+ # remove dependency on libxml2, libxslt, and libpam.
+ # XXX: find a better way to make sure we are linking with libraries
+ # from pg_config which we actually need.
+-LIBS := $(filter-out -ledit -lgssapi_krb5 -lpam -lselinux -lxml2 -lxslt, $(LIBS))
++LIBS := $(filter-out -ledit -lreadline -lgssapi_krb5 -lpam -lselinux -lxml2 -lxslt, $(LIBS))



Home | Main Index | Thread Index | Old Index