aboutsummaryrefslogtreecommitdiffstats
path: root/main/polkit/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-20 13:56:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-24 09:57:11 +0000
commit024779ebd2794fcd24a85b056852e32cc2db429f (patch)
treec1a1b7a8e3d20bde2b1d55c8839a0a1fb9fc6203 /main/polkit/APKBUILD
parentded73f38cb367c7750f158b96072458321250dcd (diff)
downloadaports-024779ebd2794fcd24a85b056852e32cc2db429f.tar.bz2
aports-024779ebd2794fcd24a85b056852e32cc2db429f.tar.xz
main/polkit: upgrade to 0.105
(cherry picked from commit 5a8222f294c309b66ed0bacae3d1ae52256d0106)
Diffstat (limited to 'main/polkit/APKBUILD')
-rw-r--r--main/polkit/APKBUILD30
1 files changed, 19 insertions, 11 deletions
diff --git a/main/polkit/APKBUILD b/main/polkit/APKBUILD
index c7a46533cf..0054fbecc4 100644
--- a/main/polkit/APKBUILD
+++ b/main/polkit/APKBUILD
@@ -1,30 +1,37 @@
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=polkit
-_pkgname=PolicyKit
-pkgver=0.103
-pkgrel=1
+pkgver=0.105
+pkgrel=0
pkgdesc="Application development toolkit for controlling system-wide privileges"
url="http://www.freedesktop.org/wiki/Software/PolicyKit"
arch="all"
license="LGPL"
depends=
-makedepends="expat-dev glib-dev eggdbus-dev intltool dbus-glib-dev autoconf
- libtool automake gtk-doc gobject-introspection-dev"
depends_dev="eggdbus-dev dbus-glib-dev"
+makedepends="$depends_dev expat-dev glib-dev gtk-doc gobject-introspection-dev
+ intltool autoconf automake libtool"
install=
-subpackages="$pkgname-dev $pkgname-doc"
-source="http://cgit.freedesktop.org/PolicyKit/snapshot/PolicyKit-$pkgver.tar.bz2"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="http://www.freedesktop.org/software/polkit/releases/polkit-$pkgver.tar.gz
+ 0001-Bug-50145-make-netgroup-support-optional.patch
+"
-_builddir="$srcdir"/$_pkgname-$pkgver
+_builddir="$srcdir"/polkit-$pkgver
prepare() {
cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ libtoolize --force && aclocal && autoconf && automake || return 1
}
build() {
cd "$_builddir"
- ./autogen.sh --prefix=/usr \
+ ./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -32,7 +39,7 @@ build() {
--localstatedir=/var \
--disable-static \
--disable-nls \
- --disable-introspection \
+ --enable-introspection \
--with-authfw=shadow \
--with-os-type=alpine \
--disable-gtk-doc \
@@ -49,4 +56,5 @@ package() {
"$pkgdir"/usr/lib/polkit*/extensions/*.la
}
-md5sums="67f1b5d563f9c78a6c51342dafa0b020 PolicyKit-0.103.tar.bz2"
+md5sums="9c29e1b6c214f0bd6f1d4ee303dfaed9 polkit-0.105.tar.gz
+bb4e7bffa5bad89bf3033b3d866a4087 0001-Bug-50145-make-netgroup-support-optional.patch"