From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 6 13:10:16 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E78B106566C for ; Mon, 6 Feb 2012 13:10:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 299DC8FC16 for ; Mon, 6 Feb 2012 13:10:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q16DAG1F024411 for ; Mon, 6 Feb 2012 13:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q16DAGHV024410; Mon, 6 Feb 2012 13:10:16 GMT (envelope-from gnats) Resent-Date: Mon, 6 Feb 2012 13:10:16 GMT Resent-Message-Id: <201202061310.q16DAGHV024410@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Larry Rosenman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A70D106566B for ; Mon, 6 Feb 2012 13:01:30 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2CC918FC15 for ; Mon, 6 Feb 2012 13:01:30 +0000 (UTC) Received: from cpe-72-177-69-180.austin.res.rr.com ([72.177.69.180]:51887 helo=[192.168.200.117]) by thebighonker.lerctr.org with esmtpa (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RuOCC-000CFZ-Cu; Mon, 06 Feb 2012 07:01:29 -0600 Message-Id: <9fd38a63-0e24-41b4-b8fa-718140631263@email.android.com> Date: Mon, 06 Feb 2012 07:01:21 -0600 From: Larry Rosenman To: Alex Samorukov , FreeBSD-gnats-submit@FreeBSD.org In-Reply-To: References: Cc: Subject: ports/164823: Re: [PATCH] mail/exilog: Add IPv6 support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2012 13:10:16 -0000 >Number: 164823 >Category: ports >Synopsis: [PATCH] mail/exilog: Add IPv6 support >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 06 13:10:15 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Alex Samorukov >Release: FreeBSD 7.= >Organization: Net-Art >Environment: System: FreeBSD s1.sdv.com.ua 7.3-RELEASE-p= 8 FreeBSD 7.3-RELEASE-p8 #9: Fri Nov 4 14:30:35 EET >Description: This patc= h fixing IPv6 addresses support in the database and web interface. Based on= developer git with some changes. Added file(s): - files/patch-ipv6 Port= maintainer (ler@lerctr.org) is cc'd. Generated with FreeBSD Port Tools 0.= 99 >How-To-Repeat: >Fix: --- exilog-0.5_6.patch begins here --- diff -ruN = --exclude=3DCVS /usr/ports/mail/exilog/Makefile /root/tmp/exilog/Makefile -= -- /usr/ports/mail/exilog/Makefile 2009-10-21 08:34:27.000000000 +0300 +++ = /root/tmp/exilog/Makefile 2012-02-06 14:45:53.000000000 +0200 @@ -7,13 +7,1= 5 @@ PORTNAME=3D exilog PORTVERSION=3D 0.5 -PORTREVISION=3D 5 +PORTREVISIO= N=3D 6 CATEGORIES=3D mail MASTER_SITES=3D http://duncanthrax.net/exilog/ M= AINTAINER=3D ler@lerctr.org COMMENT=3D Tool to centralize and visualize Exi= m logs with a web front end +LICENSE=3D GPLv2 + RUN_DEPENDS=3D ${SITE_PERL= }/Net/Netmask.pm:${PORTSDIR}/net-mgmt/p5-Net-Netmask USE_PERL5=3D yes diff= -ruN --exclude=3DCVS /usr/ports/mail/exilog/files/patch-ipv6 /root/tmp/exi= log/files/patch-ipv6 --- /usr/ports/mail/exilog/files/patch-ipv6 1970-01-01= 03:00:00.000000000 +0300 +++ /root/tmp/exilog/files/patch-ipv6 2012-02-06 = 14:41:12.000000000 +0200 @@ -0,0 +1,60 @@ +--- doc/mysql-db-script.sql.orig= 2012-02-06 14:35:52.000000000 +0200 ++++ doc/mysql-db-script.sql 2012-02-0= 6 14:36:11.000000000 +0200 +@@ -20,7 +20,7 @@ + `rcpt` varchar(200) NOT NUL= L default '', + `rcpt_intermediate` varchar(200) default NULL, + `rcpt_fina= l` varchar(200) NOT NULL default '', +- `host_addr` varchar(15) default NUL= L, ++ `host_addr` varchar(45) default NULL, + `host_dns` varchar(255) defau= lt NULL, + `tls_cipher` varchar(128) default NULL, + `router` varchar(128) = default NULL, +@@ -48,7 +48,7 @@ + `rcpt` varchar(200) NOT NULL default '',= + `rcpt_intermediate` varchar(200) default NULL, + `rcpt_final` varchar(20= 0) NOT NULL default '', +- `host_addr` varchar(15) default NULL, ++ `host_a= ddr` varchar(45) default NULL, + `host_dns` varchar(255) default NULL, + `t= ls_cipher` varchar(128) default NULL, + `router` varchar(128) default NULL,= +@@ -76,7 +76,7 @@ + `rcpt` varchar(200) NOT NULL default '', + `rcpt_inte= rmediate` varchar(200) default NULL, + `rcpt_final` varchar(200) NOT NULL d= efault '', +- `host_addr` varchar(15) default NULL, ++ `host_addr` varchar(= 45) default NULL, + `host_dns` varchar(255) default NULL, + `tls_cipher` va= rchar(128) default NULL, + `router` varchar(128) default NULL, +@@ -104,7 += 104,7 @@ + `msgid` varchar(255) default NULL, + `completed` bigint(20) defa= ult NULL, + `mailfrom` varchar(255) default NULL, +- `host_addr` varchar(15= ) default NULL, ++ `host_addr` varchar(45) default NULL, + `host_rdns` varc= har(255) default NULL, + `host_ident` varchar(255) default NULL, + `host_he= lo` varchar(255) default NULL, +@@ -164,7 +164,7 @@ + `server` varchar(32) = NOT NULL default '', + `message_id` varchar(16) binary default NULL, + `tim= estamp` bigint(20) NOT NULL default '0', +- `host_addr` varchar(15) NOT NUL= L default '', ++ `host_addr` varchar(45) NOT NULL default '', + `host_rdns`= varchar(255) NOT NULL default '', + `host_ident` varchar(255) default NULL= , + `host_helo` varchar(255) default NULL, +--- exilog_cgi_messages.pm.orig= 2012-02-06 14:39:16.000000000 +0200 ++++ exilog_cgi_messages.pm 2012-02-06= 14:40:02.000000000 +0200 +@@ -145,8 +145,8 @@ + } + + my @queries; +- if = ($param->{'qs'} =3D~ /^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/) { = +- # IPv4 address ++ if ($param->{'qs'} =3D~ /^[0-9A-Fa-f.:]+$/) { ++ # IPv= 4 or IPv6 address + push @queries, { 'table' =3D> 'messages', + 'criteria' = =3D> { 'host_addr' =3D> $param->{'qs'} } }, + { 'table' =3D> 'rejects', ---= exilog-0.5_6.patch ends here --- ------EXSY19S8UPWTJKT64KODKXPG7W6SDU Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Approved
--
Sent from my Android phone w= ith K-9 Mail. Please excuse my brevity.

A= lex Samorukov <samm@os2.kiev.ua> wrote:

>Submitter-Id: current-users=
>Originator: Alex Samorukov
>Organization: Net-Art
&g= t;Confidential: no
>Synopsis: [PATCH] mail/exilog: Add IPv6 suppor= t
>Severity: non-critical
>Priority: low
>Category:= ports
>Class: change-request
>Release: FreeBSD 7.3-RELEA= SE-p8 i386
>Environment:
System: FreeBSD s1.sdv.com.ua 7.3-RELEASE-p8 FreeBSD 7.3-RELEASE-p8 #9: Fri= Nov 4 14:30:35 EET
>Description:
This patch fixing IPv6 addr= esses support in the database and web interface.
Based on developer gi= t with some changes.


Added file(s):
- files/patch-ipv= 6

Port maintainer (ler@lerctr.org) is cc'd.

Generated= with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- exilog-0.5_6.patch begins here ---
diff -ruN --exclude=3DCVS /= usr/ports/mail/exilog/Makefile /root/tmp/exilog/Makefile
--- /usr/port= s/mail/exilog/Makefile 2009-10-21 08:34:27.000000000 +0300
+++ /root/t= mp/exilog/Makefile 2012-02-06 14:45:53.000000000 +0200
@@ -7,13 +7,15 = @@

PORTNAME=3D exilog
PORTVERSION=3D 0.5
-PORTREVIS= ION=3D 5
+PORTREVISION=3D 6
CATEGORIES=3D mail
MASTER_SITE= S=3D http://duncanthrax.net/exilo= g/

MAINTAINER=3D ler@lerctr.org
COMMENT=3D Tool to c= entralize and visualize Exim logs with a web front end

+LICENSE= =3D GPLv2
+
RUN_DEPENDS=3D ${SITE_PERL}/Net/Netmask.pm:${PORTSDIR}/net-mgmt/p5-Net-Netmask

U= SE_PERL5=3D yes
diff -ruN --exclude=3DCVS /usr/ports/mail/exilog/files= /patch-ipv6 /root/tmp/exilog/files/patch-ipv6
--- /usr/ports/mail/exil= og/files/patch-ipv6 1970-01-01 03:00:00.000000000 +0300
+++ /root/tmp/= exilog/files/patch-ipv6 2012-02-06 14:41:12.000000000 +0200
@@ -0,0 +1= ,60 @@
+--- doc/mysql-db-script.sql.orig 2012-02-06 14:35:52.000000000= +0200
++++ doc/mysql-db-script.sql 2012-02-06 14:36:11.000000000 +020= 0
+@@ -20,7 +20,7 @@
+ `rcpt` varchar(200) NOT NULL default '',=
+ `rcpt_intermediate` varchar(200) default NULL,
+ `rcpt_fin= al` varchar(200) NOT NULL default '',
+- `host_addr` varchar(15) defa= ult NULL,
++ `host_addr` varchar(45) default NULL,
+ `host_dns= ` varchar(255) default NULL,
+ `tls_cipher` varchar(128) default NUL= L,
+ `router` varchar(128) default NULL,
+@@ -48,7 +48,7 @@
+ `rcpt` varchar(200) NOT NULL default '',
+ `rcpt_intermediate`= varchar(200) default NULL,
+ `rcpt_final` varchar(200) NOT NULL def= ault '',
+- `host_addr` varchar(15) default NULL,
++ `host_addr= ` varchar(45) default NULL,
+ `host_dns` varchar(255) default NULL,<= br />+ `tls_cipher` varchar(128) default NULL,
+ `router` varchar(= 128) default NULL,
+@@ -76,7 +76,7 @@
+ `rcpt` varchar(200) NOT= NULL default '',
+ `rcpt_intermediate` varchar(200) default NULL,+ `rcpt_final` varchar(200) NOT NULL default '',
+- `host_addr`= varchar(15) default NULL,
++ `host_addr` varchar(45) default NULL,+ `host_dns` varchar(255) default NULL,
+ `tls_cipher` varchar= (128) default NULL,
+ `router` varchar(128) default NULL,
+@@ -= 104,7 +104,7 @@
+ `msgid` varchar(255) default NULL,
+ `compl= eted` bigint(20) default NULL,
+ `mailfrom` varchar(255) default NUL= L,
+- `host_addr` varchar(15) default NULL,
++ `host_addr` varc= har(45) default NULL,
+ `host_rdns` varchar(255) default NULL,
= + `host_ident` varchar(255) default NULL,
+ `host_helo` varchar(25= 5) default NULL,
+@@ -164,7 +164,7 @@
+ `server` varchar(32) NO= T NULL default '',
+ `message_id` varchar(16) binary default NULL,+ `timestamp` bigint(20) NOT NULL default '0',
+- `host_addr` v= archar(15) NOT NULL default '',
++ `host_addr` varchar(45) NOT NULL d= efault '',
+ `host_rdns` varchar(255) NOT NULL default '',
+ = `host_ident` varchar(255) default NULL,
+ `host_helo` varchar(255) d= efault NULL,
+--- exilog_cgi_messages.p= m.orig 2012-02-06 14:39:16.000000000 +0200
++++ exilog_cgi_messages.pm 2012-02-06 14:40:02.000000000 +0200=
+@@ -145,8 +145,8 @@
+ }
+
+ my @queries;
+-= if ($param->{'qs'} =3D~ /^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,= 3}$/) {
+- # IPv4 address
++ if ($param->{'qs'} =3D~ /^[0-= 9A-Fa-f.:]+$/) {
++ # IPv4 or IPv6 address
+ push @queries= , { 'table' =3D> 'messages',
+ 'criteria' =3D&= gt; { 'host_addr' =3D> $param->{'qs'} } },
+ = { 'table' =3D> 'rejects',
--- exilog-0.5_6.patch ends here ---
Release-Note: >Audit-Trail: >Unformatted: ------EXSY19S8UPWTJKT64KODKXPG7W6SDU Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Approved -- Sent from my Android phone with K-9 Mail. Please excuse my br= evity. Alex Samorukov wrote: sers = >P= riority: low 3-RELEASE-p8 i386 >
------EXSY19S8UPWTJKT64KODKXPG7W6SDU--