openresolv
12 years agoImprove build system a little. openresolv-3.2
Roy Marples [Thu, 26 Mar 2009 11:43:33 +0000 (11:43 +0000)]
Improve build system a little.

12 years agoWe should ignore 255.255.255.255. as well.
Roy Marples [Thu, 26 Mar 2009 11:06:00 +0000 (11:06 +0000)]
We should ignore 255.255.255.255. as well.

12 years agoresolv_conf_passthrough makes the latest interface resolv.conf the real resolv.conf
Roy Marples [Thu, 26 Mar 2009 00:58:12 +0000 (00:58 +0000)]
resolv_conf_passthrough makes the latest interface resolv.conf the real resolv.conf

12 years agoIgnore invalid 0.0.0.0 nameservers.
Roy Marples [Thu, 26 Mar 2009 00:55:22 +0000 (00:55 +0000)]
Ignore invalid 0.0.0.0 nameservers.

12 years agoAdd private_interfaces configuration option for the times the calling
Roy Marples [Thu, 19 Mar 2009 23:24:24 +0000 (23:24 +0000)]
Add private_interfaces configuration option for the times the calling
program doesn't or can't know about openresolv -p flag.

12 years agoRelease 3.1.1
Roy Marples [Thu, 19 Mar 2009 09:50:06 +0000 (09:50 +0000)]
Release 3.1.1

12 years agoSimpifly logic and fix a typo. openresolv-3.1.1
Roy Marples [Thu, 19 Mar 2009 07:38:04 +0000 (07:38 +0000)]
Simpifly logic and fix a typo.

12 years agoRelease 3.1
Roy Marples [Wed, 18 Mar 2009 21:43:41 +0000 (21:43 +0000)]
Release 3.1

12 years agoWe should use lower case for normal variables. openresolv-3.1
Roy Marples [Wed, 18 Mar 2009 20:56:56 +0000 (20:56 +0000)]
We should use lower case for normal variables.

12 years agoWe need to process dynamic interfaces without metrics before ones
Roy Marples [Wed, 18 Mar 2009 18:24:15 +0000 (18:24 +0000)]
We need to process dynamic interfaces without metrics before ones
with metrics.

12 years agoAdd new config file and man page. openresolv-3.0
Roy Marples [Mon, 16 Mar 2009 20:45:51 +0000 (20:45 +0000)]
Add new config file and man page.

12 years agoMove the configuration to /etc/resolvconf.conf from individual files.
Roy Marples [Mon, 16 Mar 2009 20:42:52 +0000 (20:42 +0000)]
Move the configuration to /etc/resolvconf.conf from individual files.
dnsmasq and named subscribers now require you to configure where they
write their config files to.
This makes for a much easier configuration.

12 years agoNo need for PREFIX
Roy Marples [Sun, 15 Mar 2009 11:43:22 +0000 (11:43 +0000)]
No need for PREFIX

12 years agoRemove
Roy Marples [Sun, 15 Mar 2009 11:09:20 +0000 (11:09 +0000)]
Remove

12 years agoAlways add the generated by comment to resolv.conf and remove the default head file.
Roy Marples [Sun, 15 Mar 2009 08:32:27 +0000 (08:32 +0000)]
Always add the generated by comment to resolv.conf and remove the default head file.

12 years agoMove subscribers to libexec as they really don't belong in /etc
Roy Marples [Sat, 14 Mar 2009 22:04:00 +0000 (22:04 +0000)]
Move subscribers to libexec as they really don't belong in /etc

12 years agomandoc mandates the presence of .Os openresolv-2.1
Roy Marples [Thu, 12 Mar 2009 12:54:59 +0000 (12:54 +0000)]
mandoc mandates the presence of .Os

12 years agoRelease 2.0.1
Roy Marples [Sat, 7 Feb 2009 14:22:24 +0000 (14:22 +0000)]
Release 2.0.1

12 years agoFix metric, thanks to ikelos.
Roy Marples [Sat, 7 Feb 2009 14:21:04 +0000 (14:21 +0000)]
Fix metric, thanks to ikelos.

