Files
shrap/packages/postfix.shrap

17 lines
816 B
Plaintext

(package
(name "postfix")
(version "3.10.8")
(homepage "https://www.postfix.org/")
(dependencies libdb m4)
(src (tar
(url "https://ftp.fu-berlin.de/unix/mail/postfix/official/postfix-3.10.8.tar.gz")
(dir "postfix-3.10.8")
(blake3 "c6bddf0bfbf0a2164f0f9ab9018f4922ebc67ef4cc55bd21014d7852ddf9417d")))
(build
(shell "groupadd postfix || true")
(shell "groupadd postdrop || true")
(shell "useradd -g postfix -s /bin/false -d /no/where postfix || true")
(shell "make makefiles CCARGS=-DNO_NIS")
(make
(install_flags "install_root=/ non_interactive=yes config_directory=/etc/postfix daemon_directory=/usr/libexec/postfix command_directory=/usr/sbin queue_directory=/var/spool/postfix data_directory=/var/lib/postfix"))))