[arch-commits] Commit in snap-confine/trunk (PKGBUILD)
Date: Monday, September 26, 2016 @ 13:32:01 Author: tredaelli Revision: 190614 upgpkg: snap-confine 1.0.41-1 Modified: snap-confine/trunk/PKGBUILD --+ PKGBUILD | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-09-26 13:10:56 UTC (rev 190613) +++ PKGBUILD2016-09-26 13:32:01 UTC (rev 190614) @@ -3,7 +3,7 @@ # Contributor: Zygmunt Krynicki pkgname=snap-confine -pkgver=1.0.39 +pkgver=1.0.41 pkgrel=1 pkgdesc="Confinement system for snap applications" arch=('i686' 'x86_64') @@ -12,19 +12,9 @@ depends=('bash' 'libseccomp' 'libsystemd') makedepends=('python-docutils' 'systemd') checkdepends=('indent' 'shellcheck') -source=("https://github.com/snapcore/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz; -"dont-mount-media.patch") -md5sums=('dfb94eeec2fbf07d27c1341fadf4abb0' - '89b887eccd0bf96b7b88f2f86329e085') +source=("https://github.com/snapcore/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz;) +md5sums=('31bfcbe9affe11fb5fa84b6d4515827a') -prepare() { - cd "$pkgname-$pkgver" - - # Revert "add /media to source_mounts to allow access to mounted devices" - # since Arch Linux doesn't have /media directory anymore - patch -Np1 -i "$srcdir"/dont-mount-media.patch -} - build() { cd "$pkgname-$pkgver" @@ -35,7 +25,8 @@ --prefix=/usr \ --libexecdir=/usr/lib/snapd \ --disable-apparmor \ ---enable-nvidia-arch +--enable-nvidia-arch \ +--enable-merged-usr make }
[arch-commits] Commit in snap-confine/trunk (PKGBUILD)
Date: Wednesday, July 27, 2016 @ 13:24:59 Author: tredaelli Revision: 184501 upgpkg: snap-confine 1.0.39-1 Modified: snap-confine/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-27 13:14:43 UTC (rev 184500) +++ PKGBUILD2016-07-27 13:24:59 UTC (rev 184501) @@ -3,8 +3,8 @@ # Contributor: Zygmunt Krynicki pkgname=snap-confine -pkgver=1.0.38 -pkgrel=2 +pkgver=1.0.39 +pkgrel=1 pkgdesc="Confinement system for snap applications" arch=('i686' 'x86_64') url="git://github.com/snapcore/snap-confine" @@ -14,7 +14,7 @@ checkdepends=('indent' 'shellcheck') source=("https://github.com/snapcore/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz; "dont-mount-media.patch") -md5sums=('1ab7bcb5074f47b3dc818c0d06c1eb37' +md5sums=('dfb94eeec2fbf07d27c1341fadf4abb0' '89b887eccd0bf96b7b88f2f86329e085') prepare() {
[arch-commits] Commit in snap-confine/trunk (PKGBUILD)
Date: Monday, July 25, 2016 @ 15:27:46 Author: tredaelli Revision: 183995 upgpkg: snap-confine 1.0.38-2 Changed path to /usr/lib/snapd as upstream Modified: snap-confine/trunk/PKGBUILD --+ PKGBUILD | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-25 14:52:42 UTC (rev 183994) +++ PKGBUILD2016-07-25 15:27:46 UTC (rev 183995) @@ -4,7 +4,7 @@ pkgname=snap-confine pkgver=1.0.38 -pkgrel=1 +pkgrel=2 pkgdesc="Confinement system for snap applications" arch=('i686' 'x86_64') url="git://github.com/snapcore/snap-confine" @@ -29,14 +29,12 @@ cd "$pkgname-$pkgver" # Confinement is disabled because arch doesn't yet have all the supporting - # kernel patches. Rootfs is core snap is enabled because that is the - # preferred way to create runtime environment for snaps. Nvidia support is - # enabled to support proprietary nvidia drivers. + # kernel patches. + # Nvidia support is enabled to support proprietary nvidia drivers. ./configure \ --prefix=/usr \ ---libexecdir=/usr/lib/snap-confine \ +--libexecdir=/usr/lib/snapd \ --disable-apparmor \ ---enable-rootfs-is-core-snap \ --enable-nvidia-arch make }
[arch-commits] Commit in snap-confine/trunk (PKGBUILD dont-mount-media.patch)
Date: Monday, July 25, 2016 @ 09:51:32 Author: tredaelli Revision: 183955 upgpkg: snap-confine 1.0.38-1 Added: snap-confine/trunk/dont-mount-media.patch Modified: snap-confine/trunk/PKGBUILD + PKGBUILD | 16 +--- dont-mount-media.patch | 10 ++ 2 files changed, 23 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-25 09:50:37 UTC (rev 183954) +++ PKGBUILD2016-07-25 09:51:32 UTC (rev 183955) @@ -3,7 +3,7 @@ # Contributor: Zygmunt Krynicki pkgname=snap-confine -pkgver=1.0.35 +pkgver=1.0.38 pkgrel=1 pkgdesc="Confinement system for snap applications" arch=('i686' 'x86_64') @@ -12,9 +12,19 @@ depends=('bash' 'libseccomp' 'libsystemd') makedepends=('python-docutils' 'systemd') checkdepends=('indent' 'shellcheck') -source=("https://github.com/snapcore/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz;) -md5sums=('d4e1f8e978d4ce07eb07f394174af185') +source=("https://github.com/snapcore/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz; +"dont-mount-media.patch") +md5sums=('1ab7bcb5074f47b3dc818c0d06c1eb37' + '89b887eccd0bf96b7b88f2f86329e085') +prepare() { + cd "$pkgname-$pkgver" + + # Revert "add /media to source_mounts to allow access to mounted devices" + # since Arch Linux doesn't have /media directory anymore + patch -Np1 -i "$srcdir"/dont-mount-media.patch +} + build() { cd "$pkgname-$pkgver" Added: dont-mount-media.patch === --- dont-mount-media.patch (rev 0) +++ dont-mount-media.patch 2016-07-25 09:51:32 UTC (rev 183955) @@ -0,0 +1,10 @@ +--- a/src/mount-support.c b/src/mount-support.c +@@ -205,7 +205,6 @@ void setup_snappy_os_mounts() + "/var/lib/snapd", // to get access to snapd state and seccomp profiles + "/var/tmp", // to get access to the other temporary directory + "/run", // to get /run with sockets and what not +- "/media", // access to the users removable devices + "/lib/modules", // access to the modules of the running kernel + }; + for (int i = 0; i < sizeof(source_mounts) / sizeof *source_mounts; i++) {
[arch-commits] Commit in snap-confine/trunk (PKGBUILD fix_CONFINEMENT_TESTS.patch)
Date: Thursday, July 7, 2016 @ 08:40:49 Author: tredaelli Revision: 182451 upgpkg: snap-confine 1.0.35-1 Modified: snap-confine/trunk/PKGBUILD Deleted: snap-confine/trunk/fix_CONFINEMENT_TESTS.patch -+ PKGBUILD| 16 fix_CONFINEMENT_TESTS.patch | 22 -- 2 files changed, 4 insertions(+), 34 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-07 07:53:10 UTC (rev 182450) +++ PKGBUILD2016-07-07 08:40:49 UTC (rev 182451) @@ -3,7 +3,7 @@ # Contributor: Zygmunt Krynicki pkgname=snap-confine -pkgver=1.0.34 +pkgver=1.0.35 pkgrel=1 pkgdesc="Confinement system for snap applications" arch=('i686' 'x86_64') @@ -12,20 +12,12 @@ depends=('bash' 'libseccomp' 'libsystemd') makedepends=('python-docutils' 'systemd') checkdepends=('indent' 'shellcheck') -source=("https://github.com/snapcore/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz; -fix_CONFINEMENT_TESTS.patch) -md5sums=('28e2264289fcc7e8a63d74940c0f057f' - '99b461650909139c33e5a24d4b51470b') +source=("https://github.com/snapcore/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz;) +md5sums=('d4e1f8e978d4ce07eb07f394174af185') -prepare() { +build() { cd "$pkgname-$pkgver" - patch -Np1 -i "$srcdir/fix_CONFINEMENT_TESTS.patch" -} - -build() { - cd "$pkgname-$pkgver" - autoreconf -i # Confinement is disabled because arch doesn't yet have all the supporting # kernel patches. Rootfs is core snap is enabled because that is the # preferred way to create runtime environment for snaps. Nvidia support is Deleted: fix_CONFINEMENT_TESTS.patch === --- fix_CONFINEMENT_TESTS.patch 2016-07-07 07:53:10 UTC (rev 182450) +++ fix_CONFINEMENT_TESTS.patch 2016-07-07 08:40:49 UTC (rev 182451) @@ -1,22 +0,0 @@ -From 09510d4cb594e3741ca056ea66144dba0d7a5147 Mon Sep 17 00:00:00 2001 -From: Timothy Redaelli-Date: Fri, 1 Jul 2016 14:46:22 +0200 -Subject: [PATCH] Fix check for CONFINEMENT_TESTS - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index fecd20c..c7572fc 100644 a/configure.ac -+++ b/configure.ac -@@ -60,7 +60,7 @@ AM_CONDITIONAL([SECCOMP], [test "x$enable_seccomp" = "xyes"]) - - # Enable older tests only when confinement is enabled and we're building for PC - # The tests are of smaller value as we port more and more tests to spread. --AM_CONDITIONAL([CONFINEMENT_TESTS], [test "x$enable_apparmor" = "xyes" && test "x$enable_seccomp" = "xyes" && (test "x$host_cpu" = "xx86_64" && test "x$build_cpu" = "xx86_64") || (test "x$host_cpu" = "xi686" && test "x$build_cpu" = "xi686")]) -+AM_CONDITIONAL([CONFINEMENT_TESTS], [test "x$enable_apparmor" = "xyes" && test "x$enable_seccomp" = "xyes" && ((test "x$host_cpu" = "xx86_64" && test "x$build_cpu" = "xx86_64") || (test "x$host_cpu" = "xi686" && test "x$build_cpu" = "xi686"))]) - - # Check if seccomp userspace library is available - AS_IF([test "x$enable_seccomp" = "xyes"], [
[arch-commits] Commit in snap-confine/trunk (PKGBUILD)
Date: Friday, July 1, 2016 @ 13:06:35 Author: tredaelli Revision: 181669 upgpkg: snap-confine 1.0.34-1 Modified: snap-confine/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-01 12:56:37 UTC (rev 181668) +++ PKGBUILD2016-07-01 13:06:35 UTC (rev 181669) @@ -9,8 +9,8 @@ arch=('i686' 'x86_64') url="git://github.com/snapcore/snap-confine" license=('GPL3') -depends=('bash' 'libseccomp' 'systemd') -makedepends=('python-docutils') +depends=('bash' 'libseccomp' 'libsystemd') +makedepends=('python-docutils' 'systemd') checkdepends=('indent' 'shellcheck') source=("https://github.com/snapcore/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz; fix_CONFINEMENT_TESTS.patch)