From 440bd259212e5df13603574c8483409027c44070 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Sat, 27 Mar 2021 23:53:23 +0100 Subject: [PATCH] opensmtpd recipe --- recipes/opensmtpd/Makefile | 8 ++++++++ recipes/opensmtpd/README | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 recipes/opensmtpd/Makefile create mode 100644 recipes/opensmtpd/README diff --git a/recipes/opensmtpd/Makefile b/recipes/opensmtpd/Makefile new file mode 100644 index 0000000..dfa8a83 --- /dev/null +++ b/recipes/opensmtpd/Makefile @@ -0,0 +1,8 @@ +name = opensmtpd +version = 6.8.0p2 +URL = https://www.opensmtpd.org/archives/$(name)-$(version).tar.gz + +build-dependencies = bison libasr + +SYSCONF ?= ../../ +include $(SYSCONF)/package.mk diff --git a/recipes/opensmtpd/README b/recipes/opensmtpd/README new file mode 100644 index 0000000..2d195de --- /dev/null +++ b/recipes/opensmtpd/README @@ -0,0 +1,8 @@ +TODO: add this to a future install script +(from alpine) + +addgroup -S smtpd 2>/dev/null +addgroup -S smtpq 2>/dev/null +adduser -S -D -H -h /dev/null -s /sbin/nologin -G smtpd -g 'SMTP Daemon' smtpd 2>/dev/null +adduser -S -D -H -h /dev/null -s /sbin/nologin -G smtpq -g 'SMTPD Queue' smtpq 2>/dev/null +mkdir -p /var/mail