add pbms php module

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mysql@2245 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-05-30 13:06:10 +00:00
parent cadfeb7ca9
commit 436249a263
5 changed files with 172 additions and 0 deletions

View File

@ -13,6 +13,7 @@ DIST mysql-5.1.45.tar.gz 22457274 RMD160 2fd173ac4484ae7a742f06d8d0cdb1c807c02bb
DIST mysql-5.1.47.tar.gz 23817441 RMD160 ee399fe1ba393c9cd4c19ec43ccea68a6a9f43e3 SHA1 9ea8b2cfedb366b884eaeb37757de1cdbbd85b45 SHA256 b80a2d2bf3b844c4dcd63c36339228fc6787b919e62f4481dba52b07899c53d5
DIST mysql-5.5.1-m2.tar.gz 21459964 RMD160 aa36e78efe6fdbfc020cd1599fa63dd9aa60e91b SHA1 6eb787a884523ea30b4a8b900a928a0caa159e3a SHA256 26e8d98ae2341b8ee292bc173531560011e0150da63f2d873fad191d8dbce081
DIST mysql-extras-20100201-0104Z.tar.bz2 933785 RMD160 7780fcc370d2eb8e48993aaeba480e2ec7785c14 SHA1 ce098829243327c5941a9864a9e0632ae5cee418 SHA256 d06f7d2e6920576392adf0fa544931aa6dcecf45060dac4968ea8d88e84c2f70
DIST mysql-storage-brighthouse-3.3.1-gentoo-r3.tar.gz 685216 RMD160 fc03a98ccc1644b6f08a468277c15982e21fdc9c SHA1 0f88be0fa7dc6972adc119d7a320589a96ede970 SHA256 104bbf686227a013c0ad43bf3cbdfc6eadd7f114bf8d61fe330615afab3e50c3
DIST mysql-storage-filesystem-0.1.1-gentoo-r7.tar.gz 17099 RMD160 fcc3fe5a9f6d0b4f1b0f2d36969634c7f2701ff7 SHA1 b8e846b18b6b43927d050e9f418a75ac5728e2ba SHA256 0ece3795d61d25f8a61fa62e8add858c05415c4c47acb225f221afea1d7736af
DIST mysql-storage-innodb-1.0.6-gentoo-r1.tar.gz 1391223 RMD160 78655bd8ae52cda0db8b9342a3a8104fb6d3d50d SHA1 768ed5968ccfe9e68c04ec0100ee6105692b8383 SHA256 b60ef8d16e1a8e645f8d6320dfded35819c73ff0eca71e5d090104e4748db80c
DIST mysql-storage-innodb-1.0.6-gentoo-r2.tar.gz 1393145 RMD160 d4655b46fc9c7e32a7af4ecc56194ff5b82caf5f SHA1 cadff27c4e185da0ebd156270f488d1a9418090a SHA256 e237fbe9b7b7a1afbc7859ce51636092cbd4ea1f2da4b4720dfae782f8fed15e
@ -40,6 +41,7 @@ EBUILD mysql-5.1.43-r1.ebuild 6572 RMD160 72a59ef1237801d62cbf98c9b65794c7c4c796
EBUILD mysql-5.1.44.ebuild 6572 RMD160 72a59ef1237801d62cbf98c9b65794c7c4c79644 SHA1 f63844835d90c0663bbcda693a39cc087bf906bd SHA256 c76fe07fa9b4e5aaf8cefb8ac104b7967b890aed33e8e5e4311d13d121e20b98
EBUILD mysql-5.1.45-r2.ebuild 6562 RMD160 1146db64cc50f4584bf3748f39919420d1e5b921 SHA1 2563f861c9555ce8a42cbfca712186f3647b4a88 SHA256 35b20202838abfea710d03d6942f66f11250b418df179cf608d03dbcb039d115
EBUILD mysql-5.1.47-r2.ebuild 7838 RMD160 ff6fb34b2651e2506d3d8146ae52da1f16102bd3 SHA1 97ae6c615998c62eba6443ef91dc829d2ba17336 SHA256 603fb7df3b8568c2992999661d84732d29afc9e6ce2362adae61a595f3177d9a
EBUILD mysql-5.1.47-r3.ebuild 7868 RMD160 241761e343bce8c6e9d2ae72688fc78de825aed4 SHA1 b4517308b79a2c8aa8c4bbafe56cd3bca7d33eb1 SHA256 101d1a2675cbbf2542b63798b0c338103e169d0d69273da4f4f6344a786524db
EBUILD mysql-5.5.1_alpha_pre2-r2.ebuild 7025 RMD160 eef0ca281f2f3a37824e9b10616447b6dd2c3c0d SHA1 d6be9d84f8d9877b5ab962c9e3042cb2ebdb5d66 SHA256 11f589cea18ead1bdd39761b1cd7078936227b692413cbec2f7db25fea855e25
MISC ChangeLog 96719 RMD160 43ff323d188c689644cc483a679e03ea23af6a9a SHA1 941ebb69676fe901352d4f64e26b9a50edf23f2a SHA256 0c9818f437c569613fe52570b208be387d690f423cc74847f2480892bf872e59
MISC metadata.xml 918 RMD160 ee023d3ae746d0d29ac387c1c87f3f8dec7c9568 SHA1 10ef755d319f93d02de705b3158f4e73aca28af4 SHA256 046a9880921c49fea8861a819c1afd27fc5a873dea28b80b040da2733e029c47

