summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2023-01-15 17:20:45 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2023-01-15 17:20:45 +0000
commit0b5752e887df9ee71e395ea42b531c85c74fac2a (patch)
treee0e70e447a5df394337d131e4c0c7f4ab5d8bb00
parentf2ae345a85599dd2d07bb2323bd69135e848fddf (diff)
downloadpackages-0b5752e887df9ee71e395ea42b531c85c74fac2a.tar.gz
packages-0b5752e887df9ee71e395ea42b531c85c74fac2a.tar.bz2
packages-0b5752e887df9ee71e395ea42b531c85c74fac2a.tar.xz
packages-0b5752e887df9ee71e395ea42b531c85c74fac2a.zip
user/smtpd-starttls-proxy: new package
-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"