From 0977d5ef48cfe775f59b1e8dcb34a41dec46218d Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 12 Sep 2016 16:15:58 +0200 Subject: [PATCH] opensmtpd: update to 6.0.0p1. --- srcpkgs/opensmtpd/patches/libressl.patch | 27 ------------------------ srcpkgs/opensmtpd/template | 10 ++++----- 2 files changed, 5 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/opensmtpd/patches/libressl.patch diff --git a/srcpkgs/opensmtpd/patches/libressl.patch b/srcpkgs/opensmtpd/patches/libressl.patch deleted file mode 100644 index e3a192c6dc..0000000000 --- a/srcpkgs/opensmtpd/patches/libressl.patch +++ /dev/null @@ -1,27 +0,0 @@ -Defer checking for arc4random and friends until libcrypto is found, -fixes segv due to portable libressl/opensmtpd and arc4random<->RAND_bytes. - -See http://marc.info/?l=openssh-unix-dev&m=140515171616098&w=2 -for more information. ---- configure.ac.orig 2014-12-25 19:09:20.345153528 +0100 -+++ configure.ac 2014-12-25 19:10:37.769896808 +0100 -@@ -640,10 +640,6 @@ fi - #l1572 (customized) - dnl Checks for library functions. Please keep in alphabetical order - AC_CHECK_FUNCS([ \ -- arc4random \ -- arc4random_buf \ -- arc4random_stir \ -- arc4random_uniform \ - asprintf \ - b64_ntop \ - __b64_ntop \ -@@ -1418,6 +1414,8 @@ AC_ARG_WITH([pam], - ] - ) - -+AC_CHECK_FUNCS([arc4random arc4random_buf arc4random_stir arc4random_uniform]) -+ - # Check for older PAM - if test "x$PAM_MSG" = "xyes" ; then - # Check PAM strerror arguments (old PAM) diff --git a/srcpkgs/opensmtpd/template b/srcpkgs/opensmtpd/template index 9a041f28e2..9aca15b94e 100644 --- a/srcpkgs/opensmtpd/template +++ b/srcpkgs/opensmtpd/template @@ -1,7 +1,7 @@ # Template file for 'opensmtpd' pkgname=opensmtpd -version=5.9.2p1 -revision=5 +version=6.0.0p1 +revision=1 build_style=gnu-configure configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin --with-path-socket=/run --with-mantype=doc --with-pie --with-table-db @@ -19,9 +19,9 @@ replaces="smtp-forwarder>=0 smtp-server>=0" short_desc="Free implementation of the server-side SMTP protocol" maintainer="Juan RP " license="BSD, ISC, MIT" -homepage="http://www.opensmtpd.org" -distfiles="http://www.opensmtpd.org/archives/${pkgname}-${version}.tar.gz" -checksum=3522f273c1630c781facdb2b921228e338ed4e651909316735df775d6a70a71d +homepage="https://www.opensmtpd.org" +distfiles="https://www.opensmtpd.org/archives/${pkgname}-${version}.tar.gz" +checksum=a97e79589fe4147bfc124fcf39207eee8e0ad35d0b3411ca31830bd35710f81d system_accounts="_smtpd _smtpq"