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: 29-Jan-2004 16:09:57
Branch: HEAD Handle: 2004012915095502
Modified files:
openpkg-re/vcheck vc.imapd
openpkg-src/imapd imapd.conf imapd.patch imapd.patch.group
imapd.spec
openpkg-web news.txt
Removed files:
openpkg-src/imapd imapd.patch.vhost
Log:
upgrading package: imapd 2.1.16 -> 2.2.3
Summary:
Revision Changes Path
1.19 +1 -2 openpkg-re/vcheck/vc.imapd
1.10 +4 -0 openpkg-src/imapd/imapd.conf
1.7 +2 -2 openpkg-src/imapd/imapd.patch
1.4 +11 -10 openpkg-src/imapd/imapd.patch.group
1.2 +0 -35 openpkg-src/imapd/imapd.patch.vhost
1.105 +8 -12 openpkg-src/imapd/imapd.spec
1.8366 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.imapd
============================================================================
$ cvs diff -u -r1.18 -r1.19 vc.imapd
--- openpkg-re/vcheck/vc.imapd 17 Jan 2004 19:44:18 -0000 1.18
+++ openpkg-re/vcheck/vc.imapd 29 Jan 2004 15:09:55 -0000 1.19
@@ -2,8 +2,7 @@
}
prog imapd = {
- comment = "ms: 2.2.3: breaks under run-time"
- version = 2.1.16
+ version = 2.2.3
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.9 -r1.10 imapd.conf
--- openpkg-src/imapd/imapd.conf 16 Jan 2004 23:28:02 -0000 1.9
+++ openpkg-src/imapd/imapd.conf 29 Jan 2004 15:09:57 -0000 1.10
@@ -21,4 +21,8 @@
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.6 -r1.7 imapd.patch
--- openpkg-src/imapd/imapd.patch 16 Jan 2004 23:28:02 -0000 1.6
+++ openpkg-src/imapd/imapd.patch 29 Jan 2004 15:09:57 -0000 1.7
@@ -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
-@@ -69,6 +69,11 @@
+@@ -71,6 +71,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
-@@ -48,7 +48,7 @@
+@@ -50,7 +50,7 @@
#include <string.h>
#include "mit-sipb-copyright.h"
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/imapd/imapd.patch.group
============================================================================
$ cvs diff -u -r1.3 -r1.4 imapd.patch.group
--- openpkg-src/imapd/imapd.patch.group 16 Jan 2004 23:28:02 -0000 1.3
+++ openpkg-src/imapd/imapd.patch.group 29 Jan 2004 15:09:57 -0000 1.4
@@ -1,6 +1,6 @@
---- 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 @@
+--- 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 @@
#include <stdlib.h>
#include <pwd.h>
#include <grp.h>
@@ -8,7 +8,8 @@
#include <ctype.h>
#include <string.h>
- #include "auth.h"
+@@ -55,6 +56,126 @@
+ #include "libcyr_cfg.h"
#include "xmalloc.h"
+#ifdef __FreeBSD__
@@ -134,7 +135,7 @@
const char *auth_method_desc = "unix";
struct auth_state {
-@@ -143,6 +264,25 @@
+@@ -144,6 +265,25 @@
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
@@ -160,7 +161,7 @@
/*
* Convert 'identifier' into canonical form.
* Returns a pointer to a static buffer containing the canonical form
-@@ -185,7 +325,7 @@
+@@ -179,7 +319,7 @@
*/
if (!strncmp(retbuf, "group:", 6)) {
@@ -169,7 +170,7 @@
if (!grp) return 0;
strcpy(retbuf+6, grp->gr_name);
return retbuf;
-@@ -228,6 +368,7 @@
+@@ -224,6 +364,7 @@
struct passwd *pwd;
struct group *grp;
char **mem;
@@ -177,10 +178,10 @@
identifier = auth_canonifyid(identifier, 0);
if (!identifier) return 0;
-@@ -241,20 +382,23 @@
- newstate->ngroups = 0;
- newstate->group = (char **) 0;
+@@ -240,20 +381,23 @@
+ pwd = getpwnam(identifier);
+
- setgrent();
- while ((grp = getgrent())) {
- for (mem = grp->gr_mem; *mem; mem++) {
@@ .
rm -f openpkg-src/imapd/imapd.patch.vhost <<'@@ .'
Index: openpkg-src/imapd/imapd.patch.vhost
============================================================================
[NO CHANGE SUMMARY BECAUSE FILE AS A WHOLE IS JUST REMOVED]
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/imapd/imapd.spec
============================================================================
$ cvs diff -u -r1.104 -r1.105 imapd.spec
--- openpkg-src/imapd/imapd.spec 26 Jan 2004 13:09:43 -0000 1.104
+++ openpkg-src/imapd/imapd.spec 29 Jan 2004 15:09:57 -0000 1.105
@@ -32,12 +32,11 @@
Distribution: OpenPKG [PLUS]
Group: Mail
License: BSD
-Version: 2.1.16
-Release: 20040126
+Version: 2.2.3
+Release: 20040129
# package options
%option with_fsl yes
-%option with_vhost no
%option with_group no
# list of sources
@@ -47,8 +46,7 @@
Source3: imapd.conf
Source4: fsl.imapd
Patch0: imapd.patch
-Patch1: imapd.patch.vhost
-Patch2: imapd.patch.group
+Patch1: imapd.patch.group
# build information
Prefix: %{l_prefix}
@@ -75,11 +73,8 @@
%prep
%setup -q -n cyrus-imapd-%{version}
%patch0 -p0
-%if "%{with_vhost}" == "yes"
- %patch1 -p0
-%endif
%if "%{with_group}" == "yes"
- %patch2 -p0
+ %patch1 -p0
%{l_shtool} subst \
-e 's;/etc/imapd\.group;%{l_prefix}/etc/imapd/imapd.group;' \
lib/auth_unix.c
@@ -140,6 +135,7 @@
./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} \
@@ -176,14 +172,14 @@
%{l_make} PERL="$perl"
) || exit $?
%{l_prefix}/bin/perl-openpkg -d perl/sieve/managesieve configure build install
- %{l_prefix}/bin/perl-openpkg -d perl/sieve/acap configure build install
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
# 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}
+ cyrus_prefix=$RPM_BUILD_ROOT%{l_prefix} \
+ service_path=$RPM_BUILD_ROOT%{l_prefix}/bin
# create additional directories
%{l_shtool} mkdir -f -p -m 755 \
@@ -238,7 +234,7 @@
# determine files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
- %{l_files_std} `cat perl-openpkg-files` \
+ %{l_files_std} \
'%not %dir %{l_prefix}/etc/fsl' \
'%config %{l_prefix}/etc/fsl/fsl.imapd' \
'%config %{l_prefix}/etc/imapd/imapd.conf' \
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.8365 -r1.8366 news.txt
--- openpkg-web/news.txt 29 Jan 2004 13:42:39 -0000 1.8365
+++ openpkg-web/news.txt 29 Jan 2004 15:09:55 -0000 1.8366
@@ -1,3 +1,4 @@
+29-Jan-2004: Upgraded package: P<imapd-2.2.3-20040129>
29-Jan-2004: Upgraded package: P<xmms-1.2.9-20040129>
29-Jan-2004: Upgraded package: P<gettext-0.14-20040129>
29-Jan-2004: Upgraded package: P<uvscan-4.32+4320-20040129>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]