OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web openpkg$ Date:   17-Jan-2004 00:28:03
  Branch: HEAD                             Handle: 2004011623275705

  Modified files:
    openpkg-re/vcheck       vc.imapd
    openpkg-src/imapd       imapd.conf imapd.patch imapd.patch.group
                            imapd.spec
    openpkg-web             news.txt

  Log:
    2.2.3 seems not too ready yet (process ***** exited, status 75), so
    back out upgrade from 2.1.16

  Summary:
    Revision    Changes     Path
    1.17        +1  -1      openpkg-re/vcheck/vc.imapd
    1.9         +0  -4      openpkg-src/imapd/imapd.conf
    1.6         +2  -2      openpkg-src/imapd/imapd.patch
    1.3         +10 -11     openpkg-src/imapd/imapd.patch.group
    1.102       +11 -7      openpkg-src/imapd/imapd.spec
    1.8114      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.imapd
  ============================================================================
  $ cvs diff -u -r1.16 -r1.17 vc.imapd
  --- openpkg-re/vcheck/vc.imapd        16 Jan 2004 20:15:31 -0000      1.16
  +++ openpkg-re/vcheck/vc.imapd        16 Jan 2004 23:27:57 -0000      1.17
  @@ -2,7 +2,7 @@
   }
   
   prog imapd = {
  -  version   = 2.2.3
  +  version   = 2.1.16
     url       = ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
     regex     = cyrus-imapd-(\d+\.\d+\.\d+)\.tar\.gz
   }
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/imapd/imapd.conf
  ============================================================================
  $ cvs diff -u -r1.8 -r1.9 imapd.conf
  --- openpkg-src/imapd/imapd.conf      16 Jan 2004 20:15:33 -0000      1.8
  +++ openpkg-src/imapd/imapd.conf      16 Jan 2004 23:28:02 -0000      1.9
  @@ -21,8 +21,4 @@
   reject8bit:             no
   quotawarn:              90
   timeout:                30
  -defaultdomain:          @l_domainname@
  -virtdomains:            on
  -#virtdomains:            off
  -#virtdomains:            userid
   
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/imapd/imapd.patch
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 imapd.patch
  --- openpkg-src/imapd/imapd.patch     16 Jan 2004 20:15:33 -0000      1.5
  +++ openpkg-src/imapd/imapd.patch     16 Jan 2004 23:28:02 -0000      1.6
  @@ -1,6 +1,6 @@
   --- lib/cyrusdb_skiplist.c.orig      Tue Apr 23 20:25:48 2002
   +++ lib/cyrusdb_skiplist.c   Wed May  8 13:49:23 2002
  -@@ -71,6 +71,11 @@
  +@@ -69,6 +69,11 @@
    
    #define PROB (0.5)
    
  @@ -14,7 +14,7 @@
     * disk format; all numbers in network byte order
   --- et/com_err.c.dist        Tue Jun 17 08:38:32 2003
   +++ et/com_err.c     Tue Jun 17 08:38:46 2003
  -@@ -50,7 +50,7 @@
  +@@ -48,7 +48,7 @@
    #include <string.h>
    #include "mit-sipb-copyright.h"
    
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/imapd/imapd.patch.group
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 imapd.patch.group
  --- openpkg-src/imapd/imapd.patch.group       16 Jan 2004 20:15:33 -0000      1.2
  +++ openpkg-src/imapd/imapd.patch.group       16 Jan 2004 23:28:02 -0000      1.3
  @@ -1,6 +1,6 @@
  ---- lib/auth_unix.c.orig     Wed Oct 22 20:50:12 2003
  -+++ lib/auth_unix.c  Fri Jan 16 15:24:05 2004
  -@@ -48,6 +48,7 @@
  +--- lib/auth_unix.c.orig     2003-05-13 17:33:26.000000000 +0200
  ++++ lib/auth_unix.c  2003-10-08 10:29:55.000000000 +0200
  +@@ -48,12 +48,133 @@
    #include <stdlib.h>
    #include <pwd.h>
    #include <grp.h>
  @@ -8,8 +8,7 @@
    #include <ctype.h>
    #include <string.h>
    
  -@@ -55,6 +56,126 @@
  - #include "libcyr_cfg.h"
  + #include "auth.h"
    #include "xmalloc.h"
    
   +#ifdef __FreeBSD__
  @@ -135,7 +134,7 @@
    const char *auth_method_desc = "unix";
    
    struct auth_state {
  -@@ -144,6 +265,25 @@
  +@@ -143,6 +264,25 @@
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
    };
    
  @@ -161,7 +160,7 @@
    /*
     * Convert 'identifier' into canonical form.
     * Returns a pointer to a static buffer containing the canonical form
  -@@ -179,7 +319,7 @@
  +@@ -185,7 +325,7 @@
         */
        
        if (!strncmp(retbuf, "group:", 6)) {
  @@ -170,7 +169,7 @@
        if (!grp) return 0;
        strcpy(retbuf+6, grp->gr_name);
        return retbuf;
  -@@ -224,6 +364,7 @@
  +@@ -228,6 +368,7 @@
        struct passwd *pwd;
        struct group *grp;
        char **mem;
  @@ -178,10 +177,10 @@
    
        identifier = auth_canonifyid(identifier, 0);
        if (!identifier) return 0;
  -@@ -240,20 +381,23 @@
  +@@ -241,20 +382,23 @@
  +     newstate->ngroups = 0;
  +     newstate->group = (char **) 0;
    
  -     pwd = getpwnam(identifier);
  -     
   -    setgrent();
   -    while ((grp = getgrent())) {
   -    for (mem = grp->gr_mem; *mem; mem++) {
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/imapd/imapd.spec
  ============================================================================
  $ cvs diff -u -r1.101 -r1.102 imapd.spec
  --- openpkg-src/imapd/imapd.spec      16 Jan 2004 20:15:33 -0000      1.101
  +++ openpkg-src/imapd/imapd.spec      16 Jan 2004 23:28:02 -0000      1.102
  @@ -32,11 +32,12 @@
   Distribution: OpenPKG [PLUS]
   Group:        Mail
   License:      BSD
  -Version:      2.2.3
  -Release:      20040116
  +Version:      2.1.16
  +Release:      20040117
   
   #   package options
   %option       with_fsl    yes
  +%option       with_vhost  no
   %option       with_group  no
   
   #   list of sources
  @@ -46,7 +47,8 @@
   Source3:      imapd.conf
   Source4:      fsl.imapd
   Patch0:       imapd.patch
  -Patch1:       imapd.patch.group
  +Patch1:       imapd.patch.vhost
  +Patch2:       imapd.patch.group
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -73,8 +75,11 @@
   %prep
       %setup -q -n cyrus-imapd-%{version}
       %patch0 -p0
  -%if "%{with_group}" == "yes"
  +%if "%{with_vhost}" == "yes"
       %patch1 -p0
  +%endif
  +%if "%{with_group}" == "yes"
  +    %patch2 -p0
       %{l_shtool} subst \
           -e 's;/etc/imapd\.group;%{l_prefix}/etc/imapd/imapd.group;' \
           lib/auth_unix.c
  @@ -135,7 +140,6 @@
       ./configure \
           --cache-file=./cache.config \
           --prefix=%{l_prefix} \
  -        --sysconfdir=%{l_prefix}/etc/imapd \
           --with-openssl=%{l_prefix} \
           --with-dbdir=%{l_prefix} \
           --with-sasl=%{l_prefix} \
  @@ -172,14 +176,14 @@
         %{l_make} PERL="$perl"
       ) || exit $?
       %{l_prefix}/bin/perl-openpkg install -d perl/sieve/managesieve
  +    %{l_prefix}/bin/perl-openpkg install -d perl/sieve/acap
       %{l_prefix}/bin/perl-openpkg epilog
   
       #   install package
       %{l_make} %{l_mflags} install \
           prefix=$RPM_BUILD_ROOT%{l_prefix} \
           exec_prefix=$RPM_BUILD_ROOT%{l_prefix} \
  -        cyrus_prefix=$RPM_BUILD_ROOT%{l_prefix} \
  -        service_path=$RPM_BUILD_ROOT%{l_prefix}/bin
  +        cyrus_prefix=$RPM_BUILD_ROOT%{l_prefix}
   
       #   create additional directories
       %{l_shtool} mkdir -f -p -m 755 \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.8113 -r1.8114 news.txt
  --- openpkg-web/news.txt      16 Jan 2004 21:29:38 -0000      1.8113
  +++ openpkg-web/news.txt      16 Jan 2004 23:27:59 -0000      1.8114
  @@ -1,3 +1,4 @@
  +17-Jan-2004: Upgraded package: P<imapd-2.1.16-20040117>
   16-Jan-2004: Upgraded package: P<orbit2-2.9.6-20040116>
   16-Jan-2004: Upgraded package: P<mozilla-plugger-1.5.0-20040116>
   16-Jan-2004: Upgraded package: P<imapd-2.2.3-20040116>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to