Skip to content

Commit

Permalink
sigma: initial commit.
Browse files Browse the repository at this point in the history
* Fixes #2476
  • Loading branch information
noraj authored Oct 3, 2020
1 parent 33632e9 commit 28510b8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions lists/to-release
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
sigma
python-pymisp
dirsearch
25 changes: 25 additions & 0 deletions packages/sigma/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
pkgname=sigma
pkgver=0.18.1
pkgrel=1
pkgdesc="Generic Signature Format for SIEM Systems"
arch=('any')
groups=('blackarch' 'blackarch-defensive')
url="https://github.com/Neo23x0/sigma"
license=('LGPL3')
depends=('python-yaml' 'python-pymisp' 'python-progressbar' 'python-urllib3'
'python-requests')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha512sums=('eee7bc3ee8503da42da7d46e49c4832956cafd0616ff5b0ac75f35a2505364cadf5d18982f9698ac1d8b7d365606fc1d16e7a546f2f35d2437586e2f32da5cfc')

build() {
cd "${pkgname}-${pkgver}"/tools
python setup.py build
}

package() {
cd "${pkgname}-${pkgver}"/tools

python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
mv "${pkgdir}/usr/etc/" "${pkgdir}"
}

0 comments on commit 28510b8

Please sign in to comment.