Bug 221682 - [PATCH] net-mgmt/gnu-ipcalc: Can't handle --geoinfo option
Summary: [PATCH] net-mgmt/gnu-ipcalc: Can't handle --geoinfo option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Emanuel Haupt
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-08-21 05:31 UTC by Toshimichi Masubuchi
Modified: 2017-08-21 06:32 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ehaupt)


Attachments
Fix patch (330 bytes, patch)
2017-08-21 05:31 UTC, Toshimichi Masubuchi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toshimichi Masubuchi 2017-08-21 05:31:41 UTC
Created attachment 185628 [details]
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/ { print $4 }'`
ipcalc: could not open /libGeoIP.so.1

AFTER:
$ ipcalc --geoinfo `host -4 -t A www.freebsd.org | awk '/has address/ { print $4 }'`
COUNTRYCODE=US
COUNTRY="United States"
CITY=Sunnyvale
COORDINATES="37.424900,-122.007401"
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-08-21 06:27:50 UTC
A commit references this bug:

Author: ehaupt
Date: Mon Aug 21 06:27:10 UTC 2017
New revision: 448449
URL: https://svnweb.freebsd.org/changeset/ports/448449

Log:
  Fix geoip support by providing LIBPATH.

  PR:		221682
  Submitted by:	tmasu@st.rim.or.jp

Changes:
  head/net-mgmt/gnu-ipcalc/Makefile
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-08-21 06:32:56 UTC
A commit references this bug:

Author: ehaupt
Date: Mon Aug 21 06:32:29 UTC 2017
New revision: 448450
URL: https://svnweb.freebsd.org/changeset/ports/448450

Log:
  MFH: r448449

  Fix geoip support by providing LIBPATH.

  PR:		221682
  Submitted by:	tmasu@st.rim.or.jp
  Approved by:	ports-secteam (blanket)

Changes:
_U  branches/2017Q3/
  branches/2017Q3/net-mgmt/gnu-ipcalc/Makefile