summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/smtpd-starttls-proxy/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/smtpd-starttls-proxy/APKBUILD b/user/smtpd-starttls-proxy/APKBUILD
new file mode 100644
index 000000000..1e81bd215
--- /dev/null
+++ b/user/smtpd-starttls-proxy/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
+# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
+pkgname=smtpd-starttls-proxy
+pkgver=0.0.1.2
+pkgrel=0
+pkgdesc="An SMTP proxy implementing STARTTLS"
+url="https://skarnet.org/software/smtpd-starttls-proxy/"
+arch="all"
+options="!check" # No test suite.
+license="ISC"
+depends="s6 s6-networking"
+makedepends="skalibs-dev>=2.13 s6-dev>=2.11"
+subpackages="$pkgname-dev"
+source="https://skarnet.org/software/smtpd-starttls-proxy/smtpd-starttls-proxy-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="fb9dc2b80d40fe15d8c615e3e4d367b81b19e2ce16be69a14d1c59dcc483c7cde270143b1beb28b9e4657665b743ee62c27074e79a5a5759c16507879b9f9dd8 smtpd-starttls-proxy-0.0.1.2.tar.gz"