<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/hauke/tools/automake, branch master</title>
<subtitle>Hauke Mehrtens staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/hauke/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/hauke/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/'/>
<updated>2023-05-04T04:07:28Z</updated>
<entry>
<title>tools/automake: move file requirements to higher strictness</title>
<updated>2023-05-04T04:07:28Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2023-03-29T21:00:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=89a8269c109b56364bc5c7a63afb8e2888ba9143'/>
<id>urn:sha1:89a8269c109b56364bc5c7a63afb8e2888ba9143</id>
<content type='text'>
GNU standards requires certain files at the top-level directory
of a package that automake is used with, mostly documentation.

If one of these files happens to be missing, autoreconf would fail.

Move these file requirements to the more strict 'GNITS' setting.

Link: https://www.gnu.org/software/automake/manual/html_node/Strictness.html
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>tools/automake: verbose variable compatibility</title>
<updated>2023-03-26T22:41:49Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2023-03-14T09:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=b094c6976c161643d5c656b16738a65d28722b18'/>
<id>urn:sha1:b094c6976c161643d5c656b16738a65d28722b18</id>
<content type='text'>
An old patch attempted to harmonize the way that
both Openwrt and Automake uses the $(V) variable.
However, it was reverted because of the side-effects.

This method is more simple and just
allows Automake to accept any string
as part of the verbosity toggle,
falling back to the default if null.

Ref: e6901bf90 ("tools/automake: Revert "Do not use $(V) - force AM_V=1"")
Ref: 43365ca66 ("Do not use $(V) - force AM_V=1")
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>tools/automake: bump to 1.16.5</title>
<updated>2023-03-13T21:53:41Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2022-08-01T12:30:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=f509935fe3bf85dcd5cce98beb32d426b3ea11f2'/>
<id>urn:sha1:f509935fe3bf85dcd5cce98beb32d426b3ea11f2</id>
<content type='text'>
Automake releases 1.16.2 to 1.16.5 are major releases,
the two before are minor releases.

The first patch needed rewriting, some lines moved
to be consistent with the same change upstream in other files.
This also simplifies the patch.

Second patch refreshed.

Links to changelogs in order, oldest to newest.

Link: https://lists.gnu.org/archive/html/info-gnu/2018-02/msg00008.html
Link: https://lists.gnu.org/archive/html/info-gnu/2018-03/msg00002.html
Link: https://lists.gnu.org/archive/html/info-gnu/2020-03/msg00009.html
Link: https://lists.gnu.org/archive/html/info-gnu/2020-11/msg00005.html
Link: https://lists.gnu.org/archive/html/info-gnu/2021-07/msg00013.html
Link: https://lists.gnu.org/archive/html/info-gnu/2021-10/msg00000.html
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>tools/automake: use make variable to generate aclocal symlinks</title>
<updated>2023-03-13T21:53:41Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2022-09-02T18:51:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=a3cf796e7731fb7ce657017ad34e93acf35b038a'/>
<id>urn:sha1:a3cf796e7731fb7ce657017ad34e93acf35b038a</id>
<content type='text'>
Instead of having a somewhat random list of aclocal symlinks
which are named with the API versioning scheme,
install a symlink for every API version since 1.11
(the first release after Automake was moved to git)
using the API version number from the version of automake
that is currently in openwrt.

Automake API versioning does not include the patch level number.

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>tools/automake: clean up build recipes</title>
<updated>2023-03-13T21:53:41Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2022-09-07T14:45:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=8d0ff17ec9907b1383644793884c2b50598aafea'/>
<id>urn:sha1:8d0ff17ec9907b1383644793884c2b50598aafea</id>
<content type='text'>
The configure option datarootdir
defaults to PREFIX/share.

The Host/Clean define should be Host/Uninstall
otherwise it is removing the build directory
before there is a chance to try "make uninstall"
in that directory.
Host/Clean/Default is no longer defined.