4
dev-php5/pbms/Manifest Normal file
View File

@ -0,0 +1,4 @@
DIST pbms-0.5.09-alpha.tar.gz 19322174 RMD160 1794581b40e6c3bdcead5e06c1c4c271a703cb20 SHA1 59c5124aac2cc22e1f3b25cb32319d1574552705 SHA256 2e5a2ae452817aed5d7feeddb97202c413ccf629cb2d2788f492c91bf3a2851d
DIST pbms-0.5.12-beta.tar.gz 7930741 RMD160 d816cec5c9add4b64f5fca95da2a9bfcb320823b SHA1 ca31ed2b83ed91ec0a566a0b5487dc790e228e94 SHA256 d60ac0ffa30f75eb9ddcd0d4cd222d856228bda4706699b8702d55bfdee42483
EBUILD pbms-0.5.09_alpha.ebuild 1478 RMD160 3f327de85c6606f2ffdf8cabadb6525821c8c89b SHA1 6629cc7b0c6620376a4796ddc4e99dff1cf0bfc7 SHA256 0aa24fa23fd59d1f340b3976ebb1ec83c148906552c9cb618615d91a67cd066a
EBUILD pbms-0.5.12_beta.ebuild 1483 RMD160 8b601e0f1501fbfa97f233c2fd4ed9b081345af6 SHA1 693cc5e1cc4e29053a889b015a18462b6ea0bd3d SHA256 f044144781b5b900b58bf604d9690e9abf3031ca1f2636c3ec6372f7ca3ee672

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@ -0,0 +1,66 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
PHP_EXT_NAME="pbms"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="yes"
MY_P=${P/_/-}
inherit php-ext-source-r1 eutils depend.apache autotools
KEYWORDS="~amd64 ~x86 ~arm"
DESCRIPTION="PBMS PHP Extension."
HOMEPAGE="http://www.eaccelerator.net/"
SRC_URI="http://www.blobstreaming.org/download/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="dev-db/mysql[pbms]"
RDEPEND="${DEPEND}"
# Webserver user and group, here for Apache by default
HTTPD_USER="${HTTPD_USER:-apache}"
HTTPD_GROUP="${HTTPD_GROUP:-apache}"
need_php_by_category
want_apache
S="${WORKDIR}/${MY_P}/php/ext"
pkg_setup() {
depend.apache_pkg_setup
has_php
require_php_sapi_from cgi apache2
}
src_configure() {
my_conf="--enable-pbms=shared --with-mysql=/usr"
}
src_install() {
php-ext-source-r1_src_install
insinto "/usr/share/${PN}-php5/"
doins -r docs
dodoc-php tests/*
php-ext-base-r1_addtoinifiles "pbms.default_host" '"localhost"'
php-ext-base-r1_addtoinifiles "pbms.default_port" '"8080"'
php-ext-base-r1_addtoinifiles "pbms.default_database" '"PBMS_TEST"'
php-ext-base-r1_addtoinifiles "pbms.pool_size" '"0"'
php-ext-base-r1_addtoinifiles "pbms.max_connections" '"-1"'
}
pkg_postinst() {
elog "Please see the files in ${ROOT}usr/share/${PN}-php5/ for some"
elog "examples and informations on how to use the functions that"
elog "pbms adds to PHP."
}

View File

@ -0,0 +1,66 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
PHP_EXT_NAME="pbms"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="yes"
MY_P=${P/_/-}
inherit php-ext-source-r1 eutils depend.apache autotools
KEYWORDS="~amd64 ~x86 ~arm"
DESCRIPTION="PBMS PHP Extension."
HOMEPAGE="http://www.eaccelerator.net/"
SRC_URI="http://www.blobstreaming.org/download/pbms/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="dev-db/mysql[pbms]"
RDEPEND="${DEPEND}"
# Webserver user and group, here for Apache by default
HTTPD_USER="${HTTPD_USER:-apache}"
HTTPD_GROUP="${HTTPD_GROUP:-apache}"
need_php_by_category
want_apache
S="${WORKDIR}/${MY_P}/php/ext"
pkg_setup() {
depend.apache_pkg_setup
has_php
require_php_sapi_from cgi apache2
}
src_configure() {
my_conf="--enable-pbms=shared --with-mysql=/usr"
}
src_install() {
php-ext-source-r1_src_install
insinto "/usr/share/${PN}-php5/"
doins -r docs
dodoc-php tests/*
php-ext-base-r1_addtoinifiles "pbms.default_host" '"localhost"'
php-ext-base-r1_addtoinifiles "pbms.default_port" '"8080"'
php-ext-base-r1_addtoinifiles "pbms.default_database" '"PBMS_TEST"'
php-ext-base-r1_addtoinifiles "pbms.pool_size" '"0"'
php-ext-base-r1_addtoinifiles "pbms.max_connections" '"-1"'
}
pkg_postinst() {
elog "Please see the files in ${ROOT}usr/share/${PN}-php5/ for some"
elog "examples and informations on how to use the functions that"
elog "pbms adds to PHP."
}