<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/util, branch v0.6</title>
<subtitle>A new set of tools and libraries for working with SquashFS images</subtitle>
<id>https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.6</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.6'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2019-08-18T20:53:32+00:00</updated>
<entry>
<title>Replace update_crc32 helper function with crc32 from zlib</title>
<updated>2019-08-18T20:53:32+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-08-18T14:09:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=50385e06ec207af0171c021f1909e9ef38c00519'/>
<id>urn:sha1:50385e06ec207af0171c021f1909e9ef38c00519</id>
<content type='text'>
It is optimized to the maximum and if we already use zlib anyway,
why not use zlib crc32? This also makes zlib a hard dependency which
also means the whole "do we have a compressor" sanity check in the
build system can be removed.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Implement support for SOURCE_DATE_EPOCH environment variable</title>
<updated>2019-08-02T09:41:36+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-08-02T09:41:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=402fc5a6000bf0ec12f05d4aa2b3e250ec85a60a'/>
<id>urn:sha1:402fc5a6000bf0ec12f05d4aa2b3e250ec85a60a</id>
<content type='text'>
reproducible-builds.org suggests the use of an environment variable
as a source for time stamps:

https://reproducible-builds.org/specs/source-date-epoch/

This commit adds support for setting the default mtime from the variable,
if it is set and only defaulting to 0 if not. The timestamp given by the
command line switch takes precedence.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Update print_version text</title>
<updated>2019-07-30T05:20:36+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-30T05:20:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=1d81e68dd152ea73b98aa2d8edb7b3095e4ded6d'/>
<id>urn:sha1:1d81e68dd152ea73b98aa2d8edb7b3095e4ded6d</id>
<content type='text'>
This commit updates the text issued by print_version() to reflect in
some way that the software contains contributions from co-authors.

The original text was based on the sterotypical --version output of
GNU coreutils programs. It may have to be rewritten eventually.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add propper copyright headers to all source files</title>
<updated>2019-07-30T04:53:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-30T04:53:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=7e00faaca0207eb6ee6cf109c09cc489d8fb7e3f'/>
<id>urn:sha1:7e00faaca0207eb6ee6cf109c09cc489d8fb7e3f</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add utility function to compute crc32 check sums</title>
<updated>2019-07-28T14:33:57+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-26T20:31:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=0f1bedc90f4cb71d965e99446cf3e72a45909346'/>
<id>urn:sha1:0f1bedc90f4cb71d965e99446cf3e72a45909346</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libutil: add read_data style wrapper around pread()</title>
<updated>2019-07-25T12:20:48+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-25T12:07:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=db9187c8d21e9f08b20899e3e14c1938db7b79fb'/>
<id>urn:sha1:db9187c8d21e9f08b20899e3e14c1938db7b79fb</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Enable largefile support</title>
<updated>2019-07-24T07:16:16+00:00</updated>
<author>
<name>Matt Turner</name>
<email>mattst88@gmail.com</email>
</author>
<published>2019-07-23T20:48:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=05a30292f9d2be63af3b4c27d5ae89801da602a2'/>
<id>urn:sha1:05a30292f9d2be63af3b4c27d5ae89801da602a2</id>
<content type='text'>
Requires that config.h be included before other headers, since the macro
_FILE_OFFSET_BITS changes the definitions of things like 'struct stat'.
I chose to simply include it at the top of every C file and at
immediately after the double-inclusion guards of every header.

Signed-off-by: Matt Turner &lt;mattst88@gmail.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Keep track of xattr key &amp; value references AFTER deduplication</title>
<updated>2019-07-21T11:30:34+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-21T11:30:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=321290241e84a3a2cfc30b65fc6e79ecd266e420'/>
<id>urn:sha1:321290241e84a3a2cfc30b65fc6e79ecd266e420</id>
<content type='text'>
This commit adds a reference count functionality to the string table
implementation and uses this functionality in the fstree code to
count how often each key and value is referenced by the deduplicated
Xattr blocks. This is needed to support deduplication through
out-of-band storage of xattrs.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libutil.a: make sure str_table_init initializes all fields</title>
<updated>2019-07-19T19:49:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-19T19:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=694e953cb8f2ce9e2da5c3d41cf056e3911ceca4'/>
<id>urn:sha1:694e953cb8f2ce9e2da5c3d41cf056e3911ceca4</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>cleanup: move error handling into read_retry</title>
<updated>2019-07-16T20:48:00+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-16T19:02:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=e3ef871d6a80d72db02c9ab1ef492e8f58c2ddeb'/>
<id>urn:sha1:e3ef871d6a80d72db02c9ab1ef492e8f58c2ddeb</id>
<content type='text'>
If read_retry fails to read the expected amount of data (EOF or otherwise),
it is almost always an error.

This commit renames read_retry to read_data and moves error handling
into the function, making a lot of error handling code redundant.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