12 years agoRemove comments that no longer apply. openresolv-2.0.1
Roy Marples [Tue, 13 Jan 2009 00:07:47 +0000 (00:07 +0000)]
Remove comments that no longer apply.

12 years agoUse Aq macro
Roy Marples [Tue, 13 Jan 2009 00:04:30 +0000 (00:04 +0000)]
Use Aq macro

12 years agoWe should use %u instead of %d.
Roy Marples [Wed, 5 Nov 2008 14:57:17 +0000 (14:57 +0000)]
We should use %u instead of %d.

12 years agoUpdate bug page.
Roy Marples [Tue, 7 Oct 2008 20:03:14 +0000 (20:03 +0000)]
Update bug page.

12 years agoWhen an interface is marked private, we just discard the nameservers from the openresolv-2.0
Roy Marples [Fri, 3 Oct 2008 09:21:33 +0000 (09:21 +0000)]
When an interface is marked private, we just discard the nameservers from the
global search.

12 years agoRemove exe props.
Roy Marples [Wed, 1 Oct 2008 20:28:55 +0000 (20:28 +0000)]
Remove exe props.

12 years agoopenresolv no longer applies any semantics to resolv.conf for
Roy Marples [Wed, 1 Oct 2008 15:29:51 +0000 (15:29 +0000)]
openresolv no longer applies any semantics to resolv.conf for
making certain domains/nameservers private.
Instead we require explicit marking of being private.
The variables exposed to the helpers have also been changed, so any 3rd party
helpers will need to be updated.
As such the major version is bumped to 2.
Fixes bug #1 :)

12 years agoPunt .svn instead of .git for make dist.
Roy Marples [Wed, 24 Sep 2008 09:18:20 +0000 (09:18 +0000)]
Punt .svn instead of .git for make dist.

12 years agoPunt old files and ignore built files. openresolv-1.9
Roy Marples [Wed, 24 Sep 2008 09:10:09 +0000 (09:10 +0000)]
Punt old files and ignore built files.

12 years agoDocument setting /etc/resolv.conf to list the local nameserver.
Roy Marples [Wed, 17 Sep 2008 22:09:35 +0000 (22:09 +0000)]
Document setting /etc/resolv.conf to list the local nameserver.

12 years agoRelease 1.9
Roy Marples [Wed, 17 Sep 2008 13:34:58 +0000 (13:34 +0000)]
Release 1.9

12 years agoDocument IF_METRIC.
Roy Marples [Wed, 17 Sep 2008 13:34:34 +0000 (13:34 +0000)]
Document IF_METRIC.

12 years agometrics dir may not exist.
Roy Marples [Tue, 16 Sep 2008 08:26:41 +0000 (08:26 +0000)]
metrics dir may not exist.

12 years agoJust warn about illegal options.
Roy Marples [Wed, 10 Sep 2008 12:06:41 +0000 (12:06 +0000)]
Just warn about illegal options.

12 years agoAllow interface metric to be specified.
Roy Marples [Wed, 10 Sep 2008 12:05:34 +0000 (12:05 +0000)]
Allow interface metric to be specified.

12 years agoRelease openresolv-1.7.1
Roy Marples [Fri, 29 Aug 2008 07:39:38 +0000 (07:39 +0000)]
Release openresolv-1.7.1

12 years agoFix bind with >1 zone, #109
Roy Marples [Fri, 29 Aug 2008 07:38:10 +0000 (07:38 +0000)]
Fix bind with >1 zone, #109

12 years agoRelease openresolv-1.7
Roy Marples [Sun, 24 Aug 2008 11:43:27 +0000 (11:43 +0000)]
Release openresolv-1.7

12 years agoStrip new lines when echoing resolv.conf files per interface.
Roy Marples [Sun, 24 Aug 2008 08:02:33 +0000 (08:02 +0000)]
Strip new lines when echoing resolv.conf files per interface.

12 years agoText.
Roy Marples [Sun, 24 Aug 2008 06:06:09 +0000 (06:06 +0000)]
Text.

