Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606494 - mail-mta/postfix 3.0.x vda patch available
Summary: mail-mta/postfix 3.0.x vda patch available
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://vda.sourceforge.net/changelog....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-19 10:09 UTC by j4Hu
Modified: 2019-04-11 17:11 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
postfix 3.0.3 vda v14 patch (postfix-vda-v14-3.0.3.patch,54.71 KB, patch)
2017-05-23 12:33 UTC, j4Hu
Details | Diff
postfix 3.1.1 vda v14 patch (postfix-vda-v14-3.1.1.patch,55.96 KB, patch)
2017-05-23 12:33 UTC, j4Hu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description j4Hu 2017-01-19 10:09:20 UTC
- postfix < 3 versions has been removed or masked from portage tree
- users of vda patch can`t use postfix versions > 3
- vda patch for postfix version 3.0.x is available in mainstream


*** VDA patch ChangeLog

2016-09-30 [Tomas Macek]
- added 3.0.0 - 3.0.3 (thanks to Cristian Sava), all in new v14 (there were a few hunks   and fails when trying to apply the v13 patch to 3.0.x source tree)


*** PATCH add support to postfix 3.0.3 ebuild:

--- postfix-3.0.3-r1.ebuild     2016-02-05 20:10:18.000000000 +0100
+++ postfix-3.0.3-r100.ebuild   2017-01-19 10:49:08.000000000 +0100
@@ -8,8 +8,8 @@
 MY_PV="${PV/_rc/-RC}"
 MY_SRC="${PN}-${MY_PV}"
 MY_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official"
-VDA_PV="2.10.0"
-VDA_P="${PN}-vda-v13-${VDA_PV}"
+VDA_PV="3.0.3"
+VDA_P="${PN}-vda-v14-${VDA_PV}"
 RC_VER="2.7"

 DESCRIPTION="A fast and secure drop-in replacement for sendmail"
@@ -59,9 +59,7 @@
        !net-mail/fastforward
        selinux? ( sec-policy/selinux-postfix )"

-# No vda support for postfix-3.0
-REQUIRED_USE="ldap-bind? ( ldap sasl )
-               !vda"
+REQUIRED_USE="ldap-bind? ( ldap sasl )"

 S="${WORKDIR}/${MY_SRC}"




Reproducible: Always
Comment 1 j4Hu 2017-01-19 12:41:09 UTC
i have checked actual postfix versions, and there is also unoficial patch for 3.1.1, also working for actual postfix version 3.1.2 that is stable in portage.

unoficial patch has only cosmetic differences from official (line numbers).
https://sourceforge.net/p/vda/mailman/message/35175077/

here is a working patch for postfix-3.1.2-r1.ebuild with vda:

--- /usr/portage/mail-mta/postfix/postfix-3.1.2-r1.ebuild       2017-01-11 11:20:30.000000000 +0100
+++ postfix-3.1.2-r100.ebuild   2017-01-19 13:30:14.000000000 +0100
@@ -12,12 +12,13 @@

 DESCRIPTION="A fast and secure drop-in replacement for sendmail"
 HOMEPAGE="http://www.postfix.org/"
-SRC_URI="${MY_URI}/${MY_SRC}.tar.gz"
+SRC_URI="${MY_URI}/${MY_SRC}.tar.gz
+       vda? ( https://paste.fedoraproject.org/393756/raw -> postfix31vda.patch )"

 LICENSE="IBM"
 SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ppc64 ~sh sparc x86 ~x86-fbsd"
-IUSE="+berkdb cdb doc dovecot-sasl +eai hardened ldap ldap-bind libressl lmdb memcached mbox mysql nis pam postgres sasl selinux sqlite ssl"
+IUSE="+berkdb cdb doc dovecot-sasl +eai hardened ldap ldap-bind libressl lmdb memcached mbox mysql nis pam postgres sasl selinux sqlite ssl vda"

 DEPEND=">=dev-libs/libpcre-3.4
        dev-lang/perl
@@ -68,6 +69,10 @@
 }

 src_prepare() {
+       if use vda; then
+               epatch "${DISTDIR}"/postfix31vda.patch
+       fi
+
        default
        sed -i -e "/^#define ALIAS_DB_MAP/s|:/etc/aliases|:/etc/mail/aliases|" \
                src/util/sys_defs.h || die "sed failed"
Comment 2 Gustav Schaffter 2017-05-08 13:51:08 UTC
Stuck in the 2.x tree of postfix with USE=vda and would like to understand what will be my future options to make an informed decision.


Is there an intention to recognize this bug report as 'WILLFIX' or is the consensus that this bug report should be met with a 'WONTFIX' status?


(With all due respect to developers' and testers' workload and time constraints, of course. Not asking for a date here, just for an intention.)

Regards
GuS
Comment 3 Simon Bühler 2017-05-08 21:25:35 UTC
same here, a insight on the recommened upgrade path would be great, also stuck with old version ...
Comment 4 Gustav Schaffter 2017-05-23 11:14:33 UTC
The pastebin URL's referred to in this bug report are all long gone.

I believe this URL belongs here.

http://vda.sourceforge.net/



What is required to initiate a discussion (and going from 'UNCONFIRMED' to 'something') about the intended approach?
Comment 5 j4Hu 2017-05-23 12:33:09 UTC
Created attachment 473860 [details, diff]
postfix 3.0.3 vda v14 patch
Comment 6 j4Hu 2017-05-23 12:33:31 UTC
Created attachment 473862 [details, diff]
postfix 3.1.1 vda v14 patch
Comment 7 Gustav Schaffter 2018-01-19 19:33:26 UTC
    HAPPY BIRTHDAY !


Today marks the first year of this unconfirmed ticket.
Comment 8 Josh G 2018-01-19 20:24:39 UTC
Gustov: Do you have an updated patch? Or are you volunteering to test previous patches, or do anything constructive to make it easier on the Gentoo folk to address the bug?

If not, then you're just being passive aggressive. And that's less than helpful.
Comment 9 Philippe Chaintreuil 2019-03-26 20:28:03 UTC
I'm sorry to say, upstream for this patchset seems dead.

They haven't updated http://vda.sourceforge.net/ to reference patches for newer than 3.0.3.  (Oldest mail-mta/postfix currently in portage is 3.2.4.)

Their mailing list has two posts in 2018, both asking if the project's still alive with zero responses.  (One in March and one in May.)  https://sourceforge.net/p/vda/mailman/vda-users/
Comment 10 j4Hu 2019-03-27 00:18:50 UTC
agree, better move to dovecot-lda
Comment 11 Tomáš Mózes 2019-04-11 17:11:42 UTC
Sorry, but the latest vda patch is for unsupported postfix 3.0. Dead upstream, closing...

If possible, use dovecot-lda.