X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 64D1EDC0E8A for ; Tue, 10 May 2016 17:44:36 +0000 (UTC) Received: from barb.maple.relay.mailchannels.net (barb.maple.relay.mailchannels.net [23.83.214.10]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id E3059DC00C0 for ; Tue, 10 May 2016 17:44:35 +0000 (UTC) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5CD3A123819 for ; Tue, 10 May 2016 17:44:34 +0000 (UTC) Received: from ocean.mxroute.com (ip-10-204-4-183.us-west-2.compute.internal [10.204.4.183]) by relay.mailchannels.net (Postfix) with ESMTPA id DAA26122802 for ; Tue, 10 May 2016 17:44:31 +0000 (UTC) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from ocean.mxroute.com ([TEMPUNAVAIL]. [10.135.6.156]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.6.11); Tue, 10 May 2016 17:44:34 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: mxroute|x-authuser|developer@it-offshore.co.uk X-MailChannels-Auth-Id: mxroute X-MC-Loop-Signature: 1462902272098:86885277 X-MC-Ingress-Time: 1462902272098 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=it-offshore.co.uk; s=default; h=References:In-Reply-To:Message-Id:Date: Subject:To:From:Sender:Reply-To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EMeCpqDRalQmKHzGBwHy3bgtxUUjMR56XkxgixOfMoA=; b=vvTA11lMhdWCaqGnpy0OMUZBK Nk+E02SikUstZaoA2tPwHqJ6UovcWGr4bZYC6b5lkOUyjETKdlrFDcXWqVzd3NVOc2tU2i29LvAUR eXIToURX/34lqfAGhuMk9LHTzqyGW9XfEMVuhqInR5BsimAVO+wD4ztHaTVJCjLfTPHTu8seZst4C JS1dapKrz/mSYD/aJN4gdgrbw7/U71xtsRUftH51bfohOp4tYmODAxO0w/KqxbQCSwij09edrvk2o vWE48n+TJsyYvkoFOk9qYuOpqxpaD/H9za80tRYT1Z+/YNFNjPy0/+cZfGu4pFUmwxWGjf+i+01sm Wc0H3LILw==; Received: from [81.4.121.188] (port=49909 helo=localhost.localdomain) by ocean.mxroute.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.87) (envelope-from ) id 1b0Bhu-0008Rd-5I for alpine-aports@lists.alpinelinux.org; Tue, 10 May 2016 13:44:30 -0400 From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH 1/2] testing/firejail: new aport Date: Tue, 10 May 2016 17:44:23 +0000 Message-Id: <1462902264-4587-2-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.8.2 In-Reply-To: <1462902264-4587-1-git-send-email-developer@it-offshore.co.uk> References: <1462902264-4587-1-git-send-email-developer@it-offshore.co.uk> X-AuthUser: developer@it-offshore.co.uk X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://firejail.wordpress.com/ Firejail is a SUID program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces and seccomp-bpf. It allows a process and all its descendants to have their own private view of the globally shared kernel resources, such as the network stack, process table, mount table. --- testing/firejail/APKBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 testing/firejail/APKBUILD diff --git a/testing/firejail/APKBUILD b/testing/firejail/APKBUILD new file mode 100644 index 0000000..886a02b --- /dev/null +++ b/testing/firejail/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Stuart Cardall +# Maintainer: Stuart Cardall +pkgname=firejail +pkgver=0.9.40_rc1 +_pkgver=${pkgver//_/-} +pkgrel=0 +pkgdesc="Linux namespaces and seccomp-bpf sandbox" +url="https://firejail.wordpress.com/" +arch="all" +license="GPL2" +depends="bash" +depends_dev="" +makedepends="$depends_dev linux-headers" +install="" +options="suid" +subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp" +source="$pkgname-$pkgver.tar.gz::https://github.com/netblue30/$pkgname/archive/$_pkgver.tar.gz" + +builddir="$srcdir"/$pkgname-$_pkgver +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +bashcomp() { + depends="" + pkgdesc="Bash completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel bash" + arch="noarch" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/share "$subpkgdir"/usr/ +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="2350813ed6bdb9c237edc8a84b84992a firejail-0.9.40_rc1.tar.gz" +sha256sums="c78146cd615c494074dd25d6ddd6befe543ab48b234fa97485e435e1d0abc89e firejail-0.9.40_rc1.tar.gz" +sha512sums="bd31e9ee81e2060a9e9c80c3fcdfb01470b5e3f3ce99616089866ee43dc4d858cd24b7067cfe356b48d3d160c876c8fb7d32660e2d315756244c1f1047e27c1f firejail-0.9.40_rc1.tar.gz" -- 2.8.2 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---