Redo the patch that added the <0 test.  Since it isn't an actual error there won't be an error message set so I've made it another case entirely.
Since this got renamed, have to rename it here too
bump version
add some more lines from iconnor tree to create and set permissions  on dirs in /run and /tmp
$DESTDIR needs to be added to paths to ensure that the changes are made in the chroot when building packages.
new code to look for update scripts instead of having distinct lines for each
clean out autogenerated files
Error correction

Table "Users":
ERROR 1366 (HY000) at line 523: Incorrect integer value: '' for column 'Id' at row 1

Table "MonitorPresets":
ERROR 1366 (HY000) at line 550: Incorrect integer value: '' for column 'Id' at row 1
...and many others like this

Incorrect 'channel' field type in table "MonitorPresets":
ERROR 1366 (HY000) at line 550: Incorrect integer value: 'simple' for column 'Channel' at row 1
...and many others like this

"DefaultValue" field is very small in table "Config":
ERROR 1406 (22001) at line 743: Data too long for column 'DefaultValue' at row 1

Some 'INSERT INTO MonitorPresets' querys are wrong.

"Message" field is very small in table "Logs":
Can't write log entry 'insert into Logs ( TimeKey, Component, Pid, Level, Code, Message, File, Line ) values ( 1379059494.570980, 'web_php', 30387, -3, 'FAT', 'SQL-ERR \'Incorrect decimal value: \'\' for column \'MaxFPS\' at row 1\', statement was \'insert into Monitors set LinkedMonitors = \'\', Name = \'test\', Type = \'Remote\', Function = \'Monitor\', Enabled = \'1\', RefBlendPerc = \'12\', MaxFPS = \'\', AlarmMaxFPS = \'\', Device = \'/dev/video0\', Channel = \'0\', Format = \'255\', Palette = \'0\', LabelFormat = \'%N - %d/%m/%y %H:%M:%S\', LabelX = \'0\', LabelY = \'0\', ImageBufferCount = \'50\', WarmupCount = \'25\', PreEventCount = \'25\', PostEventCount = \'25\', StreamReplayBuffer = \'1000\', AlarmFrameCount = \'1\', EventPrefix = \'Event-\', SectionLength = \'600\', FrameSkip = \'0\', FPSReportInterval = \'1000\', DefaultView = \'Events\', DefaultRate = \'100\', DefaultScale = \'100\', WebColour = \'red\', SignalCheckColour = \'#0000c0\', Protocol = \'http\', Method = \'simple\', Host = \'192.168.3.225\', Port = \'80\', Path = \'\', Colours = \'3\', Width = \'320\', Height = \'240\', Orientation = \'0\', Deinterlacing = \'0\', Sequence = 1\'', 'includes/database.php', 78 )': Data too long for column 'Message' at row 1
Update actions.php

SQL-ERR 'Incorrect integer value: '' for column 'Enabled' at row 1', statement was 'update Monitors set Function = 'Monitor', Enabled = '' where Id = '2''
Merge branch 'master' of https://github.com/dukess/ZoneMinder into dukess-master
Merge branch 'dukess-master' into v1.26.4-beta

Conflicts:
	scripts/zmupdate.pl.in
blah
Improve Chrome browser support & log streaming events
Add fedora files to zoneminder source tree
Initial commit of .travis.yml file, hopefully this builds.
Added IRC notifications to .travis.yml
cd back into the ZM dir, and run make after config
Merge pull request #163 from knnniggett/fedora

Add fedora rpm development files to zoneminder source tree
Merge pull request #162 from knnniggett/streaming

Improve Chrome browser support & log streaming events
Trying to find the correct directory where the ZM clone lives