jigdo.git
2 years agoUpdate changelog for release upstream 0.8.0
Steve McIntyre [Tue, 19 Nov 2019 15:43:22 +0000 (15:43 +0000)]
Update changelog for release

2 years agoTweak scan output - file sizes have grown
Steve McIntyre [Tue, 19 Nov 2019 02:26:09 +0000 (02:26 +0000)]
Tweak scan output - file sizes have grown

2 years agoRemove the all-msg stuff, not needed now
Steve McIntyre [Tue, 19 Nov 2019 02:09:10 +0000 (02:09 +0000)]
Remove the all-msg stuff, not needed now

2 years agoPrint compiler command lines properly
Steve McIntyre [Tue, 19 Nov 2019 02:05:20 +0000 (02:05 +0000)]
Print compiler command lines properly

2 years agoFix up an integer overflow properly - cast was wrong
Steve McIntyre [Tue, 19 Nov 2019 02:02:34 +0000 (02:02 +0000)]
Fix up an integer overflow properly - cast was wrong

2 years agoTweak the windist target
Steve McIntyre [Mon, 18 Nov 2019 19:09:35 +0000 (19:09 +0000)]
Tweak the windist target

Make things in ..
Use git describe for the version

2 years agoRemove generated file from git
Steve McIntyre [Mon, 18 Nov 2019 19:02:28 +0000 (19:02 +0000)]
Remove generated file from git

2 years agoAdd a gitdist target to help with release management
Steve McIntyre [Mon, 18 Nov 2019 14:36:02 +0000 (14:36 +0000)]
Add a gitdist target to help with release management

Add a .gitattributes file to control what's included in the export
from git

2 years agoFix broken assumptions in my changes to JigdoDescVec::put()
Steve McIntyre [Sun, 17 Nov 2019 02:16:08 +0000 (02:16 +0000)]
Fix broken assumptions in my changes to JigdoDescVec::put()

If we're writing things out, we might have been called from
writeAll(), which won't know or care what checksum type we're
using. No matter, the list we have already has the right information
in it. Don't second-guess that, just write out what we're told to do.

2 years agoMore bits needed for thw windist build
Steve McIntyre [Sat, 16 Nov 2019 23:20:38 +0000 (23:20 +0000)]
More bits needed for thw windist build

2 years agoAdd initial target for Windows binary release
Steve McIntyre [Sat, 16 Nov 2019 19:29:21 +0000 (19:29 +0000)]
Add initial target for Windows binary release

2 years agoDon't build the docs jigdo.1 / jigdo.html
Steve McIntyre [Sat, 16 Nov 2019 19:24:18 +0000 (19:24 +0000)]
Don't build the docs jigdo.1 / jigdo.html

They're not functional, so leave them out

2 years agoInitial set of helper binaries for windows
Steve McIntyre [Sat, 16 Nov 2019 19:17:41 +0000 (19:17 +0000)]
Initial set of helper binaries for windows

2 years agoPoint to the new jigdo home page in new headers
Steve McIntyre [Sat, 16 Nov 2019 18:54:28 +0000 (18:54 +0000)]
Point to the new jigdo home page in new headers

2 years agoFix up copyright notices in the sha256 wraper code
Steve McIntyre [Sat, 16 Nov 2019 18:50:59 +0000 (18:50 +0000)]
Fix up copyright notices in the sha256 wraper code

I did this, don't blame Richard!

2 years agoMore copyright and doc updates
Steve McIntyre [Sat, 16 Nov 2019 18:43:57 +0000 (18:43 +0000)]
More copyright and doc updates

2 years agoRemove mention of cvs
Steve McIntyre [Sat, 16 Nov 2019 18:41:19 +0000 (18:41 +0000)]
Remove mention of cvs

2 years agoUpdate docs slightly
Steve McIntyre [Sat, 16 Nov 2019 18:39:30 +0000 (18:39 +0000)]
Update docs slightly

Add link to the new home page

