[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-04-06 Thread Mikle Kolyada
commit: 43511d7bd1cb514c7ad856f2b0f46b805e5bb716
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr  6 16:36:53 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr  6 16:36:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43511d7b

mail-filter/procmail: hppa stable wrt bug #638108

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="hppa"

 mail-filter/procmail/procmail-3.22-r14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild 
b/mail-filter/procmail/procmail-3.22-r14.ebuild
index 729ab95e974..2f2f7813b0d 100644
--- a/mail-filter/procmail/procmail-3.22-r14.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-04-06 Thread Mikle Kolyada
commit: 0b12911c4c7eeb1eaefa34dde3439df4fa696a60
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr  6 16:38:11 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr  6 16:38:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b12911c

mail-filter/procmail: sh stable wrt bug #638108

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="sh"

 mail-filter/procmail/procmail-3.22-r14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild 
b/mail-filter/procmail/procmail-3.22-r14.ebuild
index 78458fc534d..4d67def38fa 100644
--- a/mail-filter/procmail/procmail-3.22-r14.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-04-06 Thread Mikle Kolyada
commit: 132fbb1f433069aa9fddb24cede7d9de12eafb43
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr  6 16:36:09 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr  6 16:36:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132fbb1f

mail-filter/procmail: ppc64 stable wrt bug #638108

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc64"

 mail-filter/procmail/procmail-3.22-r14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild 
b/mail-filter/procmail/procmail-3.22-r14.ebuild
index 08baf83d231..0a678b3dd3e 100644
--- a/mail-filter/procmail/procmail-3.22-r14.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-04-06 Thread Mikle Kolyada
commit: 5de64f8bbb18652ec3f1496466472774b7ec9dfb
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr  6 16:40:39 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr  6 16:40:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de64f8b

mail-filter/procmail: Drop old

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 mail-filter/procmail/procmail-3.22-r10.ebuild | 109 ---
 mail-filter/procmail/procmail-3.22-r11.ebuild | 120 --
 2 files changed, 229 deletions(-)

diff --git a/mail-filter/procmail/procmail-3.22-r10.ebuild 
b/mail-filter/procmail/procmail-3.22-r10.ebuild
deleted file mode 100644
index 44d9cfd6ede..000
--- a/mail-filter/procmail/procmail-3.22-r10.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils flag-o-matic toolchain-funcs prefix
-
-DESCRIPTION="Mail delivery agent/filter"
-HOMEPAGE="http://www.procmail.org/;
-SRC_URI="http://www.procmail.org/${P}.tar.gz;
-
-LICENSE="|| ( Artistic GPL-2 )"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
-IUSE="mbox selinux"
-
-DEPEND="virtual/mta"
-RDEPEND="selinux? ( sec-policy/selinux-procmail )"
-
-src_unpack() {
-   unpack ${A}
-   cd "${S}"
-
-   # disable flock, using both fcntl and flock style locking
-   # doesn't work with NFS with 2.6.17+ kernels, bug #156493
-
-   sed -e "s:/\*#define NO_flock_LOCK:#define NO_flock_LOCK:" \
-   -i config.h || die "sed failed"
-
-   if ! use mbox ; then
-   echo "# Use maildir-style mailbox in user's home directory" > 
"${S}"/procmailrc
-   echo 'DEFAULT=$HOME/.maildir/' >> "${S}"/procmailrc
-   cd "${S}"
-   epatch "${FILESDIR}/gentoo-maildir3.diff"
-   else
-   echo '# Use mbox-style mailbox in /var/spool/mail' > 
"${S}"/procmailrc
-   echo 'DEFAULT=${EPREFIX}/var/spool/mail/$LOGNAME' >> 
"${S}"/procmailrc
-   fi
-
-   # Do not use lazy bindings on lockfile and procmail
-   if [[ ${CHOST} != *-darwin* ]]; then
-   epatch "${FILESDIR}/${PN}-lazy-bindings.diff"
-   fi
-
-   # Fix for bug #102340
-   epatch "${FILESDIR}/${PN}-comsat-segfault.diff"
-
-   # Fix for bug #119890
-   epatch "${FILESDIR}/${PN}-maxprocs-fix.diff"
-
-   # Prefixify config.h
-   epatch "${FILESDIR}"/${PN}-prefix.patch
-   eprefixify config.h Makefile src/autoconf src/recommend.c
-
-   # Fix for bug #26
-   epatch "${FILESDIR}/${PN}-pipealloc.diff"
-
-   # Fix for bug #270551
-   epatch "${FILESDIR}/${PN}-3.22-glibc-2.10.patch"
-}
-
-src_compile() {
-   # -finline-functions (implied by -O3) leaves strstr() in an infinite 
loop.
-   # To work around this, we append -fno-inline-functions to CFLAGS
-   # Since GCC 4.7 we also need -fno-ipa-cp-clone (bug #466552)
-   append-flags -fno-inline-functions -fno-ipa-cp-clone
-
-   sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \
-   -e "s:LDFLAGS0= -s:LDFLAGS0 = ${LDFLAGS}:" \
-   -e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \
-   -e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" \
-   -i Makefile || die "sed failed"
-
-   emake CC="$(tc-getCC)" || die
-}
-
-src_install() {
-   cd "${S}"/new
-   insinto /usr/bin
-   insopts -m 6755
-   doins procmail || die
-
-   doins lockfile || die
-   fowners root:mail /usr/bin/lockfile
-   fperms 2755 /usr/bin/lockfile
-
-   dobin formail mailstat || die
-   insopts -m 0644
-
-   doman *.1 *.5
-
-   cd "${S}"
-   dodoc FAQ FEATURES HISTORY INSTALL KNOWN_BUGS README
-
-   insinto /etc
-   doins procmailrc || die
-
-   docinto examples
-   dodoc examples/*
-}
-
-pkg_postinst() {
-   if ! use mbox ; then
-   elog "Starting with mail-filter/procmail-3.22-r9 you'll need to 
ensure"
-   elog "that you configure a mail storage  location using DEFAULT 
in"
-   elog "/etc/procmailrc, for example:"
-   elog "\tDEFAULT=\$HOME/.maildir/"
-   fi
-}

diff --git a/mail-filter/procmail/procmail-3.22-r11.ebuild 
b/mail-filter/procmail/procmail-3.22-r11.ebuild
deleted file mode 100644
index c717564afa4..000
--- a/mail-filter/procmail/procmail-3.22-r11.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs prefix
-
-DESCRIPTION="Mail delivery agent/filter"
-HOMEPAGE="http://www.procmail.org/;
-SRC_URI="http://www.procmail.org/${P}.tar.gz;
-
-LICENSE="|| ( 

[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-04-06 Thread Mikle Kolyada
commit: 233593522bb4573b408b121bb3206384b5116695
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr  6 16:37:53 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr  6 16:37:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23359352

mail-filter/procmail: s390 stable wrt bug #638108

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="s390"

 mail-filter/procmail/procmail-3.22-r14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild 
b/mail-filter/procmail/procmail-3.22-r14.ebuild
index 25844728d8b..78458fc534d 100644
--- a/mail-filter/procmail/procmail-3.22-r14.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-04-06 Thread Mikle Kolyada
commit: b93446e4ab0b5b38b5c610b253fa43ea3d423938
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr  6 16:35:37 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr  6 16:35:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b93446e4

mail-filter/procmail: ppc stable wrt bug #638108

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc"

 mail-filter/procmail/procmail-3.22-r14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild 
b/mail-filter/procmail/procmail-3.22-r14.ebuild
index c23341b477e..08baf83d231 100644
--- a/mail-filter/procmail/procmail-3.22-r14.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-04-06 Thread Mikle Kolyada
commit: 53d8d72acb88566e69b9a53ff2fe8b32fb2387a7
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr  6 16:36:34 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr  6 16:36:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53d8d72a

mail-filter/procmail: sparc stable wrt bug #638108

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"

 mail-filter/procmail/procmail-3.22-r14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild 
b/mail-filter/procmail/procmail-3.22-r14.ebuild
index 0a678b3dd3e..729ab95e974 100644
--- a/mail-filter/procmail/procmail-3.22-r14.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-04-06 Thread Mikle Kolyada
commit: 81c96a55a7cf15cb64ed545407790b8c2dc64da8
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr  6 16:37:34 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr  6 16:37:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c96a55

mail-filter/procmail: ia64 stable wrt bug #638108

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="ia64"

 mail-filter/procmail/procmail-3.22-r14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild 
b/mail-filter/procmail/procmail-3.22-r14.ebuild
index 2f2f7813b0d..25844728d8b 100644
--- a/mail-filter/procmail/procmail-3.22-r14.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-04-02 Thread Mikle Kolyada
commit: d396811b92066ba11693dca848845308619eca64
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue Apr  2 09:40:24 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Apr  2 09:40:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d396811b

mail-filter/procmail: alpha stable wrt bug #638108

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="alpha"

 mail-filter/procmail/procmail-3.22-r14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild 
b/mail-filter/procmail/procmail-3.22-r14.ebuild
index 39e3663cf28..c23341b477e 100644
--- a/mail-filter/procmail/procmail-3.22-r14.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-04-02 Thread Mikle Kolyada
commit: 16a4b7c32d93c6dc639a0793cfb37c32ff686e82
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue Apr  2 09:39:58 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Apr  2 09:39:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16a4b7c3

mail-filter/procmail: arm stable wrt bug #638108

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="arm"

 mail-filter/procmail/procmail-3.22-r14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild 
b/mail-filter/procmail/procmail-3.22-r14.ebuild
index e8f32dce324..39e3663cf28 100644
--- a/mail-filter/procmail/procmail-3.22-r14.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-04-01 Thread Thomas Deutschmann
commit: cdfd667d19b0fda964c955920ee515c7c038b953
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Apr  2 01:26:47 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Apr  2 01:26:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdfd667d

mail-filter/procmail: x86 stable (bug #638108)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 mail-filter/procmail/procmail-3.22-r14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild 
b/mail-filter/procmail/procmail-3.22-r14.ebuild
index d99a4ffde72..e8f32dce324 100644
--- a/mail-filter/procmail/procmail-3.22-r14.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/files/, mail-filter/procmail/

2019-03-30 Thread Thomas Deutschmann
commit: ff36e4f6862f3949e3bfedd7bb352cd9d0602ffe
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Mar 30 17:02:56 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Mar 30 17:02:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff36e4f6

mail-filter/procmail: replace patch for CVE-2014-3618

Fixes an infinite loop.

Bug: https://bugs.gentoo.org/638108
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../files/procmail-3.22-CVE-2014-3618.patch| 18 
 .../files/procmail-3.22-CVE-2017-16844.patch   | 13 +++
 .../files/procmail-CVE-2014-3618-16844.patch   | 25 --
 ...il-3.22-r13.ebuild => procmail-3.22-r14.ebuild} |  3 ++-
 4 files changed, 33 insertions(+), 26 deletions(-)

diff --git a/mail-filter/procmail/files/procmail-3.22-CVE-2014-3618.patch 
b/mail-filter/procmail/files/procmail-3.22-CVE-2014-3618.patch
new file mode 100644
index 000..124d1f99685
--- /dev/null
+++ b/mail-filter/procmail/files/procmail-3.22-CVE-2014-3618.patch
@@ -0,0 +1,18 @@
+diff --git a/src/formisc.c b/src/formisc.c
+index 338733b..c48df52 100644
+--- a/src/formisc.c
 b/src/formisc.c
+@@ -84,12 +84,11 @@ normal:   *target++= *start++;
+   case '"':*target++=delim='"';start++;
+   }
+  ;{ int i;
+-  do
++  while(*start)   /* anything? */
+  if((i= *target++= *start++)==delim)   /* corresponding delimiter? */
+ break;
+  else if(i=='\\'&&*start) /* skip quoted character */
+ *target++= *start++;
+-  while(*start);  /* anything? */
+   }
+  hitspc=2;
+}

diff --git a/mail-filter/procmail/files/procmail-3.22-CVE-2017-16844.patch 
b/mail-filter/procmail/files/procmail-3.22-CVE-2017-16844.patch
new file mode 100644
index 000..5e610d723da
--- /dev/null
+++ b/mail-filter/procmail/files/procmail-3.22-CVE-2017-16844.patch
@@ -0,0 +1,13 @@
+diff --git a/src/formisc.c b/src/formisc.c
+index 5c2869d..54fd013 100644
+--- a/src/formisc.c
 b/src/formisc.c
+@@ -103,7 +103,7 @@ void loadsaved(sp)const struct saved*const sp;  /* 
load some saved text */
+ }
+   /* append to buf */
+ void loadbuf(text,len)const char*const text;const size_t len;
+-{ if(buffilled+len>buflen)  /* buf can't hold the text */
++{ while(buffilled+len>buflen)   /* buf can't hold the text */
+  buf=realloc(buf,buflen+=Bsize);
+   tmemmove(buf+buffilled,text,len);buffilled+=len;
+ }

diff --git a/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch 
b/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch
deleted file mode 100644
index 4f1714063c9..000
--- a/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch
+++ /dev/null
@@ -1,25 +0,0 @@
 a/src/formisc.c2019-03-23 19:52:18.450174402 -0400
-+++ b/src/formisc.c2019-03-23 19:52:47.914351039 -0400
-@@ -84,12 +84,11 @@
-   case '"':*target++=delim='"';start++;
-   }
-  ;{ int i;
--  do
-+  while(*start);
-  if((i= *target++= *start++)==delim)   /* corresponding delimiter? */
- break;
-  else if(i=='\\'&&*start) /* skip quoted character */
- *target++= *start++;
--  while(*start);  /* anything? */
-   }
-  hitspc=2;
-}
-@@ -104,7 +103,7 @@
- }
-   /* append to buf */
- void loadbuf(text,len)const char*const text;const size_t len;
--{ if(buffilled+len>buflen)  /* buf can't hold the text */
-+{ while(buffilled+len>buflen)   /* buf can't hold the text */
-  buf=realloc(buf,buflen+=Bsize);
-   tmemmove(buf+buffilled,text,len);buffilled+=len;
- }

diff --git a/mail-filter/procmail/procmail-3.22-r13.ebuild 
b/mail-filter/procmail/procmail-3.22-r14.ebuild
similarity index 97%
rename from mail-filter/procmail/procmail-3.22-r13.ebuild
rename to mail-filter/procmail/procmail-3.22-r14.ebuild
index 9534c350bf8..d99a4ffde72 100644
--- a/mail-filter/procmail/procmail-3.22-r13.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -56,7 +56,8 @@ src_prepare() {
eapply "${FILESDIR}/${PN}-3.22-glibc-2.10.patch"
 
# Fix security bugs #522114 and #638108
-   eapply "${FILESDIR}/${PN}-CVE-2014-3618-16844.patch"
+   eapply "${FILESDIR}/${PN}-3.22-CVE-2014-3618.patch"
+   eapply "${FILESDIR}/${PN}-3.22-CVE-2017-16844.patch"
 
eapply "${FILESDIR}/${PN}-3.22-crash-fix.patch"
 



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/files/

2019-03-29 Thread Patrice Clement
commit: 8f11bfb27b252b05372a3c15a7f5842f12052f5f
Author: Patrice Clement  gentoo  org>
AuthorDate: Fri Mar 29 08:28:50 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Mar 29 08:29:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f11bfb2

mail-filter/procmail: add back needed patch.

Closes: https://bugs.gentoo.org/681978
Signed-off-by: Patrice Clement  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 .../files/procmail-CVE-2014-3618-16844.patch   | 25 ++
 1 file changed, 25 insertions(+)

diff --git a/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch 
b/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch
new file mode 100644
index 000..4f1714063c9
--- /dev/null
+++ b/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch
@@ -0,0 +1,25 @@
+--- a/src/formisc.c2019-03-23 19:52:18.450174402 -0400
 b/src/formisc.c2019-03-23 19:52:47.914351039 -0400
+@@ -84,12 +84,11 @@
+   case '"':*target++=delim='"';start++;
+   }
+  ;{ int i;
+-  do
++  while(*start);
+  if((i= *target++= *start++)==delim)   /* corresponding delimiter? */
+ break;
+  else if(i=='\\'&&*start) /* skip quoted character */
+ *target++= *start++;
+-  while(*start);  /* anything? */
+   }
+  hitspc=2;
+}
+@@ -104,7 +103,7 @@
+ }
+   /* append to buf */
+ void loadbuf(text,len)const char*const text;const size_t len;
+-{ if(buffilled+len>buflen)  /* buf can't hold the text */
++{ while(buffilled+len>buflen)   /* buf can't hold the text */
+  buf=realloc(buf,buflen+=Bsize);
+   tmemmove(buf+buffilled,text,len);buffilled+=len;
+ }



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/files/

2019-03-28 Thread Patrice Clement
commit: 73e8272b30ff09ce99ccb4d49a7ad1ca2e72aa28
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Mar 27 06:05:37 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Mar 28 23:12:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e8272b

mail-filter/procmail: remove unused patch.

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11514
Signed-off-by: Patrice Clement  gentoo.org>

 .../files/procmail-CVE-2014-3618-16844.patch   | 25 --
 1 file changed, 25 deletions(-)

diff --git a/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch 
b/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch
deleted file mode 100644
index 4f1714063c9..000
--- a/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch
+++ /dev/null
@@ -1,25 +0,0 @@
 a/src/formisc.c2019-03-23 19:52:18.450174402 -0400
-+++ b/src/formisc.c2019-03-23 19:52:47.914351039 -0400
-@@ -84,12 +84,11 @@
-   case '"':*target++=delim='"';start++;
-   }
-  ;{ int i;
--  do
-+  while(*start);
-  if((i= *target++= *start++)==delim)   /* corresponding delimiter? */
- break;
-  else if(i=='\\'&&*start) /* skip quoted character */
- *target++= *start++;
--  while(*start);  /* anything? */
-   }
-  hitspc=2;
-}
-@@ -104,7 +103,7 @@
- }
-   /* append to buf */
- void loadbuf(text,len)const char*const text;const size_t len;
--{ if(buffilled+len>buflen)  /* buf can't hold the text */
-+{ while(buffilled+len>buflen)   /* buf can't hold the text */
-  buf=realloc(buf,buflen+=Bsize);
-   tmemmove(buf+buffilled,text,len);buffilled+=len;
- }



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-03-28 Thread Mikle Kolyada
commit: a39a59a050c40705318c32366a717fb4ef7a9629
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Mar 28 07:00:44 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Mar 28 07:00:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39a59a0

mail-filter/procmail: amd64 stable wrt bug #638108

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 mail-filter/procmail/procmail-3.22-r13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r13.ebuild 
b/mail-filter/procmail/procmail-3.22-r13.ebuild
index 9597d1ca647..9534c350bf8 100644
--- a/mail-filter/procmail/procmail-3.22-r13.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r13.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/files/, mail-filter/procmail/

2019-03-27 Thread Thomas Deutschmann
commit: 038c9f3140b69054f3de9cb4f1a6ccf292510952
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Mar 28 00:44:20 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Mar 28 00:44:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=038c9f31

mail-filter/procmail: re-add security fix with crash fix

Bug: https://bugs.gentoo.org/638108
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../procmail/files/procmail-3.22-crash-fix.patch   |  58 ++
 mail-filter/procmail/procmail-3.22-r13.ebuild  | 125 +
 2 files changed, 183 insertions(+)

diff --git a/mail-filter/procmail/files/procmail-3.22-crash-fix.patch 
b/mail-filter/procmail/files/procmail-3.22-crash-fix.patch
new file mode 100644
index 000..8563ea3d1d4
--- /dev/null
+++ b/mail-filter/procmail/files/procmail-3.22-crash-fix.patch
@@ -0,0 +1,58 @@
+diff --git a/src/cstdio.c b/src/cstdio.c
+index 7b6fe6d..0a0bd5b 100644
+--- a/src/cstdio.c
 b/src/cstdio.c
+@@ -144,7 +144,7 @@ int getbl(p,end)char*p,*end;   
  /* my gets */
+   { case '\n':case EOF:*q='\0';
+  return overflow?-1:p!=q;  /* did we read anything at all? */
+   }
+- if(q==end)   /* check here so that a trailing backslash won't be 
lost */
++ if(q>=end)   /* check here so that a trailing backslash won't be 
lost */
+   q=p,overflow=1;
+  *q++=i;
+}
+@@ -199,7 +199,7 @@ int getlline(target,end)char*target,*end;
+  if(*(target=strchr(target,'\0')-1)=='\\')
+   { if(chp2!=target)/* non-empty line? */
+target++;/* then preserve the backslash */
+-if(target>end-2)/* space enough for getbl? */
++if(target>=end-2)   /* space enough for getbl? */
+target=end-linebuf,overflow=1; /* toss what we have */
+ continue;
+   }
+diff --git a/src/formail.c b/src/formail.c
+index 1f5c9dd..49b9967 100644
+--- a/src/formail.c
 b/src/formail.c
