From d08e2b532af226292e1711373c1aec7d00f753ad Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 20 Jun 2018 18:27:01 -0500 Subject: system/ssmtp: [PD] take, fix license --- system/ssmtp/APKBUILD | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'system') diff --git a/system/ssmtp/APKBUILD b/system/ssmtp/APKBUILD index b7ae28bc7..53f7211b1 100644 --- a/system/ssmtp/APKBUILD +++ b/system/ssmtp/APKBUILD @@ -1,27 +1,24 @@ # Contributor: Leonardo Arena -# Maintainer: Natanael Copa - +# Maintainer: A. Wilcox pkgname=ssmtp pkgver=2.64 pkgrel=11 -pkgdesc="Extremely simple MTA to get mail off the system to a mail hub" -subpackages="$pkgname-doc" -arch="all" +pkgdesc="Simple MTA to transmit mail to a mail hub" url="https://packages.debian.org/stable/mail/ssmtp" -license="GPL2" +arch="all" +options="!check" +license="GPL-2.0+" depends= makedepends="openssl-dev autoconf" -options="!check" -provides="/usr/sbin/sendmail" +subpackages="$pkgname-doc" source="http://ftp.debian.org/debian/pool/main/s/$pkgname/${pkgname}_${pkgver}.orig.tar.bz2 generate_config.patch libcrypto-underlinking.patch inet6-getaddrinfo.patch " -_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" sed -i -e 's:$(CC) -o:$(CC) @LDFLAGS@ -o:' Makefile.in autoconf @@ -32,13 +29,12 @@ build() { --mandir=/usr/share/man \ --sysconfdir=/etc \ --enable-ssl \ - --enable-inet6 \ - || return 1 + --enable-inet6 make } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$builddir" make prefix="$pkgdir"/usr \ etcdir="$pkgdir"/etc \ mandir="$pkgdir"/usr/share/man \ -- cgit v1.2.3-70-g09d2