From 1842c0a9f3c74445821c9d420b3d5fd56f84fe55 Mon Sep 17 00:00:00 2001 From: Jeremy Olexa Date: Wed, 12 Oct 2011 22:33:07 +0000 Subject: [www-misc/mirrorbrain] cleanup and bump --- www-misc/mirrorbrain/mirrorbrain-2.11.3.ebuild | 75 -------------------------- www-misc/mirrorbrain/mirrorbrain-2.15.1.ebuild | 75 ++++++++++++++++++++++++++ www-misc/mirrorbrain/mirrorbrain-2.8.1.ebuild | 72 ------------------------- www-misc/mirrorbrain/mirrorbrain-2.8.ebuild | 72 ------------------------- www-misc/mirrorbrain/mirrorbrain-9999.ebuild | 73 ------------------------- 5 files changed, 75 insertions(+), 292 deletions(-) delete mode 100644 www-misc/mirrorbrain/mirrorbrain-2.11.3.ebuild create mode 100644 www-misc/mirrorbrain/mirrorbrain-2.15.1.ebuild delete mode 100644 www-misc/mirrorbrain/mirrorbrain-2.8.1.ebuild delete mode 100644 www-misc/mirrorbrain/mirrorbrain-2.8.ebuild delete mode 100644 www-misc/mirrorbrain/mirrorbrain-9999.ebuild diff --git a/www-misc/mirrorbrain/mirrorbrain-2.11.3.ebuild b/www-misc/mirrorbrain/mirrorbrain-2.11.3.ebuild deleted file mode 100644 index 7742ed0..0000000 --- a/www-misc/mirrorbrain/mirrorbrain-2.11.3.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# 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.15.1.ebuild b/www-misc/mirrorbrain/mirrorbrain-2.15.1.ebuild new file mode 100644 index 0000000..7742ed0 --- /dev/null +++ b/www-misc/mirrorbrain/mirrorbrain-2.15.1.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 deleted file mode 100644 index 558b307..0000000 --- a/www-misc/mirrorbrain/mirrorbrain-2.8.1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# 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 deleted file mode 100644 index 558b307..0000000 --- a/www-misc/mirrorbrain/mirrorbrain-2.8.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# 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 deleted file mode 100644 index 8260516..0000000 --- a/www-misc/mirrorbrain/mirrorbrain-9999.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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 -} -- cgit v1.2.3-65-gdbad