[arch-commits] Commit in nsjail/repos (2 files)

Bruno Pagani archange at archlinux.org
Mon Jul 23 14:02:21 UTC 2018


    Date: Monday, July 23, 2018 @ 14:02:20
  Author: archange
Revision: 362958

archrelease: copy trunk to community-staging-x86_64

Added:
  nsjail/repos/community-staging-x86_64/
  nsjail/repos/community-staging-x86_64/PKGBUILD
    (from rev 362957, nsjail/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: nsjail/repos/community-staging-x86_64/PKGBUILD (from rev 362957, nsjail/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-07-23 14:02:20 UTC (rev 362958)
@@ -0,0 +1,31 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org> 
+
+pkgname=nsjail
+pkgver=2.7
+pkgrel=2
+pkgdesc="A light-weight process isolation tool"
+arch=('x86_64')
+url="http://nsjail.com"
+license=('Apache')
+depends=('protobuf' 'libnl')
+makedepends=('git')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/google/nsjail/archive/${pkgver}.tar.gz"
+        'git+https://github.com/google/kafel.git#commit=409ccb2113e1f82f497d1dcfb5ae18376ff7056c')
+sha256sums=('28afa89c7dbed94528408e4f11d724622d24ea582739b254fa2a739320e87481'
+            'SKIP')
+
+prepare() {
+    mv kafel ${pkgname}-${pkgver}
+    # See https://github.com/google/nsjail/issues/83
+    sed -i 's/-Wno-format-nonliteral/-Wno-format-nonliteral -Wno-format-truncation/' ${pkgname}-${pkgver}/Makefile
+}
+
+build() {
+    cd ${pkgname}-${pkgver}
+    make
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    install -Dm755 nsjail -t "${pkgdir}"/usr/bin/ 
+}



More information about the arch-commits mailing list