summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-db/pg_top
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-db/pg_top')
-rw-r--r--dev-db/pg_top/Manifest2
-rw-r--r--dev-db/pg_top/files/pg_top-3.6.2.patch29
-rw-r--r--dev-db/pg_top/files/pg_top-3.7.0.patch29
-rw-r--r--dev-db/pg_top/metadata.xml10
-rw-r--r--dev-db/pg_top/pg_top-3.6.2-r1.ebuild31
-rw-r--r--dev-db/pg_top/pg_top-3.7.0.ebuild31
6 files changed, 132 insertions, 0 deletions
diff --git a/dev-db/pg_top/Manifest b/dev-db/pg_top/Manifest
new file mode 100644
index 000000000000..60fce1c7bea5
--- /dev/null
+++ b/dev-db/pg_top/Manifest
@@ -0,0 +1,2 @@
+DIST pg_top-3.6.2.tar.bz2 220985 SHA256 8a749f6aec44625d834e477982c67ba0a76262a6a8c87b20e20df9ea07ce714d SHA512 0e7f33cccd7a1debce4965a11ff3d5d6868aace53651ca1c486f061728034f0ab3901ddfbded022c9297d3393eaea32585ca779334954c87fd0c13c8fa523074 WHIRLPOOL c92e62a1765a734da290b2df78fc6770819f8a566baf8c69929bbace89aa46b0cf4399e25e594947e57cf74f46a22a35a25d5db0d407fd28738343eab0f74558
+DIST pg_top-3.7.0.tar.bz2 236076 SHA256 c48d726e8cd778712e712373a428086d95e2b29932e545ff2a948d043de5a6a2 SHA512 509cd3ce65a9b549097eaab5ae27106fa469cdeb4f37950564654f3df01390e1a771c8fa4f5858c3e4c1e76470b6c0fd9b07e8268564f59285e30bf824d7c4ec WHIRLPOOL 29c8f326f08e31a13b7f903d025b4608107524de5b65c8567788e6855df6b01a2991b95312e8b3da88a3df0d946834929cab681599340a647e93d8401114ed83
diff --git a/dev-db/pg_top/files/pg_top-3.6.2.patch b/dev-db/pg_top/files/pg_top-3.6.2.patch
new file mode 100644
index 000000000000..03ef912ed2b8
--- /dev/null
+++ b/dev-db/pg_top/files/pg_top-3.6.2.patch
@@ -0,0 +1,29 @@
+--- configure.ac.orig 2013-09-20 10:11:20.256444684 +0400
++++ configure.ac 2013-09-20 10:16:30.262459612 +0400
+@@ -90,7 +90,7 @@
+
+ DBCFLAGS="-I$INCLUDEDIR"
+ LIBDIR=`$PG_CONFIG --libdir`
+-DBLDFLAGS="-L$LIBDIR -lpq"
++DBLDFLAGS="-L$LIBDIR"
+
+ AC_SUBST(DBCFLAGS)
+ AC_SUBST(DBLDFLAGS)
+@@ -109,6 +109,8 @@
+ AC_SEARCH_LIBS(inet_aton, resolv, AC_DEFINE(HAVE_INET_ATON, 1,
+ [inet_aton is already defined]))
+
++AC_SEARCH_LIBS(PQexec, pq)
++
+ # check for libraries required by extension
+ extlibs=""
+ if test -n "$with_ext" -a -f "${srcdir}/ext/$with_ext.libs"; then
+@@ -216,8 +218,6 @@
+ AC_SUBST(SRC)
+ AC_SUBST(OBJ)
+
+-CFLAGS="-Wall -g"
+-
+ AC_MSG_CHECKING(for installation settings)
+ # calculate appropriate settings
+ OWNER=""
diff --git a/dev-db/pg_top/files/pg_top-3.7.0.patch b/dev-db/pg_top/files/pg_top-3.7.0.patch
new file mode 100644
index 000000000000..6367a1dc03dc
--- /dev/null
+++ b/dev-db/pg_top/files/pg_top-3.7.0.patch
@@ -0,0 +1,29 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -103,7 +103,7 @@
+ AC_SEARCH_LIBS(elf32_getphdr, elf)
+ # -lmld -lmach
+ AC_SEARCH_LIBS(vm_statistics, mach)
+-AC_SEARCH_LIBS(tgetent, termcap curses ncurses)
++AC_SEARCH_LIBS(tgetent, termcap tinfo curses ncurses)
+ AC_SEARCH_LIBS(exp, m)
+
+ AC_SEARCH_LIBS(dlerror, dl)
+@@ -111,6 +111,8 @@
+ AC_SEARCH_LIBS(inet_aton, resolv, AC_DEFINE(HAVE_INET_ATON, 1,
+ [inet_aton is already defined]))
+
++AC_SEARCH_LIBS(PQexec, pq)
++
+ # check for libraries required by extension
+ extlibs=""
+ if test -n "$with_ext" -a -f "${srcdir}/ext/$with_ext.libs"; then
+@@ -217,8 +219,6 @@
+ AC_SUBST(SRC)
+ AC_SUBST(OBJ)
+
+-CFLAGS="-Wall -g"
+-
+ AC_MSG_CHECKING(for installation settings)
+ # calculate appropriate settings
+ OWNER=""
diff --git a/dev-db/pg_top/metadata.xml b/dev-db/pg_top/metadata.xml
new file mode 100644
index 000000000000..fd5d8d805d91
--- /dev/null
+++ b/dev-db/pg_top/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>postgresql</herd>
+ <longdescription lang="en">
+ pg_top is 'top' for PostgreSQL. It is derived from Unix Top. Similar to
+ top, pg_top allows you to monitor PostgreSQL processes.
+ </longdescription>
+</pkgmetadata>
+
diff --git a/dev-db/pg_top/pg_top-3.6.2-r1.ebuild b/dev-db/pg_top/pg_top-3.6.2-r1.ebuild
new file mode 100644
index 000000000000..3a5ffa91df71
--- /dev/null
+++ b/dev-db/pg_top/pg_top-3.6.2-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils eutils
+
+DESCRIPTION="'top' for PostgreSQL"
+HOMEPAGE="http://ptop.projects.postgresql.org/"
+SRC_URI="http://pgfoundry.org/frs/download.php/1780/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="dev-db/postgresql"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( FAQ HISTORY README TODO Y2K )
+PATCHES=( "${FILESDIR}/${P}.patch" )
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
diff --git a/dev-db/pg_top/pg_top-3.7.0.ebuild b/dev-db/pg_top/pg_top-3.7.0.ebuild
new file mode 100644
index 000000000000..8aac387fe90a
--- /dev/null
+++ b/dev-db/pg_top/pg_top-3.7.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils eutils
+
+DESCRIPTION="'top' for PostgreSQL"
+HOMEPAGE="http://ptop.projects.postgresql.org/"
+SRC_URI="http://pgfoundry.org/frs/download.php/3504/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="dev-db/postgresql"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( FAQ HISTORY README TODO Y2K )
+PATCHES=( "${FILESDIR}/${P}.patch" )
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}