mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
Initial commit
- build tested in clean chroot - basic functionality tested
This commit is contained in:
commit
09f640fcf6
2 changed files with 73 additions and 0 deletions
29
.SRCINFO
Normal file
29
.SRCINFO
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
pkgbase = binsec
|
||||
pkgdesc = Open-source toolset to help improve software security at the binary level.
|
||||
pkgver = 0.8.2
|
||||
pkgrel = 1
|
||||
url = https://binsec.github.io
|
||||
arch = x86_64
|
||||
license = LGPL-2.1-or-later
|
||||
checkdepends = ocaml-ounit
|
||||
checkdepends = ocaml-qcheck
|
||||
makedepends = ocaml>=4.11
|
||||
makedepends = dune>=3.0
|
||||
makedepends = ocaml-menhir
|
||||
depends = glibc
|
||||
depends = gmp
|
||||
depends = ocaml-curses
|
||||
depends = ocaml-grain_dypgen
|
||||
depends = ocaml-ocamlgraph>=1.8.5
|
||||
depends = ocaml-toml
|
||||
depends = ocaml-zarith>=1.4
|
||||
depends = ocaml>=4.11
|
||||
optdepends = bash: make_coredump.sh
|
||||
optdepends = boolector: Boolector SMT solver
|
||||
optdepends = z3: Z3 SMT solver
|
||||
optdepends = cvc4: CVC4 SMT solver
|
||||
optdepends = yices: Yices 2 SMT Solver
|
||||
source = binsec-0.8.2.tar.gz::https://github.com/binsec/binsec/archive/refs/tags/0.8.2.tar.gz
|
||||
b2sums = cf48c913e14b18dca3155e5fb4751f48a046fe4a0b68227def9cd676fa89aee8c41749133b2a76b865a8cde3aa2a30df747d0a6547f9cbf22f95c7551b82dd7a
|
||||
|
||||
pkgname = binsec
|
||||
44
PKGBUILD
Normal file
44
PKGBUILD
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Maintainer: Manuel Wiesinger <m {you know what belongs here} mmap {and here} at>
|
||||
|
||||
pkgname=binsec
|
||||
pkgver=0.8.2
|
||||
pkgrel=1
|
||||
pkgdesc='Open-source toolset to help improve software security at the binary level'
|
||||
arch=('x86_64')
|
||||
url='https://binsec.github.io'
|
||||
license=('LGPL-2.1-or-later')
|
||||
makedepends=('ocaml>=4.11' 'dune>=3.0' 'ocaml-menhir')
|
||||
checkdepends=('ocaml-ounit' 'ocaml-qcheck')
|
||||
depends=('glibc' 'gmp' 'ocaml-curses' 'ocaml-grain_dypgen' 'ocaml-ocamlgraph>=1.8.5' 'ocaml-toml' 'ocaml-zarith>=1.4' 'ocaml>=4.11')
|
||||
optdepends=('bash: make_coredump.sh'
|
||||
'boolector: Boolector SMT solver'
|
||||
'z3: Z3 SMT solver'
|
||||
'cvc4: CVC4 SMT solver'
|
||||
'yices: Yices 2 SMT Solver')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/binsec/binsec/archive/refs/tags/${pkgver}.tar.gz")
|
||||
b2sums=('cf48c913e14b18dca3155e5fb4751f48a046fe4a0b68227def9cd676fa89aee8c41749133b2a76b865a8cde3aa2a30df747d0a6547f9cbf22f95c7551b82dd7a')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
dune build --release
|
||||
|
||||
# Fix copying errors for debug package, default mode is 400
|
||||
find _build -type f -exec chmod 644 {} \;
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
dune runtest --release --verbose
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
DESTDIR="${pkgdir}" dune install \
|
||||
--prefix "/usr" \
|
||||
--libdir "/usr/lib/ocaml" \
|
||||
--docdir "/usr/share/doc" \
|
||||
--release
|
||||
|
||||
mv $pkgdir/usr/bin/make_coredump.sh $pkgdir/usr/share/binsec/utils/
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue