Commit Graph
11 Commits
Author SHA1 Message Date
Ben Pfaff 245f96aebc dhcp: Make dhcp_option_to_string() act sensibly with null or empty options.
Also, update ofp-switch-setup to parse the new syntax.
2008-07-30 15:46:38 -07:00
Ben Pfaff bb55cf014a Debian: Listen on Unix domain socket for management connections. 2008-07-30 15:46:36 -07:00
Ben Pfaff fcb73d77bf Don't invoke Debconf from openflow-switch postinst.
This was in there because at one time it seemed desirable to configure
from the postinst, but that idea was abandoned.  Now Debconf seems to
be screwing something up somehow, so we might as well not run it at all,
since it wasn't doing anything useful.
2008-07-23 17:21:58 -07:00
Ben Pfaff 9eb21b5b43 Fix kdist_clean target in debian/rules.
This fixes "module-assistant auto-install openflow-datapath" for
bootstrapping from a clean environment.  (Use "m-a -f purge
openflow-datapath" to test that it works starting from an un-clean
environment.)
2008-07-23 16:42:05 -07:00
Ben Pfaff 635f9e6299 Update Debconf templates PO file. 2008-07-23 14:57:22 -07:00
Ben Pfaff 228617736a Don't log messages to the console by default in Debian package. 2008-07-23 14:55:04 -07:00
Ben Pfaff 28318b5fdf Be less picky about precise name of process in init script.
The previous version always printed ERROR because for whatever reason
we were comparing "/usr/sbin/secchan" against "secchan", which of
course failed.
2008-07-23 14:55:04 -07:00
Ben Pfaff d72616d544 Only generate private key and certificate request if ssl enabled.
Generating them unconditionally caused a problem with the init script:
the script required there to be a certificate for the private key if
the private key existed, but we do want to allow TCP-only configurations
and always having a private key prevented that.

Also, give the user advice on how to deal with this problem when it
arises in the init script.
2008-07-23 14:55:04 -07:00
Ben Pfaff df3a28bf74 Support controller discovery in Debian packages. 2008-07-23 13:12:23 -07:00
Ben Pfaff 88b554881b Do the Debian package build in a _debian subdirectory.
This makes it easier to do a Debian build in the same source tree
also being used for other development.
2008-07-21 15:45:35 -07:00
Ben Pfaff 62fd5fc447 Implement Debian-based packaging and deployment infrastructure. 2008-06-13 13:36:00 -07:00