From eb8dbbd6abf3eb7aa4e31b92243c99cc97cc6d1c Mon Sep 17 00:00:00 2001 From: piernov Date: Mon, 28 May 2012 18:11:53 +0000 Subject: gparted 0.12.1-1 màj port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gparted/.footprint.i686 | 75 ++--------------------------- gparted/.footprint.x86_64 | 75 ++--------------------------- gparted/.md5sum.i686 | 3 +- gparted/.md5sum.x86_64 | 3 +- gparted/Pkgfile | 26 +++++++--- gparted/org.archlinux.pkexec.gparted.policy | 19 ++++++++ 6 files changed, 53 insertions(+), 148 deletions(-) create mode 100644 gparted/org.archlinux.pkexec.gparted.policy (limited to 'gparted') diff --git a/gparted/.footprint.i686 b/gparted/.footprint.i686 index bd256becf..58a7b479d 100644 --- a/gparted/.footprint.i686 +++ b/gparted/.footprint.i686 @@ -1,65 +1,12 @@ drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gparted-pkexec drwxr-xr-x root/root usr/sbin/ -rwxr-xr-x root/root usr/sbin/gparted -rwxr-xr-x root/root usr/sbin/gpartedbin drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/applications/ -rw-r--r-- root/root usr/share/applications/gparted.desktop -drwxr-xr-x root/root usr/share/gnome/ -drwxr-xr-x root/root usr/share/gnome/help/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/C/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/C/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/C/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/C/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/cs/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/cs/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/cs/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/cs/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/de/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/de/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/de/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/de/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/es/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/es/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/es/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/es/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/fr/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/fr/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/fr/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/fr/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/it/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/it/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/it/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/it/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/pt_BR/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/pt_BR/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/pt_BR/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/pt_BR/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/ro/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/ro/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/ro/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/ro/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/sl/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/sl/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/sl/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/sl/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/sr/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/sr/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/sr/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/sr/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/sr@latin/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/sr@latin/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/sr@latin/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/sr@latin/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/sv/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/sv/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/sv/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/sv/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/th/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/th/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/th/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/th/gparted.xml drwxr-xr-x root/root usr/share/icons/ drwxr-xr-x root/root usr/share/icons/hicolor/ drwxr-xr-x root/root usr/share/icons/hicolor/16x16/ @@ -87,18 +34,6 @@ drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man8/ -rw-r--r-- root/root usr/share/man/man8/gparted.8.gz -drwxr-xr-x root/root usr/share/omf/ -drwxr-xr-x root/root usr/share/omf/gparted/ --rw-r--r-- root/root usr/share/omf/gparted/gparted-C.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-cs.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-de.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-es.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-fr.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-it.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-pt_BR.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-ro.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-sl.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-sr.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-sr@latin.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-sv.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-th.omf +drwxr-xr-x root/root usr/share/polkit-1/ +drwxr-xr-x root/root usr/share/polkit-1/actions/ +-rw-r--r-- root/root usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy diff --git a/gparted/.footprint.x86_64 b/gparted/.footprint.x86_64 index bd256becf..58a7b479d 100644 --- a/gparted/.footprint.x86_64 +++ b/gparted/.footprint.x86_64 @@ -1,65 +1,12 @@ drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gparted-pkexec drwxr-xr-x root/root usr/sbin/ -rwxr-xr-x root/root usr/sbin/gparted -rwxr-xr-x root/root usr/sbin/gpartedbin drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/applications/ -rw-r--r-- root/root usr/share/applications/gparted.desktop -drwxr-xr-x root/root usr/share/gnome/ -drwxr-xr-x root/root usr/share/gnome/help/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/C/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/C/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/C/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/C/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/cs/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/cs/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/cs/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/cs/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/de/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/de/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/de/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/de/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/es/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/es/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/es/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/es/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/fr/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/fr/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/fr/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/fr/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/it/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/it/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/it/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/it/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/pt_BR/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/pt_BR/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/pt_BR/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/pt_BR/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/ro/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/ro/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/ro/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/ro/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/sl/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/sl/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/sl/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/sl/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/sr/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/sr/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/sr/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/sr/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/sr@latin/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/sr@latin/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/sr@latin/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/sr@latin/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/sv/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/sv/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/sv/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/sv/gparted.xml -drwxr-xr-x root/root usr/share/gnome/help/gparted/th/ -drwxr-xr-x root/root usr/share/gnome/help/gparted/th/figures/ --rw-r--r-- root/root usr/share/gnome/help/gparted/th/figures/gparted_window.png --rw-r--r-- root/root usr/share/gnome/help/gparted/th/gparted.xml drwxr-xr-x root/root usr/share/icons/ drwxr-xr-x root/root usr/share/icons/hicolor/ drwxr-xr-x root/root usr/share/icons/hicolor/16x16/ @@ -87,18 +34,6 @@ drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man8/ -rw-r--r-- root/root usr/share/man/man8/gparted.8.gz -drwxr-xr-x root/root usr/share/omf/ -drwxr-xr-x root/root usr/share/omf/gparted/ --rw-r--r-- root/root usr/share/omf/gparted/gparted-C.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-cs.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-de.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-es.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-fr.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-it.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-pt_BR.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-ro.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-sl.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-sr.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-sr@latin.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-sv.omf --rw-r--r-- root/root usr/share/omf/gparted/gparted-th.omf +drwxr-xr-x root/root usr/share/polkit-1/ +drwxr-xr-x root/root usr/share/polkit-1/actions/ +-rw-r--r-- root/root usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy diff --git a/gparted/.md5sum.i686 b/gparted/.md5sum.i686 index 06ea97f55..a4264b869 100644 --- a/gparted/.md5sum.i686 +++ b/gparted/.md5sum.i686 @@ -1 +1,2 @@ -f35785099994c7c9b7b2e842840f8b72 gparted-0.9.1.tar.bz2 +8e07e7d8cf3add3d1facc68993122cf0 gparted-0.12.1.tar.bz2 +0fc9edf5e982e04f7e584e96894594a2 org.archlinux.pkexec.gparted.policy diff --git a/gparted/.md5sum.x86_64 b/gparted/.md5sum.x86_64 index 06ea97f55..a4264b869 100644 --- a/gparted/.md5sum.x86_64 +++ b/gparted/.md5sum.x86_64 @@ -1 +1,2 @@ -f35785099994c7c9b7b2e842840f8b72 gparted-0.9.1.tar.bz2 +8e07e7d8cf3add3d1facc68993122cf0 gparted-0.12.1.tar.bz2 +0fc9edf5e982e04f7e584e96894594a2 org.archlinux.pkexec.gparted.policy diff --git a/gparted/Pkgfile b/gparted/Pkgfile index 48082d23d..1ef4149ec 100755 --- a/gparted/Pkgfile +++ b/gparted/Pkgfile @@ -2,19 +2,33 @@ # URL: http://gparted.sourceforge.net/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: gtk, parted, gtkmm, libsigc++, ntfsprogs, ktsuss, lvm2, gnome-doc-utils -# Run on: gtk,parted,gtkmm,libsigc++,ntfsprogs,ktsuss,lvm2,mtools,dosfstools +# Depends on: gtk, parted, gtkmm, libsigc++, ntfsprogs, lvm2, gnome-doc-utils +# Run on: gtk,parted,gtkmm,libsigc++,ntfsprogs,lvm2,mtools,dosfstools name=gparted -version=0.9.1 +version=0.12.1 release=1 -source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2) +source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2 + org.archlinux.pkexec.gparted.policy) build() { cd $name-$version ./configure --prefix=/usr \ - --disable-scrollkeeper + --disable-scrollkeeper \ + --disable-doc make make DESTDIR=$PKG install - sed -i "s|/usr/sbin/gparted|gksu /usr/sbin/gparted|g" $PKG/usr/share/applications/gparted.desktop + + install -Dm644 $SRC/org.archlinux.pkexec.gparted.policy $PKG/usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy + + # Install launcher script + mkdir -p $PKG/usr/bin + cat > $PKG/usr/bin/gparted-pkexec << "EOF" +#!/bin/sh +pkexec "/usr/sbin/gparted" "$@" +EOF + chmod 755 $PKG/usr/bin/gparted-pkexec + + # Modify desktop file + sed -i -e "s/Exec=.*/Exec=gparted-pkexec/" $PKG/usr/share/applications/gparted.desktop } diff --git a/gparted/org.archlinux.pkexec.gparted.policy b/gparted/org.archlinux.pkexec.gparted.policy new file mode 100644 index 000000000..6a58a64be --- /dev/null +++ b/gparted/org.archlinux.pkexec.gparted.policy @@ -0,0 +1,19 @@ + + + + + + Authentication is required to run the GParted Partition Editor + gparted + + auth_admin + auth_admin + auth_admin + + /usr/sbin/gparted + true + + + -- cgit v1.2.3-54-g00ecf