diff --git a/srcpkgs/opensmtpd/patches/configure-cross.patch b/srcpkgs/opensmtpd/patches/configure-cross.patch new file mode 100644 index 00000000000..2b5003f6e11 --- /dev/null +++ b/srcpkgs/opensmtpd/patches/configure-cross.patch @@ -0,0 +1,13 @@ +--- configure.ac.orig ++++ configure.ac +@@ -1207,8 +1207,8 @@ + dnl # stripping any trailing slash. If for some strage reason our program + dnl # does not find what it needs, we default to /var/spool/mail. + # Check for mail directory +-AC_ARG_WITH([path-mbox], +- [ --with-path-mbox=PATH Specify path to mbox directory (default=/var/spool/mail)], ++AC_ARG_WITH([maildir], ++ [ --with-maildir=PATH Specify path to maildir directory (default=/var/spool/mail)], + [ + if test -n "$withval" -a "$withval" != "no" -a "${withval}" != "yes"; then + AC_DEFINE_UNQUOTED([MAIL_DIRECTORY], ["$withval"], diff --git a/srcpkgs/opensmtpd/template b/srcpkgs/opensmtpd/template index 1dd6538ebde..49a4763af7e 100644 --- a/srcpkgs/opensmtpd/template +++ b/srcpkgs/opensmtpd/template @@ -1,11 +1,12 @@ # Template file for 'opensmtpd' pkgname=opensmtpd version=6.0.3p1 -revision=1 +revision=2 build_style=gnu-configure configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin --with-path-socket=/run --with-mantype=doc --with-pie --with-table-db --with-path-CAfile=/etc/ssl/certs/ca-certificates.crt + --with-maildir=/var/mail --without-auth-pam ac_cv_func_explicit_bzero=no ac_cv_func_reallocarray=no ac_cv_func_strlcat=no