<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/neocturne/scripts, branch main</title>
<subtitle>Staging tree of Nora Schiffer</subtitle>
<id>https://git.openwrt.org/openwrt/staging/neocturne/atom?h=main</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/neocturne/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/'/>
<updated>2024-06-19T12:30:06Z</updated>
<entry>
<title>scripts/download.pl: fix broken link for KERNEL projects</title>
<updated>2024-06-19T12:30:06Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-06-19T12:30:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=3b83d393ddcd09e9ceb6ce04559d8f4a697f817f'/>
<id>urn:sha1:3b83d393ddcd09e9ceb6ce04559d8f4a697f817f</id>
<content type='text'>
Fix broken link generation for KERNEL projects.

Using $1 in projectsmirrors sub was still referencing the caller $1
instead of the remaining args of projectsmirrors sub.

Use shift and put the second arg of projectsmirrors sub in $append to
correctly handle the sub args.

Fixes: 465cf358881c ("scripts/download.pl: detach mirror URLs from script file")
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/download.pl: detach mirror URLs from script file</title>
<updated>2024-06-18T17:51:45Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-06-18T14:09:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=465cf358881cfad1293669f235a62e9f31539521'/>
<id>urn:sha1:465cf358881cfad1293669f235a62e9f31539521</id>
<content type='text'>
Detach URL from download script to make it easier to change and update
the URLs.

The mirror list is moved to a JSON file in the scripts directory called
projectsmirrors.json.

Link: https://github.com/openwrt/openwrt/pull/15745
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/ext-toolchain: add missing libc library specs</title>
<updated>2024-06-17T11:24:03Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-06-17T11:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=8cad52a267bffe384a119f3e5ae1892e8580a981'/>
<id>urn:sha1:8cad52a267bffe384a119f3e5ae1892e8580a981</id>
<content type='text'>
Add missing libc library spec that weren't added to the ext-toolchain
script when the library were introduced in the packages libs toolchain
Makefile.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: add explicit timezone in CycloneDX SBOM</title>
<updated>2024-06-07T10:05:49Z</updated>
<author>
<name>Roman Azarenko</name>
</author>
<published>2024-06-04T16:00:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=2ded629864de779df8ddd0224a875edf17f9fea5'/>
<id>urn:sha1:2ded629864de779df8ddd0224a875edf17f9fea5</id>
<content type='text'>
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
Per the CycloneDX 1.4 spec, the `metadata.timestamp` field contains
the date/time when the BOM was created [1].

Before the change, the value generated by the package-metadata.pl
script would look like this:

	2024-06-03T15:51:10

CycloneDX 1.4 relies on the JSON Schema specification version draft-07,
which defines the `date-time` format [2] as derived from RFC 3339,
section 5.6 [3]. In this format, the `time-offset` component is required,
however in the original version of package-metadata.pl it is omitted.

This is causing problems with OWASP Dependency-Track version 4.11.0 or
newer, where it now validates submitted SBOMs against the JSON schema
by default [4]. SBOMs with incorrect timestamp values are rejected with
the following error:

	{
	    "detail": "Schema validation failed",
	    "errors": [
	        "$.metadata.timestamp: 2024-06-03T15:51:10 is an invalid date-time"
	    ],
	    "status": 400,
	    "title": "The uploaded BOM is invalid"
	}

Add explicit `Z` (UTC) timezone offset in the `timestamp` field
to satisfy the CycloneDX schema.

[1]: https://github.com/CycloneDX/specification/blob/1.4/schema/bom-1.4.schema.json#L116-L121
[2]: https://json-schema.org/draft-07/draft-handrews-json-schema-validation-01#rfc.section.7.3.1
[3]: https://datatracker.ietf.org/doc/html/rfc3339#section-5.6
[4]: https://github.com/DependencyTrack/dependency-track/pull/3522