2 years agoMake jigdo-mirror believe in https too
Steve McIntyre [Thu, 7 Nov 2019 18:16:20 +0000 (18:16 +0000)]
Make jigdo-mirror believe in https too

2 years agoIgnore more configure output
Steve McIntyre [Thu, 7 Nov 2019 18:10:40 +0000 (18:10 +0000)]
Ignore more configure output

2 years agoBuild static binary on Windows
Steve McIntyre [Thu, 7 Nov 2019 18:09:17 +0000 (18:09 +0000)]
Build static binary on Windows

Makes things much easier to distribute

2 years agoIgnore .exe too
Steve McIntyre [Thu, 7 Nov 2019 18:02:58 +0000 (18:02 +0000)]
Ignore .exe too

2 years agoFix syntax error in jigdo-lite update
Steve McIntyre [Thu, 7 Nov 2019 17:49:55 +0000 (17:49 +0000)]
Fix syntax error in jigdo-lite update

Add missing "fi"

2 years agoTweak endian definition stuff for sha256 code
Steve McIntyre [Thu, 7 Nov 2019 15:49:03 +0000 (15:49 +0000)]
Tweak endian definition stuff for sha256 code

The Windows cross-build didn't supply an endian.h, so cope
differently.

2 years agoYet more warning fixes for type conversions
Steve McIntyre [Thu, 7 Nov 2019 15:48:33 +0000 (15:48 +0000)]
Yet more warning fixes for type conversions

Windows size_t is different, yay

2 years agoUpdate the Windows library downloader script
Steve McIntyre [Thu, 7 Nov 2019 15:47:30 +0000 (15:47 +0000)]
Update the Windows library downloader script

Things have moved around
Don't even try the GUI bits by default

2 years agoDeal with Windows string format differences
Steve McIntyre [Thu, 7 Nov 2019 15:46:45 +0000 (15:46 +0000)]
Deal with Windows string format differences

Use %I64u on Windows rather than %llu

2 years agoDon't attempt to build the gui
Steve McIntyre [Thu, 7 Nov 2019 14:26:51 +0000 (14:26 +0000)]
Don't attempt to build the gui

It's abandoned for now

2 years agoDon't include configure in git
Steve McIntyre [Thu, 7 Nov 2019 14:25:34 +0000 (14:25 +0000)]
Don't include configure in git

2 years agoMark the application subdirs as abandoned in Hacking.txt sha256_support
Steve McIntyre [Wed, 6 Nov 2019 18:41:52 +0000 (18:41 +0000)]
Mark the application subdirs as abandoned in Hacking.txt

2 years agoIn verifyImage(), print the checksums too for better confidence
Steve McIntyre [Wed, 6 Nov 2019 14:58:52 +0000 (14:58 +0000)]
In verifyImage(), print the checksums too for better confidence

2 years agoWarning fix - unused variable
Steve McIntyre [Tue, 5 Nov 2019 17:17:27 +0000 (17:17 +0000)]
Warning fix - unused variable

2 years agoWarning fix
Steve McIntyre [Tue, 5 Nov 2019 17:15:12 +0000 (17:15 +0000)]
Warning fix

Initialise pointers for safety

2 years agoAdded brief updates for Hacking.txt
Steve McIntyre [Tue, 5 Nov 2019 16:56:44 +0000 (16:56 +0000)]
Added brief updates for Hacking.txt

2 years agoFix up some mentions of md5/checksum
Steve McIntyre [Tue, 5 Nov 2019 16:56:26 +0000 (16:56 +0000)]
Fix up some mentions of md5/checksum

2 years agoRemove redundant #include
Steve McIntyre [Tue, 5 Nov 2019 16:56:08 +0000 (16:56 +0000)]
Remove redundant #include

2 years agoRemove Makedeps from git
Steve McIntyre [Tue, 5 Nov 2019 16:52:25 +0000 (16:52 +0000)]
Remove Makedeps from git

2 years agoAdd sha256 support in jigdo-mirror too
Steve McIntyre [Tue, 5 Nov 2019 16:34:05 +0000 (16:34 +0000)]
Add sha256 support in jigdo-mirror too

