From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/nbsmtp/PKGBUILD | 22 ++++++++++++++++++++++ extra/nbsmtp/build.patch | 15 +++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 extra/nbsmtp/PKGBUILD create mode 100644 extra/nbsmtp/build.patch (limited to 'extra/nbsmtp') diff --git a/extra/nbsmtp/PKGBUILD b/extra/nbsmtp/PKGBUILD new file mode 100644 index 000000000..406caf487 --- /dev/null +++ b/extra/nbsmtp/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 75557 2010-04-01 20:23:24Z giovanni $ +# Maintainer: dorphell +# Contributor: Sarah Hay + +pkgname=nbsmtp +pkgver=1.00 +pkgrel=3 +pkgdesc="No-Brainer SMTP client suitable to run in chroot jails, embeded systems, laptops, and workstations" +arch=(i686 x86_64) +url="http://nbsmtp.ferdyx.org/" +license=('GPL') +depends=('openssl') +source=(http://www.it.uc3m.es/~ferdy/nbsmtp/$pkgname-$pkgver.tar.bz2 build.patch) +md5sums=('0c6a200027a6f7f61f44b374261aa52f' '043236152fecb550d80ab3cd84711cd3') + +build() { + cd $srcdir/$pkgname-$pkgver + patch -Np0 -i ../build.patch || return 1 + ./configure --prefix=/usr --enable-ssl || return 1 + make || return 1 + make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man install || return 1 +} diff --git a/extra/nbsmtp/build.patch b/extra/nbsmtp/build.patch new file mode 100644 index 000000000..325b16308 --- /dev/null +++ b/extra/nbsmtp/build.patch @@ -0,0 +1,15 @@ +--- hmac_md5.c~ 2005-07-28 19:29:07.000000000 +0200 ++++ hmac_md5.c 2006-06-04 15:49:09.000000000 +0200 +@@ -4,10 +4,11 @@ + * + * Code taken from RFC2104. + */ +- ++#include + #include + #include + ++ + #include "hmac_md5.h" + + /** -- cgit v1.2.3-54-g00ecf