From de6423ac7185ca1e5b9bd3e8a5682bc523afc197 Mon Sep 17 00:00:00 2001 From: Nathan Date: Sat, 24 Oct 2020 19:25:51 +0000 Subject: user/rpm: Add --- user/rpm/APKBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 user/rpm/APKBUILD (limited to 'user/rpm/APKBUILD') diff --git a/user/rpm/APKBUILD b/user/rpm/APKBUILD new file mode 100644 index 000000000..950f60478 --- /dev/null +++ b/user/rpm/APKBUILD @@ -0,0 +1,57 @@ +# Contributor: Nathan +# Maintainer: Nathan +pkgname=rpm +pkgver=4.16.0 +pkgrel=0 +pkgdesc="Redhat Package Manager" +url="https://www.rpm.org" +arch="all" +license="GPL-2.0+ AND LGPL-2.0+" +depends="" +makedepends="acl-dev autoconf automake binutils-dev bzip2-dev file-dev + graphviz libarchive-dev libcap-dev libgcrypt-dev + libtool popt-dev sqlite-dev xz-dev zlib-dev zstd-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://ftp.rpm.org/releases/$pkgname-${pkgver%.*}.x/$pkgname-$pkgver.tar.bz2 + musl.patch + include-fcntl.patch" + +prepare() { + # Use sqlite db + sed -ie "/_db_backend/ s/ bdb/ sqlite/g" macros.in + default_prepare + autoreconf -fi +} + +# Py dependencies isn't currently in repo, so disable for now +build() { + LIBS="$LIBS -lintl" \ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --with-cap \ + --with-acl \ + --without-lua \ + --disable-python \ + --enable-zstd \ + --enable-sqlite=yes \ + --enable-bdb_ro=yes \ + --enable-bdb=no \ + --with-crypto=libgcrypt + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="177119c3ac3d48980db55bb4ba0fdbb2a911968e5efc690bfa8cc343f850fc90531cc0dee6dd8e45d2b14f0d951ced35bd8893d24011b7f270745d281ddf4e3d rpm-4.16.0.tar.bz2 +212a4265abc8d002e16bed106b8b773cf65564f95e6074bc1378c4745420202a476373b49b660bdfe82cc2470c35fff4f184168a698abfa2a4bf30c8f91e64ad musl.patch +6424005c78aaebcd3565debbdc1ca14fb16ef8f4aa79748eca3403115a31c77afbb8929add1a8450afbd0496e303c915c6ad6d60cde41a89caf553a10256ace5 include-fcntl.patch" -- cgit v1.2.3-70-g09d2 From 033f657cad25c6b2c635269bea901654b7ab8d9e Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 21 Jul 2021 13:43:34 -0500 Subject: {user,system} Reassign 'Nathan' --> 'Zach van Rijn' --- system/libcap-ng/APKBUILD | 2 +- user/byobu/APKBUILD | 2 +- user/doas/APKBUILD | 2 +- user/felinks/APKBUILD | 2 +- user/genext2fs/APKBUILD | 2 +- user/giblib/APKBUILD | 2 +- user/gnu-netcat/APKBUILD | 2 +- user/gobject-introspection/APKBUILD | 2 +- user/imlib2/APKBUILD | 2 +- user/libseccomp/APKBUILD | 2 +- user/rpm/APKBUILD | 2 +- user/scrot/APKBUILD | 2 +- user/vorbis-tools/APKBUILD | 2 +- user/wget/APKBUILD | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) (limited to 'user/rpm/APKBUILD') diff --git a/system/libcap-ng/APKBUILD b/system/libcap-ng/APKBUILD index 44479ae49..05713698b 100644 --- a/system/libcap-ng/APKBUILD +++ b/system/libcap-ng/APKBUILD @@ -1,4 +1,4 @@ -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=libcap-ng pkgver=0.8 pkgrel=0 diff --git a/user/byobu/APKBUILD b/user/byobu/APKBUILD index 1d67bd11e..9d91403aa 100644 --- a/user/byobu/APKBUILD +++ b/user/byobu/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=byobu pkgver=5.133 pkgrel=0 diff --git a/user/doas/APKBUILD b/user/doas/APKBUILD index c38cb62bd..99b3ac5c0 100644 --- a/user/doas/APKBUILD +++ b/user/doas/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=doas pkgver=6.6.1 pkgrel=0 diff --git a/user/felinks/APKBUILD b/user/felinks/APKBUILD index 408763e13..bc263b9df 100644 --- a/user/felinks/APKBUILD +++ b/user/felinks/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=felinks pkgver=0.13.5 pkgrel=0 diff --git a/user/genext2fs/APKBUILD b/user/genext2fs/APKBUILD index ac59e8e22..9d16a2792 100644 --- a/user/genext2fs/APKBUILD +++ b/user/genext2fs/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=genext2fs pkgver=1.5.0 pkgrel=0 diff --git a/user/giblib/APKBUILD b/user/giblib/APKBUILD index 9754a38df..b6bc48c99 100644 --- a/user/giblib/APKBUILD +++ b/user/giblib/APKBUILD @@ -1,4 +1,4 @@ -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=giblib pkgver=1.2.4 pkgrel=12 diff --git a/user/gnu-netcat/APKBUILD b/user/gnu-netcat/APKBUILD index c021fad6e..6123aee0e 100644 --- a/user/gnu-netcat/APKBUILD +++ b/user/gnu-netcat/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=gnu-netcat pkgver=0.7.1 pkgrel=0 diff --git a/user/gobject-introspection/APKBUILD b/user/gobject-introspection/APKBUILD index f61e5bfc2..24655fb08 100644 --- a/user/gobject-introspection/APKBUILD +++ b/user/gobject-introspection/APKBUILD @@ -1,4 +1,4 @@ -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=gobject-introspection pkgver=1.66.1 pkgrel=0 diff --git a/user/imlib2/APKBUILD b/user/imlib2/APKBUILD index 698485e04..b7256e65d 100644 --- a/user/imlib2/APKBUILD +++ b/user/imlib2/APKBUILD @@ -1,4 +1,4 @@ -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=imlib2 pkgver=1.7.0 pkgrel=0 diff --git a/user/libseccomp/APKBUILD b/user/libseccomp/APKBUILD index 3a26c908a..f666e777f 100644 --- a/user/libseccomp/APKBUILD +++ b/user/libseccomp/APKBUILD @@ -1,4 +1,4 @@ -# Maintainer: Nathan +# Maintainer: Zach van Rijn # Contributor: Natanael Copa # Contributor: Carlo Landmeter # Contributor: Dan Williams diff --git a/user/rpm/APKBUILD b/user/rpm/APKBUILD index 950f60478..f6b4d7a69 100644 --- a/user/rpm/APKBUILD +++ b/user/rpm/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=rpm pkgver=4.16.0 pkgrel=0 diff --git a/user/scrot/APKBUILD b/user/scrot/APKBUILD index e9828b5ad..9bb69ee27 100644 --- a/user/scrot/APKBUILD +++ b/user/scrot/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=scrot pkgver=1.4 pkgrel=0 diff --git a/user/vorbis-tools/APKBUILD b/user/vorbis-tools/APKBUILD index 4ce488428..eaf358c07 100644 --- a/user/vorbis-tools/APKBUILD +++ b/user/vorbis-tools/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=vorbis-tools pkgver=1.4.0 pkgrel=1 diff --git a/user/wget/APKBUILD b/user/wget/APKBUILD index 6b4444ce8..967995609 100644 --- a/user/wget/APKBUILD +++ b/user/wget/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=wget pkgver=1.20.3 pkgrel=0 -- cgit v1.2.3-70-g09d2