diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | build.patch | 15 |
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e14085e08931 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by makepkg 4.2.1 +# Sat Sep 12 11:59:39 UTC 2015 +pkgbase = nbsmtp + pkgdesc = No-Brainer SMTP client suitable to run in chroot jails, embeded systems, laptops, and workstations + pkgver = 1.00 + pkgrel = 3 + url = http://nbsmtp.ferdyx.org/ + arch = i686 + arch = x86_64 + license = GPL + depends = openssl + source = http://www.it.uc3m.es/~ferdy/nbsmtp/nbsmtp-1.00.tar.bz2 + source = build.patch + md5sums = 0c6a200027a6f7f61f44b374261aa52f + md5sums = 043236152fecb550d80ab3cd84711cd3 + +pkgname = nbsmtp + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..743782f0f68d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 75557 2010-04-01 20:23:24Z giovanni $ +# Maintainer: dorphell <dorphell@archlinux.org> +# Contributor: Olivier Galibert <galibert@pobox.com> +# 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') + +prepare() { + cd $srcdir/$pkgname-$pkgver + patch -Np0 -i ../build.patch || return 1 +} + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --enable-ssl || return 1 + make || return 1 +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man install || return 1 +} diff --git a/build.patch b/build.patch new file mode 100644 index 000000000000..325b16308f61 --- /dev/null +++ b/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" + + /** |