Hi,
looking through the patches shipped in the current Debian package of
vpnc, I found two which I felt would be useful for general consumption,
i.e. inclusion upstream. The first, 03_vpnc.8.patch, deletes the TODO
section of the manpage, which contains outdated information and
references the almost-as-outdated TODO file.
The second patch, 03_vpnc-script.patch, adds hooks to vpnc-script that
allow users to customize the behaviour of vpnc-script in a way that
doesn't get lost when the package gets upgraded (and direct edits to
vpnc-script would be overwritten, or in Debian cause annoying prompts).
README.Debian explains:
----
vpnc-script, which handles routing and DNS updates, can be customized by adding
scripts to be run before and after connecting and disconnecting, respectively.
The names of the scripts that will be sourced by /etc/vpnc/vpnc-script are:
/etc/vpnc/vpnc-script-connect-action
/etc/vpnc/vpnc-script-post-connect-action
/etc/vpnc/vpnc-script-disconnect-action
/etc/vpnc/vpnc-script-post-disconnect-action
See the comments at the top of vpnc-script for the environment variables you
have access to.
----
If you think that such a feature would be generally useful, I can try to
turn this text into a patch to the manpage.
Florian
looking through the patches shipped in the current Debian package of
vpnc, I found two which I felt would be useful for general consumption,
i.e. inclusion upstream. The first, 03_vpnc.8.patch, deletes the TODO
section of the manpage, which contains outdated information and
references the almost-as-outdated TODO file.
The second patch, 03_vpnc-script.patch, adds hooks to vpnc-script that
allow users to customize the behaviour of vpnc-script in a way that
doesn't get lost when the package gets upgraded (and direct edits to
vpnc-script would be overwritten, or in Debian cause annoying prompts).
README.Debian explains:
----
vpnc-script, which handles routing and DNS updates, can be customized by adding
scripts to be run before and after connecting and disconnecting, respectively.
The names of the scripts that will be sourced by /etc/vpnc/vpnc-script are:
/etc/vpnc/vpnc-script-connect-action
/etc/vpnc/vpnc-script-post-connect-action
/etc/vpnc/vpnc-script-disconnect-action
/etc/vpnc/vpnc-script-post-disconnect-action
See the comments at the top of vpnc-script for the environment variables you
have access to.
----
If you think that such a feature would be generally useful, I can try to
turn this text into a patch to the manpage.
Florian