[arch-commits] Commit in flatpak/trunk (PKGBUILD flatpak.install)

Jan Steffens heftig at archlinux.org
Mon May 23 18:03:37 UTC 2016


    Date: Monday, May 23, 2016 @ 20:03:36
  Author: heftig
Revision: 268516

0.6.1-2: Try setuid instead of setcap

Modified:
  flatpak/trunk/PKGBUILD
Deleted:
  flatpak/trunk/flatpak.install

-----------------+
 PKGBUILD        |    7 +++----
 flatpak.install |    7 -------
 2 files changed, 3 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-23 17:14:44 UTC (rev 268515)
+++ PKGBUILD	2016-05-23 18:03:36 UTC (rev 268516)
@@ -3,7 +3,7 @@
 
 pkgname=flatpak
 pkgver=0.6.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Application deployment framework for desktop apps"
 url="http://flatpak.org"
 arch=(i686 x86_64)
@@ -11,7 +11,6 @@
 depends=(dbus systemd glib2 libsoup polkit xorg-xauth libgsystem ostree fuse
          json-glib libseccomp libarchive libelf libcap)
 makedepends=(intltool python libxslt gobject-introspection gtk-doc git)
-install=flatpak.install
 source=("git+https://github.com/flatpak/flatpak#tag=$pkgver"
         "git+https://git.gnome.org/browse/libglnx"
         "git+https://github.com/projectatomic/bubblewrap")
@@ -34,8 +33,8 @@
   cd $pkgname
 
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --sbindir=/usr/bin --libexecdir=/usr/lib \
-    --disable-static --enable-gtk-doc
+    --sbindir=/usr/bin --libexecdir=/usr/lib --disable-static \
+    --enable-gtk-doc --with-priv-mode=setuid
 
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 

Deleted: flatpak.install
===================================================================
--- flatpak.install	2016-05-23 17:14:44 UTC (rev 268515)
+++ flatpak.install	2016-05-23 18:03:36 UTC (rev 268516)
@@ -1,7 +0,0 @@
-post_install() {
-  post_upgrade
-}
-
-post_upgrade() {
-  setcap cap_sys_admin,cap_net_admin,cap_sys_chroot+ep usr/lib/flatpak/bwrap
-}



More information about the arch-commits mailing list