Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2018 02:27:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233460] net/miniupnpc: use textproc/gsed for install's GNU-isms
Message-ID:  <bug-233460-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233460

            Bug ID: 233460
           Summary: net/miniupnpc: use textproc/gsed for install's
                    GNU-isms
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: kevans@freebsd.org
                CC: dinoex@FreeBSD.org, johans@FreeBSD.org
                CC: dinoex@FreeBSD.org, johans@FreeBSD.org

Created attachment 199505
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D199505&action=
=3Dedit
svn(1) diff against net/miniupnpc

Hi,

The install bits of this port attempt this: sed
's/\(.*MINIUPNPC_API_VERSION\s\+\)[0-9]\+/\117/'=20

There are two problems of attempting to do this with our sed:

1.) \s is a GNU extension; our sed will pass this through as an escaped \s =
and
regex(3) will interpret it as an escaped ordinary 's'.

2.) \117 is likely expecting character represented by \117 to be inserted, =
but
this will not behave accordingly

Fix this by plopping gsed in place of sed for this port. #1 will be explici=
tly
disallowed in a future version of regex(3), making this ideal for now.

Thanks,

Kyle Evans

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233460-7788>