12 years agoEnsure we have a newline.
Roy Marples [Sat, 23 Aug 2008 09:38:28 +0000 (09:38 +0000)]
Ensure we have a newline.

12 years agoDon't update the helpers if the resolv.conf added matches what we already have for...
Roy Marples [Fri, 22 Aug 2008 09:58:55 +0000 (09:58 +0000)]
Don't update the helpers if the resolv.conf added matches what we already have for the interface.

12 years agoopenresolv-1.6
Roy Marples [Wed, 20 Aug 2008 13:30:15 +0000 (13:30 +0000)]
openresolv-1.6

12 years agosed is not always available, so stop using it.
Roy Marples [Wed, 20 Aug 2008 13:17:51 +0000 (13:17 +0000)]
sed is not always available, so stop using it.

12 years agoStyle
Roy Marples [Wed, 20 Aug 2008 13:17:32 +0000 (13:17 +0000)]
Style

12 years agoDon't state the man page section in the header.
Roy Marples [Wed, 20 Aug 2008 13:06:19 +0000 (13:06 +0000)]
Don't state the man page section in the header.

12 years agosed is not always available in /bin, so stop using it and use shell syntax.
Roy Marples [Tue, 19 Aug 2008 22:10:18 +0000 (22:10 +0000)]
sed is not always available in /bin, so stop using it and use shell syntax.

13 years agoRelease 1.5.1
Roy Marples [Mon, 7 Apr 2008 08:28:54 +0000 (08:28 +0000)]
Release 1.5.1

13 years agoCorrect pid path.
Roy Marples [Mon, 7 Apr 2008 08:25:49 +0000 (08:25 +0000)]
Correct pid path.

13 years agoRelease openresolv-1.5
Roy Marples [Fri, 7 Mar 2008 09:53:19 +0000 (09:53 +0000)]
Release openresolv-1.5

13 years agoMan page updates.
Roy Marples [Fri, 7 Mar 2008 09:42:53 +0000 (09:42 +0000)]
Man page updates.

13 years agowhitespace
Roy Marples [Fri, 7 Mar 2008 09:26:04 +0000 (09:26 +0000)]
whitespace

13 years agoInstall the head file.
Roy Marples [Thu, 6 Mar 2008 23:35:04 +0000 (23:35 +0000)]
Install the head file.

13 years agoMove the generated by comment to the head file so the user can edit it.
Roy Marples [Thu, 6 Mar 2008 23:31:28 +0000 (23:31 +0000)]
Move the generated by comment to the head file so the user can edit it.

13 years agoEnsure newlines appear.
Roy Marples [Thu, 6 Mar 2008 19:24:00 +0000 (19:24 +0000)]
Ensure newlines appear.

13 years agoFix dnsmasq dbus suppport for NetBSD.
Roy Marples [Thu, 6 Mar 2008 16:26:59 +0000 (16:26 +0000)]
Fix dnsmasq dbus suppport for NetBSD.

13 years agoRelease openresolv-1.4
Roy Marples [Wed, 5 Mar 2008 19:40:48 +0000 (19:40 +0000)]
Release openresolv-1.4

13 years agoRejig our Makefile to better support NetBSD. We now talk to /var/run/resolvconf direc...
Roy Marples [Wed, 5 Mar 2008 19:37:26 +0000 (19:37 +0000)]
Rejig our Makefile to better support NetBSD. We now talk to /var/run/resolvconf directly instead of the /etc/resolvconf/run link.

13 years agoRelease openresolv-1.3
Roy Marples [Tue, 12 Feb 2008 20:43:22 +0000 (20:43 +0000)]
Release openresolv-1.3

13 years agoAll vars should be upper case and descriptive.
Roy Marples [Tue, 12 Feb 2008 14:53:00 +0000 (14:53 +0000)]
All vars should be upper case and descriptive.

13 years agoUse POSIX getopts shell builtin to make life easier and add -f option to ignore missi...
Roy Marples [Mon, 11 Feb 2008 20:00:02 +0000 (20:00 +0000)]
Use POSIX getopts shell builtin to make life easier and add -f option to ignore missing interfaces, similar to rm -f functionality.

