[arch-commits] Commit in snap-confine/repos (8 files)

Timothy Redaelli tredaelli at archlinux.org
Mon Jul 25 15:28:50 UTC 2016


    Date: Monday, July 25, 2016 @ 15:28:50
  Author: tredaelli
Revision: 183996

archrelease: copy trunk to community-i686, community-x86_64

Added:
  snap-confine/repos/community-i686/PKGBUILD
    (from rev 183995, snap-confine/trunk/PKGBUILD)
  snap-confine/repos/community-i686/dont-mount-media.patch
    (from rev 183995, snap-confine/trunk/dont-mount-media.patch)
  snap-confine/repos/community-x86_64/PKGBUILD
    (from rev 183995, snap-confine/trunk/PKGBUILD)
  snap-confine/repos/community-x86_64/dont-mount-media.patch
    (from rev 183995, snap-confine/trunk/dont-mount-media.patch)
Deleted:
  snap-confine/repos/community-i686/PKGBUILD
  snap-confine/repos/community-i686/dont-mount-media.patch
  snap-confine/repos/community-x86_64/PKGBUILD
  snap-confine/repos/community-x86_64/dont-mount-media.patch

-----------------------------------------+
 /PKGBUILD                               |  100 ++++++++++++++++++++++++++++++
 /dont-mount-media.patch                 |   20 ++++++
 community-i686/PKGBUILD                 |   52 ---------------
 community-i686/dont-mount-media.patch   |   10 ---
 community-x86_64/PKGBUILD               |   52 ---------------
 community-x86_64/dont-mount-media.patch |   10 ---
 6 files changed, 120 insertions(+), 124 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-07-25 15:27:46 UTC (rev 183995)
+++ community-i686/PKGBUILD	2016-07-25 15:28:50 UTC (rev 183996)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Zygmunt Krynicki <me at zygoon dot pl>
-
-pkgname=snap-confine
-pkgver=1.0.38
-pkgrel=1
-pkgdesc="Confinement system for snap applications"
-arch=('i686' 'x86_64')
-url="git://github.com/snapcore/snap-confine"
-license=('GPL3')
-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=('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"
-
-  # 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.
-  ./configure \
-    --prefix=/usr \
-    --libexecdir=/usr/lib/snap-confine \
-    --disable-apparmor \
-    --enable-rootfs-is-core-snap \
-    --enable-nvidia-arch
-  make
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  make -k check
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-}

Copied: snap-confine/repos/community-i686/PKGBUILD (from rev 183995, snap-confine/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-07-25 15:28:50 UTC (rev 183996)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Zygmunt Krynicki <me at zygoon dot pl>
+
+pkgname=snap-confine
+pkgver=1.0.38
+pkgrel=2
+pkgdesc="Confinement system for snap applications"
+arch=('i686' 'x86_64')
+url="git://github.com/snapcore/snap-confine"
+license=('GPL3')
+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=('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"
+
+  # Confinement is disabled because arch doesn't yet have all the supporting
+  # kernel patches.
+  # Nvidia support is enabled to support proprietary nvidia drivers.
+  ./configure \
+    --prefix=/usr \
+    --libexecdir=/usr/lib/snapd \
+    --disable-apparmor \
+    --enable-nvidia-arch
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make -k check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+}

Deleted: community-i686/dont-mount-media.patch
===================================================================
--- community-i686/dont-mount-media.patch	2016-07-25 15:27:46 UTC (rev 183995)
+++ community-i686/dont-mount-media.patch	2016-07-25 15:28:50 UTC (rev 183996)
@@ -1,10 +0,0 @@
---- 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++) {

Copied: snap-confine/repos/community-i686/dont-mount-media.patch (from rev 183995, snap-confine/trunk/dont-mount-media.patch)
===================================================================
--- community-i686/dont-mount-media.patch	                        (rev 0)
+++ community-i686/dont-mount-media.patch	2016-07-25 15:28:50 UTC (rev 183996)
@@ -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++) {

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-07-25 15:27:46 UTC (rev 183995)
+++ community-x86_64/PKGBUILD	2016-07-25 15:28:50 UTC (rev 183996)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Zygmunt Krynicki <me at zygoon dot pl>
-
-pkgname=snap-confine
-pkgver=1.0.38
-pkgrel=1
-pkgdesc="Confinement system for snap applications"
-arch=('i686' 'x86_64')
-url="git://github.com/snapcore/snap-confine"
-license=('GPL3')
-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=('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"
-
-  # 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.
-  ./configure \
-    --prefix=/usr \
-    --libexecdir=/usr/lib/snap-confine \
-    --disable-apparmor \
-    --enable-rootfs-is-core-snap \
-    --enable-nvidia-arch
-  make
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  make -k check
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-}

Copied: snap-confine/repos/community-x86_64/PKGBUILD (from rev 183995, snap-confine/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-07-25 15:28:50 UTC (rev 183996)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Zygmunt Krynicki <me at zygoon dot pl>
+
+pkgname=snap-confine
+pkgver=1.0.38
+pkgrel=2
+pkgdesc="Confinement system for snap applications"
+arch=('i686' 'x86_64')
+url="git://github.com/snapcore/snap-confine"
+license=('GPL3')
+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=('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"
+
+  # Confinement is disabled because arch doesn't yet have all the supporting
+  # kernel patches.
+  # Nvidia support is enabled to support proprietary nvidia drivers.
+  ./configure \
+    --prefix=/usr \
+    --libexecdir=/usr/lib/snapd \
+    --disable-apparmor \
+    --enable-nvidia-arch
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make -k check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+}

Deleted: community-x86_64/dont-mount-media.patch
===================================================================
--- community-x86_64/dont-mount-media.patch	2016-07-25 15:27:46 UTC (rev 183995)
+++ community-x86_64/dont-mount-media.patch	2016-07-25 15:28:50 UTC (rev 183996)
@@ -1,10 +0,0 @@
---- 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++) {

Copied: snap-confine/repos/community-x86_64/dont-mount-media.patch (from rev 183995, snap-confine/trunk/dont-mount-media.patch)
===================================================================
--- community-x86_64/dont-mount-media.patch	                        (rev 0)
+++ community-x86_64/dont-mount-media.patch	2016-07-25 15:28:50 UTC (rev 183996)
@@ -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++) {



More information about the arch-commits mailing list