From owner-freebsd-perl@freebsd.org Mon Oct 10 16:14:46 2016 Return-Path: Delivered-To: freebsd-perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D5BDC0CC06 for ; Mon, 10 Oct 2016 16:14:46 +0000 (UTC) (envelope-from bjornr@isnic.is) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 82F08D29 for ; Mon, 10 Oct 2016 16:14:46 +0000 (UTC) (envelope-from bjornr@isnic.is) Received: by mailman.ysv.freebsd.org (Postfix) id 82522C0CC05; Mon, 10 Oct 2016 16:14:46 +0000 (UTC) Delivered-To: perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81FB6C0CC04 for ; Mon, 10 Oct 2016 16:14:46 +0000 (UTC) (envelope-from bjornr@isnic.is) Received: from aker.isnic.is (aker.isnic.is [IPv6:2001:67c:6c:58::91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.isnic.is", Issuer "RapidSSL SHA256 CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 42A23D28 for ; Mon, 10 Oct 2016 16:14:46 +0000 (UTC) (envelope-from bjornr@isnic.is) Received: from sirona.isnic.is (sirona.isnic.is [193.4.58.72]) by aker.isnic.is (Postfix) with ESMTP id 875CB3AD4B for ; Mon, 10 Oct 2016 16:14:34 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=isnic.is; s=mail; t=1476116074; bh=Hba2KTAScz34wtdiDOuMbvljszkxORqFVlVkTFLIUJY=; h=Date:From:To:In-Reply-To:Subject; b=TCJF1gFvy1vXWClium0tIHB/TZBM3x0EbP2LpShib8ewcATVisMtvihbgpQTnS5Fg HtHTiPgCjJAasAkijjAlEvTZEvFp53prbSykartFx9Rn8TFyro/4ODrdOSwHXvY5rY ty9+2JWv7Dr4VOKDqn2Y/5/3rX1rXZ9E/yFU9TJ0= Received: from sirona.isnic.is (localhost.localdomain [127.0.0.1]) by sirona.isnic.is (Postfix) with ESMTP id 8E06516500EE for ; Mon, 10 Oct 2016 16:14:31 +0000 (GMT) Received: from sirona.isnic.is (localhost.localdomain [127.0.0.1]) by sirona.isnic.is (Postfix) with ESMTP id 819F016502AD for ; Mon, 10 Oct 2016 16:14:31 +0000 (GMT) Received: from sirona.isnic.is (sirona.isnic.is [193.4.58.72]) by sirona.isnic.is (Postfix) with ESMTP id 7EA1716500EE for ; Mon, 10 Oct 2016 16:14:31 +0000 (GMT) Date: Mon, 10 Oct 2016 16:14:31 +0000 (GMT) From: =?utf-8?Q?Bj=C3=B6rn_R=C3=B3bertsson?= To: perl@freebsd.org Message-ID: <1666507690.937418.1476116071466.JavaMail.zimbra@sirona.isnic.is> In-Reply-To: <1885134660.937356.1476115915466.JavaMail.zimbra@sirona.isnic.is> Subject: Re p5-Net-Server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [193.4.58.72] X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - GC53 (Mac)/8.0.9_GA_6191) Thread-Topic: Re p5-Net-Server Thread-Index: acj04th++sGjG0NFTmEnZuDXtarOcw== X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2016 16:14:46 -0000 A version compare fails in perl 5.22 after Syslog VERSION contains _, i.e. = perl reports: Argument "0.33_01" isn't numeric in numeric lt (<) at /usr/local/lib/perl5/= site_perl/Net/Server/Log/Sys/Syslog.pm line 42. I am using p5-Net-Server 2.008_1 and perl5-5.22.3.r3 grep -R "0.33_01" * 5.22/Module/CoreList.pm: 'Sys::Syslog' =3D> '0.33_01', 5.22/mach/Sys/Syslog.pm: $VERSION =3D '0.33_01'; Binary file 5.22/mach/auto/Sys/Syslog/Syslog.so matches 5.22/pod/perl5223delta.pod:L has been upgraded from version 0.= 33 to 0.33_01. The code that fails is from /usr/local/lib/perl5/site_perl/Net/Server/Log/S= ys/Syslog.pm: if ($prop->{'syslog_logsock'} =3D~ /^(|native|tcp|udp|unix|inet|str= eam|console)$/) { $prop->{'syslog_logsock'} =3D $1; } else { $prop->{'syslog_logsock'} =3D ($Sys::Syslog::VERSION < 0.15) ? = 'unix' : ''; } According to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D839405 the= < should be replaced with lt Kind regards, Bj=C3=B6rn