Bug 245552 - [NEW PORT] sysutils/hostctl: Command-line tool to manage your hosts file
Summary: [NEW PORT] sysutils/hostctl: Command-line tool to manage your hosts file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Hiroki Tagato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-12 00:42 UTC by Lewis Cook
Modified: 2020-05-21 05:41 UTC (History)
1 user (show)

See Also:


Attachments
hostctl-0.10.2.diff (7.09 KB, patch)
2020-04-12 00:42 UTC, Lewis Cook
no flags Details | Diff
hostctl-0.10.2.log (19.67 KB, text/plain)
2020-04-12 00:43 UTC, Lewis Cook
no flags Details
hostctl-1.0.10.diff (8.25 KB, patch)
2020-04-19 18:11 UTC, Lewis Cook
no flags Details | Diff
hostctl-1.0.10.log (19.77 KB, text/plain)
2020-04-19 18:11 UTC, Lewis Cook
no flags Details
hostctl-1.0.11.diff (8.29 KB, patch)
2020-05-19 16:49 UTC, Lewis Cook
no flags Details | Diff
hostctl-1.0.11.log (25.93 KB, text/plain)
2020-05-19 16:49 UTC, Lewis Cook
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lewis Cook freebsd_committer freebsd_triage 2020-04-12 00:42:50 UTC
Created attachment 213314 [details]
hostctl-0.10.2.diff

hostctl gives you more control over the use of your hosts file.
You can have multiple profiles and enable/disable as you need.

WWW: https://github.com/guumaster/hostctl

Tested:
 * portlint: OK (looks fine).
 * testport: OK (poudriere: 3.3.4).
Comment 1 Lewis Cook freebsd_committer freebsd_triage 2020-04-12 00:43:19 UTC
Created attachment 213315 [details]
hostctl-0.10.2.log

* Poudriere testport log.
Comment 2 Lewis Cook freebsd_committer freebsd_triage 2020-04-19 18:11:03 UTC
Created attachment 213571 [details]
hostctl-1.0.10.diff

Changes:
 * Updated to latest version 10.0.10.
 * Assign GO_TARGET accordingly.
 * Additionally fix GO_BUILDFLAGS with correct ldflags.
Comment 3 Lewis Cook freebsd_committer freebsd_triage 2020-04-19 18:11:55 UTC
Created attachment 213572 [details]
hostctl-1.0.10.log

* Poudriere testport log.
Comment 4 Hiroki Tagato freebsd_committer freebsd_triage 2020-05-19 02:57:58 UTC
Hi,

There is a newer version (1.0.11) available at GitHub. Would you care to update the patch to the latest version?
Comment 5 Lewis Cook freebsd_committer freebsd_triage 2020-05-19 16:49:27 UTC
Created attachment 214649 [details]
hostctl-1.0.11.diff

* Updated to 1.0.11 addressing comment #4.
* Slightly changed pkg-desc and WWW.
Comment 6 Lewis Cook freebsd_committer freebsd_triage 2020-05-19 16:49:47 UTC
Created attachment 214650 [details]
hostctl-1.0.11.log

* Poudriere testport log.
Comment 7 commit-hook freebsd_committer freebsd_triage 2020-05-21 05:41:03 UTC
A commit references this bug:

Author: tagattie
Date: Thu May 21 05:40:12 UTC 2020
New revision: 536072
URL: https://svnweb.freebsd.org/changeset/ports/536072

Log:
  CLI tool to manage your hosts file with ease. You can have multiple
  profiles, enable/disable exactly what you need each time with a simple
  interface.

  WWW: https://guumaster.github.io/hostctl/

  PR:		245552
  Submitted by:	Lewis Cook <vulcan@wired.sh>
  Approved by:	ehaupt (mentor)

Changes:
  head/sysutils/Makefile
  head/sysutils/hostctl/
  head/sysutils/hostctl/Makefile
  head/sysutils/hostctl/distinfo
  head/sysutils/hostctl/pkg-descr
Comment 8 Hiroki Tagato freebsd_committer freebsd_triage 2020-05-21 05:41:50 UTC
Committed, thanks!