Isaac Connor
0b5ebbbe59
add focal to ubuntu builds
2020-03-24 14:56:25 -04:00
Isaac Connor
e6785fca90
fix repo when doing a release
2020-02-11 17:10:08 -05:00
adam
ce7b62c825
Fixed unquoted variable which was failing to correctly detect error case
...
This was discovered when there was a DNS failure (it's always DNS) and
it caused a syntax error on line 178. I changed it to use -z to check
for a zero length string, as suggested by the man page. Putting $VERSION
in double quotes would also be a valid fix.
Here's what the script looks like when it fails:
./do_debian_package.sh --snapshot=stable --type=local --interactive=no
Doing local build
Defaulting to bionic for distribution
Defaulting to ZoneMinder upstream git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Latest stable branch is
git clone https://github.com/ZoneMinder/ZoneMinder.git ZoneMinder_zoneminder_release
Cloning into 'ZoneMinder_zoneminder_release'...
fatal: unable to access 'https://github.com/ZoneMinder/ZoneMinder.git/ ': Could not resolve host: github.com
./do_debian_package.sh: line 172: cd: ZoneMinder_zoneminder_release: No such file or directory
fatal: not a git repository (or any of the parent directories): .git
cat: ZoneMinder_zoneminder_release/version: No such file or directory
./do_debian_package.sh: line 178: [: ==: unary operator expected
Doing local release zoneminder_
mv: cannot stat 'ZoneMinder_zoneminder_release': No such file or directory
Error status code is: 0
Setting up build dir failed.
2019-12-29 14:13:49 -06:00
Isaac Connor
2bf9852404
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2019-10-20 11:44:22 -04:00
Isaac Connor
bf69e053b4
Add SNAPTSHOT=CURRENT to build with the commit # in the version string
2019-10-20 11:44:19 -04:00
Isaac Connor
c240767727
Add eoan to distros
2019-10-20 11:41:55 -04:00
Isaac Connor
479e7c290c
cosmic is unsupported, don't build for it by default
2019-08-01 09:51:03 -04:00
Isaac Connor
8cf7563ce4
fix merge
2019-06-24 12:00:19 -04:00
Isaac Connor
148a48a861
Merge branch 'master' of github.com:ConnorTechnology/ZoneMinder
2019-06-24 11:59:08 -04:00
Isaac Connor
ee19322e11
update do_debian_package from storageareas
2019-06-24 11:57:52 -04:00
Isaac Connor
1815bf18a9
Add support for specifying PPA
2019-06-24 11:55:38 -04:00
Isaac Connor
df19e98f28
Add auto dput when interactive==no
2019-05-28 10:59:58 -04:00
Isaac Connor
3b045f3958
when release is a 1.30, then use the old stable ppa
2019-02-22 10:48:42 -05:00
Isaac Connor
5496f6afac
add cosmic and disco to ubuntu builds
2018-11-29 10:48:16 -05:00
Isaac Connor
633fbfc5b4
rework release mode. When doing a release, we cannot regenerate the .orig tarball for each distro. It has to be the same or else the ppa will reject any further uploads. So now the distro command line parameter can be a comma separated list of distros to build for and will default to xenial,bionic,trusty
2018-10-03 13:03:44 -04:00
Isaac Connor
5f89931774
Add grabbing original source tarball from github and overwriting the generated tarball with it.
2018-10-02 15:53:32 -04:00
Isaac Connor
7ac955d005
further changes to ensure that source .orig tarball is always the same
2018-09-26 16:44:04 -04:00
Isaac Connor
89cd7ceaf8
Whitespace, extra parentheses, google code style
2018-09-23 16:47:06 -04:00
Isaac Connor
9e12830bf5
add a test for devscripts being installed.
2017-11-21 11:53:53 -05:00
Isaac Connor
4d130b8595
updates to do_debian_package
2017-07-11 14:42:26 -04:00
Isaac Connor
b16d84911b
merge fixes from storageareas
2017-06-09 10:38:20 -04:00
Isaac Connor
3215f2e702
merge latest updates
2017-05-09 16:57:28 -04:00
Isaac Connor
998aa2199b
fix message for consistency
2017-04-24 16:55:08 -04:00
Isaac Connor
4d851dc00f
Add Distribution guessing
2017-04-24 16:54:01 -04:00
Isaac Connor
c5d2652d1b
add code to specifically handle a release, and package versions
2017-04-24 16:50:33 -04:00
Isaac Connor
0e8d1baebb
add an urgency flag
2017-01-16 21:13:56 -05:00
Isaac Connor
a30af05bcf
change parameters to use -o= or --option= and add interactive flag
2017-01-15 12:18:51 -05:00
Isaac Connor
d7f81393a8
fixes to detect and use environment variables for AUTHOR and debsign keys
2017-01-14 10:53:05 -05:00
Isaac Connor
b8dcebadd5
remove iconnor references
2017-01-14 10:01:55 -05:00
Isaac Connor
e3f073b275
update to add binary options, dput to ppa and use alternate fork. Also support newer distros and wheezy.
2017-01-14 09:58:36 -05:00
Steve Gilvarry
97a4cf0852
Add the changes...doh
2016-05-01 15:06:45 +10:00
Isaac Connor
7645e29913
fix distro dirs, because the cmake versions have been renamed to not have cmake in them
2016-04-06 12:27:24 -04:00
Andrew Bauer
2fc1fc4380
use debian control file to auto-install deps
2016-02-22 09:18:46 -06:00
Isaac Connor
dd4f92fd4c
Merge pull request #1243 from knnniggett/do_debian_script
...
use local user @ hostname.local for author
2016-02-04 11:55:14 -05:00
Pliable Pixels
0ade8abd6a
typo
2016-01-20 16:11:35 -05:00
Pliable Pixels
8dd35d6057
modifications for general users
2016-01-20 16:09:12 -05:00
Andy Bauer
22ef473202
Use the full name
2016-01-19 10:22:51 -06:00
Andy Bauer
a17bde0784
update hostname logic
2016-01-19 10:13:36 -06:00
Andy Bauer
e2b00bbe1f
use local user @ hostname.local for author
2016-01-19 08:05:40 -06:00
Isaac Connor
e9c9caf201
Add a local build type
2016-01-18 21:39:33 -05:00
Isaac Connor
41a8249ed9
update my package building script
2016-01-05 09:04:04 -05:00
Isaac Connor
5ce35f147a
initial rough version
2015-08-20 20:35:01 -04:00