Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2017 05:31:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221682] [PATCH] net-mgmt/gnu-ipcalc: Can't handle --geoinfo option
Message-ID:  <bug-221682-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 221682
           Summary: [PATCH] net-mgmt/gnu-ipcalc: Can't handle --geoinfo
                    option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ehaupt@FreeBSD.org
          Reporter: tmasu@st.rim.or.jp
             Flags: maintainer-feedback?(ehaupt@FreeBSD.org)
          Keywords: patch
          Assignee: ehaupt@FreeBSD.org

Created attachment 185628
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185628&action=
=3Dedit
Fix patch

When using the '--geoinfo' option, you will get an error without reading
libGeoIP.so.
Attach a patch to fix this problem.


BEFORE:
$ ipcalc --geoinfo `host -4 -t A www.freebsd.org | awk '/has address/ { pri=
nt
$4 }'`
ipcalc: could not open /libGeoIP.so.1

AFTER:
$ ipcalc --geoinfo `host -4 -t A www.freebsd.org | awk '/has address/ { pri=
nt
$4 }'`
COUNTRYCODE=3DUS
COUNTRY=3D"United States"
CITY=3DSunnyvale
COORDINATES=3D"37.424900,-122.007401"

--=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-221682-13>