<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/include/package-defaults.mk, branch v21.02.1</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2021-02-05T13:54:47Z</updated>
<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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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>
<entry>
<title>build: copy contents of 'src' folder to build dirs (if present)</title>
<updated>2016-10-15T09:36:51Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2016-10-05T14:28:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=7c8c3226dc8ecd2b77d1d1e8215e0fbb52819cd7'/>
<id>urn:sha1:7c8c3226dc8ecd2b77d1d1e8215e0fbb52819cd7</id>
<content type='text'>
The normal Prepare step for a build is unpack, apply patches.
But for certain packages, patches contain whole files, which
would be nice to have separately and copied over as a last step
in the Prepare phase.

We need it for some other packages + patches, but I think
the 'hostapd' package can be used as a test for this.

As a quick note:
the reason the condition is being evaluated as
`[ ! -d ./src/ ] || $(CP) ./src/* $(HOST_BUILD_DIR)`
and not with
`[ -d ./src/ ] &amp;&amp; $(CP) ./src/* $(HOST_BUILD_DIR)`
is that the latter would translate in a build failure if the `src`
folder is not present (the exit code would be 1).
The first one, succeeds for both cases (if `src` present or not).

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: use CXXFLAGS if defined</title>
<updated>2016-10-13T15:04:43Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2016-10-02T23:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=559fb537d83bc30fc2dfa783292b9f86712966d6'/>
<id>urn:sha1:559fb537d83bc30fc2dfa783292b9f86712966d6</id>
<content type='text'>
Instead of using TARGET_CFLAGS and EXTRA_CFLAGS in cmake and scons
build use the TARGET_CXXFLAGS and EXTRA_CXXFLAGS like it is done for
normal make and configure. configure used TARGET_CXXFLAGS and
EXTRA_CFLAGS for the CXXFLAGS. The package-default.mk sets
"EXTRA_CXXFLAGS = $(EXTRA_CFLAGS)" so using EXTRA_CXXFLAGS flags should
be save.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
</feed>
