--- a/bincimap.patch Wed Feb 15 15:24:12 2012 +0100
+++ b/bincimap.patch Wed Feb 15 15:24:45 2012 +0100
@@ -1,27 +1,17 @@
-From 577622cdbeed98322b7a5468e0ffa4f464fef003 Mon Sep 17 00:00:00 2001
From: Tomas Zeman <tzeman@volny.cz>
Date: Thu, 29 Nov 2007 10:23:19 +0100
-Subject: [PATCH] bincimap-1.2.13-1-i686.fpm:
- * added
+
+bincimap-1.2.13
----
- source/custom/bincimap/FrugalBuild | 30 ++++++++++++++++++++++++++++++
- source/custom/bincimap/bincimap.install | 23 +++++++++++++++++++++++
- 2 files changed, 53 insertions(+), 0 deletions(-)
- create mode 100644 source/custom/bincimap/FrugalBuild
- create mode 100644 source/custom/bincimap/bincimap.install
-
-diff --git a/source/custom/bincimap/FrugalBuild b/source/custom/bincimap/FrugalBuild
-new file mode 100644
-index 0000000..74900bf
---- /dev/null
-+++ b/source/custom/bincimap/FrugalBuild
-@@ -0,0 +1,30 @@
+diff -r e0809196ee2e source/custom/bincimap/FrugalBuild
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ b/source/custom/bincimap/FrugalBuild Wed Feb 15 15:24:33 2012 +0100
+@@ -0,0 +1,32 @@
+# Maintainer: Tomas Zeman <tzeman@volny.cz>
+
+pkgname=bincimap
+pkgver=1.2.13
-+pkgrel=1
++pkgrel=2
+pkgdesc="A well designed, modular IMAP server for Maildir."
+url="http://www.bincimap.org"
+archs=(i686)
@@ -29,12 +19,14 @@
+depends=('openssl')
+install="$pkgname.install"
+backup=(etc/bincimap/bincimap.conf)
-+source=($url/dl/tarballs/1.2/$pkgname-${pkgver}final.tar.bz2)
-+sha1sums=('cdbc1bf95decbe76e0a218025c351b8174b4b485')
++source=($url/dl/tarballs/1.2/$pkgname-${pkgver}final.tar.bz2 bincimap-1.2.13-gcc43.patch)
++sha1sums=('cdbc1bf95decbe76e0a218025c351b8174b4b485' \
++ 'ec98f1d1b30688e237bc1682a960fc02a0f4888b')
+provides=('imap-server')
+
+build() {
+ Fcd $pkgname-${pkgver}final
++ Fpatchall
+ ./configure --prefix=/usr --sysconfdir=/etc/bincimap \
+ --localstatedir=/var --with-ssl
+ make || Fdie
@@ -47,11 +39,77 @@
+ Frm /etc/bincimap/xinetd
+}
+# vim: ft=sh
-diff --git a/source/custom/bincimap/bincimap.install b/source/custom/bincimap/bincimap.install
-new file mode 100644
-index 0000000..ca80118
---- /dev/null
-+++ b/source/custom/bincimap/bincimap.install
+diff -r e0809196ee2e source/custom/bincimap/bincimap-1.2.13-gcc43.patch
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ b/source/custom/bincimap/bincimap-1.2.13-gcc43.patch Wed Feb 15 15:24:33 2012 +0100
+@@ -0,0 +1,64 @@
++diff -NrU5 bincimap-1.2.13final.orig/src/convert.cc bincimap-1.2.13final/src/convert.cc
++--- bincimap-1.2.13final.orig/src/convert.cc 2005-01-08 11:20:48.000000000 +0100
+++++ bincimap-1.2.13final/src/convert.cc 2008-05-07 12:32:33.000000000 +0200
++@@ -37,10 +37,12 @@
++
++ #include "convert.h"
++ #include "io.h"
++ #include <string>
++
+++#include <cstring>
+++
++ using namespace ::std;
++ using namespace Binc;
++
++ //------------------------------------------------------------------------
++ BincStream::BincStream(void)
++diff -NrU5 bincimap-1.2.13final.orig/src/convert.h bincimap-1.2.13final/src/convert.h
++--- bincimap-1.2.13final.orig/src/convert.h 2005-02-08 21:30:22.000000000 +0100
+++++ bincimap-1.2.13final/src/convert.h 2008-05-07 12:32:33.000000000 +0200
++@@ -35,10 +35,11 @@
++ #include <config.h>
++ #endif
++
++ #ifndef convert_h_included
++ #define convert_h_included
+++#include <cstdlib>
++ #include <string>
++ #include <vector>
++ #include <iomanip>
++ #include <iostream>
++
++@@ -46,10 +47,12 @@
++ #include <sys/stat.h>
++
++ #include "address.h"
++ #include "depot.h"
++
+++#include <cstring>
+++
++ namespace Binc {
++
++ //----------------------------------------------------------------------
++ inline std::string toString(int i_in)
++ {
++diff -NrU5 bincimap-1.2.13final.orig/src/tools.cc bincimap-1.2.13final/src/tools.cc
++--- bincimap-1.2.13final.orig/src/tools.cc 2005-01-08 11:20:48.000000000 +0100
+++++ bincimap-1.2.13final/src/tools.cc 2008-05-07 12:32:33.000000000 +0200
++@@ -33,13 +33,16 @@
++ */
++ #ifdef HAVE_CONFIG_H
++ #include <config.h>
++ #endif
++ #include <errno.h>
+++#include <cstdlib>
++
++ #include "tools.h"
++
+++#include <cstring>
+++
++ using namespace ::std;
++ using namespace Binc;
++
++ //------------------------------------------------------------------------
++ Tools::Tools(void)
+diff -r e0809196ee2e source/custom/bincimap/bincimap.install
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ b/source/custom/bincimap/bincimap.install Wed Feb 15 15:24:33 2012 +0100
@@ -0,0 +1,23 @@
+post_install() {
+ cat << EOF
@@ -76,6 +134,3 @@
+shift
+
+$op $*
---
-1.5.3.4
-
--- a/series Wed Feb 15 15:24:12 2012 +0100
+++ b/series Wed Feb 15 15:24:45 2012 +0100
@@ -30,7 +30,6 @@
conn-tools.patch
ipsvd.patch
bincimap.patch
-upgrade-0.9-bincimap.patch
ospam.patch
upgrade-0.9-ospam.patch
diet-pure-ftpd.patch
--- a/upgrade-0.9-bincimap.patch Wed Feb 15 15:24:12 2012 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-bincimap: upgrade for Frugalware 0.9
-
-diff --git a/source/custom/bincimap/FrugalBuild b/source/custom/bincimap/FrugalBuild
-index 74900bf..99eaac6 100644
---- a/source/custom/bincimap/FrugalBuild
-+++ b/source/custom/bincimap/FrugalBuild
-@@ -2,7 +2,7 @@
-
- pkgname=bincimap
- pkgver=1.2.13
--pkgrel=1
-+pkgrel=2
- pkgdesc="A well designed, modular IMAP server for Maildir."
- url="http://www.bincimap.org"
- archs=(i686)
-@@ -10,12 +10,14 @@ up2date="lynx $url -dump -nolist|grep 'latest stable'|head -1|sed -e 's/.*is \([
- depends=('openssl')
- install="$pkgname.install"
- backup=(etc/bincimap/bincimap.conf)
--source=($url/dl/tarballs/1.2/$pkgname-${pkgver}final.tar.bz2)
--sha1sums=('cdbc1bf95decbe76e0a218025c351b8174b4b485')
-+source=($url/dl/tarballs/1.2/$pkgname-${pkgver}final.tar.bz2 bincimap-1.2.13-gcc43.patch)
-+sha1sums=('cdbc1bf95decbe76e0a218025c351b8174b4b485' \
-+ 'ec98f1d1b30688e237bc1682a960fc02a0f4888b')
- provides=('imap-server')
-
- build() {
- Fcd $pkgname-${pkgver}final
-+ Fpatchall
- ./configure --prefix=/usr --sysconfdir=/etc/bincimap \
- --localstatedir=/var --with-ssl
- make || Fdie
-diff --git a/source/custom/bincimap/bincimap-1.2.13-gcc43.patch b/source/custom/bincimap/bincimap-1.2.13-gcc43.patch
-new file mode 100644
-index 0000000..76cb3a9
---- /dev/null
-+++ b/source/custom/bincimap/bincimap-1.2.13-gcc43.patch
-@@ -0,0 +1,64 @@
-+diff -NrU5 bincimap-1.2.13final.orig/src/convert.cc bincimap-1.2.13final/src/convert.cc
-+--- bincimap-1.2.13final.orig/src/convert.cc 2005-01-08 11:20:48.000000000 +0100
-++++ bincimap-1.2.13final/src/convert.cc 2008-05-07 12:32:33.000000000 +0200
-+@@ -37,10 +37,12 @@
-+
-+ #include "convert.h"
-+ #include "io.h"
-+ #include <string>
-+
-++#include <cstring>
-++
-+ using namespace ::std;
-+ using namespace Binc;
-+
-+ //------------------------------------------------------------------------
-+ BincStream::BincStream(void)
-+diff -NrU5 bincimap-1.2.13final.orig/src/convert.h bincimap-1.2.13final/src/convert.h
-+--- bincimap-1.2.13final.orig/src/convert.h 2005-02-08 21:30:22.000000000 +0100
-++++ bincimap-1.2.13final/src/convert.h 2008-05-07 12:32:33.000000000 +0200
-+@@ -35,10 +35,11 @@
-+ #include <config.h>
-+ #endif
-+
-+ #ifndef convert_h_included
-+ #define convert_h_included
-++#include <cstdlib>
-+ #include <string>
-+ #include <vector>
-+ #include <iomanip>
-+ #include <iostream>
-+
-+@@ -46,10 +47,12 @@
-+ #include <sys/stat.h>
-+
-+ #include "address.h"
-+ #include "depot.h"
-+
-++#include <cstring>
-++
-+ namespace Binc {
-+
-+ //----------------------------------------------------------------------
-+ inline std::string toString(int i_in)
-+ {
-+diff -NrU5 bincimap-1.2.13final.orig/src/tools.cc bincimap-1.2.13final/src/tools.cc
-+--- bincimap-1.2.13final.orig/src/tools.cc 2005-01-08 11:20:48.000000000 +0100
-++++ bincimap-1.2.13final/src/tools.cc 2008-05-07 12:32:33.000000000 +0200
-+@@ -33,13 +33,16 @@
-+ */
-+ #ifdef HAVE_CONFIG_H
-+ #include <config.h>
-+ #endif
-+ #include <errno.h>
-++#include <cstdlib>
-+
-+ #include "tools.h"
-+
-++#include <cstring>
-++
-+ using namespace ::std;
-+ using namespace Binc;
-+
-+ //------------------------------------------------------------------------
-+ Tools::Tools(void)