diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2011-10-12 22:09:17 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2011-10-12 22:09:17 +0000 |
commit | a7f2ae5f9b42264d4f94a3cbc16ba778468a24da (patch) | |
tree | e9fc201e38f1fcc8051aad3709b1820bc1a58029 /www-misc/mirrorbrain | |
parent | [dev-util/catalyst] sync with gx86, style changes (diff) | |
download | darkside-a7f2ae5f9b42264d4f94a3cbc16ba778468a24da.tar.gz darkside-a7f2ae5f9b42264d4f94a3cbc16ba778468a24da.tar.bz2 darkside-a7f2ae5f9b42264d4f94a3cbc16ba778468a24da.zip |
cp from ramereth-overlay
Diffstat (limited to 'www-misc/mirrorbrain')
-rw-r--r-- | www-misc/mirrorbrain/ChangeLog | 26 | ||||
-rw-r--r-- | www-misc/mirrorbrain/Manifest | 20 | ||||
-rw-r--r-- | www-misc/mirrorbrain/files/mirrorbrain.conf.dist | 15 | ||||
-rw-r--r-- | www-misc/mirrorbrain/metadata.xml | 16 | ||||
-rw-r--r-- | www-misc/mirrorbrain/mirrorbrain-2.11.3.ebuild | 75 | ||||
-rw-r--r-- | www-misc/mirrorbrain/mirrorbrain-2.8.1.ebuild | 72 | ||||
-rw-r--r-- | www-misc/mirrorbrain/mirrorbrain-2.8.ebuild | 72 | ||||
-rw-r--r-- | www-misc/mirrorbrain/mirrorbrain-9999.ebuild | 73 |
8 files changed, 369 insertions, 0 deletions
diff --git a/www-misc/mirrorbrain/ChangeLog b/www-misc/mirrorbrain/ChangeLog new file mode 100644 index 0000000..ad96608 --- /dev/null +++ b/www-misc/mirrorbrain/ChangeLog @@ -0,0 +1,26 @@ +# ChangeLog for www-misc/mirrorbrain +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*mirrorbrain-2.11.3 (17 Dec 2009) + + 17 Dec 2009; Lance Albertson <ramereth@gentoo.org> + +mirrorbrain-2.11.3.ebuild, +metadata.xml: + Version bump, fix docs & deps + +*mirrorbrain-9999 (20 May 2009) + + 20 May 2009; Lance Albertson <ramereth@gentoo.org> + +mirrorbrain-9999.ebuild: + New subversion ebuild + + 20 May 2009; Lance Albertson <ramereth@gentoo.org> mirrorbrain-2.8.ebuild: + Several fixes + + * Made versions stricter for mirrorbrain + + * All tools, sql are now in /usr/share + + 15 May 2009; Lance Albertson <ramereth@gentoo.org> ChangeLog: + New ebuild + diff --git a/www-misc/mirrorbrain/Manifest b/www-misc/mirrorbrain/Manifest new file mode 100644 index 0000000..ca049a4 --- /dev/null +++ b/www-misc/mirrorbrain/Manifest @@ -0,0 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX mirrorbrain.conf.dist 283 RMD160 75e1d9b143df9d65b280ae6033d5421c03f64720 SHA1 fe724636efcfc6be74a583d159925ba99670d874 SHA256 f0128c5596b37b92b08b1ddde850f7aa68a29cccee7265bfa4d0beb2beb1c142 +DIST mirrorbrain-2.11.3.tar.gz 356242 RMD160 138bad4b52622e93069640414fee3fee365e135f SHA1 bb9f02aca01d6b1494f6067dd2bff1125c092e7d SHA256 cf18c3863f064463413744c4a537b3180bbbfbfd27d69a313236498a898af03e +DIST mirrorbrain-2.8.1.tar.gz 308537 RMD160 5f3a1dc08c005e7151b7bba9030e08e1b18ed39b SHA1 929c9bd427b9d5d9b9aaf9bc256a20d08516ea27 SHA256 999262154d672e8c2339cbf67ec5ed9cf654a5767473893c91894b742c8f6bf5 +DIST mirrorbrain-2.8.tar.gz 307722 RMD160 83fccfc8bff5a9c07d38407b44681135c3741bb9 SHA1 79470b1c46b6fb861001e7ff9c903f41948eb8e8 SHA256 204ea49097da5502443d7f8a5f34181667486de6c0be227da7e4524cba146125 +EBUILD mirrorbrain-2.11.3.ebuild 1718 RMD160 e301499efb6443c91bbeeb1bc1dc9c637f5efe07 SHA1 a83f7eb9591bfc01649e17d80d9724cece253bbe SHA256 d2489c47447f93879b1656112d72e7237a0a0e107089322ecd812956b4049693 +EBUILD mirrorbrain-2.8.1.ebuild 1666 RMD160 7eb8b45f6bb8aa6fcceea51a171cb51b34118f76 SHA1 fbe58c7ae80b7997e82bd8b81e284b59a33bc517 SHA256 ab68815f9710cadab95d9e609067ace4389af7332018a7cd91b480d50ee74ab6 +EBUILD mirrorbrain-2.8.ebuild 1666 RMD160 7eb8b45f6bb8aa6fcceea51a171cb51b34118f76 SHA1 fbe58c7ae80b7997e82bd8b81e284b59a33bc517 SHA256 ab68815f9710cadab95d9e609067ace4389af7332018a7cd91b480d50ee74ab6 +EBUILD mirrorbrain-9999.ebuild 1710 RMD160 c8a928b832259763169073bde30d9b3debfc6ee9 SHA1 26936a0e7b859a712fa814d3ab9e8b6d6642b2e9 SHA256 b42ec2f84bf698adaf8a7a82250a71ceb17fdcbe8b624ac60e3ffa3618af79b5 +MISC ChangeLog 684 RMD160 b19fe5f184e8c13d38c09643d4875c549178d805 SHA1 1e71151c72721e816915b51bc548f169236a66ae SHA256 9f1a8d34facba936c11a1bad5d31d6076936d36563014ffa1359ee2ba265dc87 +MISC metadata.xml 572 RMD160 5b7aa04b3fb08e0fbb6a09cc9afff20d71665fc7 SHA1 2eb146a7c8554a0559c2e034ee6f14efe357e65e SHA256 bd97a6cb6d478f88d4b367bb7f5dd8de0f1d53b7a4dcca1bc484c9fabdb25308 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iD8DBQFLKeA/QW+hXSf0t0IRAsEVAJ94B1L2KXKMIsQHXw04+wmHM8NxSACfTqBR +Tfp7F7l0FIUcZOQUJdWkIr8= +=ECPT +-----END PGP SIGNATURE----- diff --git a/www-misc/mirrorbrain/files/mirrorbrain.conf.dist b/www-misc/mirrorbrain/files/mirrorbrain.conf.dist new file mode 100644 index 0000000..78a8eaf --- /dev/null +++ b/www-misc/mirrorbrain/files/mirrorbrain.conf.dist @@ -0,0 +1,15 @@ +[general] +instances = samba + +[samba] +dbuser = mb +dbpass = 12345 +dbdriver = postgresql +dbhost = your_host.example.com +# optional: dbport = ... +dbname = mb_samba + +[mirrorprobe] +logfile = /var/log/mirrorprobe.log +loglevel = INFO +mailto = your_mail@example.com, another_mail@example.com diff --git a/www-misc/mirrorbrain/metadata.xml b/www-misc/mirrorbrain/metadata.xml new file mode 100644 index 0000000..cd40d93 --- /dev/null +++ b/www-misc/mirrorbrain/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>noherd</herd> + <maintainer> + <email>ramereth@gentoo.org</email> + <name>Lance Albertson</name> + </maintainer> + <longdescription lang="en"> + MirrorBrain is an open source framework to run a content delivery network + using mirror servers. It solves a challenge that many popular open source + projects face - a flood of download requests, often magnitudes more than a + single site could practically handle. + </longdescription> +</pkgmetadata> + diff --git a/www-misc/mirrorbrain/mirrorbrain-2.11.3.ebuild b/www-misc/mirrorbrain/mirrorbrain-2.11.3.ebuild new file mode 100644 index 0000000..7742ed0 --- /dev/null +++ b/www-misc/mirrorbrain/mirrorbrain-2.11.3.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit distutils eutils + +MY_PN="mirrorbrain" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A Download Redirector and Metalink Generator" +HOMEPAGE="http://mirrorbrain.org" +SRC_URI="http://mirrorbrain.org/files/releases/${MY_P}.tar.gz" +LICENSE="Apache-2.0" + +KEYWORDS="~x86 ~amd64" +IUSE="" +SLOT="0" + +DEPEND="dev-libs/geoip + =www-apache/mod_autoindex_mb-${PV} + =www-apache/mod_mirrorbrain-${PV} + www-apache/mod_form + dev-perl/DBD-Pg + dev-perl/Config-IniFiles + dev-perl/DateTime + dev-perl/Digest-MD4 + dev-perl/libwww-perl + dev-python/psycopg + dev-python/sqlobject + dev-python/cmdln" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewgroup mirrorbrain + enewuser mirrorbrain -1 -1 /dev/null mirrorbrain +} + +src_compile() { + tc-export CC + cd tools + ${CC} -Wall -fPIC -lGeoIP -o geoiplookup_continent geoiplookup_continent.c + ${CC} -Wall -fPIC -lGeoIP -o geoiplookup_city geoiplookup_city.c + cd ../mirrordoctor + distutils_src_compile +} + +src_install() { + # install docs + dodoc docs/*.rst TODO FAQ + docinto installation + dodoc docs/installation/*.rst + + # install misc files/scripts + newbin mirrorprobe/mirrorprobe.py mirrorprobe + insinto /usr/share/"${PN}" + doins -r sql + doins -r tools + rm "${D}"/usr/share/"${PN}"/tools/*.c + # install mirrordoctor + cd mirrordoctor + distutils_src_install + doins -r famfamfam_flag_icons + mv "${D}"/usr/bin/mirrordoctor.py "${D}"/usr/bin/mirrordoctor + dosym /usr/bin/mirrordoctor /usr/bin/mb + + # config files + insinto /etc + doins "${FILESDIR}"/mirrorbrain.conf.dist + fperms 0640 /etc/mirrorbrain.conf.dist + fowners root:mirrorbrain /etc/mirrorbrain.conf.dist +} diff --git a/www-misc/mirrorbrain/mirrorbrain-2.8.1.ebuild b/www-misc/mirrorbrain/mirrorbrain-2.8.1.ebuild new file mode 100644 index 0000000..558b307 --- /dev/null +++ b/www-misc/mirrorbrain/mirrorbrain-2.8.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit distutils eutils + +MY_PN="mirrorbrain" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A Download Redirector and Metalink Generator" +HOMEPAGE="http://mirrorbrain.org" +SRC_URI="http://mirrorbrain.org/files/releases/${MY_P}.tar.gz" +LICENSE="Apache-2.0" + +KEYWORDS="~x86 ~amd64" +IUSE="" +SLOT="0" + +DEPEND="dev-libs/geoip + =www-apache/mod_autoindex_mb-${PV} + =www-apache/mod_mirrorbrain-${PV} + www-apache/mod_form + dev-python/psycopg + dev-perl/DBD-Pg + dev-python/sqlobject + dev-perl/Config-IniFiles + dev-perl/Digest-MD4 + dev-perl/libwww-perl + dev-python/cmdln" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewgroup mirrorbrain + enewuser mirrorbrain -1 -1 /dev/null mirrorbrain +} + +src_compile() { + tc-export CC + cd tools + ${CC} -Wall -fPIC -lGeoIP -o geoiplookup_continent geoiplookup_continent.c + ${CC} -Wall -fPIC -lGeoIP -o geoiplookup_city geoiplookup_city.c + cd ../mirrordoctor + distutils_src_compile +} + +src_install() { + # install docs + dodoc ABOUT BUGS FAQ INSTALL NEWS TODO THANKS + + # install misc files/scripts + newbin mirrorprobe/mirrorprobe.py mirrorprobe + insinto /usr/share/"${PN}" + doins -r sql + doins -r tools + rm "${D}"/usr/share/"${PN}"/tools/*.c + # install mirrordoctor + cd mirrordoctor + distutils_src_install + doins -r famfamfam_flag_icons + mv "${D}"/usr/bin/mirrordoctor.py "${D}"/usr/bin/mirrordoctor + dosym /usr/bin/mirrordoctor /usr/bin/mb + + # config files + insinto /etc + doins "${FILESDIR}"/mirrorbrain.conf.dist + fperms 0640 /etc/mirrorbrain.conf.dist + fowners root:mirrorbrain /etc/mirrorbrain.conf.dist +} diff --git a/www-misc/mirrorbrain/mirrorbrain-2.8.ebuild b/www-misc/mirrorbrain/mirrorbrain-2.8.ebuild new file mode 100644 index 0000000..558b307 --- /dev/null +++ b/www-misc/mirrorbrain/mirrorbrain-2.8.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit distutils eutils + +MY_PN="mirrorbrain" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A Download Redirector and Metalink Generator" +HOMEPAGE="http://mirrorbrain.org" +SRC_URI="http://mirrorbrain.org/files/releases/${MY_P}.tar.gz" +LICENSE="Apache-2.0" + +KEYWORDS="~x86 ~amd64" +IUSE="" +SLOT="0" + +DEPEND="dev-libs/geoip + =www-apache/mod_autoindex_mb-${PV} + =www-apache/mod_mirrorbrain-${PV} + www-apache/mod_form + dev-python/psycopg + dev-perl/DBD-Pg + dev-python/sqlobject + dev-perl/Config-IniFiles + dev-perl/Digest-MD4 + dev-perl/libwww-perl + dev-python/cmdln" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewgroup mirrorbrain + enewuser mirrorbrain -1 -1 /dev/null mirrorbrain +} + +src_compile() { + tc-export CC + cd tools + ${CC} -Wall -fPIC -lGeoIP -o geoiplookup_continent geoiplookup_continent.c + ${CC} -Wall -fPIC -lGeoIP -o geoiplookup_city geoiplookup_city.c + cd ../mirrordoctor + distutils_src_compile +} + +src_install() { + # install docs + dodoc ABOUT BUGS FAQ INSTALL NEWS TODO THANKS + + # install misc files/scripts + newbin mirrorprobe/mirrorprobe.py mirrorprobe + insinto /usr/share/"${PN}" + doins -r sql + doins -r tools + rm "${D}"/usr/share/"${PN}"/tools/*.c + # install mirrordoctor + cd mirrordoctor + distutils_src_install + doins -r famfamfam_flag_icons + mv "${D}"/usr/bin/mirrordoctor.py "${D}"/usr/bin/mirrordoctor + dosym /usr/bin/mirrordoctor /usr/bin/mb + + # config files + insinto /etc + doins "${FILESDIR}"/mirrorbrain.conf.dist + fperms 0640 /etc/mirrorbrain.conf.dist + fowners root:mirrorbrain /etc/mirrorbrain.conf.dist +} diff --git a/www-misc/mirrorbrain/mirrorbrain-9999.ebuild b/www-misc/mirrorbrain/mirrorbrain-9999.ebuild new file mode 100644 index 0000000..8260516 --- /dev/null +++ b/www-misc/mirrorbrain/mirrorbrain-9999.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit distutils eutils subversion + +#MY_PN="mirrorbrain" +#MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A Download Redirector and Metalink Generator" +HOMEPAGE="http://mirrorbrain.org" +SRC_URI="" +ESVN_REPO_URI="https://forgesvn1.novell.com/svn/opensuse/trunk/tools/download-redirector-v2" +LICENSE="Apache-2.0" + +KEYWORDS="" +IUSE="" +SLOT="0" + +DEPEND="dev-libs/geoip + =www-apache/mod_autoindex_mb-${PV} + =www-apache/mod_mirrorbrain-${PV} + www-apache/mod_form + dev-python/psycopg + dev-perl/DBD-Pg + dev-python/sqlobject + dev-perl/Config-IniFiles + dev-perl/Digest-MD4 + dev-perl/libwww-perl + dev-python/cmdln" +RDEPEND="${DEPEND}" + +#S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewgroup mirrorbrain + enewuser mirrorbrain -1 -1 /dev/null mirrorbrain +} + +src_compile() { + tc-export CC + cd tools + ${CC} -Wall -fPIC -lGeoIP -o geoiplookup_continent geoiplookup_continent.c + ${CC} -Wall -fPIC -lGeoIP -o geoiplookup_city geoiplookup_city.c + cd ../mirrordoctor + distutils_src_compile +} + +src_install() { + # install docs + dodoc ABOUT BUGS FAQ INSTALL NEWS TODO THANKS + + # install misc files/scripts + newbin mirrorprobe/mirrorprobe.py mirrorprobe + insinto /usr/share/"${PN}" + doins -r sql + doins -r tools + rm "${D}"/usr/share/"${PN}"/tools/*.c + # install mirrordoctor + cd mirrordoctor + distutils_src_install + doins -r famfamfam_flag_icons + mv "${D}"/usr/bin/mirrordoctor.py "${D}"/usr/bin/mirrordoctor + dosym /usr/bin/mirrordoctor /usr/bin/mb + + # config files + insinto /etc + doins "${FILESDIR}"/mirrorbrain.conf.dist + fperms 0640 /etc/mirrorbrain.conf.dist + fowners root:mirrorbrain /etc/mirrorbrain.conf.dist +} |