Consolidate the install stage with Host/Uninstall,
since it is essentially uninstalling before installing.

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>automake: use STAGING_DIR_HOST in relocatable patch</title>
<updated>2023-01-09T20:33:18Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-11-10T16:44:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=3606fcce0ba2ede47c3fe47b0b62033df2d231dd'/>
<id>urn:sha1:3606fcce0ba2ede47c3fe47b0b62033df2d231dd</id>
<content type='text'>
Instead of using STAGING_DIR and then go up one dir with '../' use
directly STAGING_DIR_HOST env variable. This should produce cleaner
symbolic links.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools: add Host/Uninstall where possible</title>
<updated>2022-10-19T22:33:22Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2022-09-28T08:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=a63805b25f99e609d575ee920baae269fb58794c'/>
<id>urn:sha1:a63805b25f99e609d575ee920baae269fb58794c</id>
<content type='text'>
This cleans staging_dir when calling tool/x/clean.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>automake: always use correct path for aclocal.real</title>
<updated>2022-07-14T10:57:12Z</updated>
<author>
<name>Leonardo Mörlein</name>
</author>
<published>2021-08-09T22:48:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=ffd9bd7b9b5f54b71bc4bba33f9a53dddc47d585'/>
<id>urn:sha1:ffd9bd7b9b5f54b71bc4bba33f9a53dddc47d585</id>
<content type='text'>
Before this commit, it was assumed that aclocal.real is in the PATH. While
this was fine for the normal build workflow, this led to some issues if

    make TOPDIR="$(pwd)" -C "$pkgdir" compile

was called manually. The command failed with:

    /home/.../openwrt/staging_dir/host/bin/aclocal: line 2: aclocal.real: command not found
    autoreconf: /home/.../openwrt/staging_dir/host/bin/aclocal failed with exit status: 127

After the commit, the package is built sucessfully.

Signed-off-by: Leonardo Mörlein &lt;me@irrelefant.net&gt;
</content>
</entry>
<entry>
<title>tools/automake: Revert "Do not use $(V) - force AM_V=1"</title>
<updated>2019-11-05T23:21:15Z</updated>
<author>
<name>Fredrik Olofsson</name>
</author>
<published>2019-10-14T07:01:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=e6901bf902abbf5d009f9bc8b6e2e283ffd55113'/>
<id>urn:sha1:e6901bf902abbf5d009f9bc8b6e2e283ffd55113</id>
<content type='text'>
This reverts commit 43365ca66253 ("Do not use $(V) - force AM_V=1") as
it breaks verbose output in automake packages, deviating from the
upstream and expected behaviour.

As you can see, neither make command outputs the expected verbose
compile command lines:

```
$ make package/mtd-utils/{clean,compile} V=sc
...
  CCLD     lsmtd
  CC       nand-utils/nanddump.o
  CCLD     nanddump
...
```
```
$ make -C build_dir/target*/mtd-utils-2.1.1 clean
...
$ make -C build_dir/target*/mtd-utils-2.1.1 V=1
...
  CC       lib/libmtd.o
  CC       lib/libfec.o
  CC       lib/common.o
  CC       lib/libcrc32.o
```

The original reason for this commit was some packages failing to build
if V is set to something other than 0 or 1. See the discussion in PR
https://github.com/openwrt/openwrt/pull/2481 for how to fix this in the
package Makefile.

Ref: PR#2481
Acked-by: Mirko Vogt &lt;mirko-openwrt@nanl.de&gt;
Signed-off-by: Fredrik Olofsson &lt;fredrik.olofsson@anyfinetworks.com&gt;
[commit title/description facelift]
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>add PKG_CPE_ID ids to package and tools</title>
<updated>2017-11-17T01:24:35Z</updated>
<author>
<name>Alexander Couzens</name>
</author>
<published>2017-09-28T02:55:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=c61a2395140d92cdd37d3d6ee43a765427e8e318'/>
<id>urn:sha1:c61a2395140d92cdd37d3d6ee43a765427e8e318</id>
<content type='text'>
CPE ids helps to tracks CVE in packages.
https://cpe.mitre.org/specification/

Thanks to swalker for CPE to package mapping and
keep tracking CVEs.

Acked-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</content>
</entry>
</feed>
