Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2011 14:37:26 GMT
From:      Alexander Pyhalov <alp@sfedu.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/160313: New port:databases/pg_reorg
Message-ID:  <201108301437.p7UEbQlj024780@red.freebsd.org>
Resent-Message-ID: <201108301440.p7UEe9To063303@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         160313
>Category:       ports
>Synopsis:       New port:databases/pg_reorg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 30 14:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Pyhalov
>Release:        FreeBSD 8.2
>Organization:
SFEDU
>Environment:
>Description:
It's a port for pg_reorg. Pg_reorg allows you to do some manipulations with postgresql tables online: for example, do online vacuum full or cluster.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pg_reorg
#	pg_reorg/pkg-descr
#	pg_reorg/distinfo
#	pg_reorg/Makefile
#	pg_reorg/pkg-plist
#
echo c - pg_reorg
mkdir -p pg_reorg > /dev/null 2>&1
echo x - pg_reorg/pkg-descr
sed 's/^X//' >pg_reorg/pkg-descr << 'f407c9501ccde7b8179936dda1d472b5'
Xpg_reorg allows you to reorganize your tables online,
Xfor example, do online vacuum full or cluster.
X
XWWW: http://pgfoundry.org/projects/reorg/
f407c9501ccde7b8179936dda1d472b5
echo x - pg_reorg/distinfo
sed 's/^X//' >pg_reorg/distinfo << '9b09f4001129356c3e0fb59faadf1230'
XSHA256 (pg_reorg-1.1.7.tar.gz) = 5ca0b75ee3136e85768621e2e9fd1e0969588bffe7ddbeba69b292226bd2cf21
XSIZE (pg_reorg-1.1.7.tar.gz) = 56686
9b09f4001129356c3e0fb59faadf1230
echo x - pg_reorg/Makefile
sed 's/^X//' >pg_reorg/Makefile << '0883168b6d99858874346d824831e553'
X# New ports collection makefile for:  	pgreorg
X# Date created:                		January 15, 2011
X# Whom:					alp@sfedu.ru
X# $FreeBSD: ports/databases/pgreorg/Makefile
X
XPORTNAME=		pg_reorg
XPORTVERSION=		1.1.7
XPORTREVISION=		0
XCATEGORIES=		databases
XMASTER_SITES=		http://pgfoundry.org/frs/download.php/3104/
XDISTNAME=		pg_reorg-${PORTVERSION}
X
XMAINTAINER=		alp@sfedu.ru
XCOMMENT=		PostgreSQL utility to reorganize tables
X
XBUILD_DEPENDS+=		postgresql-client>=9.0:${PORTSDIR}/databases/postgresql90-client
XRUN_DEPENDS=		postgresql-server>=9.0:${PORTSDIR}/databases/postgresql90-server
X
XUSE_GMAKE=		yes
XMAKE_ENV=		USE_PGXS=0
X
XWRKSRC=			${WRKDIR}/pg_reorg
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/index-ja.html    ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/index.html    ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/pg_reorg-ja.html    ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/pg_reorg.html    ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/style.css    ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
0883168b6d99858874346d824831e553
echo x - pg_reorg/pkg-plist
sed 's/^X//' >pg_reorg/pkg-plist << 'bcf173cf895c313a957f7bc8a1c5863e'
Xbin/pg_reorg
Xlib/postgresql/pg_reorg.so
Xshare/postgresql/contrib/pg_reorg.sql
Xshare/postgresql/contrib/uninstall_pg_reorg.sql
X%%PORTDOCS%%%%DOCSDIR%%/index-ja.html
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/pg_reorg-ja.html
X%%PORTDOCS%%%%DOCSDIR%%/pg_reorg.html
X%%PORTDOCS%%%%DOCSDIR%%/style.css
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%PORTDOCS%%@dirrmtry share/postgresql/contrib
bcf173cf895c313a957f7bc8a1c5863e
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108301437.p7UEbQlj024780>