Hi,

I tried to patch qmail-ldap-1.03-20020801.patch and I got this:

# patch -p1 < qmail-ldap-1.03-20020801.patch
  Looks like a unified context diff.
File to patch: qmail-ldap-1.03-20020801.patch

Hunk #1 failed at line 0.
Hunk #2 failed at line 431.
Hunk #3 failed at line 1.
Hunk #4 failed at line 20.
Hunk #5 failed at line 136.
Hunk #6 failed at line 211.
Hunk #7 failed at line 280.
Hunk #8 failed at line 386.
Hunk #9 failed at line 404.
Hunk #10 failed at line 432.

I also tried using the gnu patch but this is what i got. Obviously it is not
working properly so i would appreciate some help on how to use the patch
correctly.

# gunzip patch-2.5.4.tar.gz 
# ls
core                            nsmail
DeadLetters                     office52
flash_solaris.tar               patch-2.5.4.tar
help                            qmail-1.03
IN-341.doc                      qmail-1.03.tar
Mail                            qmail-ldap-1.03-20020801.patch
mail1                           StarOffice52
# tar xpf patch-2.5.4.tar 
# ls
core                            office52
DeadLetters                     patch-2.5.4
flash_solaris.tar               patch-2.5.4.tar
help                            qmail-1.03
IN-341.doc                      qmail-1.03.tar
Mail                            qmail-ldap-1.03-20020801.patch
mail1                           StarOffice52
nsmail
# cd patch-2.5.4
# ls
aclocal.m4     common.h       inp.c          NEWS           quotesys.h
addext.c       config.guess   inp.h          partime.c      README
ansi2knr.1     config.hin     INSTALL        partime.h      realloc.c
ansi2knr.c     config.sub     install-sh     patch.c        rename.c
argmatch.c     configure      m4             patch.man      rmdir.c
argmatch.h     configure.in   Makefile.in    patchlevel.h   util.c
AUTHORS        COPYING        maketime.c     pc             util.h
backupfile.c   error.c        maketime.h     pch.c          version.c
backupfile.h   error.h        malloc.c       pch.h          version.h
basename.c     getopt.c       memchr.c       quotearg.c     xalloc.h
basename.h     getopt.h       mkdir.c        quotearg.h     xmalloc.c
ChangeLog      getopt1.c      mkinstalldirs  quotesys.c
# patch -p1 < /export/home/ckarelio/qmail-ldap-1.03-20020801.patch
  Looks like a unified context diff.
File to patch: qmail-ldap-1.03-20020801.patch
No file found -- skip this patch? [no] y
Skipping patch...
  The next patch looks like a unified context diff.
File to patch: qmail-ldap-1.03-20020801.patch
No file found -- skip this patch? [no] y
Skipping patch...
  The next patch looks like a unified context diff.