2 years agoAdd sha256 support in jigdo-lite too
Steve McIntyre [Tue, 5 Nov 2019 16:24:33 +0000 (16:24 +0000)]
Add sha256 support in jigdo-lite too

2 years agoExtend SHA256 support elsewhere
Steve McIntyre [Tue, 5 Nov 2019 16:07:10 +0000 (16:07 +0000)]
Extend SHA256 support elsewhere

2 years agoAdd sha256 support for print-missing too
Steve McIntyre [Tue, 5 Nov 2019 16:05:09 +0000 (16:05 +0000)]
Add sha256 support for print-missing too

2 years agoFix buggy usage message
Steve McIntyre [Tue, 5 Nov 2019 16:03:25 +0000 (16:03 +0000)]
Fix buggy usage message

2 years agoAdd support for generating sha256-based jigdo & template
Steve McIntyre [Tue, 5 Nov 2019 09:43:27 +0000 (09:43 +0000)]
Add support for generating sha256-based jigdo & template

This is format 2.0

Add choice of checksum algorithm on the command line, still using md5
as a default for backwards compatibility (and then still generating
format v1.2). If using sha256, then use the new template descriptor
types etc.

Lots of updates to make this happen, and lots of internal functions
modified to take both md5 and sha256 data rather than just md5, and an
extra parameter tpo say which is in use.

2 years agoAdd support for SHA256 verification, and use it first
Steve McIntyre [Thu, 31 Oct 2019 23:31:04 +0000 (23:31 +0000)]
Add support for SHA256 verification, and use it first

If not available, fall back to MD5. If that succeeds, say so but warn
that it's not considered secure.

Simplified the new code - back to single verifyImage() method which
knows about both checksum types.

Old code used to assume that the last entry in the template chain was
an ImageInfo, so would just use .back() to read that. Now we run
through the chain twice, first for SHA256 and then for MD5. That will
be slower, but the difference will be lost in the noise compared to
the cost of actually checksumming the image.

2 years agoUpdate copyright and version stuff
Steve McIntyre [Thu, 31 Oct 2019 23:29:08 +0000 (23:29 +0000)]
Update copyright and version stuff

2 years agoIgnore built binary jigdo-file
Steve McIntyre [Thu, 31 Oct 2019 19:07:05 +0000 (19:07 +0000)]
Ignore built binary jigdo-file

2 years agoRemove .cvsignore noise
Steve McIntyre [Thu, 31 Oct 2019 19:05:50 +0000 (19:05 +0000)]
Remove .cvsignore noise

2 years agoWIP sha256 support
Steve McIntyre [Thu, 31 Oct 2019 19:04:19 +0000 (19:04 +0000)]
WIP sha256 support

Compiles cleanly at least, but needs some plumbing yet

2 years agoUpdate docs to mention sha256 etc.
Steve McIntyre [Thu, 31 Oct 2019 19:03:43 +0000 (19:03 +0000)]
Update docs to mention sha256 etc.

2 years agoRemove .gmo files from git
Steve McIntyre [Thu, 31 Oct 2019 18:57:08 +0000 (18:57 +0000)]
Remove .gmo files from git

2 years agoIgnore .gmo files, but not .gitignore
Steve McIntyre [Thu, 31 Oct 2019 18:55:37 +0000 (18:55 +0000)]
Ignore .gmo files, but not .gitignore

2 years agoRemove editor backup files in "clean"
Steve McIntyre [Thu, 31 Oct 2019 18:13:48 +0000 (18:13 +0000)]
Remove editor backup files in "clean"

2 years agoRemove generated doc files from git
Steve McIntyre [Thu, 31 Oct 2019 18:13:17 +0000 (18:13 +0000)]
Remove generated doc files from git

2 years agoAdd more things to .gitignore
Steve McIntyre [Thu, 31 Oct 2019 18:02:35 +0000 (18:02 +0000)]
Add more things to .gitignore

