summaryrefslogtreecommitdiff
path: root/packages/cyrus-imapd
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/cyrus-imapd
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/cyrus-imapd')
-rw-r--r--packages/cyrus-imapd/.mtn2git_empty0
-rw-r--r--packages/cyrus-imapd/cyrus-imapd-2.2.12/.mtn2git_empty0
-rw-r--r--packages/cyrus-imapd/cyrus-imapd-2.2.12/autotools.patch69
-rw-r--r--packages/cyrus-imapd/cyrus-imapd-2.2.12/tail.patch8
-rw-r--r--packages/cyrus-imapd/cyrus-imapd-2.2.5/.mtn2git_empty0
-rw-r--r--packages/cyrus-imapd/cyrus-imapd-2.2.5/autotools.patch69
-rw-r--r--packages/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch8
-rw-r--r--packages/cyrus-imapd/cyrus-imapd_2.2.12.bb28
-rw-r--r--packages/cyrus-imapd/cyrus-imapd_2.2.5.bb25
9 files changed, 207 insertions, 0 deletions
diff --git a/packages/cyrus-imapd/.mtn2git_empty b/packages/cyrus-imapd/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/cyrus-imapd/.mtn2git_empty
diff --git a/packages/cyrus-imapd/cyrus-imapd-2.2.12/.mtn2git_empty b/packages/cyrus-imapd/cyrus-imapd-2.2.12/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/cyrus-imapd/cyrus-imapd-2.2.12/.mtn2git_empty
diff --git a/packages/cyrus-imapd/cyrus-imapd-2.2.12/autotools.patch b/packages/cyrus-imapd/cyrus-imapd-2.2.12/autotools.patch
index e69de29bb2..a7f5e64396 100644
--- a/packages/cyrus-imapd/cyrus-imapd-2.2.12/autotools.patch
+++ b/packages/cyrus-imapd/cyrus-imapd-2.2.12/autotools.patch
@@ -0,0 +1,69 @@
+--- tmp/base/cyrus-imapd-2.2.5-r0/cyrus-imapd-2.2.5/configure.in 2004-05-28 14:03:00.000000000 -0400
++++ cyrus-imapd-2.2.5/configure.in 2004-06-04 21:42:20.745944000 -0400
+@@ -997,6 +997,16 @@
+ IMAP_COM_ERR_LIBS="${COM_ERR_LIBS}"
+ IMAP_LIBS="${LIB_SASL} ${LIBS}"
+
++if test "x$BUILD_CC" = "x"; then
++ BUILD_CC="$(CC)"
++fi
++if test "x$BUILD_CFLAGS" = "x"; then
++ BUILD_CFLAGS="$(CFLAGS)"
++fi
++if test "x$BUILD_LDFLAGS" = "x"; then
++ BUILD_LDFLAGS="$(LDFLAGS)"
++fi
++
+ AC_SUBST(LIB_RT)
+ AC_SUBST(IMAP_COM_ERR_LIBS)
+ AC_SUBST(IMAP_LIBS)
+@@ -1010,6 +1020,9 @@
+ AC_SUBST(PERL_SUBDIRS)
+ AC_SUBST(PERL_DEPSUBDIRS)
+ AC_SUBST(PERL)
++AC_SUBST(BUILD_CC)
++AC_SUBST(BUILD_LDFLAGS)
++AC_SUBST(BUILD_CFLAGS)
+
+ AH_TOP([
+ /* $Id: configure.in,v 1.286 2004/05/28 18:03:00 rjs3 Exp $ */
+--- tmp/base/cyrus-imapd-2.2.5-r0/cyrus-imapd-2.2.5/lib/Makefile.in 2004-05-28 14:03:04.000000000 -0400
++++ cyrus-imapd-2.2.5/lib/Makefile.in 2004-06-04 21:40:57.325068000 -0400
+@@ -53,6 +53,7 @@
+ VPATH = @srcdir@
+
+ CC = @CC@
++BUILD_CC = @BUILD_CC@
+
+ INSTALL = @INSTALL@
+ RANLIB = @RANLIB@
+@@ -63,7 +64,9 @@
+
+ MAKEDEPEND_CFLAGS = @CFLAGS@
+ CFLAGS = @CFLAGS@ @PERL_CCCDLFLAGS@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ LDFLAGS = @LDFLAGS@
++BUILD_LDFLAGS = @BUILD_LDFLAGS@
+
+ SHELL = /bin/sh
+ MAKEDEPEND = @MAKEDEPEND@
+@@ -149,8 +152,17 @@
+ # ./mkchartable -m $(srcdir)/charset/unicode.map $(srcdir)/charset/*.t >x-chartables.h
+ # mv x-chartables.h chartables.h
+
+-mkchartable: mkchartable.o xmalloc.o assert.o
+- $(CC) $(LDFLAGS) -o mkchartable mkchartable.o xmalloc.o assert.o
++mkchartable: mkchartable.native.o xmalloc.native.o assert.native.o
++ $(BUILD_CC) $(BUILD_LDFLAGS) -o mkchartable mkchartable.native.o xmalloc.native.o assert.native.o
++
++xmalloc.native.o: xmalloc.c
++ $(BUILD_CC) $(BUILD_CFLAGS) -c -o xmalloc.native.o xmalloc.c
++
++assert.native.o: assert.c
++ $(BUILD_CC) $(BUILD_CFLAGS) -c -o assert.native.o assert.c
++
++mkchartable.native.o: mkchartable.c
++ $(BUILD_CC) $(BUILD_CFLAGS) -c -o mkchartable.native.o mkchartable.c
+
+ clean:
+ rm -f *.o *.a chartable.c Makefile.bak mkchartable makedepend.log \
diff --git a/packages/cyrus-imapd/cyrus-imapd-2.2.12/tail.patch b/packages/cyrus-imapd/cyrus-imapd-2.2.12/tail.patch
index e69de29bb2..38a3ecbac6 100644
--- a/packages/cyrus-imapd/cyrus-imapd-2.2.12/tail.patch
+++ b/packages/cyrus-imapd/cyrus-imapd-2.2.12/tail.patch
@@ -0,0 +1,8 @@
+--- cyrus-imapd-2.2.5/imap/xversion.sh.orig 2003-10-22 20:03:00 +0200
++++ cyrus-imapd-2.2.5/imap/xversion.sh 2004-08-26 16:57:29 +0200
+@@ -22,4 +22,4 @@
+ match ($0, pattern) {
+ printf "\"%s\"\n", substr($0, RSTART, RLENGTH)
+ }' pattern="$DATEPAT $TIMEPAT" | \
+- sort | tail -1 >> xversion.h
++ sort | tail -n 1 >> xversion.h
diff --git a/packages/cyrus-imapd/cyrus-imapd-2.2.5/.mtn2git_empty b/packages/cyrus-imapd/cyrus-imapd-2.2.5/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/cyrus-imapd/cyrus-imapd-2.2.5/.mtn2git_empty
diff --git a/packages/cyrus-imapd/cyrus-imapd-2.2.5/autotools.patch b/packages/cyrus-imapd/cyrus-imapd-2.2.5/autotools.patch
index e69de29bb2..a7f5e64396 100644
--- a/packages/cyrus-imapd/cyrus-imapd-2.2.5/autotools.patch
+++ b/packages/cyrus-imapd/cyrus-imapd-2.2.5/autotools.patch
@@ -0,0 +1,69 @@
+--- tmp/base/cyrus-imapd-2.2.5-r0/cyrus-imapd-2.2.5/configure.in 2004-05-28 14:03:00.000000000 -0400
++++ cyrus-imapd-2.2.5/configure.in 2004-06-04 21:42:20.745944000 -0400
+@@ -997,6 +997,16 @@
+ IMAP_COM_ERR_LIBS="${COM_ERR_LIBS}"
+ IMAP_LIBS="${LIB_SASL} ${LIBS}"
+
++if test "x$BUILD_CC" = "x"; then
++ BUILD_CC="$(CC)"
++fi
++if test "x$BUILD_CFLAGS" = "x"; then
++ BUILD_CFLAGS="$(CFLAGS)"
++fi
++if test "x$BUILD_LDFLAGS" = "x"; then
++ BUILD_LDFLAGS="$(LDFLAGS)"
++fi
++
+ AC_SUBST(LIB_RT)
+ AC_SUBST(IMAP_COM_ERR_LIBS)
+ AC_SUBST(IMAP_LIBS)
+@@ -1010,6 +1020,9 @@
+ AC_SUBST(PERL_SUBDIRS)
+ AC_SUBST(PERL_DEPSUBDIRS)
+ AC_SUBST(PERL)
++AC_SUBST(BUILD_CC)
++AC_SUBST(BUILD_LDFLAGS)
++AC_SUBST(BUILD_CFLAGS)
+
+ AH_TOP([
+ /* $Id: configure.in,v 1.286 2004/05/28 18:03:00 rjs3 Exp $ */
+--- tmp/base/cyrus-imapd-2.2.5-r0/cyrus-imapd-2.2.5/lib/Makefile.in 2004-05-28 14:03:04.000000000 -0400
++++ cyrus-imapd-2.2.5/lib/Makefile.in 2004-06-04 21:40:57.325068000 -0400
+@@ -53,6 +53,7 @@
+ VPATH = @srcdir@
+
+ CC = @CC@
++BUILD_CC = @BUILD_CC@
+
+ INSTALL = @INSTALL@
+ RANLIB = @RANLIB@
+@@ -63,7 +64,9 @@
+
+ MAKEDEPEND_CFLAGS = @CFLAGS@
+ CFLAGS = @CFLAGS@ @PERL_CCCDLFLAGS@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ LDFLAGS = @LDFLAGS@
++BUILD_LDFLAGS = @BUILD_LDFLAGS@
+
+ SHELL = /bin/sh
+ MAKEDEPEND = @MAKEDEPEND@
+@@ -149,8 +152,17 @@
+ # ./mkchartable -m $(srcdir)/charset/unicode.map $(srcdir)/charset/*.t >x-chartables.h
+ # mv x-chartables.h chartables.h
+
+-mkchartable: mkchartable.o xmalloc.o assert.o
+- $(CC) $(LDFLAGS) -o mkchartable mkchartable.o xmalloc.o assert.o
++mkchartable: mkchartable.native.o xmalloc.native.o assert.native.o
++ $(BUILD_CC) $(BUILD_LDFLAGS) -o mkchartable mkchartable.native.o xmalloc.native.o assert.native.o
++
++xmalloc.native.o: xmalloc.c
++ $(BUILD_CC) $(BUILD_CFLAGS) -c -o xmalloc.native.o xmalloc.c
++
++assert.native.o: assert.c
++ $(BUILD_CC) $(BUILD_CFLAGS) -c -o assert.native.o assert.c
++
++mkchartable.native.o: mkchartable.c
++ $(BUILD_CC) $(BUILD_CFLAGS) -c -o mkchartable.native.o mkchartable.c
+
+ clean:
+ rm -f *.o *.a chartable.c Makefile.bak mkchartable makedepend.log \
diff --git a/packages/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch b/packages/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch
index e69de29bb2..38a3ecbac6 100644
--- a/packages/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch
+++ b/packages/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch
@@ -0,0 +1,8 @@
+--- cyrus-imapd-2.2.5/imap/xversion.sh.orig 2003-10-22 20:03:00 +0200
++++ cyrus-imapd-2.2.5/imap/xversion.sh 2004-08-26 16:57:29 +0200
+@@ -22,4 +22,4 @@
+ match ($0, pattern) {
+ printf "\"%s\"\n", substr($0, RSTART, RLENGTH)
+ }' pattern="$DATEPAT $TIMEPAT" | \
+- sort | tail -1 >> xversion.h
++ sort | tail -n 1 >> xversion.h
diff --git a/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb b/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
index e69de29bb2..2d385ec154 100644
--- a/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
+++ b/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
@@ -0,0 +1,28 @@
+SECTION = "console/network"
+DEPENDS = "cyrus-sasl"
+PR = "r0"
+LICENSE = "BSD"
+
+SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz \
+ file://autotools.patch;patch=1 \
+ file://tail.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-auth=unix \
+ --without-perl"
+
+FILES_${PN} += "${prefix}/cyrus/bin"
+
+BUILD_CFLAGS += " -I${S} -I${S}/et"
+#do_compile_prepend () {
+# cd lib
+# ccache arm-linux-gcc -L/home/kergoth/code/build-arm/tmp/staging/arm-linux/lib -Wl,-rpath-link,/home/kergoth/code/build-arm/tmp/staging/arm-linux/lib -o mkchartable mkchartable.o xmalloc.o assert.o
+# ${BUILD_CC} ${BUILD_CFLAGS} mkchartable.c -c -o mkchartable.o
+# ${BUILD_CC} ${BUILD_CFLAGS} xmalloc.c -c -o xmalloc.o
+# ${BUILD_CC} ${BUILD_CFLAGS} assert.c -c -o assert.o
+# ${BUILD_CC} ${BUILD_LDFLAGS} -o mkchartable mkchartable.o xmalloc.o assert.o
+# rm -f xmalloc.o assert.o mkchartable.o
+# cd ..
+#}
+
diff --git a/packages/cyrus-imapd/cyrus-imapd_2.2.5.bb b/packages/cyrus-imapd/cyrus-imapd_2.2.5.bb
index e69de29bb2..e49a19f20a 100644
--- a/packages/cyrus-imapd/cyrus-imapd_2.2.5.bb
+++ b/packages/cyrus-imapd/cyrus-imapd_2.2.5.bb
@@ -0,0 +1,25 @@
+SECTION = "console/network"
+DEPENDS = "cyrus-sasl"
+PR = "r1"
+LICENSE = "BSD"
+
+SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz \
+ file://autotools.patch;patch=1 \
+ file://tail.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-auth=unix \
+ --without-perl"
+
+BUILD_CFLAGS += " -I${S} -I${S}/et"
+#do_compile_prepend () {
+# cd lib
+# ccache arm-linux-gcc -L/home/kergoth/code/build-arm/tmp/staging/arm-linux/lib -Wl,-rpath-link,/home/kergoth/code/build-arm/tmp/staging/arm-linux/lib -o mkchartable mkchartable.o xmalloc.o assert.o
+# ${BUILD_CC} ${BUILD_CFLAGS} mkchartable.c -c -o mkchartable.o
+# ${BUILD_CC} ${BUILD_CFLAGS} xmalloc.c -c -o xmalloc.o
+# ${BUILD_CC} ${BUILD_CFLAGS} assert.c -c -o assert.o
+# ${BUILD_CC} ${BUILD_LDFLAGS} -o mkchartable mkchartable.o xmalloc.o assert.o
+# rm -f xmalloc.o assert.o mkchartable.o
+# cd ..
+#}