Import pg-toolbox-3
The PostgreSQL Toolbox is a collection of small programs to aid the PostgreSQL administrator and developer. <...> from Pierre-Emmanuel Andre (MAINTAINER)
This commit is contained in:
parent
49a11ac4c3
commit
3a75716979
33
databases/pg-toolbox/Makefile
Normal file
33
databases/pg-toolbox/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/22 11:08:09 ajacoutot Exp $
|
||||
|
||||
COMMENT= programs to aid the PostgreSQL administrator
|
||||
|
||||
DISTNAME= pg-toolbox-3
|
||||
CATEGORIES= databases sysutils
|
||||
|
||||
HOMEPAGE= http://pg-toolbox.projects.postgresql.org/
|
||||
|
||||
MAINTAINER= Pierre-Emmanuel Andre <pea@raveland.org>
|
||||
|
||||
# BSD / Zlib
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://pgfoundry.org/frs/download.php/1943/
|
||||
|
||||
RUN_DEPENDS= ::databases/postgresql,-main
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
BINFILES= pg_file2str.pl
|
||||
|
||||
post-install:
|
||||
.for i in ${BINFILES}
|
||||
@cd ${PREFIX}/bin && mv ${i} `basename ${i} .pl`
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
5
databases/pg-toolbox/distinfo
Normal file
5
databases/pg-toolbox/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (pg-toolbox-3.tar.gz) = 12k7Csh07zh9dqV6I3wCDg==
|
||||
RMD160 (pg-toolbox-3.tar.gz) = KUefwQYFIB/5puj/SZMkWfnAqWw=
|
||||
SHA1 (pg-toolbox-3.tar.gz) = BMk9094wCQKvRxFHig6MOB8c6tQ=
|
||||
SHA256 (pg-toolbox-3.tar.gz) = RnNUzv1bV9loknSF2jWWDztzMmdDapmugA2YsQFbxFk=
|
||||
SIZE (pg-toolbox-3.tar.gz) = 9095
|
16
databases/pg-toolbox/patches/patch-Makefile
Normal file
16
databases/pg-toolbox/patches/patch-Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2008/10/22 11:08:09 ajacoutot Exp $
|
||||
--- Makefile.orig Tue Oct 14 21:52:43 2008
|
||||
+++ Makefile Mon Oct 20 16:35:37 2008
|
||||
@@ -8,11 +8,10 @@ TOOLS=pgstat pgcomment listdb dbsize dbstat listlock d
|
||||
all: $(MANPAGES)
|
||||
perl -c pgcomment
|
||||
perl -c pg_file2str.pl
|
||||
- $(MAKE) -C htdocs $@
|
||||
|
||||
install: all
|
||||
for t in $(TOOLS) ; do install -m 755 $$t $(PREFIX)/bin/ ; done
|
||||
- for m in $(MANPAGES) ; do install -m 644 $$m $(PREFIX)/share/man/man1 ; done
|
||||
+ for m in $(MANPAGES) ; do install -m 644 $$m $(PREFIX)/man/man1 ; done
|
||||
|
||||
uninstall:
|
||||
for t in $(TOOLS) ; do rm -f $(PREFIX)/bin/$$t ; done
|
26
databases/pg-toolbox/pkg/DESCR
Normal file
26
databases/pg-toolbox/pkg/DESCR
Normal file
@ -0,0 +1,26 @@
|
||||
The PostgreSQL Toolbox is a collection of small programs to aid the
|
||||
PostgreSQL administrator and developer.
|
||||
|
||||
* pgcomment parses SQL files which should contain DDL and
|
||||
(javadoc) comments and can generate the appropriate COMMENT ON
|
||||
statements or HTML and LaTeX fragments.
|
||||
|
||||
* pgstat shows the queries the PostgreSQL server is currently
|
||||
executing and optionally idle connections.
|
||||
|
||||
* listdb lists all databases like the \l+ command in psql.
|
||||
|
||||
* dbsize tells the overall size of a single database.
|
||||
|
||||
* dbrelationsize tells the size of tables, view, indices,
|
||||
sequences of a specific database.
|
||||
|
||||
* dbstat prints the collected statistics about a database.
|
||||
|
||||
* listlock prints locks held by a database.
|
||||
|
||||
* xloginfo shows the current write and insert location in the xlogs.
|
||||
|
||||
* pg_file2str reads a file from STDIN or the filename given as its first
|
||||
command line argument and prints the file properly escaped as a
|
||||
PostgreSQL string literal to STDOUT.
|
19
databases/pg-toolbox/pkg/PLIST
Normal file
19
databases/pg-toolbox/pkg/PLIST
Normal file
@ -0,0 +1,19 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/22 11:08:09 ajacoutot Exp $
|
||||
bin/dbrelationsize
|
||||
bin/dbsize
|
||||
bin/dbstat
|
||||
bin/listdb
|
||||
bin/listlock
|
||||
bin/pg_file2str
|
||||
bin/pgcomment
|
||||
bin/pgstat
|
||||
bin/xloginfo
|
||||
@man man/man1/dbrelationsize.1
|
||||
@man man/man1/dbsize.1
|
||||
@man man/man1/dbstat.1
|
||||
@man man/man1/listdb.1
|
||||
@man man/man1/listlock.1
|
||||
@man man/man1/pg_file2str.1
|
||||
@man man/man1/pgcomment.1
|
||||
@man man/man1/pgstat.1
|
||||
@man man/man1/xloginfo.1
|
Loading…
Reference in New Issue
Block a user