summaryrefslogtreecommitdiff
path: root/extra/nbsmtp
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/nbsmtp
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/nbsmtp')
-rw-r--r--extra/nbsmtp/PKGBUILD22
-rw-r--r--extra/nbsmtp/build.patch15
2 files changed, 37 insertions, 0 deletions
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 <dorphell@archlinux.org>
+# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
+
+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 <stdlib.h>
+ #include <openssl/md5.h>
+ #include <string.h>
+
++
+ #include "hmac_md5.h"
+
+ /**