Signed-off-by: Roman Azarenko &lt;roman.azarenko@iopsys.eu&gt;
</content>
</entry>
<entry>
<title>scripts: Add GNU ftp mirror redirector for GNU and Savannah</title>
<updated>2024-05-29T09:19:08Z</updated>
<author>
<name>Sahil Dhiman</name>
</author>
<published>2024-05-25T09:57:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=6510eb3b5d612ea7a70c4a8d9b83639e3b46e221'/>
<id>urn:sha1:6510eb3b5d612ea7a70c4a8d9b83639e3b46e221</id>
<content type='text'>
Add GNU's redirector which automatically redirect user to nearby online
mirror.

Signed-off-by: Sahil Dhiman &lt;sahil@hopbox.in&gt;
Link: https://github.com/openwrt/openwrt/pull/15557
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: fix version info in cyclonedx sbom</title>
<updated>2024-05-25T17:27:06Z</updated>
<author>
<name>Akshay Bhat</name>
</author>
<published>2024-04-19T18:26:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=d8939ff2d5daac4eb3ff932f38ea9d63e091697a'/>
<id>urn:sha1:d8939ff2d5daac4eb3ff932f38ea9d63e091697a</id>
<content type='text'>
Prior e8725a932e16eaf6ec51add8c084d959cbe32ff2, version used to be
VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
After e8725a932e16eaf6ec51add8c084d959cbe32ff2, the version is:
VERSION:=$(PKG_VERSION)-r$(PKG_RELEASE)

Hence the gen_*_cyclonedxsbom functions need to be updated to remove
the trailing -r prefix in the version in order to generate correct
version info in the SBOM.

Signed-off-by: Akshay Bhat &lt;nodeax@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts: fix revision calculation using new "main" branch</title>
<updated>2024-05-21T15:53:33Z</updated>
<author>
<name>Marius Dinu</name>
</author>
<published>2024-05-21T15:08:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=9db53fb6aa261c4aa73da7d1ec6cf2d3b06b8fb8'/>
<id>urn:sha1:9db53fb6aa261c4aa73da7d1ec6cf2d3b06b8fb8</id>
<content type='text'>
Fix revision calculation when local branch is rebased on new "main" branch
instead of "master".

Signed-off-by: Marius Dinu &lt;m95d+git@psihoexpert.ro&gt;
Link: https://github.com/openwrt/openwrt/pull/15538
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: add APK package build capabilities</title>
<updated>2024-05-17T20:21:26Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-14T10:36:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=d788ab376f859164df84e2054cbbbb0921943c5b'/>
<id>urn:sha1:d788ab376f859164df84e2054cbbbb0921943c5b</id>
<content type='text'>
A new option called `USE_APK` is added which generated APK packages
(.apk) instead of OPKG packages (.ipk).

Some features like fstools `snapshot` command are not yet ported

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>scripts/kernel_bump: Fix commit text formatting</title>
<updated>2024-04-28T22:24:02Z</updated>
<author>
<name>Tony Ambardar</name>
</author>
<published>2024-04-20T04:42:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=66252aa89255acf4082bf789f90eebeffb42abcc'/>
<id>urn:sha1:66252aa89255acf4082bf789f90eebeffb42abcc</id>
<content type='text'>
Text of a commit message body should wrap at 75 characters. Manual commits
are expected to do so, but automated commits *must* do so to avoid adding
repeated ugly commits.

Signed-off-by: Tony Ambardar &lt;itugrok@yahoo.com&gt;
</content>
</entry>
<entry>
<title>scripts: ubinize-image.sh: fix support for static volume</title>
<updated>2024-04-24T01:32:22Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-04-23T10:39:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=da13ff30efdb921fe22d02334432c578ba95996a'/>
<id>urn:sha1:da13ff30efdb921fe22d02334432c578ba95996a</id>
<content type='text'>
Apart from being misspelled ('dymamic' vs. 'dynamic') and a mismatch of
the number of parameters, there is also simply no need to add the 'dynamic'
volume type keyword as 6th parameter as that's the default anyway.
Fix and simplify the ubinize-image.sh script to work as intended.

Fixes: 6c17d71973 ("scripts: ubinize-image.sh: support static volumes, make size optional")
Reported-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
</feed>
