summaryrefslogtreecommitdiff
path: root/distro/ubuntu
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-05 10:59:33 -0300
committerPerberos <[email protected]>2011-11-05 10:59:33 -0300
commitf60fe9a0e93e5a988f0025c94daf104a4e0d1055 (patch)
tree18eef105875076f7dcdef842005c984573fb58f7 /distro/ubuntu
parent3137f394f1c36916177dab7a4528cabe93b5fba3 (diff)
downloadmate-screensaver-f60fe9a0e93e5a988f0025c94daf104a4e0d1055.tar.bz2
mate-screensaver-f60fe9a0e93e5a988f0025c94daf104a4e0d1055.tar.xz
agregando pam a ubuntu script
Diffstat (limited to 'distro/ubuntu')
-rwxr-xr-xdistro/ubuntu/build5
-rw-r--r--distro/ubuntu/mate-screensaver.pam3
2 files changed, 8 insertions, 0 deletions
diff --git a/distro/ubuntu/build b/distro/ubuntu/build
index 6e0bd88..3478e82 100755
--- a/distro/ubuntu/build
+++ b/distro/ubuntu/build
@@ -19,11 +19,16 @@ build() {
--prefix=/usr --sysconfdir=/etc \
--mandir=/usr/share \
--disable-static \
+ --with-xscreensaverdir=/usr/share/xscreensaver/config \
+ --with-xscreensaverhackdir=/usr/lib/xscreensaver \
+ --with-mit-ext \
--libexecdir=/usr/lib/${pkgname} || return 1
make || return 1
make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+ install -m644 "${srcdir}/mate-screensaver.pam" "${pkgdir}/etc/pam.d/mate-screensaver"
+
install -m755 -d "${pkgdir}/usr/share/mateconf/schemas"
mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas
diff --git a/distro/ubuntu/mate-screensaver.pam b/distro/ubuntu/mate-screensaver.pam
new file mode 100644
index 0000000..c776a54
--- /dev/null
+++ b/distro/ubuntu/mate-screensaver.pam
@@ -0,0 +1,3 @@
+#%PAM-1.0
+auth required pam_unix_auth.so
+auth optional pam_gnome_keyring.so