openbsd-ports/sysutils/augeas/patches/patch-lenses_inetd_aug

19 lines
710 B
Plaintext

$OpenBSD: patch-lenses_inetd_aug,v 1.1 2012/12/30 21:38:58 jasper Exp $
From cfd0aaadd0741942de93c8e25de2ca8485a3eb22 Mon Sep 17 00:00:00 2001
From: Dominic Cleal <dcleal@redhat.com>
Date: Sun, 30 Dec 2012 19:40:58 +0000
Subject: Inetd: support IPv6 addresses
--- lenses/inetd.aug.orig Fri Nov 2 16:20:11 2012
+++ lenses/inetd.aug Sun Dec 30 22:35:05 2012
@@ -86,7 +86,7 @@ module Inetd =
let del_str = Util.del_str
- let address = [ seq "addrseq" . store /([a-zA-Z0-9.-]+|\*)/ ]
+ let address = [ seq "addrseq" . store /([a-zA-Z0-9.-]+|\[[A-Za-z0-9:?*%]+\]|\*)/ ]
let address_list = ( counter "addrseq" . (address . del_str ",")* . address )
let argument = [ seq "argseq" . store /[^ \t\n]+/ ]