#!/bin/bash

# memcache-support-upstream.patch is the patch against upstream sources
# debian.patch is the patch against an unpacked debian source package
# place memcache-support-upstream.patch in ius/memcache-support-upstream.patch
# inside the unpacked debian source package and build it

apt-get source exim4=4.69-9
cd exim4-*
mkdir -p ius
cp ../memcache-support-upstream.patch ius/
patch -p1 < ../debian.patch
