http://davmail.sourceforge.net/
Ever wanted to get rid of Outlook ? DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway allowing users to use any mail/calendar client (e.g. Thunderbird with Lightning or Apple iCal) with an Exchange server, even from the internet or behind a firewall through Outlook Web Access. DavMail now includes an LDAP gateway to Exchange global address book and user personal contacts to allow recipient address completion in mail compose window and full calendar support with attendees free/busy display.
DavMail also supports the CardDav protocol to sync address books. This new feature is sponsored by French Defense / DGA through project Trustedbird
Source: http://sourceforge.net/projects/davmail/files/
For build instructions and support, check this out:
http://davmail.sourceforge.net/build.html
http://www.linuxquestions.org/questions ... on-760789/
You will need jdk and ant to be able to build.
svn.sh
Code: Select all
#!/bin/bash
pkgname=davmail
# retrieve revision given on command line - else latest revision
svn_rev=${1:-""}
# svn url
svn_dir=${pkgname}
svn_url=http://davmail.svn.sourceforge.net/svnroot/davmail/trunk
# let's rock!
svn_cmd=" co"
# set pkgver to the downloaded revision
cur_rev=$(svn $svn_cmd $svn_url $svn_dir 2>svn_err.log | tail -1 |tr -c -d "[:digit:]")
pkgver="r${cur_rev}"
# create the source archive
tar czf $pkgname-$pkgver.src.tar.gz $svn_dir
# change the SLKBUILD
sed -i 's#^pkgver=.*#pkgver='$pkgver'#' SLKBUILD
Code: Select all
#Packager: xx <email@address.com>
pkgname=davmail
pkgver=r1470
pkgrel=1xx
arch=noarch
source=($pkgname-$pkgver.src.tar.gz)
docs=(releasenotes.txt releaseguide.txt)
url=http://davmail.sourceforge.net/
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"DavMail (Outlook exchange gateway)"
"Ever wanted to get rid of Outlook ? DavMail is a "
"POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway allowing users to "
"use any mail/calendar client (e.g. Thunderbird with Lightning or "
"Apple iCal) with an Exchange server, even from the internet or behind "
"a firewall through Outlook Web Access. DavMail now includes an LDAP "
"gateway to Exchange global address book and user personal contacts "
"calendar support with attendees free/busy display."
""
"Homepage: http://davmail.sourceforge.net/"
)
build() {
cd $startdir/src/$pkgname
echo JAVA_HOME=$JAVA_HOME
ant -nice 7 || return 1
mkdir -p $startdir/pkg/usr/share
cp -r dist $startdir/pkg/usr/share/$pkgname
(
# remove all useless crap from the package (todo: exclude w/ ant)
cd $startdir/pkg/usr/share/$pkgname
rm *.deb *.zip *.tgz *.exe
# nicer usability
mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps
ln -s davmail.png
$startdir/pkg/usr/share/icons/hicolor/48x48/apps
mkdir -p $startdir/pkg/usr/share/applications
sed "s,\(Icon=\).*\(davmail\.png\),\1\2," davmail.desktop\
>$startdir/pkg/usr/share/applications/davmail.desktop
mkdir -p $startdir/pkg/usr/bin
ln -s $startdir/pkg/usr/share/davmail/davmail.sh\
$startdir/pkg/usr/bin
chmod 750 $startdir/pkg/usr/share/davmail/davmail.sh
)
}
{ You probably can delete the similiar thread in Package requests section ... }