summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentfredric@gmail.com>2016-03-07 06:26:18 +1300
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-03-09 21:48:19 +0100
commit33d2eccf99c16c60a9d92513511c0e6f1f0ed1b8 (patch)
tree19870c3d8f211534ee9d6f08af4a94d95008b955 /dev-perl/Net-SNMP
parentdev-perl/net-ssh-perl: Remove from Tree (diff)
downloadgentoo-33d2eccf99c16c60a9d92513511c0e6f1f0ed1b8.tar.gz
gentoo-33d2eccf99c16c60a9d92513511c0e6f1f0ed1b8.tar.bz2
gentoo-33d2eccf99c16c60a9d92513511c0e6f1f0ed1b8.zip
dev-perl/Net-SNMP: Fix packaging and incorrect dependencies
- EAPI6 instead of EAPI5 - No MY_P=/S= sillyness - Dependencies that support certain paths that expert usage could avoid ( ie: non-encrypted SNMP ) migrated to USE=minimal - Test dependency added - Missing Crypt-Rijndael and Socket6 dependencies added to support features that could require them. - Examples now regulated by USE=examples - Dropped keywords for alpha, arm, ppc, ppc64 due to new dep Crypt-Rijndael Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-perl/Net-SNMP')
-rw-r--r--dev-perl/Net-SNMP/Net-SNMP-6.0.1-r2.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-perl/Net-SNMP/Net-SNMP-6.0.1-r2.ebuild b/dev-perl/Net-SNMP/Net-SNMP-6.0.1-r2.ebuild
new file mode 100644
index 000000000000..0d6c3cf8a0ba
--- /dev/null
+++ b/dev-perl/Net-SNMP/Net-SNMP-6.0.1-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_VERSION=v${PV}
+DIST_AUTHOR=DTOWN
+inherit perl-module
+
+DESCRIPTION="A SNMP Perl Module"
+
+SLOT="0"
+KEYWORDS="amd64 hppa ia64 ~mips sparc x86 ~ppc-aix ~sparc-solaris ~x86-solaris"
+# Package warrants IUSE examples
+IUSE="examples test minimal"
+
+RDEPEND="
+ !minimal? (
+ >=dev-perl/Crypt-DES-2.30.0
+ >=dev-perl/Crypt-Rijndael-1.20.0
+ >=dev-perl/Digest-HMAC-1.0
+ >=virtual/perl-Digest-MD5-2.110.0
+ >=dev-perl/Digest-SHA1-1.20.0
+ >=dev-perl/Socket6-0.230.0
+ )
+ virtual/perl-Carp
+ virtual/perl-Exporter
+ virtual/perl-IO
+ virtual/perl-Math-BigInt
+"
+DEPEND="${RDEPEND}
+ >=dev-perl/Module-Build-0.360.0
+ test? ( virtual/perl-Test )
+"
+src_install() {
+ perl-module_src_install
+ if use examples; then
+ docompress -x usr/share/doc/${PF}/examples
+ insinto usr/share/doc/${PF}/
+ doins -r examples/
+ fi
+}