summaryrefslogtreecommitdiffstats
path: root/gdm/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gdm/Pkgfile')
-rwxr-xr-xgdm/Pkgfile18
1 files changed, 12 insertions, 6 deletions
diff --git a/gdm/Pkgfile b/gdm/Pkgfile
index 251d143..dd31c68 100755
--- a/gdm/Pkgfile
+++ b/gdm/Pkgfile
@@ -7,15 +7,21 @@
name=gdm
version=3.1.92
-release=1
+release=2
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz \
+
patch/fix_external_program_paths.patch
patch/vt-allocation-hack.patch
patch/default_session.patch
patch/switch_user.patch
patch/time_display_on_greeter.patch
- gdm.pam
- gdm-autologin.pam)
+
+ pam/gdm.pam
+ pam/gdm-autologin.pam
+ pam/gdm-fingerprint.pam
+ pam/gdm-password.pam
+ pam/gdm-smartcard.pam
+ pam/gdm-welcome.pam)
build() {
cd $name-$version
@@ -46,9 +52,9 @@ build() {
gconf-merge-schema $PKG/usr/share/gconf/schemas/$name.schemas --domain gdm $PKG/etc/gconf/schemas/*.schemas
rm -r $PKG/etc/gconf/
- install -m644 ../gdm-autologin.pam $PKG/etc/pam.d/gdm-autologin
- install -m644 ../gdm.pam $PKG/etc/pam.d/gdm
- sed -e 's/include\s*system-auth/required\tpam_unix.so/' -i $PKG/etc/pam.d/gdm-welcome
+ for i in gdm.pam gdm-autologin.pam gdm-fingerprint.pam gdm-password.pam gdm-smartcard.pam gdm-welcome.pam; do
+ install -m644 $SRC/$i $PKG/etc/pam.d/${i%.pam}
+ done
rm -rf $PKG/var/gdm
chmod 1770 $PKG/var/log/gdm