13 years agoWe shouldn't ship the .gitignore file
Roy Marples [Sat, 9 Feb 2008 14:24:33 +0000 (14:24 +0000)]
We shouldn't ship the .gitignore file

13 years agoRelease openresolv-1.2
Roy Marples [Sat, 9 Feb 2008 12:06:37 +0000 (12:06 +0000)]
Release openresolv-1.2

13 years agoIgnore distfiles.
Roy Marples [Sat, 9 Feb 2008 12:05:58 +0000 (12:05 +0000)]
Ignore distfiles.

13 years agoTypo
Roy Marples [Sat, 9 Feb 2008 11:52:09 +0000 (11:52 +0000)]
Typo

13 years agoman page fixes
Roy Marples [Sat, 9 Feb 2008 11:34:21 +0000 (11:34 +0000)]
man page fixes

13 years agoRe-write the man page in mdoc format and clear a few things up. The examples have...
Roy Marples [Sat, 9 Feb 2008 00:48:26 +0000 (00:48 +0000)]
Re-write the man page in mdoc format and clear a few things up. The examples have been omitted as the english text should be clear enough.

13 years agolibc updater now updates /etc/resolv.conf (or whatever it points to) and not an inter...
Roy Marples [Sat, 9 Feb 2008 00:37:18 +0000 (00:37 +0000)]
libc updater now updates /etc/resolv.conf (or whatever it points to) and not an internal version.

13 years agoAdd an ignore file.
Roy Marples [Sat, 9 Feb 2008 00:36:19 +0000 (00:36 +0000)]
Add an ignore file.

13 years agoError when deleting or listing non existant resolv.confs
Roy Marples [Fri, 8 Feb 2008 18:56:52 +0000 (18:56 +0000)]
Error when deleting or listing non existant resolv.confs

13 years agoRemove vim comments and fix formatting a little.
Roy Marples [Fri, 8 Feb 2008 18:23:37 +0000 (18:23 +0000)]
Remove vim comments and fix formatting a little.

13 years agoFix return codes, Gentoo #209369.
Roy Marples [Fri, 8 Feb 2008 18:22:30 +0000 (18:22 +0000)]
Fix return codes, Gentoo #209369.

13 years agokill 2>/dev/null as we just interested in if we can signal it or not.
Roy Marples [Thu, 31 Jan 2008 17:09:48 +0000 (17:09 +0000)]
kill 2>/dev/null as we just interested in if we can signal it or not.

13 years agoRelease 1.1
Roy Marples [Sun, 30 Dec 2007 18:08:23 +0000 (18:08 +0000)]
Release 1.1

13 years agoDon't set PREFIX or DESTDIR to blank so we work as a FreeBSD port
Roy Marples [Sun, 30 Dec 2007 18:00:59 +0000 (18:00 +0000)]
Don't set PREFIX or DESTDIR to blank so we work as a FreeBSD port

13 years agoFix manpage typo
Roy Marples [Mon, 10 Dec 2007 13:33:05 +0000 (13:33 +0000)]
Fix manpage typo

13 years agoFix installing man pages
Roy Marples [Mon, 10 Dec 2007 13:20:16 +0000 (13:20 +0000)]
Fix installing man pages

13 years agoexample resolv.conf files don't have # prefixing non comments
Roy Marples [Mon, 10 Dec 2007 11:58:55 +0000 (11:58 +0000)]
example resolv.conf files don't have # prefixing non comments

13 years agoFix man page a little and remove remaining Gentoo references
Roy Marples [Mon, 10 Dec 2007 11:21:48 +0000 (11:21 +0000)]
Fix man page a little and remove remaining Gentoo references

13 years agodbus pidfile location varies a little
Roy Marples [Thu, 29 Nov 2007 15:52:05 +0000 (15:52 +0000)]
dbus pidfile location varies a little

13 years agowhitespace
Roy Marples [Wed, 28 Nov 2007 15:46:12 +0000 (15:46 +0000)]
whitespace

