Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 422753 - dev-perl/net-server-2.006: version bump
Summary: dev-perl/net-server-2.006: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-21 10:10 UTC by Bernd Lommerzheim
Modified: 2012-07-24 14:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-server-2.006.0.ebuild (net-server-2.006.0.ebuild,531 bytes, text/plain)
2012-06-21 10:10 UTC, Bernd Lommerzheim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Lommerzheim 2012-06-21 10:10:28 UTC
Created attachment 315911 [details]
net-server-2.006.0.ebuild

In the last few weeks Net::Server 2.00{0-6} were released. See [1] for the complete changelog. Net::Server 2 introduces IPv6 support and makes Gentoo Bug #370355 obsolete. As version 2 is shipped with a new net-server tool I added USE="tools" to the attached ebuild. Furthermore I ran the testsuite with perl 5.16.0 and all tests were successful.

[1] http://cpansearch.perl.org/src/RHANDOM/Net-Server-2.006/Changes
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-21 15:24:32 UTC
Comment on attachment 315911 [details]
net-server-2.006.0.ebuild

--- net-server-0.990.0.ebuild   2011-08-27 20:25:01.000000000 +0200
+++ -   2012-06-21 17:24:19.619207376 +0200
@@ -1,21 +1,26 @@
-# 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/dev-perl/net-server/net-server-0.990.0.ebuild,v 1.1 2011/08/27 18:25:01 tove Exp $
+# $Header: $
 
 EAPI=4
 
 MY_PN=Net-Server
 MODULE_AUTHOR=RHANDOM
-MODULE_VERSION=0.99
+MODULE_VERSION=2.006
 inherit perl-module
 
 DESCRIPTION="Extensible, general Perl server engine"
 
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE=""
+IUSE="tools"
 
 RDEPEND="dev-perl/IO-Multiplex"
 DEPEND="${RDEPEND}"
 
 SRC_TEST="do"
+
+src_prepare() {
+       perl-module_src_prepare
+       use tools || sed -i -e '/EXE_FILES/d' Makefile.PL
+}
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-24 03:37:57 UTC
Tove do you mind if I pick this one up? I need it for Munin.
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2012-07-24 04:03:53 UTC
Sure, no problem. If I am not fast enough and you need it.

But I remember tests failed and there are some bug reports open upstream.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-24 04:08:12 UTC
I'll work on those then :) Yes at the end I'm learning Perl as well... too much stuff is using it!
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-24 14:39:02 UTC
I've tested it on two of my systems, an IPv6 dual stack and an IPv4 only (but with kernel IPv4 eanbled), and neither failed tests. The tinderboxes will soon try a third configuration (IPv6 only).

I also made sure that munin-node works correctly both with IPv4 and IPv6 and everything seems to be okay.. please let me know if I screwed something up.

Bernd, thanks a lot for the ebuild — I only dropped the tools USE flag because simply I don't see that to be that much of an issue for the moment, maybe Perl team thinks otherwise.