aboutsummaryrefslogtreecommitdiff
path: root/build-aux
AgeCommit message (Collapse)Author
2011-02-05openflow: Use types and accessors for half-aligned 64-bit fields.Ben Pfaff
Without this commit, many of the unit tests for ofp-print.c fail with bus errors on RISC architectures (tested on sparc) and presumably so would any other code that uses these same struct members.
2011-01-12Automatically extract error types and codes for formatting.Ben Pfaff
2011-01-12python: Use os.path.basename instead of open-coding it.Ben Pfaff
Reported-by: Justin Pettit <jpettit@nicira.com>
2010-11-30vlog: Generate vlog-modules.def automatically.Ben Pfaff
2010-10-29Make the ovs_be<N> types generally available.Ben Pfaff
Using these types for data in network byte order makes code clearer, and allows the "sparse" checker to give warnings for misuse.
2010-10-29vlog: Make client supply semicolon for VLOG_DEFINE_THIS_MODULE.Ben Pfaff
It's kind of odd for VLOG_DEFINE_THIS_MODULE to supply its own semicolon, so this commit switches to the more common form.
2010-07-21vlog: Make the vlog module catalog program-specific.Ben Pfaff
Until now, the collection of vlog modules supported by a given OVS program was not specific to that program. That means that, for example, even though ovs-dpctl does not have anything to do with jsonrpc, it still has a vlog module for it. This is confusing, at best. This commit fixes the problem on some systems, in particular on ones that use GCC and the GNU linker. It uses the feature of the GNU linker described in its manual as: If an orphaned section's name is representable as a C identifier then the linker will automatically see PROVIDE two symbols: __start_SECNAME and __end_SECNAME, where SECNAME is the name of the section. These indicate the start address and end address of the orphaned section respectively. Systems that don't support these features retain the earlier behavior. This commit also fixes the annoyance that modifying lib/vlog-modules.def causes all sources files that #include "vlog.h" to recompile.
2010-07-21debian: Check for accurate Debian changelog version at build time too.Ben Pfaff
When we increment the Open vSwitch version number, we tend to forget to update it in debian/changelog at the same time. Right now this gets fixed up automatically at "make dist" time, but it's even better if we can always have it be correct in the repository. This commit should help with that, by making both "make" and "make dist" refuse to proceed if the version number is out of sync.
2010-06-17update-debian-changelog: Pass "-f" to "mv" to fix "make distcheck".Ben Pfaff
"make distcheck" unsets the "writable" bit of files as it installs them on "make dist", so to avoid an error (or a user query) updating debian/changelog in such a situation we must use the -f option.
2010-05-27debian: Fix version number check for changelog.Jesse Gross
The test to see if the current version is present in the Debian changelog wasn't properly quoted so we would add a new entry every time configure was run.
2010-05-27debian: Attempt to keep debian/changelog up-to-date.Ben Pfaff
Invariably we forget to update the version number in debian/changelog as we change OVS's own version number. This is embarrassing. This commit introduces two different times to automatically update the debian/changelog version number: whenever boot.sh runs and whenever "make dist" runs. In the latter case, only the version number in the distributed tarball is updated, but that seems OK. Reported by Joan Cirer <joan@ev0.net> most recently, and by others over the last year or so too.
2010-01-25Add build checks for portable OpenFlow structure padding and alignment.Ben Pfaff
This causes the build to fail with an error message if openflow.h contains a structure whose members are not aligned in a portable way.