13 years agoMerge branch 'master' of marples:/var/git/openresolv
Roy Marples [Wed, 28 Nov 2007 13:01:40 +0000 (13:01 +0000)]
Merge branch 'master' of marples:/var/git/openresolv

13 years agoEnsure resolv.conf is created with the correct umask.
Roy Marples [Wed, 28 Nov 2007 13:01:10 +0000 (13:01 +0000)]
Ensure resolv.conf is created with the correct umask.

13 years agoFix Makefile
Roy Marples [Mon, 19 Nov 2007 20:59:52 +0000 (20:59 +0000)]
Fix Makefile

13 years agoDon't hardcode as much
Roy Marples [Mon, 19 Nov 2007 20:25:40 +0000 (20:25 +0000)]
Don't hardcode as much

13 years agoAlign help text
Roy Marples [Fri, 16 Nov 2007 21:47:18 +0000 (21:47 +0000)]
Align help text

13 years agoextra man section
Roy Marples [Fri, 16 Nov 2007 14:39:23 +0000 (14:39 +0000)]
extra man section

13 years agoFix the Makefile for gmake and pmake
Roy Marples [Fri, 16 Nov 2007 14:32:02 +0000 (14:32 +0000)]
Fix the Makefile for gmake and pmake

13 years agoClean our tarball too
Roy Marples [Fri, 16 Nov 2007 11:33:03 +0000 (11:33 +0000)]
Clean our tarball too

13 years agoUpdate Makefile so we have a better install sytsem and we only change files in our...
Roy Marples [Fri, 16 Nov 2007 11:32:22 +0000 (11:32 +0000)]
Update Makefile so we have a better install sytsem and we only change files in our build dir

13 years agoFix typo
Roy Marples [Fri, 16 Nov 2007 11:31:41 +0000 (11:31 +0000)]
Fix typo

13 years agoFix mandir again
Roy Marples [Fri, 16 Nov 2007 10:56:04 +0000 (10:56 +0000)]
Fix mandir again

13 years agoUse cat instead of grep for listing our resolvconfs
Roy Marples [Fri, 16 Nov 2007 10:55:48 +0000 (10:55 +0000)]
Use cat instead of grep for listing our resolvconfs

13 years agoGentoo installed bind into /etc/bind, we should try and support this
Roy Marples [Fri, 16 Nov 2007 10:41:35 +0000 (10:41 +0000)]
Gentoo installed bind into /etc/bind, we should try and support this

13 years agoresolvconf -s now does service commands so subscribers don't need to know about how...
Roy Marples [Fri, 16 Nov 2007 10:37:54 +0000 (10:37 +0000)]
resolvconf -s now does service commands so subscribers don't need to know about how to restart services on all platforms.

13 years agoRespect MANPREFIX
Roy Marples [Fri, 16 Nov 2007 10:36:49 +0000 (10:36 +0000)]
Respect MANPREFIX

13 years agoDon't rely on /etc/init.d being OpenRC
Roy Marples [Mon, 12 Nov 2007 11:18:52 +0000 (11:18 +0000)]
Don't rely on /etc/init.d being OpenRC

13 years agoOnly update our files if PREFIX is non null and not /
Roy Marples [Sun, 11 Nov 2007 00:13:11 +0000 (00:13 +0000)]
Only update our files if PREFIX is non null and not /

13 years agoFix PREFIX again
Roy Marples [Sun, 11 Nov 2007 00:11:12 +0000 (00:11 +0000)]
Fix PREFIX again

13 years agoOnly use OpenRC options if /sbin/runscript is present and check dnsmasq is running...
Roy Marples [Sun, 11 Nov 2007 00:06:32 +0000 (00:06 +0000)]
Only use OpenRC options if /sbin/runscript is present and check dnsmasq is running for BSD style.

13 years agoOnly restart named if it's running (BSD) and only use OpenRC options if /sbin/runscri...
Roy Marples [Sun, 11 Nov 2007 00:00:54 +0000 (00:00 +0000)]
Only restart named if it's running (BSD) and only use OpenRC options if /sbin/runscript exists