pradorocchi / Hosts.prefpane

a Cocoa GUI for /etc/hosts

Home Page:http://niggazpullintriggaz.blogspot.com/2011/11/how-i-managed-to-edit-etchosts-without.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hosts, a system preference pane to manage your hosts file.

Hosts add a preference pane to your system preferences which lets you toggle your host file entries on and off, as well as add and remove them.

Hosts.prefpane likes to keep your hosts file clean. When an entry is toggled off, it is not commented out in the hosts file, but instead stored in the app's preferences storage. This means you will have to uncomment all your unused host entries and untoggle them in the prefpane if you want to use them. Comments are treated as comments and will never show up in the list of host entries!

Of course Hosts.prefpane will detect edits you made to the /etc/hosts directly and merge them into the listing.

Backups of your hosts file is made in ~/Library/Application Support/Hosts. The backup or your hosts file from before you started using Hosts.prefpane is called hosts.orig and each session a backup is made called hosts.session.

The default host entries that are needed by the OS are hidden and can not be edited using Hosts.prefpane.

Much thanks to the contributors for helping getting the latest release done!

Download

Download the 1.4.1 release from here: https://permanentmarkers.nl/hosts-1.4.1.zip Just unzip it and double click the prefpane to install.

Compiling the parser

To compile the parser protion of the Hosts PrefPane, you need to have bison installed somewhere. The current compiler setting expects bison to be in /usr/local/opt/bison/bin/. This is where Homebrew installs it (brew install bison).

Where is the preference pane? The app?

You'll find the preference pane and the app in the Products folder of the Xcode project. Just copy the pane to the PreferencePanes folder of your Mac, the app can be used from everywhere.

Licence

Hosts, a system preference pane to manage your hosts file.
Copyright (C) 2011  PermanentMarkers

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Contact maintainer at hosts@permanentmarkers.nl

About

a Cocoa GUI for /etc/hosts

http://niggazpullintriggaz.blogspot.com/2011/11/how-i-managed-to-edit-etchosts-without.html

License:GNU General Public License v3.0


Languages

Language:Objective-C 73.5%Language:C 15.1%Language:Yacc 8.9%Language:Makefile 2.6%