jigdo.git
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