www-apps/opendb: initial checkin if 1.5 version
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2190 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
e0295592e8
commit
2c45cdf90a
8
www-apps/opendb/ChangeLog
Normal file
8
www-apps/opendb/ChangeLog
Normal file
@ -0,0 +1,8 @@
|
||||
# ChangeLog for www-apps/opendb
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
09 May 2010; Mario Fetka <mario.fetka@gmail.com> +opendb-1.5.0.4.ebuild,
|
||||
+metadata.xml:
|
||||
initial checkin if 1.5 version
|
||||
|
10
www-apps/opendb/Manifest
Normal file
10
www-apps/opendb/Manifest
Normal file
@ -0,0 +1,10 @@
|
||||
AUX postinstall-en.txt 331 RMD160 6f8812b8ffa514a59b3b7f281d98b3c47ab6b598 SHA1 f5105ec8ef6c9f154b48b780b4f08c0533c62d26 SHA256 9a180555e0b03a6fdf2bab83431487157113bc28bdb220d8322852b1ca98f843
|
||||
DIST OpenDb-1.5.0.4.zip 1530729 RMD160 2853156001de2bea2a620c9e1388bab0a6bccb26 SHA1 93a017c205b7a4036031048d27afec10b5da6da8 SHA256 0fa07630b282511cf8cd6af8aa95416adf30c6c5e6bb4a38078e6dd3007b36a4
|
||||
DIST OpenDb-Lang-German-1.5.b5-iso8859-1.zip 39763 RMD160 887b9ebc67c93d9f27643744721e057eb3bba751 SHA1 f5aa76c320d6c4069ff4aa86fa895e3bd67064a7 SHA256 9626144ded1206c957ecfedbf637a07cec8566f2e15513a65ff4809f507025a3
|
||||
DIST OpenDb-Lang-Slovak-1.5.zip 10417 RMD160 d379cef3677fa62679b75d680eb503148a244c8a SHA1 4d4bf5dfe9407ea349d995e29fa037ebb7b4e3a8 SHA256 0df24fcb42f45d29f0fdea369b483d327a987b44b622dfee4affd7c172cd9a57
|
||||
DIST OpenDb-Theme-BlackIce-1.5.x.zip 125822 RMD160 8dbd3b31903bc7fc40490cf975d5277dac936644 SHA1 ff5030eb15ba5abc0b71242a9dabf0e521422b60 SHA256 c31386bdbdb1bfb82bf6417a3a25b02dc0cccaddfbe9bb26dc81bd8970f5f6cd
|
||||
DIST OpenDb-Theme-Joomlike-1.5.x-v01-00.zip 105060 RMD160 7b7ad30c053f43fda10cbe6f11927ae5641bc612 SHA1 4df534f81f739b5c24eef22791aacd2bc345239b SHA256 a8ec78e849b451f917f808c03b733445cc8f4f7817f1f934bf2f1a2e3596ee7e
|
||||
DIST OpenDb-Theme-Shadowland-1.5.x.zip 642766 RMD160 dda858b78a429ebf58e149a203633360a6573587 SHA1 4ffe19781e12032efaec30f86970ec8b4a17e357 SHA256 2c030e4b53a625f22e277abce7f6ccfac6aa7f7ce44a715fcf6f4a123a972fab
|
||||
EBUILD opendb-1.5.0.4.ebuild 2624 RMD160 1fbc7747d8396c5e508b6a658971427f6cc6c8aa SHA1 c838a9ecdd2a417d59a18146f19aaaf13800a2b3 SHA256 b95603603664fec4c76c7722e7ecdbb9808229e604a4d85e16812e4f19421038
|
||||
MISC ChangeLog 242 RMD160 c2b361782cf3ecc6b28432265f1b7adf1c50e81f SHA1 82b7b4b9a12dfe5b81ac3368ed2d9994d5e3ffe8 SHA256 4ec3d10a5002300db37e98a31dadbca19aadb77a937a3aaaa4ba52022432c237
|
||||
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5
|
34
www-apps/opendb/metadata.xml
Normal file
34
www-apps/opendb/metadata.xml
Normal 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>
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit webapp eutils
|
||||
|
||||
DESCRIPTION="The Open Media Lending Database (OpenDb) is an extremely flexible
|
||||
application to catalogue all sorts of things including DVD, VCD, CD, VHS, GAMES,
|
||||
BOOKS & Laser Discs"
|
||||
HOMEPAGE="http://opendb.iamvegan.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/OpenDb-0.81p13.zip
|
||||
amazonde? ( mirror://sourceforge/${PN}/amazonde-0.81p1.zip )
|
||||
amazonfr? ( mirror://sourceforge/${PN}/amazonfr-0.81.zip )
|
||||
amazonuk? ( mirror://sourceforge/${PN}/amazonuk-0.81p8.zip )
|
||||
hminfo? ( mirror://sourceforge/${PN}/hminfo-0.81p8.zip )
|
||||
dvdempire? ( mirror://sourceforge/${PN}/dvdempire-0.81p1.zip )
|
||||
iblist? ( mirror://sourceforge/${PN}/iblist-0.81.zip )
|
||||
themes? ( mirror://sourceforge/${PN}/naturals-0.81.zip )
|
||||
themes? ( mirror://sourceforge/${PN}/atom-0.81.zip )
|
||||
themes? ( mirror://sourceforge/${PN}/obsidian-0.81.zip )
|
||||
themes? ( mirror://sourceforge/${PN}/fuse-0.81.zip )
|
||||
themes? ( mirror://sourceforge/${PN}/blues-0.81.zip )
|
||||
themes? ( mirror://sourceforge/${PN}/default2-0.81.zip )
|
||||
themes? ( mirror://sourceforge/${PN}/menu-0.81.zip )
|
||||
themes? ( mirror://sourceforge/${PN}/orangecream-0.81.zip )
|
||||
themes? ( mirror://sourceforge/${PN}/simpsons-0.81.zip )
|
||||
itemtypes? ( http://opendb.iamvegan.net/contrib/item_type/zip/33rpm-0.81.zip )
|
||||
itemtypes? ( http://opendb.iamvegan.net/contrib/item_type/zip/45rpm-0.81.zip )
|
||||
itemtypes? ( http://opendb.iamvegan.net/contrib/item_type/zip/bootleg-0.81.zip )
|
||||
itemtypes? ( http://opendb.iamvegan.net/contrib/item_type/zip/cds-0.81.zip )
|
||||
itemtypes? ( http://opendb.iamvegan.net/contrib/item_type/zip/svcd-0.81.zip )
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
|
||||
IUSE="mysql amazonde amazonfr amazonuk hminfo dvdempire iblist themes itemtypes"
|
||||
|
||||
RDEPEND="virtual/httpd-php
|
||||
mysql? ( >=dev-db/mysql-3.23.2 )
|
||||
virtual/mta"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc docs/INSTALL docs/LICENSE docs/MySQL_3.23.X-create_user_and_db.sql
|
||||
dodoc docs/MySQL_4.X.X-create_user_and_db.sql docs/README
|
||||
dodoc docs/check_for_zombie_items.sql docs/export/ExportPlugins.txt docs/import/ImportPlugins.txt
|
||||
dodoc docs/lang/LanguagePacks.txt docs/opendb-items_1.1.dtd docs/theme/Themes.txt
|
||||
dodoc docs/admin/new_attribute.txt
|
||||
use amazonde && dodoc amazonde.readme
|
||||
docinto lang-patch
|
||||
dodoc docs/lang-patch/*
|
||||
docinto misc
|
||||
dodoc docs/misc/*
|
||||
docinto notes
|
||||
dodoc docs/notes/*
|
||||
docinto test
|
||||
dodoc docs/test/*
|
||||
docinto scripts
|
||||
dodoc docs/scripts/*
|
||||
docinto site
|
||||
dodoc docs/site/*
|
||||
|
||||
cp -R *.php export functions images import importcache ${D}/${MY_HTDOCSDIR}
|
||||
cp -R admin include lang log patch site theme upload ${D}/${MY_HTDOCSDIR}
|
||||
|
||||
echo "order deny,allow" >${D}/${MY_HTDOCSDIR}/log/.htaccess
|
||||
echo "deny from all" >>${D}/${MY_HTDOCSDIR}/log/.htaccess
|
||||
|
||||
webapp_configfile ${MY_HTDOCSDIR}/include/config.php
|
||||
|
||||
webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use amazonde; then
|
||||
einfo "You chose to install the amazon.de - plugin."
|
||||
einfo "Please read amazonde.readme in the docs-dir!"
|
||||
fi
|
||||
if use hminfo; then
|
||||
einfo "You chose to install the HometheaterInfo.com - plugin."
|
||||
einfo "This plugin requires the DVD_CSV.txt file downloaded from the"
|
||||
einfo "HomeTheaterInfo site. It is not distributed with the plugin. The"
|
||||
einfo "URL to download this file is currently"
|
||||
einfo "http://www.hometheaterinfo.com/download/dvd_csv.zip."
|
||||
fi
|
||||
}
|
80
www-apps/opendb/opendb-1.5.0.4.ebuild
Normal file
80
www-apps/opendb/opendb-1.5.0.4.ebuild
Normal file
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit webapp depend.php
|
||||
|
||||
DESCRIPTION="An extremely flexible application to catalogue all sorts of things"
|
||||
HOMEPAGE="http://opendb.iamvegan.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/OpenDb-${PV}.zip
|
||||
linguas_de? ( http://opendb.iamvegan.net/wiki/images/0/05/German-1.5.b5-iso8859-1-standard.zip -> OpenDb-Lang-German-1.5.b5-iso8859-1.zip )
|
||||
linguas_sk? ( http://opendb.iamvegan.net/wiki/images/0/08/Slovak_1.5.zip -> OpenDb-Lang-Slovak-1.5.zip )
|
||||
themes? ( http://neverdunn.net/opendb/themes/uploads/Shadowland.zip -> OpenDb-Theme-Shadowland-1.5.x.zip
|
||||
http://jack-frost.no-ip.info/themes/BlackIce_v1.5+.zip -> OpenDb-Theme-BlackIce-1.5.x.zip
|
||||
http://opendb.iamvegan.net/wiki/images/2/23/Joomlike_v01-00.zip -> OpenDb-Theme-Joomlike-1.5.x-v01-00.zip )
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="themes linguas_de linguas_sk"
|
||||
|
||||
DEPEND="|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )
|
||||
|| ( dev-lang/php[mysql] dev-lang/php[mysqli] )"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
need_httpd_cgi
|
||||
need_php_httpd
|
||||
|
||||
pkg_setup() {
|
||||
webapp_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc docs/ChangeLog docs/LICENSE docs/README
|
||||
docinto scripts
|
||||
dodoc docs/scripts/*
|
||||
|
||||
# Shadowland Theme
|
||||
use themes && mv -f Shadowland theme/Shadowland
|
||||
# Black Ice Theme
|
||||
use themes && mv -f BlackIce_v1.5+ theme/BlackIce
|
||||
# Joomlike Theme
|
||||
use themes && mv -f Joomlike_v01-00/Joomlike theme/Joomlike
|
||||
|
||||
[ -f include/local.config.php ] || cp include/local.config.php.dist include/local.config.php
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r *.php admin functions images include scripts site help import \
|
||||
itemcache lib export importcache install theme httpcache log upload
|
||||
|
||||
|
||||
echo "order deny,allow" >${D}/${MY_HTDOCSDIR}/log/.htaccess
|
||||
echo "deny from all" >>${D}/${MY_HTDOCSDIR}/log/.htaccess
|
||||
|
||||
echo "order deny,allow" >${D}/${MY_HTDOCSDIR}/importcache/.htaccess
|
||||
echo "deny from all" >>${D}/${MY_HTDOCSDIR}/importcache/.htaccess
|
||||
|
||||
echo "order deny,allow" >${D}/${MY_HTDOCSDIR}/itemcache/.htaccess
|
||||
echo "deny from all" >>${D}/${MY_HTDOCSDIR}/itemcache/.htaccess
|
||||
|
||||
echo "order deny,allow" >${D}/${MY_HTDOCSDIR}/upload/.htaccess
|
||||
echo "deny from all" >>${D}/${MY_HTDOCSDIR}/upload/.htaccess
|
||||
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/index.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/include/local.config.php
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
||||
## webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user