commit:     17c184d78921195ba49d5e39470d9727b0bc0568
Author:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 16:11:51 2016 +0000
Commit:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 16:11:51 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17c184d7

www-apps/mirmon added new ebuild for 2.10

Package-Manager: portage-2.2.26

 www-apps/mirmon/Manifest           |  1 +
 www-apps/mirmon/mirmon-2.10.ebuild | 45 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/www-apps/mirmon/Manifest b/www-apps/mirmon/Manifest
index cb718aa..9a985af 100644
--- a/www-apps/mirmon/Manifest
+++ b/www-apps/mirmon/Manifest
@@ -1 +1,2 @@
 DIST mirmon-1.38.tar.gz 33021 SHA256 
5defb2c0890d3461a2b8dd8cc3efc4c63c0814c043cb227a69b4a457a38b0ce3 SHA512 
a879f7ac979ad31d24a27940600c7a95e0f9db6cc8654fd36f830f9a9cfb9d3a7e86fcb27870da3889ad159028a6807203664038e985c12a5f59a6b19b473b08
 WHIRLPOOL 
69a061b459a4456dfcb5742f1bd17a81843ad97f90ecb3f0849f5dc78618aab55fae4d771b3d4552eb90f9f1b1ec0d70464e5f7e94565fa8097b7c39c3d4a9d2
+DIST mirmon-2.10.tar.gz 72212 SHA256 
384d0bd14d71b87797d2a1fa66a0fcb9af11307a9de20f2c5544344b3710fa33 SHA512 
e6e371e1b78b9a7e8e27dd1a68b07436430d9d1cbaa96ee6738049c4878c70b8736e24d86be2571f0a08b263b763c2d8883d78925ac703336f7a297903413d4d
 WHIRLPOOL 
1aef8dfbd9b045407a9f5ad12f95fd92e0482a95aa487ecb54de54a94d611320e295dc03b639988c81496292f7b668e132873480061b9a1758fff47e2542e06f

diff --git a/www-apps/mirmon/mirmon-2.10.ebuild 
b/www-apps/mirmon/mirmon-2.10.ebuild
new file mode 100644
index 0000000..8d1a629
--- /dev/null
+++ b/www-apps/mirmon/mirmon-2.10.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp eutils
+WEBAPP_MANUAL_SLOT="yes"
+
+DESCRIPTION="Simple webapp to monitor the status of mirrors"
+HOMEPAGE="https://www.staff.science.uu.nl/~penni101/mirmon/";
+SRC_URI="https://www.staff.science.uu.nl/~penni101/${PN}/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/perl-5.8.5-r2:0"
+RDEPEND="${DEPEND}
+       dev-perl/File-Tempdir
+       dev-perl/Socket6"
+
+src_prepare() {
+       epatch "${FILESDIR}/0002-Add-ipv6-monitor-support-to-mirmon.patch"
+}
+
+src_install() {
+       # Don't install empty dirs
+       MY_CGIBINDIR=""
+       MY_ICONSDIR=""
+       MY_ERRORSDIR=""
+
+       webapp_src_preinst
+
+       for file in mirmon.html mirmon.txt; do
+               dodoc ${file}
+               rm -f ${file}
+       done
+       cp -R icons "${D}"/${MY_HTDOCSDIR}
+       rm -rf icons
+       cp -R . "${D}"/${MY_HOSTROOTDIR}
+
+       webapp_src_install
+}

Reply via email to