summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-11-10 21:59:05 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-11-10 21:59:05 +0000
commit17011cd118d247279a7489e9b34b66e5cb909acd (patch)
treed45491b4b8025140518c7eb1a65abdb7501ea0fa
parentRemoving empty category. (diff)
downloadtesting-17011cd118d247279a7489e9b34b66e5cb909acd.tar.gz
testing-17011cd118d247279a7489e9b34b66e5cb909acd.tar.bz2
testing-17011cd118d247279a7489e9b34b66e5cb909acd.zip
Added new ebuild for the pgadmin3 "adminpack"
svn path=/testing/; revision=164
-rw-r--r--dev-db/pgadmin3-adminpack/Manifest16
-rw-r--r--dev-db/pgadmin3-adminpack/files/digest-pgadmin3-adminpack-8.0.1.4.33
-rw-r--r--dev-db/pgadmin3-adminpack/files/digest-pgadmin3-adminpack-8.1.1.4.33
-rw-r--r--dev-db/pgadmin3-adminpack/pgadmin3-adminpack-8.0.1.4.3.ebuild49
-rw-r--r--dev-db/pgadmin3-adminpack/pgadmin3-adminpack-8.1.1.4.3.ebuild49
5 files changed, 120 insertions, 0 deletions
diff --git a/dev-db/pgadmin3-adminpack/Manifest b/dev-db/pgadmin3-adminpack/Manifest
new file mode 100644
index 0000000..02dbb6f
--- /dev/null
+++ b/dev-db/pgadmin3-adminpack/Manifest
@@ -0,0 +1,16 @@
+DIST admin80-1.4.3.tar.gz 6072 RMD160 2b74495189a64b2ac60ac939dae46e07652b2275 SHA1 bc718c445c17bd2702847cfd70bce79b2f4e24f2 SHA256 93ac74427082245a486618d45ca7c4345e6db005174f338de7b0ba3eac33b450
+DIST admin81-1.4.3.tar.gz 4351 RMD160 c5c3c68dfc109dc077c6fddd81011157fcc9e3fa SHA1 816306bf60df1e35c7a8aaf5ae95dd23576aa076 SHA256 3251676b8e0cea84f36e6fce0e74fd044cc1a76a0e03aec29128660c99b0bdd2
+EBUILD pgadmin3-adminpack-8.0.1.4.3.ebuild 1389 RMD160 2003e7e433e9592591f7a6407d3c5d4a2f03bd0a SHA1 5adac42223a65908fba0054b8827bbe245e9e45e SHA256 07a0edf299195bab1f1130d698c48dcd38a74df55d71379aeb3f0ed812acb898
+MD5 29cb80e0dff40badc7999b5acc4a93fe pgadmin3-adminpack-8.0.1.4.3.ebuild 1389
+RMD160 2003e7e433e9592591f7a6407d3c5d4a2f03bd0a pgadmin3-adminpack-8.0.1.4.3.ebuild 1389
+SHA256 07a0edf299195bab1f1130d698c48dcd38a74df55d71379aeb3f0ed812acb898 pgadmin3-adminpack-8.0.1.4.3.ebuild 1389
+EBUILD pgadmin3-adminpack-8.1.1.4.3.ebuild 1406 RMD160 8adb151bad94678f147ca54b536e4e7b95344a60 SHA1 b64c62d097efa315f390074710ce49446e4ac5a1 SHA256 b96ecc595ca59736cf0cf200fd66b02cc94ac27c31163417c81a2c3fc1402254
+MD5 65c66fae72f507a0ced0f084ce5d9169 pgadmin3-adminpack-8.1.1.4.3.ebuild 1406
+RMD160 8adb151bad94678f147ca54b536e4e7b95344a60 pgadmin3-adminpack-8.1.1.4.3.ebuild 1406
+SHA256 b96ecc595ca59736cf0cf200fd66b02cc94ac27c31163417c81a2c3fc1402254 pgadmin3-adminpack-8.1.1.4.3.ebuild 1406
+MD5 6aa1a8065f891ec6d4a823a0a903e8a1 files/digest-pgadmin3-adminpack-8.0.1.4.3 235
+RMD160 c54dafba51b692a23c6c945f1a69334a4d02b1dc files/digest-pgadmin3-adminpack-8.0.1.4.3 235
+SHA256 97be0c86db9623db6361aac33925ec60d7e6fdca82ae8376397ea7cdbf0b6977 files/digest-pgadmin3-adminpack-8.0.1.4.3 235
+MD5 0295f3a4a67616e4055431d3019381e1 files/digest-pgadmin3-adminpack-8.1.1.4.3 235
+RMD160 6523b3053b3a8bc2bb50572c0d57543654b1338b files/digest-pgadmin3-adminpack-8.1.1.4.3 235
+SHA256 2be5c8154c489f1914a4f17f2ea6b1252b41f1382511b06e3825542e9753ad20 files/digest-pgadmin3-adminpack-8.1.1.4.3 235
diff --git a/dev-db/pgadmin3-adminpack/files/digest-pgadmin3-adminpack-8.0.1.4.3 b/dev-db/pgadmin3-adminpack/files/digest-pgadmin3-adminpack-8.0.1.4.3
new file mode 100644
index 0000000..be38879
--- /dev/null
+++ b/dev-db/pgadmin3-adminpack/files/digest-pgadmin3-adminpack-8.0.1.4.3
@@ -0,0 +1,3 @@
+MD5 71594e5d2a9c8e0851f2b9ceb92fc06b admin80-1.4.3.tar.gz 6072
+RMD160 2b74495189a64b2ac60ac939dae46e07652b2275 admin80-1.4.3.tar.gz 6072
+SHA256 93ac74427082245a486618d45ca7c4345e6db005174f338de7b0ba3eac33b450 admin80-1.4.3.tar.gz 6072
diff --git a/dev-db/pgadmin3-adminpack/files/digest-pgadmin3-adminpack-8.1.1.4.3 b/dev-db/pgadmin3-adminpack/files/digest-pgadmin3-adminpack-8.1.1.4.3
new file mode 100644
index 0000000..1bc6c7c
--- /dev/null
+++ b/dev-db/pgadmin3-adminpack/files/digest-pgadmin3-adminpack-8.1.1.4.3
@@ -0,0 +1,3 @@
+MD5 16f144179fab296ce992036323b3618d admin81-1.4.3.tar.gz 4351
+RMD160 c5c3c68dfc109dc077c6fddd81011157fcc9e3fa admin81-1.4.3.tar.gz 4351
+SHA256 3251676b8e0cea84f36e6fce0e74fd044cc1a76a0e03aec29128660c99b0bdd2 admin81-1.4.3.tar.gz 4351
diff --git a/dev-db/pgadmin3-adminpack/pgadmin3-adminpack-8.0.1.4.3.ebuild b/dev-db/pgadmin3-adminpack/pgadmin3-adminpack-8.0.1.4.3.ebuild
new file mode 100644
index 0000000..6f2d6ec
--- /dev/null
+++ b/dev-db/pgadmin3-adminpack/pgadmin3-adminpack-8.0.1.4.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit multilib toolchain-funcs versionator
+
+KEYWORDS="~x86"
+
+PG_PV="$(get_version_component_range 1-2)"
+MY_PV="$(get_version_component_range 3-)"
+
+DESCRIPTION="PostgreSQL contrib module which implements a number of support functions which pgAdmin will use to provide additional functionality."
+HOMEPAGE="http://www.pgadmin.org/"
+SRC_URI="mirror://postgresql/pgadmin3/release/v${MY_PV}/adminpacks/admin${PG_PV/.}-${MY_PV}.tar.gz"
+LICENSE="POSTGRESQL"
+SLOT="0"
+IUSE=""
+
+DEPEND="=dev-db/postgresql-${PG_PV}*"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/admin
+
+src_compile() {
+ $(tc-getCC) \
+ -shared -Wl,-soname=admin${PG_PV/.}-0.0 \
+ -o admin${PG_PV/.}.so \
+ -fPIC \
+ -I${ROOT}/usr/include/postgresql/server/ \
+ genfile.c misc.c || die "compilation failed"
+
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/postgresql
+ doins admin${PG_PV/.}.so
+
+ insinto /usr/share/postgresql/contrib
+ sed -i \
+ -e "s#MODULE_PATHNAME#/usr/$(get_libdir)/postgresql/admin${PG_PV/.}.so#" \
+ admin.sql.in || die "sed failed"
+ newins admin.sql.in admin.sql
+}
+
+pkg_postinst() {
+ elog "You have to 'activate' the module by executing some SQL statements."
+ elog "This can be done with the following command:"
+ elog "psql -U postgresq -f ${ROOT}/usr/share/postgresql/contrib/admin${PG_PV/.}.sql"
+}
diff --git a/dev-db/pgadmin3-adminpack/pgadmin3-adminpack-8.1.1.4.3.ebuild b/dev-db/pgadmin3-adminpack/pgadmin3-adminpack-8.1.1.4.3.ebuild
new file mode 100644
index 0000000..d02931a
--- /dev/null
+++ b/dev-db/pgadmin3-adminpack/pgadmin3-adminpack-8.1.1.4.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit multilib toolchain-funcs versionator
+
+KEYWORDS="~x86"
+
+PG_PV="$(get_version_component_range 1-2)"
+MY_PV="$(get_version_component_range 3-)"
+
+DESCRIPTION="PostgreSQL contrib module which implements a number of support functions which pgAdmin will use to provide additional functionality."
+HOMEPAGE="http://www.pgadmin.org/"
+SRC_URI="mirror://postgresql/pgadmin3/release/v${MY_PV}/adminpacks/admin${PG_PV/.}-${MY_PV}.tar.gz"
+LICENSE="POSTGRESQL"
+SLOT="0"
+IUSE=""
+
+DEPEND="=dev-db/postgresql-${PG_PV}*"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/admin${PG_PV/.}
+
+src_compile() {
+ $(tc-getCC) \
+ -shared -Wl,-soname=admin${PG_PV/.}-0.0 \
+ -o admin${PG_PV/.}.so \
+ -fPIC \
+ -I${ROOT}/usr/include/postgresql/server/ \
+ admin${PG_PV/.}.c || die "compilation failed"
+
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/postgresql
+ doins admin${PG_PV/.}.so
+
+ insinto /usr/share/postgresql/contrib
+ sed -i \
+ -e "s#MODULE_PATHNAME#/usr/$(get_libdir)/postgresql/admin${PG_PV/.}.so#" \
+ admin81.sql.in || die "sed failed"
+ newins admin81.sql.in admin81.sql
+}
+
+pkg_postinst() {
+ elog "You have to 'activate' the module by executing some SQL statements."
+ elog "This can be done with the following command:"
+ elog "psql -U postgresq -f ${ROOT}/usr/share/postgresql/contrib/admin${PG_PV/.}.sql"
+}