~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH 1/1] community/ima-evm-utils: Add new package

Details
Message ID
<20210124235554.1162-1-petr.vorel@gmail.com>
DKIM signature
missing
Download raw message
Patch: +43 -0
From: Petr Vorel <pvorel@suse.cz>

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 community/ima-evm-utils/APKBUILD | 43 ++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 community/ima-evm-utils/APKBUILD

diff --git a/community/ima-evm-utils/APKBUILD b/community/ima-evm-utils/APKBUILD
new file mode 100644
index 0000000000..eb0610eeef
--- /dev/null
+++ b/community/ima-evm-utils/APKBUILD
@@ -0,0 +1,43 @@
# Contributor: Petr Vorel <petr.vorel@gmail.com>
# Maintainer: Petr Vorel <petr.vorel@gmail.com>
pkgname=ima-evm-utils
pkgver=1.3.2
pkgrel=0
pkgdesc="Linux Integrity Measurement Architecture (IMA) Extended Verification Module (EVM) tools"
url="https://sourceforge.net/p/linux-ima/wiki/Home/"
arch="all"
license="LGPL-2.1-or-later"
depends="attr-dev asciidoc autoconf automake diffutils docbook-xsl keyutils-dev libtool libxslt linux-headers openssl-dev xxd"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/project/linux-ima/ima-evm-utils/ima-evm-utils-$pkgver.tar.gz"
builddir="$srcdir/ima-evm-utils-$pkgver"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="af96935f953fbec8cdd40ba1a24001fae916633df03f9dee1e96775baec0ffea21a7a13798b3e3c3f375fd493a65fe65b5357887890b46cac0c4dcca5a5b79db  ima-evm-utils-1.3.2.tar.gz"
-- 
2.30.0
Details
Message ID
<8fbffabf1b7f3f8371760badd79de3418e9c85d3.camel@gmail.com>
In-Reply-To
<20210124235554.1162-1-petr.vorel@gmail.com> (view parent)
DKIM signature
missing
Download raw message
commit title should be: testing/ima-evm-utils: new aport

New packages start in testing.

On Mon, 2021-01-25 at 00:55 +0100, Petr Vorel wrote:
> From: Petr Vorel <pvorel@suse.cz>
> 
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
>  community/ima-evm-utils/APKBUILD | 43
> ++++++++++++++++++++++++++++++++
>  1 file changed, 43 insertions(+)
>  create mode 100644 community/ima-evm-utils/APKBUILD
> 
> diff --git a/community/ima-evm-utils/APKBUILD b/community/ima-evm-
> utils/APKBUILD
> new file mode 100644
> index 0000000000..eb0610eeef
> --- /dev/null
> +++ b/community/ima-evm-utils/APKBUILD
> @@ -0,0 +1,43 @@
> +# Contributor: Petr Vorel <petr.vorel@gmail.com>
> +# Maintainer: Petr Vorel <petr.vorel@gmail.com>
> +pkgname=ima-evm-utils
> +pkgver=1.3.2
> +pkgrel=0
> +pkgdesc="Linux Integrity Measurement Architecture (IMA) Extended
> Verification Module (EVM) tools"
> +url="https://sourceforge.net/p/linux-ima/wiki/Home/"
> +arch="all"
> +license="LGPL-2.1-or-later"
> +depends="attr-dev asciidoc autoconf automake diffutils docbook-xsl
> keyutils-dev libtool libxslt linux-headers openssl-dev xxd"

Please split them to their correct locations, -dev packages go to
makedepends alongside anything used only during the build process.

depends is only for runtime tools used by the package (Not libraries!
we detect those automatically).

> +depends_dev=""

Empty variables can be removed

> +makedepends="$depends_dev"
> +install=""

Empty variables can be removed

> +subpackages="$pkgname-dev $pkgname-doc"
> +source="  
> http://downloads.sourceforge.net/project/linux-ima/ima-evm-utils/ima-evm-utils-$pkgver.tar.gz
> "
> +builddir="$srcdir/ima-evm-utils-$pkgver"
> +
> +prepare() {
> +       default_prepare
> +       ./autogen.sh
> +}
> +
> +build() {
> +       ./configure \
> +               --build=$CBUILD \
> +               --host=$CHOST \
> +               --prefix=/usr \
> +               --sysconfdir=/etc \
> +               --mandir=/usr/share/man \
> +               --localstatedir=/var \
> +               --disable-static
> +       make
> +}
> +
> +check() {
> +       make check
> +}
> +
> +package() {
> +       make DESTDIR="$pkgdir" install
> +}
> +
> +sha512sums="af96935f953fbec8cdd40ba1a24001fae916633df03f9dee1e96775b
> aec0ffea21a7a13798b3e3c3f375fd493a65fe65b5357887890b46cac0c4dcca5a5b7
> 9db  ima-evm-utils-1.3.2.tar.gz"
Details
Message ID
<YA4UaJ7ez+A4kyCB@pevik>
In-Reply-To
<20210124235554.1162-1-petr.vorel@gmail.com> (view parent)
DKIM signature
missing
Download raw message
> From: Petr Vorel <pvorel@suse.cz>
Oops, please use
From: Petr Vorel <petr.vorel@gmail.com>

Sorry for the inconvenience.

Kind regards,
Petr

> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
>  community/ima-evm-utils/APKBUILD | 43 ++++++++++++++++++++++++++++++++
>  1 file changed, 43 insertions(+)
>  create mode 100644 community/ima-evm-utils/APKBUILD

> diff --git a/community/ima-evm-utils/APKBUILD b/community/ima-evm-utils/APKBUILD
> new file mode 100644
> index 0000000000..eb0610eeef
> --- /dev/null
> +++ b/community/ima-evm-utils/APKBUILD
> @@ -0,0 +1,43 @@
> +# Contributor: Petr Vorel <petr.vorel@gmail.com>
> +# Maintainer: Petr Vorel <petr.vorel@gmail.com>
> +pkgname=ima-evm-utils
> +pkgver=1.3.2
> +pkgrel=0
> +pkgdesc="Linux Integrity Measurement Architecture (IMA) Extended Verification Module (EVM) tools"
> +url="https://sourceforge.net/p/linux-ima/wiki/Home/"
> +arch="all"
> +license="LGPL-2.1-or-later"
> +depends="attr-dev asciidoc autoconf automake diffutils docbook-xsl keyutils-dev libtool libxslt linux-headers openssl-dev xxd"
> +depends_dev=""
> +makedepends="$depends_dev"
> +install=""
> +subpackages="$pkgname-dev $pkgname-doc"
> +source="http://downloads.sourceforge.net/project/linux-ima/ima-evm-utils/ima-evm-utils-$pkgver.tar.gz"
> +builddir="$srcdir/ima-evm-utils-$pkgver"
> +
> +prepare() {
> +	default_prepare
> +	./autogen.sh
> +}
> +
> +build() {
> +	./configure \
> +		--build=$CBUILD \
> +		--host=$CHOST \
> +		--prefix=/usr \
> +		--sysconfdir=/etc \
> +		--mandir=/usr/share/man \
> +		--localstatedir=/var \
> +		--disable-static
> +	make
> +}
> +
> +check() {
> +	make check
> +}
> +
> +package() {
> +	make DESTDIR="$pkgdir" install
> +}
> +
> +sha512sums="af96935f953fbec8cdd40ba1a24001fae916633df03f9dee1e96775baec0ffea21a7a13798b3e3c3f375fd493a65fe65b5357887890b46cac0c4dcca5a5b79db  ima-evm-utils-1.3.2.tar.gz"
Reply to thread Export thread (mbox)