<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/neocturne/scripts/ipkg-make-index.sh, 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>2023-05-09T19:32:26Z</updated>
<entry>
<title>Revert "scripts: run ipkg-make-index through shellcheck"</title>
<updated>2023-05-09T19:32:26Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2023-05-09T19:32:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=7611b330bb613409ae4e92ad63dbcc095676468f'/>
<id>urn:sha1:7611b330bb613409ae4e92ad63dbcc095676468f</id>
<content type='text'>
This reverts commit e6aa1a70e6c870cfeac838b52ad57b6888e6629d.
</content>
</entry>
<entry>
<title>scripts: run ipkg-make-index through shellcheck</title>
<updated>2023-05-09T17:06:23Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2023-05-09T17:06:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=e6aa1a70e6c870cfeac838b52ad57b6888e6629d'/>
<id>urn:sha1:e6aa1a70e6c870cfeac838b52ad57b6888e6629d</id>
<content type='text'>
Use quotes and replace `` by $() to pass the shellcheck tests.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>build: introduce $(MKHASH)</title>
<updated>2021-05-13T13:13:15Z</updated>
<author>
<name>Leonardo Mörlein</name>
</author>
<published>2021-05-09T20:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=b993b68b6ca8444b5227a0c18df4600b37ac565c'/>
<id>urn:sha1:b993b68b6ca8444b5227a0c18df4600b37ac565c</id>
<content type='text'>
Before this commit, it was assumed that mkhash 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. In most of the cases, I just saw warnings like this:

    make: Entering directory '/home/.../package/gluon-status-page'
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    [...]

While these were only warnings and the package still compiled sucessfully,
I also observed that some package even fail to build because of this.

After applying this commit, the variable $(MKHASH) is introduced. This
variable points to $(STAGING_DIR_HOST)/bin/mkhash, which is always the
correct path.

Signed-off-by: Leonardo Mörlein &lt;me@irrelefant.net&gt;
</content>
</entry>
<entry>
<title>scripts: ipkg-make-index.sh: dereference symbolic links</title>
<updated>2019-01-31T11:35:29Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2019-01-31T11:25:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=ece5cab743f9df6c9655d6117e92fda110292173'/>
<id>urn:sha1:ece5cab743f9df6c9655d6117e92fda110292173</id>
<content type='text'>
Use `stat -L` instead of `ls -l` to follow symbolic links when obtaining
the file size of .ipk archives.

Without this change, the size of the symlink, not the size of the target
file is encoded in the package index file.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: use mkhash to replace various quirky md5sum/openssl calls</title>
<updated>2017-01-05T10:09:12Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-12-25T15:40:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=84bd74057f0d2543ddbc7de2351b0a310df329c6'/>
<id>urn:sha1:84bd74057f0d2543ddbc7de2351b0a310df329c6</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>package/Makefile &amp; ipkg-make-index.sh: add full package data list</title>
<updated>2016-12-26T10:17:33Z</updated>
<author>
<name>Alberto Bursi</name>
</author>
<published>2016-12-24T12:32:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=c24172cad1e66412b287cf49809d363e10acb1c5'/>
<id>urn:sha1:c24172cad1e66412b287cf49809d363e10acb1c5</id>
<content type='text'>
The external script used to generate the package lists for the
LEDE wiki's table of packages [1] and package indexes [2] requires
a "Source:" field in the package lists to find package makefiles.
The package makefiles are used to read the package's Category and Submenu.

The "Source:" field was removed in commit
b4aa3c899cbf1f81cd8a1ea197481ac84a9d646e
to reduce package list sizes and lessen opkg issues in low ram devices.

Add a separate package list file with full data to be used by the wiki's script.
It's called Packages.manifest and isn't compressed as it's not necessary.

1. https://lede-project.org/packages/start
2. https://lede-project.org/packages/index/start

Signed-off-by: Alberto Bursi &lt;alberto.bursi@outlook.it&gt;
</content>
</entry>
<entry>
<title>ipkg-make-index.sh: drop a few non-essential fields</title>
<updated>2016-12-14T11:13:14Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-12-13T14:20:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=b4aa3c899cbf1f81cd8a1ea197481ac84a9d646e'/>
<id>urn:sha1:b4aa3c899cbf1f81cd8a1ea197481ac84a9d646e</id>
<content type='text'>
Saves some more space on the package index

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>ipkg-make-index.sh: drop md5sum from package index</title>
<updated>2016-12-14T11:13:14Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-12-13T14:08:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=34c2b3de6602205c625e9d16e40ef826fcf693d2'/>
<id>urn:sha1:34c2b3de6602205c625e9d16e40ef826fcf693d2</id>
<content type='text'>
We have switched opkg to sha256 a long time ago, and shrinking package
lists is useful for systems that are running low on RAM

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>scripts: ensure that ipkg-make-index.sh exits successfully</title>
<updated>2015-05-27T08:29:10Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2015-05-27T08:29:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=4d96170c32c8f4ae54d1a632261c13f2b19eed1e'/>
<id>urn:sha1:4d96170c32c8f4ae54d1a632261c13f2b19eed1e</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;

SVN-Revision: 45771
</content>
</entry>
<entry>
<title>build: allow creating empty package feeds</title>
<updated>2015-05-26T09:09:07Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-05-26T09:09:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=ecb14f4a5da62e9ea4b5020e25ccec37da669f59'/>
<id>urn:sha1:ecb14f4a5da62e9ea4b5020e25ccec37da669f59</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 45757
</content>
</entry>
</feed>
