mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
pg_filedump is a utility to format PostgreSQL heap, index, and control
files into a human-readable form. You can format/dump the files several ways as well as dumping straight binary. This utility is intended to aid in the understanding of the internal contents of a PostgreSQL block. WWW: http://sources.redhat.com/rhdb/utilities.html
This commit is contained in:
parent
6cb77b7afc
commit
d73b950702
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239824
6 changed files with 72 additions and 0 deletions
|
@ -443,6 +443,7 @@
|
|||
SUBDIR += pecl-memcache
|
||||
SUBDIR += pecl-memcached
|
||||
SUBDIR += pecl-sqlite
|
||||
SUBDIR += pg_filedump
|
||||
SUBDIR += pgaccess
|
||||
SUBDIR += pgadmin3
|
||||
SUBDIR += pgadmin3-12
|
||||
|
|
29
databases/pg_filedump/Makefile
Normal file
29
databases/pg_filedump/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
|||
# New ports collection makefile for: pg_filedump
|
||||
# Date created: 18 Aug 2009
|
||||
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pg_filedump
|
||||
PORTVERSION= 8.3
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://sources.redhat.com/rhdb/tools/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tar
|
||||
|
||||
MAINTAINER= kuriyama@FreeBSD.org
|
||||
COMMENT= Utility to format PostgreSQL heap, index, etc into human-readable form
|
||||
|
||||
BUILD_DEPENDS= \
|
||||
${NONEXISTENT}:${PORTSDIR}/databases/postgresql83-client:patch
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pg_filedump ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.pg_filedump ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
databases/pg_filedump/distinfo
Normal file
3
databases/pg_filedump/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (pg_filedump-8.3.tar) = d4e6cf9a221e4790b3a4a3ca27276fa0
|
||||
SHA256 (pg_filedump-8.3.tar) = aa0a38043f10531109ff64138d5f5717d9d076685b84c4e41b5a0be40f70e014
|
||||
SIZE (pg_filedump-8.3.tar) = 71680
|
28
databases/pg_filedump/files/patch-Makefile
Normal file
28
databases/pg_filedump/files/patch-Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
--- Makefile.orig 2008-02-28 23:12:21.000000000 +0900
|
||||
+++ Makefile 2009-08-17 23:37:15.000000000 +0900
|
||||
@@ -3,10 +3,10 @@
|
||||
CC=gcc
|
||||
CFLAGS=-g -O -Wall -Wmissing-prototypes -Wmissing-declarations
|
||||
|
||||
-INCLUDE=/usr/include/pgsql/server
|
||||
+INCLUDE=${LOCALBASE}/include/postgresql/server
|
||||
|
||||
# PGSQL MUST POINT TO pgsql SOURCE DIRECTORY
|
||||
-PGSQL=../../../../postgres/pgsql
|
||||
+PGSQL=../../../postgresql83-client/work/postgresql-8.3.7
|
||||
|
||||
CRC_SRC=${PGSQL}/src/backend/utils/hash
|
||||
CRC_INCLUDE=${PGSQL}/src
|
||||
@@ -17,10 +17,10 @@
|
||||
${CC} ${CFLAGS} -o pg_filedump pg_filedump.o pg_crc.o
|
||||
|
||||
pg_filedump.o: pg_filedump.c
|
||||
- ${CC} ${CFLAGS} -I${INCLUDE} pg_filedump.c -c
|
||||
+ ${CC} ${CFLAGS} -I${INCLUDE} -I${LOCALBASE}/include pg_filedump.c -c
|
||||
|
||||
pg_crc.o: ${CRC_SRC}/pg_crc.c
|
||||
- ${CC} ${CFLAGS} -I${CRC_INCLUDE} -I${INCLUDE} ${CRC_SRC}/pg_crc.c -c
|
||||
+ ${CC} ${CFLAGS} -I${CRC_INCLUDE} -I${INCLUDE} -I${LOCALBASE}/include ${CRC_SRC}/pg_crc.c -c
|
||||
|
||||
clean:
|
||||
rm -rf *.o pg_filedump
|
7
databases/pg_filedump/pkg-descr
Normal file
7
databases/pg_filedump/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
|||
pg_filedump is a utility to format PostgreSQL heap, index, and control
|
||||
files into a human-readable form. You can format/dump the files
|
||||
several ways as well as dumping straight binary. This utility is
|
||||
intended to aid in the understanding of the internal contents of a
|
||||
PostgreSQL block.
|
||||
|
||||
WWW: http://sources.redhat.com/rhdb/utilities.html
|
4
databases/pg_filedump/pkg-plist
Normal file
4
databases/pg_filedump/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
bin/pg_filedump
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.pg_filedump
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Add table
Reference in a new issue