diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-18 12:04:57 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-06-15 11:41:47 +0000 |
commit | 564cd016c09d5db42321e043cac18278be1732fc (patch) | |
tree | 717385bd5bbcb901ebc76a73ec55b217a2de151e /testing | |
parent | 30c84aac727adcbcd0601a450f483b37840c07a7 (diff) | |
download | aports-564cd016c09d5db42321e043cac18278be1732fc.tar.bz2 aports-564cd016c09d5db42321e043cac18278be1732fc.tar.xz |
testing/swaks: new aport
Swaks is a featureful, flexible, scriptable, transaction-oriented
SMTP test tool.
- SMTP extensions including TLS, authentication, pipelining, and
XCLIENT
- Protocols including SMTP, ESMTP, and LMTP
- Transports including unix-domain sockets, internet-domain sockets
(IPv4 and IPv6), and pipes to spawned processes
- Completely scriptable configuration, with option specification via
environment variables, configuration files, and command line
Website: http://www.jetmore.org/john/code/swaks/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/swaks/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/swaks/APKBUILD b/testing/swaks/APKBUILD new file mode 100644 index 0000000000..1ff54785d0 --- /dev/null +++ b/testing/swaks/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=swaks +pkgver=20130209.0 +pkgrel=0 +pkgdesc="An SMTP transaction tester" +url="http://www.jetmore.org/john/code/swaks" +arch="noarch" +license="GPL2+" +depends="perl-authen-digestmd5 perl-digest-sha1 perl-net-dns + perl-net-ssleay perl-time-hires" +depends_dev="" +makedepends="perl" +install="" +subpackages="$pkgname-doc" +source="http://www.jetmore.org/john/code/$pkgname/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir/$pkgname-$pkgver" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + pod2man swaks > $pkgname.1 +} + +package() { + cd "$_builddir" + install -m755 -D "$_builddir"/$pkgname \ + "$pkgdir"/usr/bin/$pkgname || return 1 + install -m644 -D "$_builddir"/$pkgname.1 \ + "$pkgdir"/usr/share/man/man1/$pkgname.1 || return 1 +} + +md5sums="281af4f487ada31cda1408a19e8da5b4 swaks-20130209.0.tar.gz" +sha256sums="0b0967256dca82776f610f1db862bc47644b236f325fa48cbdb2651babd41f7c swaks-20130209.0.tar.gz" +sha512sums="bf3c639f2c227d8219d5bc98a3d3519886471168c16e38d036283eeb1bb786c80bb80a648637150b3eb1903ef0c0d01bc37fd7b4f55af66a20f7bef18067b118 swaks-20130209.0.tar.gz" |