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