aboutsummaryrefslogtreecommitdiff
path: root/distro/packages/patches/lsh-pam-service-name.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-12-04 22:03:21 +0100
committerLudovic Courtès <ludo@gnu.org>2012-12-04 22:03:21 +0100
commit18d50d76216f5c207d8178cb2d2d2f31eb8fe3eb (patch)
treec6f0d54f57ea407c9e3e2a878d64099eba94148a /distro/packages/patches/lsh-pam-service-name.patch
parent02b80c3f652bfd0814a37a0710822268f7934294 (diff)
downloadguix-18d50d76216f5c207d8178cb2d2d2f31eb8fe3eb.tar
guix-18d50d76216f5c207d8178cb2d2d2f31eb8fe3eb.tar.gz
distro: Add GNU lsh.
* distro/packages/lsh.scm, distro/packages/patches/lsh-guile-compat.patch: distro/packages/patches/lsh-no-root-login.patch: distro/packages/patches/lsh-pam-service-name.patch: New files. * Makefile.am (MODULES): Add lsh.scm. (dist_patch_DATA): Add the above patches.
Diffstat (limited to 'distro/packages/patches/lsh-pam-service-name.patch')
-rw-r--r--distro/packages/patches/lsh-pam-service-name.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/distro/packages/patches/lsh-pam-service-name.patch b/distro/packages/patches/lsh-pam-service-name.patch
new file mode 100644
index 0000000000..6a6156855c
--- /dev/null
+++ b/distro/packages/patches/lsh-pam-service-name.patch
@@ -0,0 +1,14 @@
+Tell `lsh-pam-checkpw', the PAM password helper program, to use a more
+descriptive service name.
+
+--- lsh-2.0.4/src/lsh-pam-checkpw.c 2003-02-16 22:30:10.000000000 +0100
++++ lsh-2.0.4/src/lsh-pam-checkpw.c 2008-11-28 16:16:58.000000000 +0100
+@@ -38,7 +38,7 @@
+ #include <security/pam_appl.h>
+
+ #define PWD_MAXLEN 1024
+-#define SERVICE_NAME "other"
++#define SERVICE_NAME "lshd"
+ #define TIMEOUT 600
+
+ static int