Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45361 Details for
Bug 66169
Request: TorrentFlux
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
torrentflux-1.5.ebuild
torrentflux-1.5.ebuild (text/plain), 1.88 KB, created by
Ross Dougherty
on 2004-12-05 23:29:25 UTC
(
hide
)
Description:
torrentflux-1.5.ebuild
Filename:
MIME Type:
Creator:
Ross Dougherty
Created:
2004-12-05 23:29:25 UTC
Size:
1.88 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit webapp >S=${WORKDIR}/${PN}_${PV} > >DESCRIPTION="TorrentFlux is a FREE PHP based Torrent client that runs on a web server. Manage all of your Torrent downloads through a convenient web interface from anywhere" >SRC_URI="mirror://sourceforge/torrentflux/${P}.tar.gz" >HOMEPAGE="http://www.torrentflux.com" > >LICENSE="GPL-2" >KEYWORDS="~x86" > >IUSE="" > >RDEPEND="dev-db/mysql > net-www/apache > dev-php/mod_php" > >pkg_setup() { > webapp_pkg_setup > > if ! has mysql $(</var/db/pkg/`best_version mod_php`/USE) ; then > eerror "mod_php is missing mysql support. Please add" > eerror "'mysql' to your USE flags, and re-emerge mod_php." > die "mod_php needs mysql support" > fi >} > >src_install () { > webapp_src_preinst > > PASSWORD=${RANDOM}${RANDOM}${RANDOM} > sed '1s/^/GRANT ALL PRIVILEGES ON torrentflux.* TO "torrentflux"@"localhost" IDENTIFIED BY "'${PASSWORD}'";\nCREATE DATABASE torrentflux;\nUSE torrentflux;\nFLUSH PRIVILEGES;\n/' -i sql/torrentflux.sql > sed -e 's|$cfg\["db_user"] = "user"|$cfg\["db_user"] = "torrentflux"|' \ > -e 's|$cfg\["db_pass"] = "password"|$cfg\["db_pass"] = "'${PASSWORD}'"|' \ > -i html/config.php > chmod o-r sql/torrentflux.sql html/config.php > > dodoc CHANGELOG COPYING INSTALL README > > # future versions may require installing contents of upgrades/ > cp -R html/* ${D}/${MY_HTDOCSDIR} > > dodir /usr/local/torrent > > # We'll use the supplied copy of BitTornado as the copy in portage may not always be compatible > find TF_BitTornado/ -name .cvs\* -or \( -type d -name CVS -prune \) -or \( -type d -name original_src -prune \) | xargs rm -rf > cp -R TF_BitTornado/ ${D}/usr/local/ > > webapp_sqlscript mysql sql/torrentflux.sql > webapp_configfile ${MY_HTDOCSDIR}/config.php > webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt > webapp_hook_script ${FILESDIR}/reconfig > webapp_src_install >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 66169
: 45361 |
45362
|
45363