+@@ -219,7 +219,8 @@ static 
char*getsender(namep,fldp,headreply)char*namep;struct field*fldp;
+   if(i>=0&&(i!=maxindex(sest)||fldp==rdheader)) /* found 
anything? */
+{ char*saddr;char*tmp;  /* determine the weight */
+  
nowm=areply&?headreply==1?sest[i].wrepl:sest[i].wrrepl:i;chp+=j;
+- tmp=malloc(j=fldp->Tot_len-j);tmemmove(tmp,chp,j);(chp=tmp)[j-1]='\0';
++ tmp=malloc((j=fldp->Tot_len-j) + 
1);tmemmove(tmp,chp,j);(chp=tmp)[j-1]='\0';
++ chp[j]='\0';
+  if(sest[i].head==From_)
+   { char*pastad;
+   if(strchr(saddr=chp,'\n'))   /* multiple From_ lines */
+@@ -364,7 +365,7 @@ static PROGID;
+ 
+ int main(lastm,argv)int lastm;const char*const argv[];
+ { int i,split=0,force=0,bogus=1,every=0,headreply=0,digest=0,nowait=0,keepb=0,
+-   minfields=(char*)progid-(char*)progid,conctenate=0,babyl=0,babylstart,
++   minfields=(char*)progid-(char*)progid,conctenate=0,babyl=0,babylstart=0,
+berkeley=0,forgetclen;
+   long maxlen,ctlength;FILE*idcache=0;pid_t thepid;
+   size_t j,lnl,escaplen;char*chp,*namep,*escap=ESCAP;
+diff --git a/src/formisc.c b/src/formisc.c
+index c48df52..5c2869d 100644
+--- a/src/formisc.c
 b/src/formisc.c
+@@ -66,7 +66,7 @@ inc:start++;
+ retz:   *target='\0';
+ ret:return start;
+   }
+- if(*start=='\\')
++ if(*start=='\\' && *(start + 1))
+ *target++='\\',start++;
+  hitspc=2;
+  goto normal;   /* normal word */

diff --git a/mail-filter/procmail/procmail-3.22-r13.ebuild 
b/mail-filter/procmail/procmail-3.22-r13.ebuild
new file mode 100644
index 000..9597d1ca647
--- /dev/null
+++ b/mail-filter/procmail/procmail-3.22-r13.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs prefix
+
+DESCRIPTION="Mail delivery agent/filter"
+HOMEPAGE="http://www.procmail.org/;
+SRC_URI="http://www.procmail.org/${P}.tar.gz;
+
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x86-solaris"
+IUSE="mbox selinux"
+
+DEPEND="virtual/mta"
+RDEPEND="selinux? ( sec-policy/selinux-procmail )"
+
+src_prepare() {
+   # disable flock, using both fcntl and flock style locking
+   # doesn't work with NFS with 2.6.17+ kernels, bug #156493
+
+   sed -e "s:/\*#define NO_flock_LOCK:#define NO_flock_LOCK:" \
+   -i config.h || die "sed failed"
+
+   if ! use mbox ; then
+   echo "# Use maildir-style mailbox in user's home directory" > 

[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-03-26 Thread Aaron Bauman
commit: 413a8971de686fb3bbaf8fc19c0485c5083aabdf
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue Mar 26 22:42:36 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Mar 26 22:43:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413a8971

mail-filter/procmail: drop -r12

-r12 is being dropped due to multiple reports of loops causing CPU's to
be exhausted.  This was confirmed by infra as well. Will address the
patches and hopefully find an alternative approach.

Signed-off-by: Aaron Bauman  gentoo.org>

 mail-filter/procmail/procmail-3.22-r12.ebuild | 123 --
 1 file changed, 123 deletions(-)

diff --git a/mail-filter/procmail/procmail-3.22-r12.ebuild 
b/mail-filter/procmail/procmail-3.22-r12.ebuild
deleted file mode 100644
index 90733d16fb6..000
--- a/mail-filter/procmail/procmail-3.22-r12.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs prefix
-
-DESCRIPTION="Mail delivery agent/filter"
-HOMEPAGE="http://www.procmail.org/;
-SRC_URI="http://www.procmail.org/${P}.tar.gz;
-
-LICENSE="|| ( Artistic GPL-2 )"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
-IUSE="mbox selinux"
-
-DEPEND="virtual/mta"
-RDEPEND="selinux? ( sec-policy/selinux-procmail )"
-
-src_prepare() {
-   # disable flock, using both fcntl and flock style locking
-   # doesn't work with NFS with 2.6.17+ kernels, bug #156493
-
-   sed -e "s:/\*#define NO_flock_LOCK:#define NO_flock_LOCK:" \
-   -i config.h || die "sed failed"
-
-   if ! use mbox ; then
-   echo "# Use maildir-style mailbox in user's home directory" > 
"${S}"/procmailrc || die
-   echo 'DEFAULT=$HOME/.maildir/' >> "${S}"/procmailrc || die
-   cd "${S}" || die
-   eapply "${FILESDIR}/gentoo-maildir3.diff"
-   else
-   echo '# Use mbox-style mailbox in /var/spool/mail' > 
"${S}"/procmailrc || die
-   echo 'DEFAULT=${EPREFIX}/var/spool/mail/$LOGNAME' >> 
"${S}"/procmailrc || die
-   fi
-
-   # Do not use lazy bindings on lockfile and procmail
-   if [[ ${CHOST} != *-darwin* ]]; then
-   eapply -p0 "${FILESDIR}/${PN}-lazy-bindings.diff"
-   fi
-
-   # Fix for bug #102340
-   eapply -p0 "${FILESDIR}/${PN}-comsat-segfault.diff"
-
-   # Fix for bug #119890
-   eapply -p0 "${FILESDIR}/${PN}-maxprocs-fix.diff"
-
-   # Prefixify config.h
-   eapply -p0 "${FILESDIR}"/${PN}-prefix.patch
-   eprefixify config.h Makefile src/autoconf src/recommend.c
-
-   # Fix for bug #26
-   eapply "${FILESDIR}/${PN}-pipealloc.diff"
-
-   # Fix for bug #270551
-   eapply "${FILESDIR}/${PN}-3.22-glibc-2.10.patch"
-
-   # Fix security bugs #522114 and #638108
-   eapply "${FILESDIR}/${PN}-CVE-2014-3618-16844.patch"
-
-   eapply_user
-}
-
-src_compile() {
-   # -finline-functions (implied by -O3) leaves strstr() in an infinite 
loop.
-   # To work around this, we append -fno-inline-functions to CFLAGS
-   # Since GCC 4.7 we also need -fno-ipa-cp-clone (bug #466552)
-   # If it's clang, ignore -fno-ipa-cp-clone, as clang doesn't support this
-   case "$(tc-getCC)" in
-   "clang") append-flags -fno-inline-functions ;;
-   "gcc"|*) append-flags -fno-inline-functions -fno-ipa-cp-clone ;;
-   esac
-
-   sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \
-   -e "s:LDFLAGS0= -s:LDFLAGS0 = ${LDFLAGS}:" \
-   -e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \
-   -e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" \
-   -i Makefile || die "sed failed"
-
-   emake CC="$(tc-getCC)"
-}
-
-src_install() {
-   cd "${S}"/new || die
-   insinto /usr/bin
-   insopts -m 6755
-   doins procmail
-
-   doins lockfile
-   fowners root:mail /usr/bin/lockfile
-   fperms 2755 /usr/bin/lockfile
-
-   dobin formail mailstat
-   insopts -m 0644
-
-   doman *.1 *.5
-
-   cd "${S}" || die
-   dodoc FAQ FEATURES HISTORY INSTALL KNOWN_BUGS README
-
-   insinto /etc
-   doins procmailrc
-
-   docinto examples
-   dodoc examples/*
-}
-
-pkg_postinst() {
-   if ! use mbox ; then
-   elog "Starting with mail-filter/procmail-3.22-r9 you'll need to 
ensure"
-   elog "that you configure a mail storage location using DEFAULT 
in"
-   elog "/etc/procmailrc, for example:"
-   elog "\tDEFAULT=\$HOME/.maildir/"
-   fi
-   if has sfperms ${FEATURES}; then
-   ewarn "FEATURES=sfperms removes the read-bit for others from"
-   ewarn "  /usr/bin/procmail"
-   

[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-03-26 Thread Sergei Trofimovich
commit: c63bf583a8d148364c38db37fb2db6cddd38f3f9
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Mar 26 20:38:56 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Mar 26 21:09:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c63bf583

mail-filter/procmail: stable 3.22-r12 for sparc, bug #638108

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 mail-filter/procmail/procmail-3.22-r12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r12.ebuild 
b/mail-filter/procmail/procmail-3.22-r12.ebuild
index 1ed7a69e4a1..90733d16fb6 100644
--- a/mail-filter/procmail/procmail-3.22-r12.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-03-25 Thread Sergei Trofimovich
commit: 93932a77b5d9f260ff247aa6a5fd8ab2414e39b0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Mar 25 22:15:13 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Mar 25 22:15:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93932a77

mail-filter/procmail: stable 3.22-r12 for hppa, bug #638108

Package-Manager: Portage-2.3.62, Repoman-2.3.12
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 mail-filter/procmail/procmail-3.22-r12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r12.ebuild 
b/mail-filter/procmail/procmail-3.22-r12.ebuild
index ccdd9e763ab..1ed7a69e4a1 100644
--- a/mail-filter/procmail/procmail-3.22-r12.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-03-25 Thread Mikle Kolyada
commit: a0582d6d0ff5b814dd595c266b5237a7419ae5b7
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Mar 25 11:48:53 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Mar 25 11:48:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0582d6d

mail-filter/procmail: s390 stable wrt bug #638108

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="s390"

 mail-filter/procmail/procmail-3.22-r12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r12.ebuild 
b/mail-filter/procmail/procmail-3.22-r12.ebuild
index e62817fe6ef..ccdd9e763ab 100644
--- a/mail-filter/procmail/procmail-3.22-r12.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-03-24 Thread Sergei Trofimovich
commit: 9773c7c76036cc67006a898a901f594eb7741425
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar 24 20:06:46 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 24 20:06:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9773c7c7

mail-filter/procmail: stable 3.22-r12 for ppc, bug #638108

Package-Manager: Portage-2.3.62, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 mail-filter/procmail/procmail-3.22-r12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r12.ebuild 
b/mail-filter/procmail/procmail-3.22-r12.ebuild
index df067711e2d..8e18852d1b3 100644
--- a/mail-filter/procmail/procmail-3.22-r12.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-03-24 Thread Sergei Trofimovich
commit: 35cd35e1f01cdbaab71257c92b10180600bab683
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar 24 19:39:36 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 24 19:39:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35cd35e1

mail-filter/procmail: stable 3.22-r12 for ia64, bug #638108

Package-Manager: Portage-2.3.62, Repoman-2.3.12
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 mail-filter/procmail/procmail-3.22-r12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r12.ebuild 
b/mail-filter/procmail/procmail-3.22-r12.ebuild
index a0a75c0fb30..df067711e2d 100644
--- a/mail-filter/procmail/procmail-3.22-r12.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2019-03-24 Thread Richard Freeman
commit: c2d543e5e060df0597801b48334e0c4d880d1f25
Author: Richard Freeman  gentoo  org>
AuthorDate: Sun Mar 24 12:02:27 2019 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sun Mar 24 12:02:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d543e5

mail-filter/procmail: amd64 stable

Bug: https://bugs.gentoo.org/638108
Signed-off-by: Richard Freeman  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 mail-filter/procmail/procmail-3.22-r12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/procmail/procmail-3.22-r12.ebuild 
b/mail-filter/procmail/procmail-3.22-r12.ebuild
index dc9660af9c1..a0a75c0fb30 100644
--- a/mail-filter/procmail/procmail-3.22-r12.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.procmail.org/${P}.tar.gz;
 
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x86-solaris"
 IUSE="mbox selinux"
 
 DEPEND="virtual/mta"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/files/, mail-filter/procmail/

2019-03-23 Thread Aaron Bauman
commit: 31e0e8db9e641bbe158add9c6d4907f2c3eb2d57
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Mar 24 00:22:31 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Mar 24 00:26:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31e0e8db

mail-filter/procmail: revbump to fix longstanding vulnerabilities

This patch is a combination of patches from the OSS ML and the Debian
bug tracker.  Both patches and authors can be found in the below
referenced bugs.

Bug: https://bugs.gentoo.org/522114
Bug: https://bugs.gentoo.org/638108
Signed-off-by: Aaron Bauman  gentoo.org>

 .../files/procmail-CVE-2014-3618-16844.patch   |  25 +
 mail-filter/procmail/procmail-3.22-r12.ebuild  | 123 +
 2 files changed, 148 insertions(+)

diff --git a/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch 
b/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch
new file mode 100644
index 000..4f1714063c9
--- /dev/null
+++ b/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch
@@ -0,0 +1,25 @@
+--- a/src/formisc.c2019-03-23 19:52:18.450174402 -0400
 b/src/formisc.c2019-03-23 19:52:47.914351039 -0400
+@@ -84,12 +84,11 @@
+   case '"':*target++=delim='"';start++;
+   }
+  ;{ int i;
+-  do
++  while(*start);
+  if((i= *target++= *start++)==delim)   /* corresponding delimiter? */
+ break;
+  else if(i=='\\'&&*start) /* skip quoted character */
+ *target++= *start++;
+-  while(*start);  /* anything? */
+   }
+  hitspc=2;
+}
+@@ -104,7 +103,7 @@
+ }
+   /* append to buf */
+ void loadbuf(text,len)const char*const text;const size_t len;
+-{ if(buffilled+len>buflen)  /* buf can't hold the text */
++{ while(buffilled+len>buflen)   /* buf can't hold the text */
+  buf=realloc(buf,buflen+=Bsize);
+   tmemmove(buf+buffilled,text,len);buffilled+=len;
+ }

diff --git a/mail-filter/procmail/procmail-3.22-r12.ebuild 
b/mail-filter/procmail/procmail-3.22-r12.ebuild
new file mode 100644
index 000..dc9660af9c1
--- /dev/null
+++ b/mail-filter/procmail/procmail-3.22-r12.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs prefix
+
+DESCRIPTION="Mail delivery agent/filter"
+HOMEPAGE="http://www.procmail.org/;
+SRC_URI="http://www.procmail.org/${P}.tar.gz;
+
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x86-solaris"
+IUSE="mbox selinux"
+
+DEPEND="virtual/mta"
+RDEPEND="selinux? ( sec-policy/selinux-procmail )"
+
+src_prepare() {
+   # disable flock, using both fcntl and flock style locking
+   # doesn't work with NFS with 2.6.17+ kernels, bug #156493
+
+   sed -e "s:/\*#define NO_flock_LOCK:#define NO_flock_LOCK:" \
+   -i config.h || die "sed failed"
+
+   if ! use mbox ; then
+   echo "# Use maildir-style mailbox in user's home directory" > 
"${S}"/procmailrc || die
+   echo 'DEFAULT=$HOME/.maildir/' >> "${S}"/procmailrc || die
+   cd "${S}" || die
+   eapply "${FILESDIR}/gentoo-maildir3.diff"
+   else
+   echo '# Use mbox-style mailbox in /var/spool/mail' > 
"${S}"/procmailrc || die
+   echo 'DEFAULT=${EPREFIX}/var/spool/mail/$LOGNAME' >> 
"${S}"/procmailrc || die
+   fi
+
+   # Do not use lazy bindings on lockfile and procmail
+   if [[ ${CHOST} != *-darwin* ]]; then
+   eapply -p0 "${FILESDIR}/${PN}-lazy-bindings.diff"
+   fi
+
+   # Fix for bug #102340
+   eapply -p0 "${FILESDIR}/${PN}-comsat-segfault.diff"
+
+   # Fix for bug #119890
+   eapply -p0 "${FILESDIR}/${PN}-maxprocs-fix.diff"
+
+   # Prefixify config.h
+   eapply -p0 "${FILESDIR}"/${PN}-prefix.patch
+   eprefixify config.h Makefile src/autoconf src/recommend.c
+
+   # Fix for bug #26
+   eapply "${FILESDIR}/${PN}-pipealloc.diff"
+
+   # Fix for bug #270551
+   eapply "${FILESDIR}/${PN}-3.22-glibc-2.10.patch"
+
+   # Fix security bugs #522114 and #638108
+   eapply "${FILESDIR}/${PN}-CVE-2014-3618-16844.patch"
+
+   eapply_user
+}
+
+src_compile() {
+   # -finline-functions (implied by -O3) leaves strstr() in an infinite 
loop.
+   # To work around this, we append -fno-inline-functions to CFLAGS
+   # Since GCC 4.7 we also need -fno-ipa-cp-clone (bug #466552)
+   # If it's clang, ignore -fno-ipa-cp-clone, as clang doesn't support this
+   case "$(tc-getCC)" in
+   "clang") append-flags -fno-inline-functions ;;
+   

[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail-lib/, mail-filter/pypolicyd-spf/, ...

2017-12-10 Thread Michał Górny
commit: 73c98d1571fc95177961b2b28a7ea2d66db0da23
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 10 09:46:20 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 10 10:09:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c98d15

mail-filter/*: Update Manifest hashes

 mail-filter/MailScanner/Manifest  |  2 +-
 mail-filter/afew/Manifest |  4 ++--
 mail-filter/amavisd-milter/Manifest   |  4 ++--
 mail-filter/amavisd-new/Manifest  | 10 +-
 mail-filter/anomy-sanitizer/Manifest  |  6 +++---
 mail-filter/anubis/Manifest   |  4 ++--
 mail-filter/ask/Manifest  |  4 ++--
 mail-filter/assp/Manifest | 10 +-
 mail-filter/bmf/Manifest  |  2 +-
 mail-filter/bogofilter/Manifest   |  2 +-
 mail-filter/clamassassin/Manifest |  2 +-
 mail-filter/clamsmtp/Manifest |  2 +-
 mail-filter/couriersrs/Manifest   |  2 +-
 mail-filter/dcc/Manifest  |  6 +++---
 mail-filter/disspam/Manifest  |  2 +-
 mail-filter/dkimproxy/Manifest|  2 +-
 mail-filter/dovecot-antispam/Manifest |  2 +-
 mail-filter/dovecot_deleted_to_trash/Manifest |  2 +-
 mail-filter/dspam/Manifest|  2 +-
 mail-filter/exim-geoip/Manifest   |  2 +-
 mail-filter/exim-p0f/Manifest |  2 +-
 mail-filter/gld/Manifest  |  2 +-
 mail-filter/imapfilter/Manifest   |  6 +++---
 mail-filter/libdkim/Manifest  |  2 +-
 mail-filter/libmilter/Manifest|  2 +-
 mail-filter/libsieve/Manifest |  2 +-
 mail-filter/libspf2/Manifest  |  4 ++--
 mail-filter/libsrs2/Manifest  |  2 +-
 mail-filter/libsrs_alt/Manifest   |  2 +-
 mail-filter/maildrop/Manifest |  6 +++---
 mail-filter/mailfilter/Manifest   |  4 ++--
 mail-filter/mapson/Manifest   |  2 +-
 mail-filter/milter-regex/Manifest |  2 +-
 mail-filter/mimedefang/Manifest   |  6 +++---
 mail-filter/normalizemime/Manifest|  2 +-
 mail-filter/opendkim/Manifest |  2 +-
 mail-filter/opendmarc/Manifest|  8 
 mail-filter/opensmtpd-extras/Manifest |  4 ++--
 mail-filter/p3scan/Manifest   |  4 ++--
 mail-filter/policyd-weight/Manifest   |  2 +-
 mail-filter/policyd/Manifest  |  2 +-
 mail-filter/popfile/Manifest  |  2 +-
 mail-filter/postfwd/Manifest  |  2 +-
 mail-filter/postgrey/Manifest |  8 
 mail-filter/postsrsd/Manifest |  2 +-
 mail-filter/procmail-lib/Manifest |  4 ++--
 mail-filter/procmail/Manifest |  2 +-
 mail-filter/pypolicyd-spf/Manifest|  2 +-
 mail-filter/qmail-scanner/Manifest| 16 
 mail-filter/razor/Manifest|  2 +-
 mail-filter/rblcheck/Manifest |  2 +-
 mail-filter/rmilter/Manifest  |  4 ++--
 mail-filter/scmail/Manifest   |  2 +-
 mail-filter/sid-milter/Manifest   |  2 +-
 mail-filter/sieve-connect/Manifest|  2 +-
 mail-filter/sigh/Manifest |  2 +-
 mail-filter/spamass-milter/Manifest   |  2 +-
 mail-filter/spamassassin-botnet/Manifest  |  2 +-
 mail-filter/spambayes/Manifest|  6 +++---
 mail-filter/spamdyke/Manifest |  4 ++--
 mail-filter/spampd/Manifest   |  4 ++--
 mail-filter/spamprobe/Manifest|  2 +-
 mail-filter/sqlgrey/Manifest  |  2 +-
 mail-filter/tmda/Manifest |  2 +-
 mail-filter/zdkimfilter/Manifest  |  2 +-
 65 files changed, 110 insertions(+), 110 deletions(-)

diff --git a/mail-filter/MailScanner/Manifest b/mail-filter/MailScanner/Manifest
index 75678dd092e..3b48dea3dd1 100644
--- a/mail-filter/MailScanner/Manifest
+++ b/mail-filter/MailScanner/Manifest
@@ -1 +1 @@
-DIST MailScanner-install-4.84.5-2.tar.gz 9510489 SHA256 
3467a53159cc95a8b4f93a326a59e2d3acc0ad6f90f048f048742fe13ac741f1 SHA512 
d9d082e29ddb6eae4f30069298507805a7674c264bf8edad3db3322fa0f2c2ad4539c0c2213c6fcbee11b7c57a36218c1d24243077358bac98e7ae07f7ee506f
 WHIRLPOOL 
a253706f33dbc3925e49d7bb0740fab39f87c690240c043eb10cf8d57ea938fd1e002fcec9d8f1c026003e07df01b724d2b696a6224a6cf52e8afc0e1d175d59
+DIST MailScanner-install-4.84.5-2.tar.gz 9510489 BLAKE2B 
7bfdb0ba9fbd38281328e66fab9512b6dcc596d92fb18186df950d26c451bff0a8fa5345df7849e60e0040e6559754ef9e2099c17425ed4a6465071e0fb610dd
 SHA512 
d9d082e29ddb6eae4f30069298507805a7674c264bf8edad3db3322fa0f2c2ad4539c0c2213c6fcbee11b7c57a36218c1d24243077358bac98e7ae07f7ee506f

diff 

[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2017-10-02 Thread Fabian Groffen
commit: c2934bfb028481f61337525422564b5d3ecb8821
Author: Fabian Groffen  gentoo  org>
AuthorDate: Mon Oct  2 07:10:42 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Mon Oct  2 07:10:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2934bfb

mail-filter/procmail: add warning about FEATURES=sfperms interacting badly with 
some MTAs, bug #632102

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 mail-filter/procmail/procmail-3.22-r11.ebuild | 8 
 1 file changed, 8 insertions(+)

diff --git a/mail-filter/procmail/procmail-3.22-r11.ebuild 
b/mail-filter/procmail/procmail-3.22-r11.ebuild
index 00884540ec7..c717564afa4 100644
--- a/mail-filter/procmail/procmail-3.22-r11.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r11.ebuild
@@ -109,4 +109,12 @@ pkg_postinst() {
elog "/etc/procmailrc, for example:"
elog "\tDEFAULT=\$HOME/.maildir/"
fi
+   if has sfperms ${FEATURES}; then
+   ewarn "FEATURES=sfperms removes the read-bit for others from"
+   ewarn "  /usr/bin/procmail"
+   ewarn "  /usr/bin/lockfile"
+   ewarn "If you use procmail from an MTA like Exim, you need to"
+   ewarn "re-add the read-bit or avoid the MTA checking the binary"
+   ewarn "exists."
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/, mail-filter/procmail/files/

2017-01-30 Thread Fabian Groffen
commit: 145b02cb8226fe3257e06614559dfa3a7c24aa01
Author: Fabian Groffen  gentoo  org>
AuthorDate: Mon Jan 30 19:08:03 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Mon Jan 30 19:08:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=145b02cb

mail-filter/procmail: drop Interix patch/fixes

Package-Manager: portage-2.3.3

 mail-filter/procmail/files/procmail-3.22-interix.patch | 16 
 mail-filter/procmail/procmail-3.22-r10.ebuild  |  5 +
 mail-filter/procmail/procmail-3.22-r11.ebuild  |  5 +
 3 files changed, 2 insertions(+), 24 deletions(-)

diff --git a/mail-filter/procmail/files/procmail-3.22-interix.patch 
b/mail-filter/procmail/files/procmail-3.22-interix.patch
deleted file mode 100644
index a24c052..
--- a/mail-filter/procmail/files/procmail-3.22-interix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -ru procmail-3.22.orig/src/setid.c procmail-3.22/src/setid.c
 procmail-3.22.orig/src/setid.c 2010-02-04 10:05:43 +0100
-+++ procmail-3.22/src/setid.c  2010-02-04 10:11:18 +0100
-@@ -15,7 +15,11 @@
-  return EX_USAGE;
-}
-   endpwent();
--  if(initgroups(argv[1],p->pw_gid)||setgid(p->pw_gid)||setuid(p->pw_uid))
-+  if(
-+#ifndef __INTERIX
-+  initgroups(argv[1],p->pw_gid)||
-+#endif
-+  setgid(p->pw_gid)||setuid(p->pw_uid))
-  return EX_OSERR;
-   if(fopen(CHECK_FILE,"r"))
-{ struct stat stbuf;

diff --git a/mail-filter/procmail/procmail-3.22-r10.ebuild 
b/mail-filter/procmail/procmail-3.22-r10.ebuild
index b125c79..13e4791 100644
--- a/mail-filter/procmail/procmail-3.22-r10.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r10.ebuild
@@ -37,7 +37,7 @@ src_unpack() {
fi
 
# Do not use lazy bindings on lockfile and procmail
-   if [[ ${CHOST} != *-darwin* && ${CHOST} != *-interix* ]]; then
+   if [[ ${CHOST} != *-darwin* ]]; then
epatch "${FILESDIR}/${PN}-lazy-bindings.diff"
fi
 
@@ -56,9 +56,6 @@ src_unpack() {
 
# Fix for bug #270551
epatch "${FILESDIR}/${PN}-3.22-glibc-2.10.patch"
-
-   # Fix for x86-interix - doesn't have initgroups
-   epatch "${FILESDIR}"/${P}-interix.patch
 }
 
 src_compile() {

diff --git a/mail-filter/procmail/procmail-3.22-r11.ebuild 
b/mail-filter/procmail/procmail-3.22-r11.ebuild
index c23229b..2e41c20 100644
--- a/mail-filter/procmail/procmail-3.22-r11.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r11.ebuild
@@ -36,7 +36,7 @@ src_prepare() {
fi
 
# Do not use lazy bindings on lockfile and procmail
-   if [[ ${CHOST} != *-darwin* && ${CHOST} != *-interix* ]]; then
+   if [[ ${CHOST} != *-darwin* ]]; then
eapply -p0 "${FILESDIR}/${PN}-lazy-bindings.diff"
fi
 
@@ -56,9 +56,6 @@ src_prepare() {
# Fix for bug #270551
eapply "${FILESDIR}/${PN}-3.22-glibc-2.10.patch"
 
-   # Fix for x86-interix - doesn't have initgroups
-   eapply "${FILESDIR}"/${P}-interix.patch
-
eapply_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/

2016-06-14 Thread Austin English
commit: e3fefa967b840fb928c2cf21930bcf50ea62d713
Author: Austin English  gentoo  org>
AuthorDate: Thu Jun  2 07:07:09 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Wed Jun 15 03:35:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3fefa96

mail-filter/procmail: fix building with clang

Gentoo-Bug: https://bugs.gentoo.org/526842

Also update to EAPI 6

Reviewed-by: Robin H. Johnson  gentoo.org>

 mail-filter/procmail/procmail-3.22-r11.ebuild | 116 ++
 1 file changed, 116 insertions(+)

diff --git a/mail-filter/procmail/procmail-3.22-r11.ebuild 
b/mail-filter/procmail/procmail-3.22-r11.ebuild
new file mode 100644
index 000..8d0e7c2
--- /dev/null
+++ b/mail-filter/procmail/procmail-3.22-r11.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs prefix
+
+DESCRIPTION="Mail delivery agent/filter"
+HOMEPAGE="http://www.procmail.org/;
+SRC_URI="http://www.procmail.org/${P}.tar.gz;
+
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x64-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x86-solaris"
+IUSE="mbox selinux"
+
+DEPEND="virtual/mta"
+RDEPEND="selinux? ( sec-policy/selinux-procmail )"
+
+src_prepare() {
+   # disable flock, using both fcntl and flock style locking
+   # doesn't work with NFS with 2.6.17+ kernels, bug #156493
+
+   sed -e "s:/\*#define NO_flock_LOCK:#define NO_flock_LOCK:" \
+   -i config.h || die "sed failed"
+
+   if ! use mbox ; then
+   echo "# Use maildir-style mailbox in user's home directory" > 
"${S}"/procmailrc || die
+   echo 'DEFAULT=$HOME/.maildir/' >> "${S}"/procmailrc || die
+   cd "${S}" || die
+   eapply "${FILESDIR}/gentoo-maildir3.diff"
+   else
+   echo '# Use mbox-style mailbox in /var/spool/mail' > 
"${S}"/procmailrc || die
+   echo 'DEFAULT=${EPREFIX}/var/spool/mail/$LOGNAME' >> 
"${S}"/procmailrc || die
+   fi
+
+   # Do not use lazy bindings on lockfile and procmail
+   if [[ ${CHOST} != *-darwin* && ${CHOST} != *-interix* ]]; then
+   eapply -p0 "${FILESDIR}/${PN}-lazy-bindings.diff"
+   fi
+
+   # Fix for bug #102340
+   eapply -p0 "${FILESDIR}/${PN}-comsat-segfault.diff"
+
+   # Fix for bug #119890
+   eapply -p0 "${FILESDIR}/${PN}-maxprocs-fix.diff"
+
+   # Prefixify config.h
+   eapply -p0 "${FILESDIR}"/${PN}-prefix.patch
+   eprefixify config.h Makefile src/autoconf src/recommend.c
+
+   # Fix for bug #26
+   eapply "${FILESDIR}/${PN}-pipealloc.diff"
+
+   # Fix for bug #270551
+   eapply "${FILESDIR}/${PN}-3.22-glibc-2.10.patch"
+
+   # Fix for x86-interix - doesn't have initgroups
+   eapply "${FILESDIR}"/${P}-interix.patch
+
+   eapply_user
+}
+
+src_compile() {
+   # -finline-functions (implied by -O3) leaves strstr() in an infinite 
loop.
+   # To work around this, we append -fno-inline-functions to CFLAGS
+   # Since GCC 4.7 we also need -fno-ipa-cp-clone (bug #466552)
+   # If it's clang, ignore -fno-ipa-cp-clone, as clang doesn't support this
+   case "$(tc-getCC)" in
+   "clang") append-flags -fno-inline-functions ;;
+   "gcc"|*) append-flags -fno-inline-functions -fno-ipa-cp-clone ;;
+   esac
+
+   sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \
+   -e "s:LDFLAGS0= -s:LDFLAGS0 = ${LDFLAGS}:" \
+   -e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \
+   -e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" \
+   -i Makefile || die "sed failed"
+
+   emake CC="$(tc-getCC)"
+}
+
+src_install() {
+   cd "${S}"/new || die
+   insinto /usr/bin
+   insopts -m 6755
+   doins procmail
+
+   doins lockfile
+   fowners root:mail /usr/bin/lockfile
+   fperms 2755 /usr/bin/lockfile
+
+   dobin formail mailstat
+   insopts -m 0644
+
+   doman *.1 *.5
+
+   cd "${S}" || die
+   dodoc FAQ FEATURES HISTORY INSTALL KNOWN_BUGS README
+
+   insinto /etc
+   doins procmailrc
+
+   docinto examples
+   dodoc examples/*
+}
+
+pkg_postinst() {
+   if ! use mbox ; then
+   elog "Starting with mail-filter/procmail-3.22-r9 you'll need to 
ensure"
+   elog "that you configure a mail storage location using DEFAULT 
in"
+   elog "/etc/procmailrc, for example:"
+   elog "\tDEFAULT=\$HOME/.maildir/"
+   fi
+}