X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by lists.alpinelinux.org (Postfix) with ESMTP id B08E85C4E65 for ; Tue, 24 Oct 2017 14:05:04 +0000 (GMT) Received: by mail-lf0-f46.google.com with SMTP id l23so24153753lfk.10 for ; Tue, 24 Oct 2017 07:05:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=duniel-no.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=QgGMFYlv/D5mk6hJcX4nDzX/Fwj6BDxU7Q0/6rkr9AI=; b=ShdmyVTxWzc4RvWExX9uRmL/KB74NkZw5suZwTFAHZ2mrnygcJVTHVfd8eYoB2A3QW DAHKmEVVv6E9InzMj+L2QBwLf/xwoxbDBREOYOKuaie4Wbz0cEYsGlLP26WTJCB8Z/Dk 5Hj4qo+78+H46izY2nXLlMq8JsTLo/+WZXj1ejFFyHeHjPgs6juFzgK55LcyBS47vRPQ pcxjq4q0Ctn8s20bEMvArhqdUXjPLdb+yBN1rLVKOWw/SQHm0DzapUSsJTOYWCGBOovQ Fdx+D71bfwwrRrGf7GSzNStEeuQJGtrCvIm/x+9u7HBZPSLSgQob0nm7VK10Br3yMDao +GjA== 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; bh=QgGMFYlv/D5mk6hJcX4nDzX/Fwj6BDxU7Q0/6rkr9AI=; b=eWmauy75DAzM91zTRW2cPzxFjNA1MVpysw5GPHHxizMbQ47mtIwvPfUqnxD6zRnz4A 5DPm33YjFn2bQdoXU+fxqu9rGi6v3FDB5TTsfqKcgoUgZSfeRGboS5YhGMUSHtu5zCdN vwZVoUmaaM8BRiTsDbyVPUHB8gJU1xCmqNTWbAJl1yVzjv2Ao0kaMyjG0DtOB1fAuEjh wySoX2Rd8/xLjhTQc2xTaE3fGnwPvYWCMEOj2QxNEYbkhyb9JJrEtohe/DK9cXwa+MQ5 yZ6aoHE3QqCsSBKry31wO7hox9366rbr51TsYCX7/ApIKVnAvLMi3UsBQCX5V1s4DxN+ yCEA== X-Gm-Message-State: AMCzsaWhtwF+1LE6WSnzM+FM2dR7CbW5Sp9wf82qoUdZCU9/uB6zHRLe wKfLx137UA7MaRC5z5lJNKJZiWj3 X-Google-Smtp-Source: ABhQp+Rn42TvFFnBx04gMCT6KPrs3joO1wWEX/E/5H9mtcUZ8xSDQWTdgtmaxV1htwv6ht8fv+DG7Q== X-Received: by 10.46.29.203 with SMTP id w72mr2118694lje.171.1508853903582; Tue, 24 Oct 2017 07:05:03 -0700 (PDT) Received: from localhost.localdomain ([85.113.170.105]) by smtp.gmail.com with ESMTPSA id 17sm88972ljr.68.2017.10.24.07.05.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Oct 2017 07:05:02 -0700 (PDT) From: Daniel Isaksen To: alpine-aports@lists.alpinelinux.org Cc: Daniel Isaksen Subject: [alpine-aports] [PATCH] testing/yara: new aport Date: Tue, 24 Oct 2017 14:04:57 +0000 Message-Id: <20171024140457.32412-1-d@duniel.no> X-Mailer: git-send-email 2.14.2 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/yara/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 testing/yara/APKBUILD diff --git a/testing/yara/APKBUILD b/testing/yara/APKBUILD new file mode 100644 index 0000000000..76103224e7 --- /dev/null +++ b/testing/yara/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Daniel Isaksen + +pkgname=yara +pkgver=3.6.3 +pkgrel=0 +pkgdesc="The pattern matching swiss knife for malware researchers" +url="https://virustotal.github.io/yara/" +arch="all" +license="BSD-3-Clause" +makedepends="automake file-dev libressl-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/VirusTotal/$pkgname/archive/v$pkgver.tar.gz" +subpackages="$pkgname-doc" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + autoreconf -fiv + ./configure \ + --prefix=/usr \ + --with-crypto \ + --enable-magic + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + install -Dm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname" + install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname" + cp -r docs "$pkgdir/usr/share/doc/$pkgname" +} + +check() { + cd "$builddir" + make check || return 1 +} + +sha512sums="f928fe93e93385b5711c1076b042473299e1eb1c7c345433b01b7638677d9b8fb95a8ac2a7ef52012dc178ec0ef5772d6b6d0b65b5717d2074290bb44031b3f8 yara-3.6.3.tar.gz" -- 2.14.2 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---