2 years agoAdd basic .gitignore file
Steve McIntyre [Thu, 31 Oct 2019 17:06:34 +0000 (17:06 +0000)]
Add basic .gitignore file

2 years agoAnother implicit conversion warning
Steve McIntyre [Sun, 27 Oct 2019 18:35:06 +0000 (18:35 +0000)]
Another implicit conversion warning

2 years agoFix warning about catching polymorphic type by value
Steve McIntyre [Sun, 27 Oct 2019 18:34:42 +0000 (18:34 +0000)]
Fix warning about catching polymorphic type by value

2 years agoAdd casts to fix warnings about converting string constants
Steve McIntyre [Sun, 27 Oct 2019 18:33:37 +0000 (18:33 +0000)]
Add casts to fix warnings about converting string constants

2 years agoFix warnings about fall-through in switches
Steve McIntyre [Sun, 27 Oct 2019 18:31:51 +0000 (18:31 +0000)]
Fix warnings about fall-through in switches

2 years agoFix several warnings about dynamic exception specifications
Steve McIntyre [Sun, 27 Oct 2019 18:29:14 +0000 (18:29 +0000)]
Fix several warnings about dynamic exception specifications

deprecated in C++11

2 years agoFix lots of warnings about implicit type conversions
Steve McIntyre [Sun, 27 Oct 2019 18:06:08 +0000 (18:06 +0000)]
Fix lots of warnings about implicit type conversions

2 years agoRead/store the filesPerFetch setting from the config file
Steve McIntyre [Thu, 24 Oct 2019 11:00:00 +0000 (12:00 +0100)]
Read/store the filesPerFetch setting from the config file

in jigdo-lite

2 years agoUnset GREP_OPTIONS at the start of jigdo-lite
Steve McIntyre [Thu, 24 Oct 2019 10:59:07 +0000 (11:59 +0100)]
Unset GREP_OPTIONS at the start of jigdo-lite

2 years agouse tmpDir when creating images with jigdo-lite
Steve McIntyre [Thu, 24 Oct 2019 10:58:27 +0000 (11:58 +0100)]
use tmpDir when creating images with jigdo-lite

2 years agoAdd support for https into jigdo-lite
Steve McIntyre [Thu, 24 Oct 2019 10:56:50 +0000 (11:56 +0100)]
Add support for https into jigdo-lite

2 years agos/atterer.net/atterer.org/g
Steve McIntyre [Thu, 24 Oct 2019 10:53:43 +0000 (11:53 +0100)]
s/atterer.net/atterer.org/g

2 years agoInfrastructure for building hardened binaries
Steve McIntyre [Thu, 24 Oct 2019 10:51:59 +0000 (11:51 +0100)]
Infrastructure for building hardened binaries

Use EXTRA_CFLAGS, EXTRA_CXXFLAGS, EXTRA_LDFLAGS to allow the build to
pass through extra flags as needed.

2 years agoApply lots of old fixes from Richard
Steve McIntyre [Thu, 24 Oct 2019 10:50:30 +0000 (11:50 +0100)]
Apply lots of old fixes from Richard

Time to make a new upstream

2 years agoImport Upstream version 0.7.3 upstream/0.7.3
Steve McIntyre [Thu, 24 Oct 2019 10:34:59 +0000 (11:34 +0100)]
Import Upstream version 0.7.3

2 years agoImport Upstream version 0.7.2 upstream/0.7.2
Steve McIntyre [Thu, 24 Oct 2019 10:34:58 +0000 (11:34 +0100)]
Import Upstream version 0.7.2

2 years agoImport Upstream version 0.7.1 upstream/0.7.1
Steve McIntyre [Thu, 24 Oct 2019 10:34:58 +0000 (11:34 +0100)]
Import Upstream version 0.7.1

2 years agoImport Upstream version 0.6.5 upstream/0.6.5
Steve McIntyre [Thu, 24 Oct 2019 10:34:57 +0000 (11:34 +0100)]
Import Upstream version 0.6.5