blob: 1fc4e0971c62a07e15fb3458bc0164723c69f61a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Description: Systeme d'abstraction de materiel
# URL: http://hal.freedesktop.org/docs/polkit
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: glib, expat, gobject-introspection, linux-pam, intltool
# Run on: dbus-glib,expat,eggdbus,linux-pam,intltool
name=polkit
version=0.101
release=1
source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz
polkit.pam
polkit-101-CVE-2011-1485.patch)
build() {
cd $name-$version
patch -Np1 -i ../polkit-101-CVE-2011-1485.patch
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/polkit-1 \
--with-authfw=pam \
--with-authfw=shadow \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-static \
--enable-nls \
--with-os-type=lfs
make
make DESTDIR=$PKG install
mkdir -p $PKG/etc/pam.d/polkit-1
install -m644 $SRC/polkit.pam $PKG/etc/pam.d/polkit-1
mkdir -p $PKG/var/run/polkit-1
mkdir -p $PKG/var/lib/polkit-1
}
|