You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-mail/cmd5checkpw/files/reloc.diff

64 lines
2.3 KiB

diff -upr cmd5checkpw-0.30.orig/Makefile cmd5checkpw-0.30/Makefile
--- cmd5checkpw-0.30.orig/Makefile 2003-09-18 16:34:01.000000000 +0300
+++ cmd5checkpw-0.30/Makefile 2005-07-31 14:41:16.000000000 +0300
@@ -14,7 +14,7 @@ CFLAGS=-c -g -Wall -O3
LD=gcc
LDFLAGS=-g -o ${TARGET}
-default: main man cmd5checkpw
+default: cmd5checkpw
main: cmd5checkpw.c conf-qmail
sed s}QMAILHOME}"`head -1 conf-qmail`"}g cmd5checkpw.c > main.c
diff -upr cmd5checkpw-0.30.orig/cmd5checkpw.8 cmd5checkpw-0.30/cmd5checkpw.8
--- cmd5checkpw-0.30.orig/cmd5checkpw.8 2003-09-18 16:34:01.000000000 +0300
+++ cmd5checkpw-0.30/cmd5checkpw.8 2005-07-31 14:43:20.000000000 +0300
@@ -26,7 +26,7 @@ and a cram-md5 challenge terminated by \
.B cmd5checkpw
recalcuates a MD5 digest using the provided plain challenge
and the passwords from
-.IR /var/qmail/users/authuser
+.IR /etc/poppasswd
and compares it with response (2nd parameter). If they are the same
then
.B cmd5checkpw
@@ -50,7 +50,7 @@ exits 111.
.B cmd5checkpw
additionally compares the supplied password with the password in the
-.IR /var/qmail/user/authuser
+.IR /etc/poppasswd
file. Thus it can be used as a plain-text checkpassword
for PLAIN & LOGIN authtype (but we recommend using a crypted version for
security reasons). To use it, simply provide it with clear text password
@@ -68,7 +68,7 @@ interface.
Before invoking
.BR subprogram ,
.B cmd5checkpw
-does not set up anything. Just because users from /var/qmail/user/authuser does not
+does not set up anything. Just because users from /etc/poppasswd does not
have to exist in the system so setting their uid,gid etc is not possible.
Other
@@ -78,7 +78,7 @@ These effects must be documented;
applications will differ in their requirements.
.SH "FILES"
-.IR /var/qmail/users/authuser
+.IR /etc/poppasswd
- this file contains pairs of logins and clear text passwords
separated by ":". It looks like this:
diff -upr cmd5checkpw-0.30.orig/main.c cmd5checkpw-0.30/main.c
--- cmd5checkpw-0.30.orig/main.c 2003-09-18 16:34:01.000000000 +0300
+++ cmd5checkpw-0.30/main.c 2005-07-31 14:43:36.000000000 +0300
@@ -7,7 +7,7 @@
#include <unistd.h>
#define LINE_MAX 256
-#define SASLUSERFILE "/var/qmail/users/authuser"
+#define SASLUSERFILE "/etc/poppasswd"
#define READONLY "r"
char up[513];
int uplen;