<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 25: Override mtime with zip -X and SOURCE_DATE_EPOCH</title><link>https://sourceforge.net/p/infozip/patches/25/</link><description>Recent changes to 25: Override mtime with zip -X and SOURCE_DATE_EPOCH</description><atom:link href="https://sourceforge.net/p/infozip/patches/25/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 13 Feb 2022 09:41:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/infozip/patches/25/feed.rss" rel="self" type="application/rss+xml"/><item><title>#25 Override mtime with zip -X and SOURCE_DATE_EPOCH</title><link>https://sourceforge.net/p/infozip/patches/25/?limit=25#d914/35f4/bc42/d36a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There was a bug in the 1st scandir call param: "." vs n &lt;br/&gt;
&lt;a href="https://github.com/distropatches/zip/commit/5063c9ce12c58f2512c2d00080d863d14b5d31f7" rel="nofollow"&gt;https://github.com/distropatches/zip/commit/5063c9ce12c58f2512c2d00080d863d14b5d31f7&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bernhard M. Wiedemann</dc:creator><pubDate>Sun, 13 Feb 2022 09:41:08 -0000</pubDate><guid>https://sourceforge.net3044080db0c0e55c9b3654f3450aa498e7a3f999</guid></item><item><title>#25 Override mtime with zip -X and SOURCE_DATE_EPOCH</title><link>https://sourceforge.net/p/infozip/patches/25/?limit=25#d914/35f4/bc42/a47c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Oops! Yeah, my patches are based on zip 3.1d beta. You can find that version on the info-zip FTP (beta) or via &lt;a href="https://antinode.info/ftp/info-zip." rel="nofollow"&gt;https://antinode.info/ftp/info-zip.&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mingye Wang</dc:creator><pubDate>Sun, 26 Jan 2020 15:15:00 -0000</pubDate><guid>https://sourceforge.netc4d818633b849321fe8f014a0be9c23ae6b845c7</guid></item><item><title>#25 Override mtime with zip -X and SOURCE_DATE_EPOCH</title><link>https://sourceforge.net/p/infozip/patches/25/?limit=25#7b04</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;also worth mentioning that I once imported our openSUSE package patches into git to make the chaos more manageable:&lt;br/&gt;
&lt;a href="https://github.com/distropatches/zip/commits/opensuse" rel="nofollow"&gt;https://github.com/distropatches/zip/commits/opensuse&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;otherwise it looks more like&lt;br/&gt;
&lt;a href="https://github.com/bmwiedemann/openSUSE/tree/master/packages/z/zip" rel="nofollow"&gt;https://github.com/bmwiedemann/openSUSE/tree/master/packages/z/zip&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bernhard M. Wiedemann</dc:creator><pubDate>Sun, 26 Jan 2020 01:01:42 -0000</pubDate><guid>https://sourceforge.net507cc6ba75ab364d2e344f068aac59e87cf4aca7</guid></item><item><title>#25 Override mtime with zip -X and SOURCE_DATE_EPOCH</title><link>https://sourceforge.net/p/infozip/patches/25/?limit=25#d914/35f4/bc42</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The 0002 patch does not apply cleanly on my 3.0 - Is there a git repo of your version somewhere?&lt;/p&gt;
&lt;p&gt;and then there are 2 problems:&lt;br/&gt;
1) there is another closedir(d) in the first loop.&lt;br/&gt;
2) the char *e;  definition is still needed when you assign namelist&lt;span&gt;[i]&lt;/span&gt;-&amp;gt;d_name to it&lt;/p&gt;
&lt;p&gt;There is a scandir impl in&lt;br/&gt;
&lt;a href="https://github.com/microsoft/Windows-classic-samples/blob/master/Samples/Win7Samples/begin/sdkdiff/scandir.cpp" rel="nofollow"&gt;https://github.com/microsoft/Windows-classic-samples/blob/master/Samples/Win7Samples/begin/sdkdiff/scandir.cpp&lt;/a&gt;  but licence is probably not suitable. There are some other ports around on the net as part of the various libcs.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bernhard M. Wiedemann</dc:creator><pubDate>Sat, 25 Jan 2020 20:50:10 -0000</pubDate><guid>https://sourceforge.net7ff944ebd2ad7b38e848cbffa0f2f08722e7f7ed</guid></item><item><title>#25 Override mtime with zip -X and SOURCE_DATE_EPOCH</title><link>https://sourceforge.net/p/infozip/patches/25/?limit=25#d914/35f4</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Got the &lt;code&gt;scandir&lt;/code&gt; patch here. You will need to fill in the fallback implementation part.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arthur (Mingye) Wang</dc:creator><pubDate>Sat, 25 Jan 2020 15:10:09 -0000</pubDate><guid>https://sourceforge.net5929234caa4c9c162e7895fb9f5e7bb20ae1950f</guid></item><item><title>#25 Override mtime with zip -X and SOURCE_DATE_EPOCH</title><link>https://sourceforge.net/p/infozip/patches/25/?limit=25#d914</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;A revised patch with manpage updates is attached.&lt;/p&gt;
&lt;p&gt;Readdir seems a bit hard to fix generally, since it is used in a bit too many places. For Unix we can probably take the FreeBSD &lt;code&gt;scandir()&lt;/code&gt; implementation and wrap a new readd() around it. Too keep the states we will need to make a struct around &lt;code&gt;DIR&lt;/code&gt; instead so we know where the &lt;code&gt;namelist&lt;/code&gt; is.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arthur (Mingye) Wang</dc:creator><pubDate>Sat, 25 Jan 2020 10:27:25 -0000</pubDate><guid>https://sourceforge.netc5abe36f5824d006bbcea39a01b643ca7264fc63</guid></item><item><title>Override mtime with zip -X and SOURCE_DATE_EPOCH</title><link>https://sourceforge.net/p/infozip/patches/25/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This makes reproducible zip file creation a lot easier.&lt;br/&gt;
(the other common problem is non-deterministic recursion because it uses filesystem readdir order without sorting)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bernhard M. Wiedemann</dc:creator><pubDate>Tue, 14 May 2019 12:31:19 -0000</pubDate><guid>https://sourceforge.net177e918523721c2f13f22bb4efa79f3be21df075</guid></item></channel></rss>