Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 0672E782BA4 for ; Mon, 25 Jan 2021 00:34:10 +0000 (UTC) Received: by mail-ed1-f49.google.com with SMTP id j13so13234175edp.2 for ; Sun, 24 Jan 2021 16:34:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3SL+N9ghRxQCkqJHTxK3lbjJ2VpQCZhdQrlInh1CaRA=; b=Md3bjZS9cqBr5s2p2lDHDjmmTH6yvgblYwSrPbb4ovVLHJdi+JK55rTjI91VypuHef FEDi5c23mDBJmlWONOVlDbHCQA2Yqg8k60awkkF3xWvURfrjTnzDI74/THo1f9xGfeG/ v3y+7A9Gf4EF54Lpl+iqJJJ998sUyHw4sSmsAFKPDVDO5GNv6MOSkDOMseO9KKPNG2eO QT6IlavpLAxrdT3+uCNuFJxRfEtMTTzgUFi2csz4CaMWdzmHZvVt60tV/50ifCPcAhoO 4Zja28MWbHy/W1NhraEHSKTNHZrKjKcnd7foEdfs2CnOZPMX4L+6Ujm1uBm+RNccGSgs bLyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3SL+N9ghRxQCkqJHTxK3lbjJ2VpQCZhdQrlInh1CaRA=; b=rix9hGwoMwCp/GeKHn5+50EK6Aa7LtMT6lmdEqvEaJfErukk6hlxE4WUYoCdOfsbyw xGzBcalAehzglddYb4J8mWFJEHnXnsXo3Tv9wozPXCmOX05jtME+ZV4SNVhg3gOmxsuS nJArv7Fm7/tQAh43Mtds45tffEiZwwU/nUK0Y5kE2NtugGuLrYDU2SQ+WwUAdthVO9i1 qmhNP+FpX2AD+7U8cjpL19dJsUCM/OaBFoDMcVkfpK09PdC67j1vyhuNdoW5GexXMP4E Iyb9CtHXfVfqkz+w6lLLoKXO443AcSRXqP0yXZXF/CAz3pQaMA4CCQ9Z6hVHRSjz1z62 RlJw== X-Gm-Message-State: AOAM530uZYdTjYEfR44O+sohOUuytEjqV6+P/b5kQhB0q1Vwkz84fmd/ rDKcrpCq1DxhAa0LCdM4weFLPU1x/vVH1A== X-Google-Smtp-Source: ABdhPJzCRl55WVI0ciMylJqqp5pU4ESVrMY5hoSYXs/2I1xT6sbqpk/hgH1FXSTxMBfta9E2sNJdpA== X-Received: by 2002:aa7:df0c:: with SMTP id c12mr396624edy.304.1611534850635; Sun, 24 Jan 2021 16:34:10 -0800 (PST) Received: from localhost.localdomain ([62.201.25.198]) by smtp.gmail.com with ESMTPSA id f13sm7581217ejf.42.2021.01.24.16.34.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jan 2021 16:34:09 -0800 (PST) From: Petr Vorel To: alpine-aports@lists.alpinelinux.org Cc: Petr Vorel , maxice8 , Petr Vorel Subject: [PATCH v2 1/1] testing/ima-evm-utils: new aport Date: Mon, 25 Jan 2021 01:34:02 +0100 Message-Id: <20210125003402.8900-1-petr.vorel@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Petr Vorel Signed-off-by: Petr Vorel --- Changes v1->v2 (required by maxice8): * put into testing directory + fix commit message * move build dependencies from depends to makedepends * add more build dependencies (tpm2-tss-dev, attr - getfattr required for testing, maybe only attr-dev would be enough) * drop empty variables @maxice8: thanks for your review and suggestions! Kind regards, Petr testing/ima-evm-utils/APKBUILD | 41 ++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/ima-evm-utils/APKBUILD diff --git a/testing/ima-evm-utils/APKBUILD b/testing/ima-evm-utils/APKBUILD new file mode 100644 index 0000000000..b1e3341629 --- /dev/null +++ b/testing/ima-evm-utils/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Petr Vorel +# Maintainer: Petr Vorel +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="" +makedepends="attr attr-dev asciidoc autoconf automake bash diffutils docbook-xsl keyutils-dev libtool libxslt linux-headers openssl-dev tpm2-tss-dev xxd" +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