<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/ldir/include/package-defaults.mk, branch master</title>
<subtitle>Kevin D-Bs staging tree</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/ldir/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/'/>
<updated>2023-03-13T21:53:41Z</updated>
<entry>
<title>build: disable automake dependency tracking</title>
<updated>2023-03-13T21:53:41Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2022-08-25T02:32:13Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=129be247a6a0cb11132691bdf27104f48ab08530'/>
<id>urn:sha1:129be247a6a0cb11132691bdf27104f48ab08530</id>
<content type='text'>
Recent versions of Automake
have changed dependency tracking significantly
(reference commit below)
causing breakage in some package builds
when using newer Automake with packages that need autoreconf
that were bootstrapped with an old version of Automake.

Those changes cause a great inconsistency between packages over time
where some packages may or may not use this feature,
and may or may not update the .ac and .am files
to work with the new methods.
This problem might exist in many packages
where autoreconf is not currently required,
but would cause build failure if autoreconf is used.

Fortunately, this feature is practically useless
for the purposes of Openwrt and the average developer,
so we can disable it.

GNU Automake manual states in part:

  "Because dependencies are only computed as a side-effect of compilation...
   no dependency information exists the first time a package is built...
   dependency tracking is completely useless for one-time builds..."

A nice side-effect is that build times are slightly faster.

Ref: 6a675ef17edf7109da189f5ae70e2dc6b7665896 (automake.git)
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>tree-wide: Do not use package librt and libpthread</title>
<updated>2022-12-29T17:50:24Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2022-12-18T16:32:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=f12bad6c19df4ad10b274e0c1e10bcdaaccf96f3'/>
<id>urn:sha1:f12bad6c19df4ad10b274e0c1e10bcdaaccf96f3</id>
<content type='text'>
The libraries libpthread, libdl, libutil, libanl have been integrated
into the libc library in version 2.34. it is not needed to explicitly
link them any more.

Most of the functions have been moved from the librt.so into libc.so
some time ago already.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>build: use SPDX license tags</title>
<updated>2021-02-05T13:54:47Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-09-22T02:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=a17b8eaa2e4b319b7069170398fe965786a813e9'/>
<id>urn:sha1:a17b8eaa2e4b319b7069170398fe965786a813e9</id>
<content type='text'>
The license folder is a core part of OpenWrt and all GPL-2.0 licensed.
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
[rebase, keep some Copyright lines, sharpen commit message]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>build: allow file modes per binary package</title>
<updated>2020-09-09T13:13:59Z</updated>
<author>
<name>Sebastian Kemper</name>
</author>
<published>2020-09-09T10:29:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=f58d3235342433eeba7458b0a527ee2b3725ee3a'/>
<id>urn:sha1:f58d3235342433eeba7458b0a527ee2b3725ee3a</id>
<content type='text'>
Currently the global variable PKG_FILE_MODES is used for all ipkg
creations. This works for Makefiles which output a single package, or
variants of a single package.

But if a Makefile outputs multiple packages that each contain different
files, setting PKG_FILE_MODES causes build failure when any of the files
in the variable do not exist in the folder that is currently being
packaged.

Example:

/openwrt/staging_dir/host/bin/fakeroot -l /openwrt/staging_dir/host/lib/libfakeroot.so -f /openwrt/staging_dir/host/bin/faked /openwrt/scripts/ipkg-build -m "/usr/lib/mariadb/plugin/auth_pam_tool_dir:root:376:0750" /openwrt/build_dir/target-mips_24kc_musl/mariadb-10.4.13/ipkg-mips_24kc/mariadb-server-plugin-disks /openwrt/bin/packages/mips_24kc/packages
+chown: cannot access '/openwrt/build_dir/target-mips_24kc_musl/mariadb-10.4.13/ipkg-mips_24kc/mariadb-server-plugin-disks//usr/lib/mariadb/plugin/auth_pam_tool_dir': No such file or directory

This commit changes the file mode handling a bit. The file mode can now
be set either globally via PKG_FILE_MODES (no behavior change) or on a
per-package basis via FILE_MODES. This way specific file modes can be
used for any particular package.

This behavior is already used for other OpenWrt variables, hence it is
familiar:

PKG_MAINTAINER vs MAINTAINER
PKG_SOURCE_SUBDIR vs SUBDIR
PKG_LICENSE vs LICENSE
...

