From 4dae21095a2e68f3ab74ae27e4ef859ae3330dbc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 20 Apr 2015 08:07:05 +0200 Subject: [PATCH] opensmtpd: update to 5.4.5p1. --- .../glibc-fortify-source-path-max.patch | 18 ------------------ srcpkgs/opensmtpd/template | 8 ++++---- 2 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 srcpkgs/opensmtpd/patches/glibc-fortify-source-path-max.patch diff --git a/srcpkgs/opensmtpd/patches/glibc-fortify-source-path-max.patch b/srcpkgs/opensmtpd/patches/glibc-fortify-source-path-max.patch deleted file mode 100644 index 8295476db6..0000000000 --- a/srcpkgs/opensmtpd/patches/glibc-fortify-source-path-max.patch +++ /dev/null @@ -1,18 +0,0 @@ -Don't override PATH_MAX, glibc with FORTIFY_SOURCE exactly wants -it as 4096 bytes at least, otherwise it will abort(). - - -- xtraeme - ---- openbsd-compat/defines.h.orig 2015-04-01 12:25:34.304411927 +0200 -+++ openbsd-compat/defines.h 2015-04-01 12:26:10.832810710 +0200 -@@ -65,10 +65,6 @@ enum - * Looks like ugly, but MAX_IMSGSIZE equals 16384, - * and if we don't care it will overflow for some struct - */ --#if PATH_MAX > 1024 --# undef PATH_MAX --# define PATH_MAX 1024 --#endif - - #if MAXPATHLEN > 1024 - # undef MAXPATHLEN diff --git a/srcpkgs/opensmtpd/template b/srcpkgs/opensmtpd/template index 41544c8892..cb7a9621e0 100644 --- a/srcpkgs/opensmtpd/template +++ b/srcpkgs/opensmtpd/template @@ -1,10 +1,10 @@ # Template file for 'opensmtpd' pkgname=opensmtpd -version=5.4.4p1 -revision=8 +version=5.4.5p1 +revision=1 build_style=gnu-configure configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/sbin - --with-maildir=/var/spool/mail --with-privsep-path=/var/db + --with-maildir=/var/spool/mail --with-privsep-path=/var/empty --with-sock-dir=/run --with-mantype=doc --with-pie --with-privsep-user=smtpd --with-queue-user=smtpq --with-ca-file=/etc/ssl/certs/ca-certificates.crt" @@ -20,7 +20,7 @@ maintainer="Juan RP " license="BSD, ISC, MIT" homepage="http://www.opensmtpd.org" distfiles="http://www.opensmtpd.org/archives/${pkgname}-${version}.tar.gz" -checksum=1118330aa54e9a8a30914a1f2e129a83f2954a5956300eade522a1396f6d8ebd +checksum=7044178c454e3badd5993106db1a6c371fb0c3f7fb8f9396557b06191235ea83 system_accounts="smtpd smtpq" smtpd_descr="SMTPD daemon"