jhol 6a9da6ebce
genromfs: downgrade to 0.5.2 - the most recent true release (#5234)
* genromfs: downgrade to 0.5.2 - the most recent true release

The current package version is 0.5.7. This version number comes from a tag in
the GitHub repository at commit 2bdc5f9 - a commit made in 2009. However, this
tag was never released as a true package release and the commit has the label:

  Update to version 0.5.7 (not released)

Repology reports that the vast majority of package distributions are shipping
the 0.5.2 release, which is the most recent true release made in 2007:

  https://repology.org/project/genromfs/versions

One bug that was found with the 0.5.7 non-release is that the genromfs tool
opens file handles without then closing them which eventually causes a "Too
many open files" error. A patch has been submitted to fix the issue here:

  https://github.com/chexum/genromfs/pull/5

However, it seems unlikely that acceptance of this patch, or a new release are
going to be forthcoming because no commits have been added to the GitHub
repository since 2011.

Therefore, this patch sets the version number to 0.5.2.

Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>

* bump epoch

---------

Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
2025-03-03 15:54:50 +01:00

22 lines
554 B
Bash

# Maintainer: Joel Holdsworth <jholdsworth@nvidia.com>
pkgname=genromfs
pkgver=0.5.2
pkgrel=1
epoch=1
pkgdesc="Creates ROMFS images"
arch=('any')
url="https://romfs.sourceforge.net/"
license=("GPL-2+")
makedepends=("gcc")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/chexum/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=("a96953ff6a2ce96b9c9aca99faaa43fda0e25e0012f3855cd6b988a12895467b")
build() {
make -C "${srcdir}"/${pkgname}-${pkgver}
}
package() {
make -C "${srcdir}"/${pkgname}-${pkgver} PREFIX=${pkgdir} install
}