Signed-off-by: Sebastian Kemper &lt;sebastian_ml@gmx.net&gt;
</content>
</entry>
<entry>
<title>toolchain: remove gcc libssp and use libc variant</title>
<updated>2020-06-17T21:57:07Z</updated>
<author>
<name>Ian Cooper</name>
</author>
<published>2020-06-15T21:14:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=b933f9cf0cb254e368027cad6d5799e45b237df5'/>
<id>urn:sha1:b933f9cf0cb254e368027cad6d5799e45b237df5</id>
<content type='text'>
Removes the standalone implementation of stack smashing protection
in gcc's libssp in favour of the native implementation available
in glibc and uclibc. Musl libc already uses its native ssp, so this
patch does not affect musl-based toolchains.

Stack smashing protection configuration options are now uniform
across all supported libc variants.

This also makes kernel-level stack smashing protection available
for x86_64 and i386 builds using non-musl libc.

Signed-off-by: Ian Cooper &lt;iancooper@hotmail.com&gt;
</content>
</entry>
<entry>
<title>include/package-defaults.mk: fix default Build/Prepare with empty ./src</title>
<updated>2018-03-07T08:59:08Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-03-06T20:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=359273d7f6e5733b84a263f8d3023e9d4adc7d40'/>
<id>urn:sha1:359273d7f6e5733b84a263f8d3023e9d4adc7d40</id>
<content type='text'>
Copying ./src/* would fail when src exists, but is empty or only contains
hidden files.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>build: cleanup SSP_SUPPORT configure option</title>
<updated>2018-01-27T18:02:48Z</updated>
<author>
<name>Julien Dusser</name>
</author>
<published>2018-01-07T17:47:21Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=241e6dd3e92c4f215b8ac75379a4b5aeaeb92171'/>
<id>urn:sha1:241e6dd3e92c4f215b8ac75379a4b5aeaeb92171</id>
<content type='text'>
Configure variable SSP_SUPPORT is ambiguous for packages (tor, openssh,
avahi, freeswitch). It means 'toolchain supporting SSP', but for toolchain
and depends it means 'build gcc with libssp'.

Musl no longer uses libssp (1877bc9d8f), it has internal support, so
SSP_SUPPORT was disabled leading some package to not use SSP.

No information why Glibc and uClibc use libssp, but they may also provide
their own SSP support. uClibc used it own with commit 933b588e25 but it was
reverted in f3cacb9e84 without details.

Create an new configure GCC_LIBSSP and automatically enable SSP_SUPPORT
if either USE_MUSL or GCC_LIBSSP.

Signed-off-by: Julien Dusser &lt;julien.dusser@free.fr&gt;
</content>
</entry>
<entry>
<title>build: allow defining license information per binary package</title>
<updated>2017-11-25T19:02:04Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2017-10-31T20:29:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=2cb75cd8b9d451bde0cfffce80fa67d58944c44b'/>
<id>urn:sha1:2cb75cd8b9d451bde0cfffce80fa67d58944c44b</id>
<content type='text'>
At the moment, license information can only be specified on a
"per source package" level while other metadata fields (e.g. maintainer)
can be given for each binary package. Apply the same logic for license
fields as well. This can be used e.g. in cases where a library is
distributed under some license while related tools are distributed
under a different one.

Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>build: reset ALTERNATIVES field in Package/Default</title>
<updated>2017-05-03T09:40:46Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2017-05-03T09:30:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=7842ccecc053d1e3b4977334411bb276ace8ae17'/>
<id>urn:sha1:7842ccecc053d1e3b4977334411bb276ace8ae17</id>
<content type='text'>
Otherwise ipkg packages may wrongly take on alternatives specs of
another package sharing the same package Makefile

Fixes FS#753

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>include/packages-defaults.mk: Remove LARGEFILE option</title>
<updated>2017-04-26T11:39:11Z</updated>
<author>
<name>Daniel Engberg</name>
</author>
<published>2017-04-21T08:23:20Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=edda8ecd79b181e338e82331ecb45eaeff0f57af'/>
<id>urn:sha1:edda8ecd79b181e338e82331ecb45eaeff0f57af</id>
<content type='text'>
Remove LARGEFILE option, support was removed back in 2011 (OpenWrt rev 25208).

Signed-off-by: Daniel Engberg &lt;daniel.engberg.lists@pyret.net&gt;</content>
</entry>
</feed>
