I'm happy to announce the release of netcf 0.1.8
Here's a list of the changes in this release:
* New transactional change APIs: ncf_change_(begin|commit|rollback)
These new functions allow rolling back all changes made to the network
config since a particular checkpoint. If the changes haven't been
"committed"
by the time the system is rebooted, they will automatically be
rolled back at
boot time via a new initscript that is executed prior to bringing up
networking.
* Add stdout/stderr to error text when an external program fails
This allows us to deliver a more informative error message when
/sbin/ifup fails,
for example.
* make error reporting of failed execs more exact/correct
* Add "--system" to autogen.sh - sets all directories for standard
system install.
* Change sysconfdir and localstatedir during config if basedir is /usr.
* Remove unnecessary "Requires" of libxml2 and augeas from pkgconfig file
to pulling in extra packages when building an application that uses
netcf.
* Reorganize code to simplify porting to other platforms.
Although netcf was always intended to be ported to platforms other than
the original RHEL and Fedora, a couple of attempts at doing this have
pointed out that a lot of platform specific and platform independent code
was mixed together. I've made some attempts to clear that up.
This is an interim release to allow early use of the new ncf_change_*()
APIs. They currently function properly in terms of modifying/restoring
the files, but ncf_change_rollback doesn't yet update the live interface
state. That functionality will be added in the next few weeks, and
another release will be made sometime in early July.
Tarball:https://fedorahosted.org/released/netcf/netcf-0.1.8.tar.gz
GPG signature[1]:
https://fedorahosted.org/released/netcf/netcf-0.1.8.tar.gz.sig
RPMs for Fedora will be available "soon"
Laine
[1] To verify the signature, first download both the .sig file and the
corresponding tarball. Then, run a command like this:
gpg --verify netcf-0.1.8.tar.gz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver
keys.gnupg.net --recv-keys 62D11E4C
and rerun the `gpg --verify' command.