Merge pull request #109628 from LeSuisse/opensmtpd-6.8.0p2
opensmtpd: 6.7.1p1 -> 6.8.0p2
This commit is contained in:
commit
641f22e6e4
|
@ -4,14 +4,14 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opensmtpd";
|
||||
version = "6.7.1p1";
|
||||
version = "6.8.0p2";
|
||||
|
||||
nativeBuildInputs = [ autoconf automake libtool bison ];
|
||||
buildInputs = [ libasr libevent zlib libressl db pam ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.opensmtpd.org/archives/${pname}-${version}.tar.gz";
|
||||
sha256 = "1jh8vxfajm1mvp1v5yh6llrhjzv0n9fgab88mlwllwqynhcfjy3l";
|
||||
sha256 = "05sd7bmq29ibnqbl2z53hiyprfxzf0qydfdaixs68rz55wqhbgsi";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
diff --git a/smtpd/smtpd.c b/smtpd/smtpd.c
|
||||
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c
|
||||
index e049f07c..a1bd03a0 100644
|
||||
--- a/smtpd/smtpd.c
|
||||
+++ b/smtpd/smtpd.c
|
||||
--- a/usr.sbin/smtpd/smtpd.c
|
||||
+++ b/usr.sbin/smtpd/smtpd.c
|
||||
@@ -1157,6 +1157,7 @@ fork_proc_backend(const char *key, const char *conf, const char *procname)
|
||||
char path[PATH_MAX];
|
||||
char name[PATH_MAX];
|
||||
|
@ -24,10 +24,10 @@ index e049f07c..a1bd03a0 100644
|
|||
(ssize_t)sizeof(path)) {
|
||||
log_warn("warn: %s-proc: exec path too long", key);
|
||||
return (-1);
|
||||
diff --git a/smtpd/table.c b/smtpd/table.c
|
||||
diff --git a/usr.sbin/smtpd/table.c b/usr.sbin/smtpd/table.c
|
||||
index 9cfdfb99..24dfcca4 100644
|
||||
--- a/smtpd/table.c
|
||||
+++ b/smtpd/table.c
|
||||
--- a/usr.sbin/smtpd/table.c
|
||||
+++ b/usr.sbin/smtpd/table.c
|
||||
@@ -201,6 +201,7 @@ table_create(const char *backend, const char *name, const char *tag,
|
||||
struct table_backend *tb;
|
||||
char buf[LINE_MAX];
|
||||
|
|
Loading…
Reference in New Issue