<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/bin, branch v1.0.0</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=v1.0.0</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v1.0.0'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2020-06-11T13:36:08+00:00</updated>
<entry>
<title>Add flags to functions that might logically be expanded in the future</title>
<updated>2020-06-11T13:36:08+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-06-10T23:57:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=259a98985b4f93347923d1b2c3aaa535397aaa89'/>
<id>urn:sha1:259a98985b4f93347923d1b2c3aaa535397aaa89</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Replace assert with propper error handling in rdsquashfs describe</title>
<updated>2020-06-07T15:23:51+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-06-07T14:24:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=b96c4240ae6bddb4c929115cbd7d31698d72a5f7'/>
<id>urn:sha1:b96c4240ae6bddb4c929115cbd7d31698d72a5f7</id>
<content type='text'>
If a SquashFS archive contains file names with '..', '/' or similar
nonsense in them, the unpacking code already refuses to process them,
but the 'describe' code path simply triggers an assert that might not
be there if the binary was compiled with NDEBUG defined.

This commit replaces the assert with propper error handling that also
reports on why things are failing and adds an additional check in the
describe_tree function that tests if the file name is sane.

Reported-by: Zachary Dremann &lt;dremann@gmail.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>tar2sqfs: add missing copyright header</title>
<updated>2020-06-02T13:21:41+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-06-02T13:21:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=1fddadbcd507dd2d62ee4c4e579e1d242115b4b4'/>
<id>urn:sha1:1fddadbcd507dd2d62ee4c4e579e1d242115b4b4</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: Only add Selinux flags if WITH_SELINUX is set</title>
<updated>2020-05-30T15:51:36+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-05-30T15:43:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=859dbdf891e16ac20b18f5fea4189f00746805eb'/>
<id>urn:sha1:859dbdf891e16ac20b18f5fea4189f00746805eb</id>
<content type='text'>
On a current Fedora 31, when cross compiling with mingw, pkg config
manages to find the Selinux library, but not the header. The configure
script disables WITH_SELINUX, but the library variable is still set,
causing a linker error further down the line.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>sqfs2tar: Move hard link detection to tree-repacking code</title>
<updated>2020-05-30T15:49:40+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-05-27T13:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=4840d9b654f302ff5bb8aba2e04331374bf6c0ef'/>
<id>urn:sha1:4840d9b654f302ff5bb8aba2e04331374bf6c0ef</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: sqfs2tar: break up and simplify the repacking code</title>
<updated>2020-05-30T15:49:40+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-05-27T13:29:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=36e70b384e1360e47f473be54ef3c0599bf82844'/>
<id>urn:sha1:36e70b384e1360e47f473be54ef3c0599bf82844</id>
<content type='text'>
 - Move the xattr extraction and repacking to xattr.c
 - Don't on-the-fly delete the tar xattr list, use the function
   from libtar.a
 - Split minor tasks into static helper functions
   - creating a libtar xattr struct from libsqfs xattr data
   - finding a hard link entry from current path and inode number

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: Reorganize structure of Automake files</title>
<updated>2020-05-30T15:49:40+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-05-27T13:07:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=e5f99ba93e08e237962bcf337848e60730aa2d54'/>
<id>urn:sha1:e5f99ba93e08e237962bcf337848e60730aa2d54</id>
<content type='text'>
 - Split up the huge file in bin/ into one small file per sub directory
 - Remove the stub in doc/

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: move man pages to the respective program source directories</title>
<updated>2020-05-30T15:49:40+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-05-27T12:57:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=ceb86b571c1cabf2a0890603b140a1af99912fd9'/>
<id>urn:sha1:ceb86b571c1cabf2a0890603b140a1af99912fd9</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: try to split tar2sqfs.c in a reasonable way</title>
<updated>2020-05-30T15:49:40+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-05-27T12:52:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=4332c116b303e0f86aaac4ae0bf699db5744769d'/>
<id>urn:sha1:4332c116b303e0f86aaac4ae0bf699db5744769d</id>
<content type='text'>
This commit breaks tar2sqfs.c into multiple files:
 - options.c contains the command line argument processing
 - process_tarball.c contains the main tar repacking code
 - tar2sqfs.c contains what is left (the main function)
 - A header is added for gluing it all together.

No actual code is changed. The tar repacking code is slightly modified
to pass the sqfs writer and input file pointer around as argument rather
than using a global variable.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: try to split sqfs2tar.c in a reasonable way</title>
<updated>2020-05-30T15:49:40+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-05-24T14:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=8aa0366b85ce621ec54637ab4f9d37ad1e636e8f'/>
<id>urn:sha1:8aa0366b85ce621ec54637ab4f9d37ad1e636e8f</id>
<content type='text'>
This comit breaks sqfs2tar into multiple files:
 - options.c contains the command line argument processing
 - write_tree.c contains the code for generating the actual tar archive
 - sqfs2tar.c contains what is left
 - A header is added for glueing it all together.

No actual code is changed.

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