summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/megamgr/ChangeLog7
-rw-r--r--sys-block/megamgr/megamgr-5.20-r2.ebuild12
2 files changed, 14 insertions, 5 deletions
diff --git a/sys-block/megamgr/ChangeLog b/sys-block/megamgr/ChangeLog
index e0fd58a13214..064dde6f85a3 100644
--- a/sys-block/megamgr/ChangeLog
+++ b/sys-block/megamgr/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-block/megamgr
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/megamgr/ChangeLog,v 1.6 2011/07/07 17:14:45 idl0r Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/megamgr/ChangeLog,v 1.7 2012/02/28 05:40:58 idl0r Exp $
+
+ 28 Feb 2012; Christian Ruppert <idl0r@gentoo.org> megamgr-5.20-r2.ebuild:
+ Add fetch restriction, bug 405987
*megamgr-5.20-r2 (07 Jul 2011)
diff --git a/sys-block/megamgr/megamgr-5.20-r2.ebuild b/sys-block/megamgr/megamgr-5.20-r2.ebuild
index 0ea595f86e73..3452441f40d6 100644
--- a/sys-block/megamgr/megamgr-5.20-r2.ebuild
+++ b/sys-block/megamgr/megamgr-5.20-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/megamgr/megamgr-5.20-r2.ebuild,v 1.2 2011/07/07 17:15:17 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/megamgr/megamgr-5.20-r2.ebuild,v 1.3 2012/02/28 05:40:58 idl0r Exp $
EAPI="3"
@@ -20,12 +20,18 @@ IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
-RESTRICT="mirror"
+RESTRICT="mirror fetch"
S="${WORKDIR}"
QA_PRESTRIPPED="/opt/bin/megamgr"
+pkg_nofetch() {
+ einfo "Upstream has implement a mandatory clickthrough EULA for distfile download"
+ einfo "Please visit $SRC_URI"
+ einfo "And place $A in ${DISTDIR}"
+}
+
pkg_setup() {
use amd64 && { has_multilib_profile || die "needs multilib profile on amd64"; }
}