File to patch: ^Z
Suspended
# gpatch -pl < ../qmail-ldap-1.03-20020801.patch
patch: **** strip count l is not a number
# gpatch -p < ../qmail-ldap-1.03-20020801.patch
gpatch: option requires an argument -- p
patch: Try `gpatch --help' for more information.
# patch -p1 < ../qmail-ldap-1.03-20020801.patch
  Looks like a unified context diff.
File to patch: gpatch -pl < ../qmail-ldap-1.03-20011001a.patch
No file found -- skip this patch? [no] y
Skipping patch...
  The next patch looks like a unified context diff.
File to patch: ^Z
Suspended
# gpatch -p1 < ../qmail-ldap-1.03-20020801.patch
patching file EXTTODO
can't find file to patch at input line 123
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/FILES qmail-ldap/FILES
|--- qmail-1.03/FILES   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/FILES   Mon May  6 11:50:15 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch                             
qmail-ldap-1.03-20020801.patch: No such file or directory
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 180
/* patch - a program to apply diffs to original files */

/* $Id: patch.c,v 1.28 1999/08/30 06:20:08 eggert Exp $ */

/* Copyright 1984, 1985-1987, 1988 Larry Wall
   Copyright 1989, 1990-1993, 1997-1998, 1999 Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; see the file COPYING.
   If not, write to the Free Software Foundation,
   59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */

#define XTERN
#include <common.h>
#undef XTERN
#define XTERN extern
#include <argmatch.h>
#include <backupfile.h>
#include <getopt.h>
#include <inp.h>
#include <pch.h>
#include <quotearg.h>
#include <util.h>
#include <version.h>
#include <xalloc.h>

#if HAVE_UTIME_H
# include <utime.h>
#endif
/* Some nonstandard hosts don't declare this structure even in <utime.h>.  */
#if ! HAVE_STRUCT_UTIMBUF
struct utimbuf
{
  time_t actime;
  time_t modtime;
};
#endif

/* Output stream state.  */
struct outstate
{
  FILE *ofp;
  int after_newline;
  int zero_output;
};

/* procedures */

static FILE *create_output_file PARAMS ((char const *, int));
static LINENUM locate_hunk PARAMS ((LINENUM));
static bool apply_hunk PARAMS ((struct outstate *, LINENUM));
static bool copy_till PARAMS ((struct outstate *, LINENUM));
static bool patch_match PARAMS ((LINENUM, LINENUM, LINENUM, LINENUM));
static bool similar PARAMS ((char const *, size_t, char const *, size_t));
static bool spew_output PARAMS ((struct outstate *));
static char const *make_temp PARAMS ((int));
static int numeric_string PARAMS ((char const *, int, char const *));
static void abort_hunk PARAMS ((void));
static void cleanup PARAMS ((void));
static void get_some_switches PARAMS ((void));
static void init_output PARAMS ((char const *, int, struct outstate *));
static void init_reject PARAMS ((void));
static void reinitialize_almost_everything PARAMS ((void));
static void remove_if_needed PARAMS ((char const *, int volatile *));
static void usage PARAMS ((FILE *, int)) __attribute__((noreturn));

static int make_backups;
static int backup_if_mismatch;
static char const *version_control;
static char const *version_control_context;
static int remove_empty_files;

/* TRUE if -R was specified on command line.  */
static int reverse_flag_specified;

/* how many input lines have been irretractably output */
static LINENUM last_frozen_line;

static char const *do_defines; /* symbol to patch using ifdef, ifndef, etc. */
static char const if_defined[] = "\n#ifdef %s\n";
static char const not_defined[] = "#ifndef %s\n";
static char const else_defined[] = "\n#else\n";
static char const end_defined[] = "\n#endif /* %s */\n";

static int Argc;
static char * const *Argv;

static FILE *rejfp;  /* reject file pointer */

static char const *patchname;
static char *rejname;
static char const * volatile TMPREJNAME;
static int volatile TMPREJNAME_needs_removal;

static LINENUM last_offset;
static LINENUM maxfuzz = 2;

static char serrbuf[BUFSIZ];

char const program_name[] = "patch";

/* Apply a set of diffs as appropriate. */

int main PARAMS ((int, char **));

int
main (int argc, char **argv)
{
    char const *val;
    bool somefailed = FALSE;
    struct outstate outstate;
    char numbuf[LINENUM_LENGTH_BOUND + 1];

    init_time ();

    setbuf(stderr, serrbuf);

    xalloc_fail_func = memory_fatal;
    bufsize = 8 * 1024;
    buf = xmalloc (bufsize);

    strippath = -1;

    val = getenv ("QUOTING_STYLE");
    {
      int i = val ? argmatch (val, quoting_style_args, 0, 0) : -1;
      set_quoting_style ((struct quoting_options *) 0,
                         i < 0 ? shell_quoting_style : (enum quoting_style) i);
    }

    posixly_correct = getenv ("POSIXLY_CORRECT") != 0;
    backup_if_mismatch = ! posixly_correct;
    patch_get = ((val = getenv ("PATCH_GET"))
                 ? numeric_string (val, 1, "PATCH_GET value")
                 : posixly_correct - 1);

    val = getenv ("SIMPLE_BACKUP_SUFFIX");
    if (val && *val)
      simple_backup_suffix = val;

    if ((version_control = getenv ("PATCH_VERSION_CONTROL")))
      version_control_context = "$PATCH_VERSION_CONTROL";
    else if ((version_control = getenv ("VERSION_CONTROL")))
:q
# ls
aclocal.m4     common.h       getopt1.c      mkinstalldirs  quotesys.c
addext.c       config.guess   inp.c          NEWS           quotesys.h
ansi2knr.1     config.hin     inp.h          partime.c      README
ansi2knr.c     config.sub     INSTALL        partime.h      realloc.c
argmatch.c     configure      install-sh     patch.c        rename.c
argmatch.h     configure.in   m4             patch.man      rmdir.c
AUTHORS        COPYING        Makefile.in    patchlevel.h   util.c
backupfile.c   error.c        maketime.c     pc             util.h
backupfile.h   error.h        maketime.h     pch.c          version.c
basename.c     EXTTODO        malloc.c       pch.h          version.h
basename.h     getopt.c       memchr.c       quotearg.c     xalloc.h
ChangeLog      getopt.h       mkdir.c        quotearg.h     xmalloc.c
# ls -
-: No such file or directory
# ls -l
total 1306
-rw-rw-r--   1 31184    11         11856 Aug 29  1999 aclocal.m4
-r--r--r--   1 31184    11          2629 Jan 18  1999 addext.c
-r--r--r--   1 31184    11          1529 Jul  4  1997 ansi2knr.1
-r--r--r--   1 31184    11         18704 Apr 13  1999 ansi2knr.c
-r--r--r--   1 31184    11          8112 Aug 10  1999 argmatch.c
-r--r--r--   1 31184    11          4586 Jan 25  1999 argmatch.h
-r--r--r--   1 31184    11           293 Mar 15  1998 AUTHORS
-r--r--r--   1 31184    11          7426 Jan 18  1999 backupfile.c
-r--r--r--   1 31184    11          1901 Jan 18  1999 backupfile.h
-r--r--r--   1 31184    11          1658 Mar 18  1999 basename.c
-r--r--r--   1 31184    11           195 Jul  7  1999 basename.h
-rw-rw-r--   1 31184    11         74160 Aug 30  1999 ChangeLog
-r--r--r--   1 31184    11          6754 Aug 30  1999 common.h
-r--r--r--   1 31184    11         31320 Aug  5  1999 config.guess
-rw-rw-r--   1 31184    11          4403 Aug 30  1999 config.hin
-r--r--r--   1 31184    11         24339 Aug  5  1999 config.sub
-rwxrwxr-x   1 31184    11         94487 Aug 30  1999 configure
-r--r--r--   1 31184    11          1209 Aug 30  1999 configure.in
-r--r--r--   1 31184    11         18007 Mar  1  1998 COPYING
-r--r--r--   1 31184    11          6356 Nov 15  1998 error.c
-r--r--r--   1 31184    11          2672 Jun 21  1997 error.h
-rw-r--r--   1 root     other       4043 Aug 27 12:27 EXTTODO
-r--r--r--   1 31184    11         30070 Jan 13  1999 getopt.c
-r--r--r--   1 31184    11          5861 Jan 13  1999 getopt.h
-r--r--r--   1 31184    11          4550 Jan 13  1999 getopt1.c
-r--r--r--   1 31184    11         11577 Aug 30  1999 inp.c
-r--r--r--   1 31184    11           340 Apr  7  1997 inp.h
-r--r--r--   1 31184    11          7831 Jun 23  1997 INSTALL
-r-xr-xr-x   1 31184    11          5603 Mar  2  1999 install-sh
drwxrwxr-x   2 31184    11           512 Aug 30  1999 m4
-r--r--r--   1 31184    11          5777 Aug 30  1999 Makefile.in
-r--r--r--   1 31184    11         14668 Aug 29  1999 maketime.c
-r--r--r--   1 31184    11          1357 Dec  4  1997 maketime.h
-r--r--r--   1 31184    11          1132 Dec  7  1998 malloc.c
-r--r--r--   1 31184    11          6139 Jul 10  1999 memchr.c
-r--r--r--   1 31184    11          2927 Apr 26  1999 mkdir.c
-r-xr-xr-x   1 31184    11           726 Jan  5  1999 mkinstalldirs
-r--r--r--   1 31184    11          8209 Mar 21  1998 NEWS
-r--r--r--   1 31184    11         23983 Mar 15  1998 partime.c
-r--r--r--   1 31184    11          2477 Dec  4  1997 partime.h
-r--r--r--   1 31184    11         36943 Aug 30  1999 patch.c
-r--r--r--   1 31184    11         31490 Mar 21  1998 patch.man
-rw-rw-r--   1 31184    11            30 Aug 30  1999 patchlevel.h
drwxrwxr-x   3 31184    11           512 Aug 30  1999 pc
-r--r--r--   1 31184    11         50480 Aug 30  1999 pch.c
-r--r--r--   1 31184    11           893 Jun 13  1997 pch.h
-r--r--r--   1 31184    11         10020 Aug 23  1999 quotearg.c
-r--r--r--   1 31184    11          4530 Aug 10  1999 quotearg.h
-r--r--r--   1 31184    11          2844 Mar 15  1998 quotesys.c
-r--r--r--   1 31184    11           237 Mar 15  1998 quotesys.h
-r--r--r--   1 31184    11          2385 May 26  1997 README
-r--r--r--   1 31184    11          1274 Nov  3  1997 realloc.c
-r--r--r--   1 31184    11          2813 Mar 30  1999 rename.c
-r--r--r--   1 31184    11          1942 Mar 30  1999 rmdir.c
-r--r--r--   1 31184    11         23636 Aug 30  1999 util.c
-r--r--r--   1 31184    11          1852 Aug 30  1999 util.h
-r--r--r--   1 31184    11           864 Aug 30  1999 version.c
-r--r--r--   1 31184    11           125 Apr  7  1997 version.h
-r--r--r--   1 31184    11          2003 Jan  1  1999 xalloc.h
-r--r--r--   1 31184    11          2731 Apr 19  1999 xmalloc.c
# ls
aclocal.m4     common.h       getopt1.c      mkinstalldirs  quotesys.c
addext.c       config.guess   inp.c          NEWS           quotesys.h
ansi2knr.1     config.hin     inp.h          partime.c      README
ansi2knr.c     config.sub     INSTALL        partime.h      realloc.c
argmatch.c     configure      install-sh     patch.c        rename.c
argmatch.h     configure.in   m4             patch.man      rmdir.c
AUTHORS        COPYING        Makefile.in    patchlevel.h   util.c
backupfile.c   error.c        maketime.c     pc             util.h
backupfile.h   error.h        maketime.h     pch.c          version.c
basename.c     EXTTODO        malloc.c       pch.h          version.h
basename.h     getopt.c       memchr.c       quotearg.c     xalloc.h
ChangeLog      getopt.h       mkdir.c        quotearg.h     xmalloc.c
# cd ..
# ls
core                            office52
DeadLetters                     patch-2.5.4
flash_solaris.tar               patch-2.5.4.tar
help                            qmail-1.03
IN-341.doc                      qmail-1.03.tar
Mail                            qmail-ldap-1.03-20020801.patch
mail1                           StarOffice52
nsmail
# cd patch-2.5.4
# ./configure
creating cache ./config.cache
checking host system type... sparc-sun-solaris2.8
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... ./install-sh -c
checking whether make sets ${MAKE}... yes
checking for ed... /bin/ed
checking build system type... sparc-sun-solaris2.8
checking for getconf... getconf
checking for CFLAGS value to request large file support... -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
checking for LDFLAGS value to request large file support... 
checking for LIBS value to request large file support... 
checking for _FILE_OFFSET_BITS... 64
checking for _LARGEFILE_SOURCE... 1
checking for _LARGE_FILES... no
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for working const... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for varargs.h... yes
checking for inttypes.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for utime.h... (cached) yes
checking for struct utimbuf... yes
checking for getopt_long... no
checking for _doprintf... no
checking for isascii... yes
checking for fseeko... yes
checking for memcmp... yes
checking for mktemp... yes
checking for pathconf... yes
checking for raise... yes
checking for setmode... no
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigsetmask... no
checking for strerror... yes
checking for memchr... yes
checking for mkdir... yes
checking for rename... yes
checking for rmdir... yes
checking for working malloc... yes
checking for working realloc... yes
checking whether closedir returns void... no
checking for vprintf... yes
checking for long file names... yes
checking for d_ino member in directory struct... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
# make CFLAGS="-O2"
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 addext.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 argmatch.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 backupfile.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 basename.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 error.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 inp.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 maketime.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 partime.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 patch.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 pch.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 quotearg.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 quotesys.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 util.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 version.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 xmalloc.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 getopt1.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\"  -I. -I. -O2 getopt.c
gcc -o patch -O2  addext.o argmatch.o backupfile.o basename.o error.o inp.o 
maketime.o partime.o patch.o pch.o quotearg.o quotesys.o  util.o version.o
xmalloc.o getopt1.o getopt.o 
# make install
/bin/sh ./mkinstalldirs /usr/local/bin /usr/local/man/man1
./install-sh -c patch /usr/local/bin/`echo patch | sed 's,x,x,'`
./install-sh -c -m 644 ./patch.man /usr/local/man/man1/`echo patch | sed
's,x,x,'`.1
# patch -p1 < ../qmail-ldap-1.03-20020801.patch
  Looks like a unified context diff.
File to patch: qmail-ldap-1.03-20020801.patch
No file found -- skip this patch? [no] n
File to patch: ^Z
Suspended
# ls
aclocal.m4     config.cache   getopt1.c      NEWS           quotesys.h
addext.c       config.guess   getopt1.o      partime.c      quotesys.o
addext.o       config.h       inp.c          partime.h      README
ansi2knr.1     config.hin     inp.h          partime.o      realloc.c
ansi2knr.c     config.log     inp.o          patch          rename.c
argmatch.c     config.status  INSTALL        patch.c        rmdir.c
argmatch.h     config.sub     install-sh     patch.man      util.c
argmatch.o     configure      m4             patch.o        util.h
AUTHORS        configure.in   Makefile       patchlevel.h   util.o
backupfile.c   COPYING        Makefile.in    pc             version.c
backupfile.h   error.c        maketime.c     pch.c          version.h
backupfile.o   error.h        maketime.h     pch.h          version.o
basename.c     error.o        maketime.o     pch.o          xalloc.h
basename.h     EXTTODO        malloc.c       quotearg.c     xmalloc.c
basename.o     getopt.c       memchr.c       quotearg.h     xmalloc.o
ChangeLog      getopt.h       mkdir.c        quotearg.o
common.h       getopt.o       mkinstalldirs  quotesys.c
# cd ..
# ls
core                            office52
DeadLetters                     patch-2.5.4
flash_solaris.tar               patch-2.5.4.tar
help                            qmail-1.03
IN-341.doc                      qmail-1.03.tar
Mail                            qmail-ldap-1.03-20020801.patch
mail1                           StarOffice52
nsmail
# patch -p1 < ../qmail-ldap-1.03-20020801.patch
../qmail-ldap-1.03-20020801.patch: No such file or directory.
# patch -p1 < /export/home/ckarelio/qmail-ldap-1.03-20020801.patch
  Looks like a unified context diff.
File to patch: qmail-ldap-1.03-20020801.patch
Hunk #1 failed at line 0.
Hunk #2 failed at line 431.
^Z
Suspended
# gpatch -p1 < /export/home/ckarelio/qmail-ldap-1.03-20020801.patch
patching file EXTTODO
can't find file to patch at input line 123
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/FILES qmail-ldap/FILES
|--- qmail-1.03/FILES   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/FILES   Mon May  6 11:50:15 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 431.
1 out of 1 hunk FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 180
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/Makefile qmail-ldap/Makefile
|--- qmail-1.03/Makefile        Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/Makefile        Sat Jul 13 15:23:08 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 93.
Hunk #3 FAILED at 250.
Hunk #4 FAILED at 329.
Hunk #5 FAILED at 402.
Hunk #6 FAILED at 519.
Hunk #7 FAILED at 564.
Hunk #8 FAILED at 592.
Hunk #9 FAILED at 604.
Hunk #10 FAILED at 617.
Hunk #11 FAILED at 652.
Hunk #12 FAILED at 871.
Hunk #13 FAILED at 923.
Hunk #14 FAILED at 947.
Hunk #15 FAILED at 963.
Hunk #16 FAILED at 974.
Hunk #17 FAILED at 1009.
Hunk #18 FAILED at 1166.
Hunk #19 FAILED at 1291.
Hunk #20 FAILED at 1412.
Hunk #21 FAILED at 1430.
Hunk #22 FAILED at 1478.
Hunk #23 FAILED at 1535.
Hunk #24 FAILED at 1551.
Hunk #25 FAILED at 1570.
Hunk #26 FAILED at 1606.
Hunk #27 FAILED at 1616.
Hunk #28 FAILED at 1705.
Hunk #29 FAILED at 1729.
Hunk #30 FAILED at 1741.
Hunk #31 FAILED at 1805.
Hunk #32 FAILED at 1828.
Hunk #33 FAILED at 1849.
Hunk #34 FAILED at 1870.
Hunk #35 FAILED at 1902.
Hunk #36 FAILED at 1986.
Hunk #37 FAILED at 2057.
Hunk #38 FAILED at 2209.
Hunk #39 FAILED at 2228.
Hunk #40 FAILED at 2453.
40 out of 40 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
patching file POPBEFORESMTP
patching file QLDAPINSTALL
patching file QLDAPNEWS
patching file QLDAPPICTURE
patching file QLDAPTODO
can't find file to patch at input line 2638
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/TARGETS qmail-ldap/TARGETS
|--- qmail-1.03/TARGETS Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/TARGETS Fri Apr 26 21:14:44 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 385.
1 out of 1 hunk FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
patching file TLS.readme
patching file auth_imap.c
patching file auth_mod.h
patching file auth_pop.c
patching file base64.c
patching file base64.h
can't find file to patch at input line 3894
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/byte.h qmail-ldap/byte.h
|--- qmail-1.03/byte.h  Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/byte.h  Fri Apr 26 21:14:45 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
patching file byte_repl.c
patching file check.c
patching file check.h
patching file checkpassword.c
can't find file to patch at input line 4864
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/chkspawn.c qmail-ldap/chkspawn.c
|--- qmail-1.03/chkspawn.c      Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/chkspawn.c      Sat Jan 15 14:38:12 2000
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 22.
1 out of 1 hunk FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 4878
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/conf-spawn qmail-ldap/conf-spawn
|--- qmail-1.03/conf-spawn      Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/conf-spawn      Sun Jan 16 13:52:14 2000
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
patching file digest.c
patching file digest_md4.c
patching file digest_md4.h
patching file digest_md5.c
patching file digest_md5.h
patching file digest_rmd160.c
patching file digest_rmd160.h
patching file digest_sha1.c
patching file digest_sha1.h
patching file dirmaker
can't find file to patch at input line 6733
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/dns.c qmail-ldap/dns.c
|--- qmail-1.03/dns.c   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/dns.c   Mon Sep 25 19:23:53 2000
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 21.
Hunk #2 FAILED at 47.
Hunk #3 FAILED at 83.
Hunk #4 FAILED at 290.
Hunk #5 FAILED at 301.
5 out of 5 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
patching file endian.c
patching file gettimeofday.c
can't find file to patch at input line 6870
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/hier.c qmail-ldap/hier.c
|--- qmail-1.03/hier.c  Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/hier.c  Mon May  6 11:50:15 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 98.
Hunk #2 FAILED at 112.
Hunk #3 FAILED at 150.
3 out of 3 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 6910
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/install-big.c qmail-ldap/install-big.c
|--- qmail-1.03/install-big.c   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/install-big.c   Mon May  6 11:50:15 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 98.
Hunk #2 FAILED at 112.
Hunk #3 FAILED at 150.
3 out of 3 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 6952
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/ipalloc.h qmail-ldap/ipalloc.h
|--- qmail-1.03/ipalloc.h       Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/ipalloc.h       Mon Sep 25 19:23:54 2000
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 6967
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/ipme.c qmail-ldap/ipme.c
|--- qmail-1.03/ipme.c  Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/ipme.c  Thu Mar  1 21:10:58 2001
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 45.
1 out of 1 hunk FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
patching file maildir++.c
patching file maildir++.h
patching file output.c
patching file output.h
patching file pbsadd.c
patching file pbscheck.c
patching file pbsdbd.c
patching file popfetch.pl
patching file profile.patch
patching file qldap-debug.c
patching file qldap-debug.h
patching file qldap-errno.c
patching file qldap-errno.h
patching file qldap-ldaplib.c
patching file qldap-ldaplib.h
patching file qldap-log.c
patching file qldap-log.h
patching file qldap-mdm.c
patching file qldap-mdm.h
patching file qldap-profile.c
patching file qldap-profile.h
patching file qmail-ldap.h
patching file qmail-ldaplookup.c
can't find file to patch at input line 10780
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-local.c qmail-ldap/qmail-local.c
|--- qmail-1.03/qmail-local.c   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-local.c   Sat Jul 13 15:23:08 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 29.
Hunk #2 FAILED at 62.
Hunk #3 FAILED at 80.
Hunk #4 FAILED at 100.
Hunk #5 FAILED at 149.
Hunk #6 FAILED at 176.
Hunk #7 FAILED at 200.
Hunk #8 FAILED at 296.
Hunk #9 FAILED at 315.
Hunk #10 FAILED at 443.
Hunk #11 FAILED at 632.
Hunk #12 FAILED at 672.
Hunk #13 FAILED at 794.
Hunk #14 FAILED at 1008.
14 out of 14 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 11316
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-lspawn.c qmail-ldap/qmail-lspawn.c
|--- qmail-1.03/qmail-lspawn.c  Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-lspawn.c  Sat Jul 13 15:23:08 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 14.
Hunk #2 FAILED at 105.
Hunk #3 FAILED at 689.
Hunk #4 FAILED at 702.
Hunk #5 FAILED at 720.
Hunk #6 FAILED at 729.
Hunk #7 FAILED at 745.
Hunk #8 FAILED at 757.
Hunk #9 FAILED at 839.
Hunk #10 FAILED at 887.
10 out of 10 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 12315
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-pop3d.c qmail-ldap/qmail-pop3d.c
|--- qmail-1.03/qmail-pop3d.c   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-pop3d.c   Fri Dec  1 02:03:07 2000
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 17.
Hunk #2 FAILED at 73.
Hunk #3 FAILED at 163.
Hunk #4 FAILED at 182.
Hunk #5 FAILED at 199.
Hunk #6 FAILED at 220.
Hunk #7 FAILED at 285.
Hunk #8 FAILED at 298.
Hunk #9 FAILED at 333.
9 out of 9 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 12491
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-popup.c qmail-ldap/qmail-popup.c
|--- qmail-1.03/qmail-popup.c   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-popup.c   Mon Jan 17 16:51:36 2000
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 62.
Hunk #2 FAILED at 110.
Hunk #3 FAILED at 139.
3 out of 3 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 12554
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-qmqpc.c qmail-ldap/qmail-qmqpc.c
|--- qmail-1.03/qmail-qmqpc.c   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-qmqpc.c   Sat Jul 13 15:23:08 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 18.
Hunk #2 FAILED at 59.
Hunk #3 FAILED at 70.
Hunk #4 FAILED at 101.
Hunk #5 FAILED at 144.
Hunk #6 FAILED at 165.
Hunk #7 FAILED at 181.
7 out of 7 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 12666
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-qmqpd.c qmail-ldap/qmail-qmqpd.c
|--- qmail-1.03/qmail-qmqpd.c   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-qmqpd.c   Fri Apr 27 12:14:47 2001
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 8.
Hunk #2 FAILED at 79.
2 out of 2 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 12686
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-qmtpd.c qmail-ldap/qmail-qmtpd.c
|--- qmail-1.03/qmail-qmtpd.c   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-qmtpd.c   Sat Oct  2 17:57:09 1999
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 130.
1 out of 1 hunk FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
patching file qmail-quotawarn.c
can't find file to patch at input line 13064
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-remote.c qmail-ldap/qmail-remote.c
|--- qmail-1.03/qmail-remote.c  Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-remote.c  Wed Apr 24 18:03:14 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 16.
Hunk #3 FAILED at 29.
Hunk #4 FAILED at 91.
Hunk #5 FAILED at 130.
Hunk #6 FAILED at 242.
Hunk #7 FAILED at 308.
Hunk #8 FAILED at 508.
Hunk #9 FAILED at 674.
Hunk #10 FAILED at 703.
Hunk #11 FAILED at 759.
11 out of 11 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
patching file qmail-reply.c
can't find file to patch at input line 13808
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-send.c qmail-ldap/qmail-send.c
|--- qmail-1.03/qmail-send.c    Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-send.c    Mon May  6 13:33:12 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 56.
Hunk #2 FAILED at 264.
Hunk #3 FAILED at 602.
Hunk #4 FAILED at 715.
Hunk #5 FAILED at 754.
Hunk #6 FAILED at 931.
Hunk #7 FAILED at 1249.
Hunk #8 FAILED at 1473.
Hunk #9 FAILED at 1616.
Hunk #10 FAILED at 1671.
Hunk #11 FAILED at 1714.
Hunk #12 FAILED at 1744.
12 out of 12 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 14155
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-showctl.c qmail-ldap/qmail-showctl.c
|--- qmail-1.03/qmail-showctl.c Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-showctl.c Sun Sep 30 14:58:57 2001
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 19.
Hunk #2 FAILED at 216.
Hunk #3 FAILED at 276.
Hunk #4 FAILED at 339.
4 out of 4 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 14257
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-smtpd.c qmail-ldap/qmail-smtpd.c
|--- qmail-1.03/qmail-smtpd.c   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-smtpd.c   Mon May  6 11:55:00 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 2.
Hunk #2 FAILED at 21.
Hunk #3 FAILED at 88.
Hunk #4 FAILED at 169.
Hunk #5 FAILED at 189.
Hunk #6 FAILED at 207.
Hunk #7 FAILED at 301.
Hunk #8 FAILED at 381.
Hunk #9 FAILED at 451.
Hunk #10 FAILED at 482.
Hunk #11 FAILED at 834.
Hunk #12 FAILED at 847.
Hunk #13 FAILED at 857.
Hunk #14 FAILED at 929.
Hunk #15 FAILED at 1075.
Hunk #16 FAILED at 1085.
16 out of 16 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 15236
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/qmail-start.c qmail-ldap/qmail-start.c
|--- qmail-1.03/qmail-start.c   Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/qmail-start.c   Sun Apr 21 14:50:04 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 8.
Hunk #2 FAILED at 21.
Hunk #3 FAILED at 58.
Hunk #4 FAILED at 92.
Hunk #5 succeeded at 6836 with fuzz 2 (offset 6703 lines).
Hunk #6 FAILED at 6873.
5 out of 6 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
patching file qmail-todo.c
patching file qmail.schema
patching file qmailAccountPurge.sh
patching file rbl.c
patching file rbl.h
can't find file to patch at input line 16368
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/received.c qmail-ldap/received.c
|--- qmail-1.03/received.c      Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/received.c      Tue Apr 30 17:02:52 2002
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 15.
Hunk #2 FAILED at 41.
Hunk #3 FAILED at 50.
Hunk #4 FAILED at 67.
4 out of 4 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 16428
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/received.h qmail-ldap/received.h
|--- qmail-1.03/received.h      Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/received.h      Fri Apr 20 22:14:25 2001
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej
can't find file to patch at input line 16438
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uN qmail-1.03/spawn.c qmail-ldap/spawn.c
|--- qmail-1.03/spawn.c Mon Jun 15 12:53:16 1998
|+++ qmail-ldap/spawn.c Tue Sep  4 00:19:34 2001
--------------------------
File to patch: qmail-ldap-1.03-20020801.patch
patching file qmail-ldap-1.03-20020801.patch
Hunk #1 FAILED at 28.
Hunk #2 FAILED at 66.
Hunk #3 FAILED at 76.
Hunk #4 FAILED at 159.
Hunk #5 FAILED at 208.
Hunk #6 FAILED at 244.
Hunk #7 FAILED at 326.
7 out of 7 hunks FAILED -- saving rejects to file
qmail-ldap-1.03-20020801.patch.rej



Thanx for any help,
Chris


-------------------------------------------------
�� mail ������� ���� ��� �.�.�. ������
This mail sent through T.E.I. of Athens

Reply via email to