First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 35006
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PHP Bugs <php-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Josh Glover (RETIRED) <jmglov@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
adodb-4.0.4.ebuild adodb-4.0.4.ebuild (New Package) text/plain Josh Glover (RETIRED) 2003-12-03 13:36 0000 635 bytes Details
adodb-4.04.ebuild Ebuild for adodb using the php-lib.eclass text/plain Roy Marples (RETIRED) 2003-12-08 05:04 0000 897 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 35006 depends on: Show dependency tree
Bug 35006 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-12-03 13:31 0000
I have attached an ebuild for ADOdb, which is database class library which
hides the differences between the different databases supported by PHP. The
homepage is: 

http://php.weblogs.com/adodb

I suggest that it be placed in dev-php/adodb. The dependencies are:
virtual/php-4.0.5

Cheers,
Josh

------- Comment #1 From Josh Glover (RETIRED) 2003-12-03 13:36:57 0000 -------
Created an attachment (id=21655) [edit]
adodb-4.0.4.ebuild (New Package)

------- Comment #2 From Roy Marples (RETIRED) 2003-12-08 05:04:23 0000 -------
Created an attachment (id=21855) [edit]
Ebuild for adodb using the php-lib.eclass

Looks like someone beat me to this ebuild - should have checked here first. Oh
well.

Here's my ebuild anyways.
It checks for SQL support in mod_php and uses the php-lib eclass for installing
to the php lib dir (/usr/lib/php/adodb in my case).

------- Comment #3 From Roy Marples (RETIRED) 2003-12-08 05:05:11 0000 -------
(From update of attachment 21855 [edit])
># Copyright 2003 Roy "UberLord" Marples <uberlord@rsm.demon.co.uk>
># Distributed under the terms of the GNU General Public License v2
>
>inherit php-lib
>
>DESCRIPTION="Active Data Objects Data Base library for PHP"
>HOMEPAGE="http://php.weblogs.com/ADODB"
>DOT_P=${P/./}
>MY_P=${DOT_P/-/}
>SRC_URI="http://phplens.com/lens/dl/${MY_P}.tgz"
>
>LICENSE="LGPL-2.1"
>SLOT="0"
>KEYWORDS="x86 ~ppc ~sparc ~alpha"
>USE=""
>
>DEPEND=""
>RDEPEND="virtual/php"
>
>S="${WORKDIR}/${PN}"
>
>pkg_setup() {
>        GREPSQL=`grep sql /var/db/pkg/dev-php/mod_php*/USE`
>        if [ "${GREPSQL}" != "" ] ; then
>                return 0
>        else
>                eerror "Missing SQL support in mod_php !"
>                die "aborting..."
>        fi
>}
>
>src_install() {
>	# install php files
>	einfo "Building list of files to install"
>	php-lib_src_install . `find . -name '*.php' -type f -print`
>
>	# install documentation
>	dodoc *.txt
>	dohtml *.htm
>}

------- Comment #4 From Roy Marples (RETIRED) 2003-12-08 05:06:46 0000 -------
Bah - me needs to learn bugzilla a bit more

------- Comment #5 From Robin Johnson 2004-01-04 20:59:58 0000 -------
in tree now, very partially based off your ebuild there, but i did a lot more
work on it myself.

------- Comment #6 From Robin Johnson 2004-01-04 21:00:18 0000 -------
*** Bug 28238 has been marked as a duplicate of this bug. ***

------- Comment #7 From Roy Marples (RETIRED) 2004-01-05 02:44:13 0000 -------
Thanks :)

------- Comment #8 From Daniel Black 2004-01-05 03:23:08 0000 -------
Robin small bug in the ebuild - you've got a USE="" statement - should this be
IUSE=""? Thanks for adding it though ;-) (and the mod on dante-init, and
web-apps etc....)

First Last Prev Next    No search results available      Search page      Enter new bug