So I wanted to use the mail-notification package, but due to licensing conflicts the package in the repository has ssl/tls support disabled. There are several ways around this (such as forwarding the mail to your local machine), but I wanted to get it running with ssl/tls support so I decided to rebuild from the source.

sudo apt-get source mail-notification

then change to the directory

cd mail-notification-3.0.dfsg.1/

then attempt to satisfy dependencies

sudo apt-get build-dep mail-notification

we also need the ssl development package

sudo aptitude install libssl-dev

then edit the compile options in the `debian/rules' file to read

# DEB_CONFIGURE_EXTRA_FLAGS += --disable-ssl --with-gconf-schema-file-dir=/usr/share/gconf/schemas
DEB_CONFIGURE_EXTRA_FLAGS += --with-gconf-schema-file-dir=/usr/share/gconf/schemas

(we've simply removed the --disable-ssl option).


fakeroot debian/rules binary

and mail-notification should be installed with ssl/tls support.

DebianNotes/DebianPackaging (last edited 2011-03-24 07:09:41 by noway)