[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 64e2366685eff3f91776a4b9f7326f9f1dbcf55c Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sun Dec 17 14:27:21 2023 + Commit: Conrad Kostecki gentoo org> CommitDate: Sun Dec 24 23:04:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64e23666 net-mail/vpopmail: add missing toolchain-funcs inherit, fix LICENSE, use https Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/34329 Signed-off-by: Conrad Kostecki gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild index 2a9ab5bd36aa..94425547fce5 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools fixheadtails qmail +inherit autotools fixheadtails qmail toolchain-funcs -HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; +HOMEPAGE="https://www.inter7.com/index.php?page=vpopmail; DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 arm ~hppa ~ia64 ppc64 ~s390 sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 9b9a85d499a3348b6f12ec60561b6dc90ee74006 Author: Matt Turner gentoo org> AuthorDate: Fri Jun 23 17:27:37 2023 + Commit: Matt Turner gentoo org> CommitDate: Fri Jun 23 18:07:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9a85d4 net-mail/vpopmail: Drop ppc keywords Signed-off-by: Matt Turner gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild index ee9f8d6f2750..2a9ab5bd36aa 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm ~hppa ~ia64 ~ppc ppc64 ~s390 sparc x86" +KEYWORDS="amd64 arm ~hppa ~ia64 ppc64 ~s390 sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/, net-mail/vpopmail/files/
commit: 8b4861aa18c6c0bd2860bbb859ae9238416b243b Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat Dec 24 13:18:19 2022 + Commit: Sam James gentoo org> CommitDate: Mon Mar 20 05:31:58 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b4861aa net-mail/vpopmail: add missing headers in configure tests Closes: https://bugs.gentoo.org/885873 Closes: https://bugs.gentoo.org/900192 Signed-off-by: Rolf Eike Beer sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/30231 Signed-off-by: Sam James gentoo.org> ...33-add-missing-headers-in-configure-tests.patch | 40 ++ net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild| 1 + 2 files changed, 41 insertions(+) diff --git a/net-mail/vpopmail/files/vpopmail-5.4.33-add-missing-headers-in-configure-tests.patch b/net-mail/vpopmail/files/vpopmail-5.4.33-add-missing-headers-in-configure-tests.patch new file mode 100644 index ..1fa1fbaf3af4 --- /dev/null +++ b/net-mail/vpopmail/files/vpopmail-5.4.33-add-missing-headers-in-configure-tests.patch @@ -0,0 +1,40 @@ +From 6a2bc617c8ca8368697e971b6456b5b07a1c8b18 Mon Sep 17 00:00:00 2001 +From: Rolf Eike Beer +Date: Thu, 15 Dec 2022 21:34:18 +0100 +Subject: [PATCH 1/5] add missing headers in configure tests + +See: https://bugs.gentoo.org/885873 +--- + configure| 2 ++ + configure.in | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/configure b/configure +index 43030d8..a4b0d54 100755 +--- a/configure b/configure +@@ -5686,6 +5686,8 @@ else + #include + #include + #include ++ #include ++ #include + + int main() { + struct passwd *pw; +diff --git a/configure.in b/configure.in +index c4e32d4..f557f26 100644 +--- a/configure.in b/configure.in +@@ -423,6 +423,8 @@ AC_TRY_RUN( [ + #include + #include + #include ++ #include ++ #include + + int main() { + struct passwd *pw; +-- +2.35.3 + diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild index d186cf1de43e..ee9f8d6f2750 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild @@ -42,6 +42,7 @@ PATCHES=( "${FILESDIR}"/${PN}-5.4.33-use-proper-printf-format-strings.patch "${FILESDIR}"/${PN}-5.4.33-vpgsql-onchange.patch "${FILESDIR}"/${PN}-5.4.33-avoid-duplicate-definitions-of-MYSQL_READ_-and-MYSQL.patch + "${FILESDIR}"/${PN}-5.4.33-add-missing-headers-in-configure-tests.patch ) DOCS=( ChangeLog
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: af6acb29940e45a2a97da00fbb32f9ba6bb051d3 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sun Aug 22 08:01:41 2021 + Commit: Sam James gentoo org> CommitDate: Sun Aug 22 15:13:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af6acb29 net-mail/vpopmail: respect ar and ranlib settings from toolchain Closes: https://bugs.gentoo.org/809509 Closes: https://bugs.gentoo.org/809512 Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> .../vpopmail/{vpopmail-5.4.33-r8.ebuild => vpopmail-5.4.33-r9.ebuild} | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r8.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild similarity index 98% rename from net-mail/vpopmail/vpopmail-5.4.33-r8.ebuild rename to net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild index d932f6d0159..b70518ef178 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r8.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild @@ -138,6 +138,9 @@ src_configure() { $(use_enable maildrop) \ $(use_enable maildrop maildrop-prog /usr/bin/maildrop) \ $(use_enable spamassassin) + + sed "s|'ar |'$(tc-getAR) |;s|'ranlib |'$(tc-getRANLIB) |" -i cdb/Makefile || die + sed "/^AR =/s|= .*|= $(tc-getAR)|" -i Makefile || die } src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: a9a4e0bd65f170934317c85e0d0de68f82f23b43 Author: Rolf Eike Beer sf-mail de> AuthorDate: Fri Aug 20 12:45:44 2021 + Commit: Sam James gentoo org> CommitDate: Sun Aug 22 03:07:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9a4e0bd net-mail/vpopmail: add dependency on virtual/libcrypt Closes: https://bugs.gentoo.org/809194 Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> .../vpopmail/{vpopmail-5.4.33-r7.ebuild => vpopmail-5.4.33-r8.ebuild}| 1 + 1 file changed, 1 insertion(+) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r8.ebuild similarity index 99% rename from net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild rename to net-mail/vpopmail/vpopmail-5.4.33-r8.ebuild index b5f30d5092d..d932f6d0159 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r8.ebuild @@ -18,6 +18,7 @@ REQUIRED_USE="mysql? ( !postgres )" DEPEND=" acct-group/vpopmail acct-user/vpopmail + virtual/libcrypt:= virtual/qmail maildrop? ( mail-filter/maildrop ) mysql? ( dev-db/mysql-connector-c:0= )
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 2662e03e3de73c64cf12edb51db03600712f1c22 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon May 17 15:17:20 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon May 17 16:36:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2662e03e net-mail/vpopmail: drop old Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild | 250 1 file changed, 250 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild deleted file mode 100644 index 73511f611bc..000 --- a/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild +++ /dev/null @@ -1,250 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools fixheadtails qmail - -HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; -DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" -IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" -REQUIRED_USE="mysql? ( !postgres )" - -DEPEND=" - acct-group/vpopmail - acct-user/vpopmail - virtual/qmail - maildrop? ( mail-filter/maildrop ) - mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( >"${S}"/Makefile.am || die - - # fix maildir paths - sed -i -e 's|Maildir|.maildir|g' \ - vchkpw.c vconvert.c vdelivermail.c \ - vpopbull.c vpopmail.c vqmaillocal.c \ - vuserinfo.c maildirquota.c || die - - # remove vpopmail advertisement - sed -i -e '/printf.*vpopmail/s:vpopmail (:(:' \ - vdelivermail.c vpopbull.c vqmaillocal.c || die - - # automake/autoconf - mv "${S}"/configure.{in,ac} || die - sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' \ - configure.ac || die - - # _FORTIFY_SOURCE - sed -i \ - -e 's/\(snprintf(\s*\(LI->[a-zA-Z_]\+\),\s*\)[a-zA-Z_]\+,/\1 sizeof(\2),/' \ - vlistlib.c || die - - eautoreconf - ht_fix_file cdb/Makefile -} - -src_configure() { - local -a authopts - if use mysql; then - incdir=$(mysql_config --variable=pkgincludedir || die) - libdir=$(mysql_config --variable=pkglibdir || die) - authopts+=( "--enable-auth-module=mysql" - "--enable-incdir=${incdir}" - "--enable-libdir=${libdir}" - "--enable-sql-logging" - "--enable-valias" - "--disable-mysql-replication" - "--enable-mysql-limits" - ) - elif use postgres; then - libdir=$(pg_config --libdir || die) - incdir=$(pg_config --pkgincludedir || die) - authopts+=( "--enable-auth-module=pgsql" - "--enable-incdir=${incdir}" - "--enable-libdir=${libdir}" - "--enable-sql-logging" - "--enable-valias" - ) - else - authopts+=( "--enable-auth-module=cdb" ) - fi - - econf ${authopts[@]} \ - --sysconfdir=${VPOP_HOME}/etc \ - --enable-non-root-build \ - --enable-qmaildir=${QMAIL_HOME} \ - --enable-qmail-newu=${QMAIL_HOME}/bin/qmail-newu \ - --enable-qmail-inject=${QMAIL_HOME}/bin/qmail-inject \ - --enable-qmail-newmrh=${QMAIL_HOME}/bin/qmail-newmrh \ - --enable-vpopuser=vpopmail \ - --enable-vpopgroup=vpopmail \ - --enable-many-domains \ - --enable-file-locking \ - --enable-file-sync \ - --enable-md5-passwords \ - --enable-logging \ - --enable-auth-logging \ - --enable-log-name=vpopmail \ - --enable-qmail-ext \ - --disable-tcpserver-file \ - --disable-roaming-users \ - $(use_enable ipalias ip-alias-domains) \ - $(use_enable clearpasswd clear-passwd) \ - $(use_enable maildrop) \ - $(use_enable maildrop maildrop-prog /usr/bin/maildrop) \ - $(use_enable spamassassin) -} - -src_install() { - emake DESTDIR="${D}" install - keepdir "${VPOP_HOME}"/domains - - # install helper script for maildir conversion - into "${VPOP_HOME}" - dobin "${FILESDIR}"/vpopmail-Maildir-dotmaildir-fix.sh - into /usr - - mv doc/doc_html/ doc/man_html/ . || die - einstalldocs - rm -r "${D}/${VPOP_HOME}"/doc || die - - # create /etc/vpopmail.conf - if use mysql; then -
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: d5cdefb9d68fc8869551e158445045dd545e865d Author: Sam James gentoo org> AuthorDate: Sun May 16 00:06:38 2021 + Commit: Sam James gentoo org> CommitDate: Sun May 16 00:06:38 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5cdefb9 net-mail/vpopmail: Stabilize 5.4.33-r7 arm, #790080 Signed-off-by: Sam James gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild index 995fa4d5dda..b5f30d5092d 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" +KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 7e5d3ee0aac906eb099ebd4566c5578ec10d8feb Author: Sam James gentoo org> AuthorDate: Sat May 15 19:18:16 2021 + Commit: Sam James gentoo org> CommitDate: Sat May 15 19:18:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e5d3ee0 net-mail/vpopmail: Stabilize 5.4.33-r7 x86, #790080 Signed-off-by: Sam James gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild index 9f21d3f86b8..995fa4d5dda 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 sparc ~x86" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: ff6be200b66cf3d2f51c38b817af6f78f2180170 Author: Sam James gentoo org> AuthorDate: Sat May 15 02:00:49 2021 + Commit: Sam James gentoo org> CommitDate: Sat May 15 02:00:49 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6be200 net-mail/vpopmail: Stabilize 5.4.33-r7 amd64, #790080 Signed-off-by: Sam James gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild index 4db6ff48010..9f21d3f86b8 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 sparc ~x86" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 sparc ~x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 210763ca8c413cfebb1c5e745acc0bed573dafa9 Author: Sam James gentoo org> AuthorDate: Fri May 14 20:54:26 2021 + Commit: Sam James gentoo org> CommitDate: Fri May 14 20:54:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=210763ca net-mail/vpopmail: Stabilize 5.4.33-r7 ppc64, #790080 Signed-off-by: Sam James gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild index 5cdebaea49d..4db6ff48010 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~s390 sparc ~x86" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 sparc ~x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 70395ea8f851a6110fe3ea75b222d39e508f39bc Author: Sam James gentoo org> AuthorDate: Fri May 14 20:54:09 2021 + Commit: Sam James gentoo org> CommitDate: Fri May 14 20:54:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70395ea8 net-mail/vpopmail: Stabilize 5.4.33-r7 ppc, #790080 Signed-off-by: Sam James gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild index e360455eb0e..5cdebaea49d 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc ~x86" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~s390 sparc ~x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: d32e8b00c56fabe5460577b0081f0794e95e56d7 Author: Rolf Eike Beer sf-mail de> AuthorDate: Fri May 14 20:13:40 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri May 14 20:34:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d32e8b00 net-mail/vpopmail: stable 5.4.33-r7 for sparc, bug #790080 Package-Manager: Portage-3.0.18, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild index ce3584c722a..e360455eb0e 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc ~x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/, net-mail/vpopmail/files/
commit: aabed522aad1d11f21f585fec92c13355fdfac95 Author: Rolf Eike Beer sf-mail de> AuthorDate: Fri Jul 31 20:15:01 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Jul 31 20:42:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aabed522 net-mail/vpopmail: fix build with PostgreSQL and onchange script Closes: https://bugs.gentoo.org/734884 Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> .../files/vpopmail-5.4.33-vpgsql-onchange.patch| 26 ++ net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild| 1 + 2 files changed, 27 insertions(+) diff --git a/net-mail/vpopmail/files/vpopmail-5.4.33-vpgsql-onchange.patch b/net-mail/vpopmail/files/vpopmail-5.4.33-vpgsql-onchange.patch new file mode 100644 index 000..4fcd3a51a0b --- /dev/null +++ b/net-mail/vpopmail/files/vpopmail-5.4.33-vpgsql-onchange.patch @@ -0,0 +1,26 @@ +From c317829c750438fbb16867cbadb196328f3ba567 Mon Sep 17 00:00:00 2001 +From: Rolf Eike Beer +Date: Fri, 31 Jul 2020 22:09:50 +0200 +Subject: [PATCH] fix build when using PostgreSQL and --enable-onchange-script + +This obviously has never worked. +--- + vpgsql.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/vpgsql.c b/vpgsql.c +index b5dd40b..7d8e5c0 100644 +--- a/vpgsql.c b/vpgsql.c +@@ -1456,7 +1456,7 @@ int valias_delete_domain( char *domain) + #ifdef ONCHANGE_SCRIPT + if( allow_onchange ) { + /* tell other programs that data has changed */ +- snprintf ( onchange_buf, MAX_BUFF, "%s@%s - %s", alias, domain, alias_line); ++ snprintf ( onchange_buf, MAX_BUFF, "%s", domain ); + call_onchange ( "valias_delete_domain" ); + } + #endif +-- +2.26.2 + diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild index face2fb6b99..ce3584c722a 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild @@ -39,6 +39,7 @@ PATCHES=( "${FILESDIR}"/${PN}-5.4.33-unistd.patch "${FILESDIR}"/${PN}-5.4.33-check-crypt-return-value-for-NULL.patch "${FILESDIR}"/${PN}-5.4.33-use-proper-printf-format-strings.patch + "${FILESDIR}"/${PN}-5.4.33-vpgsql-onchange.patch ) DOCS=( ChangeLog
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: e44efeeb61a98f235564aa5ec7d04af0a9c334a0 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed May 27 07:55:42 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed May 27 07:56:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e44efeeb net-mail/vpopmail: drop down to ~hppa Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild index a4eca3315ec..73511f611bc 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 480b98dd7a9313c39c53e2e68db7940aacb5e4e2 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Mar 21 11:12:48 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Mar 21 11:12:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=480b98dd net-mail/vpopmail: Drop old Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Mikle Kolyada gentoo.org> net-mail/vpopmail/vpopmail-5.4.33.ebuild | 246 --- 1 file changed, 246 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33.ebuild b/net-mail/vpopmail/vpopmail-5.4.33.ebuild deleted file mode 100644 index a38b01a0082..000 --- a/net-mail/vpopmail/vpopmail-5.4.33.ebuild +++ /dev/null @@ -1,246 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit autotools eutils fixheadtails qmail user - -HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; -DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86" -IUSE="clearpasswd ipalias maildrop mysql spamassassin" - -DEPEND=" - acct-group/vpopmail - acct-user/vpopmail - virtual/qmail - maildrop? ( mail-filter/maildrop ) - mysql? ( virtual/mysql ) - spamassassin? ( mail-filter/spamassassin )" -RDEPEND="${DEPEND}" - -# This makes sure the variable is set, and that it isn't null. -VPOP_DEFAULT_HOME="/var/vpopmail" - -vpopmail_set_homedir() { - VPOP_HOME=$(egethome vpopmail) - if [[ -z "${VPOP_HOME}" ]]; then - eerror "vpopmail's home directory is null in passwd data!" - eerror "You probably want to check that out." - eerror "Continuing with default." - VPOP_HOME="${VPOP_DEFAULT_HOME}" - else - einfo "Setting VPOP_HOME to: $VPOP_HOME" - fi -} - -pkg_setup() { - enewuser vpopmail 89 -1 ${VPOP_DEFAULT_HOME} vpopmail - upgradewarning -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-5.4.9-access.violation.patch - epatch "${FILESDIR}"/${PN}-lazy.patch - epatch "${FILESDIR}"/${PN}-double-free.patch - - # fix maildir paths - sed -i -e 's|Maildir|.maildir|g' \ - vchkpw.c vconvert.c vdelivermail.c \ - vpopbull.c vpopmail.c vqmaillocal.c \ - vuserinfo.c maildirquota.c || die - - # remove vpopmail advertisement - sed -i -e '/printf.*vpopmail/s:vpopmail (:(:' \ - vdelivermail.c vpopbull.c vqmaillocal.c || die - - # automake/autoconf - mv -f "${S}"/configure.{in,ac} || die - sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' \ - configure.ac || die - - # _FORTIFY_SOURCE - sed -i \ - -e 's/\(snprintf(\s*\(LI->[a-zA-Z_]\+\),\s*\)[a-zA-Z_]\+,/\1 sizeof(\2),/' \ - vlistlib.c || die - - eautoreconf - ht_fix_file cdb/Makefile -} - -src_configure() { - vpopmail_set_homedir - - local authopts - if use mysql; then - incdir=$(mysql_config --variable=pkgincludedir) - libdir=$(mysql_config --variable=pkglibdir) - authopts+=" --enable-auth-module=mysql" - authopts+=" --enable-incdir=${incdir}" - authopts+=" --enable-libdir=${libdir}" - authopts+=" --enable-sql-logging" - authopts+=" --enable-valias" - authopts+=" --disable-mysql-replication" - authopts+=" --enable-mysql-limits" - else - authopts="--enable-auth-module=cdb" - fi - - econf ${authopts} \ - --sysconfdir=${VPOP_HOME}/etc \ - --enable-non-root-build \ - --enable-qmaildir=${QMAIL_HOME} \ - --enable-qmail-newu=${QMAIL_HOME}/bin/qmail-newu \ - --enable-qmail-inject=${QMAIL_HOME}/bin/qmail-inject \ - --enable-qmail-newmrh=${QMAIL_HOME}/bin/qmail-newmrh \ - --enable-vpopuser=vpopmail \ - --enable-vpopgroup=vpopmail \ - --enable-many-domains \ - --enable-file-locking \ - --enable-file-sync \ - --enable-md5-passwords \ - --enable-logging \ - --enable-auth-logging \ - --enable-log-name=vpopmail \ - --enable-qmail-ext \ - --disable-tcpserver-file \ - --disable-roaming-users \ - $(use_enable ipalias ip-alias-domains) \ - $(use_enable clearpasswd clear-passwd) \ - $(use_enable maildrop) \ - $(use_enable maildrop maildrop-prog /usr/bin/maildrop) \ - $(use_enable spamassassin) -} - -src_install() { - vpopmail_set_homedir - - # bug
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 7c86edf65ecb56677efe78a161dc1eacec0357e3 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Mar 3 06:30:51 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Mar 3 08:04:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c86edf6 net-mail/vpopmail: drop old Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild | 250 1 file changed, 250 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild deleted file mode 100644 index 612564bb900..000 --- a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild +++ /dev/null @@ -1,250 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools fixheadtails qmail - -HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; -DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86" -IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" -REQUIRED_USE="mysql? ( !postgres )" - -DEPEND=" - acct-group/vpopmail - acct-user/vpopmail - virtual/qmail - maildrop? ( mail-filter/maildrop ) - mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql:=[server] ) - spamassassin? ( mail-filter/spamassassin )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-5.4.9-access.violation.patch - "${FILESDIR}"/${PN}-lazy.patch - "${FILESDIR}"/${PN}-vpgsql.patch - "${FILESDIR}"/${PN}-double-free.patch - "${FILESDIR}"/${PN}-5.4.33-vdelivermail-add-static.patch - "${FILESDIR}"/${PN}-5.4.33-fix-those-vfork-instances-that-do-more-than-exec.patch - "${FILESDIR}"/${PN}-5.4.33-remove-unneeded-forward-declaration.patch - "${FILESDIR}"/${PN}-5.4.33-clean-up-calling-maildrop.patch - "${FILESDIR}"/${PN}-5.4.33-fix-S-tag-in-case-spamassassin-changed-the-file-size.patch - "${FILESDIR}"/${PN}-5.4.33-strncat.patch - "${FILESDIR}"/${PN}-5.4.33-unistd.patch - "${FILESDIR}"/${PN}-5.4.33-check-crypt-return-value-for-NULL.patch - "${FILESDIR}"/${PN}-5.4.33-use-proper-printf-format-strings.patch -) -DOCS=( - ChangeLog - doc/. -) -HTML_DOCS=( - doc_html/. - man_html/. -) - -VPOP_HOME="/var/vpopmail" - -pkg_setup() { - upgradewarning -} - -src_prepare() { - default - - echo 'install-recursive: install-exec-am' \ - >>"${S}"/Makefile.am || die - - # fix maildir paths - sed -i -e 's|Maildir|.maildir|g' \ - vchkpw.c vconvert.c vdelivermail.c \ - vpopbull.c vpopmail.c vqmaillocal.c \ - vuserinfo.c maildirquota.c || die - - # remove vpopmail advertisement - sed -i -e '/printf.*vpopmail/s:vpopmail (:(:' \ - vdelivermail.c vpopbull.c vqmaillocal.c || die - - # automake/autoconf - mv "${S}"/configure.{in,ac} || die - sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' \ - configure.ac || die - - # _FORTIFY_SOURCE - sed -i \ - -e 's/\(snprintf(\s*\(LI->[a-zA-Z_]\+\),\s*\)[a-zA-Z_]\+,/\1 sizeof(\2),/' \ - vlistlib.c || die - - eautoreconf - ht_fix_file cdb/Makefile -} - -src_configure() { - local -a authopts - if use mysql; then - incdir=$(mysql_config --variable=pkgincludedir || die) - libdir=$(mysql_config --variable=pkglibdir || die) - authopts+=( "--enable-auth-module=mysql" - "--enable-incdir=${incdir}" - "--enable-libdir=${libdir}" - "--enable-sql-logging" - "--enable-valias" - "--disable-mysql-replication" - "--enable-mysql-limits" - ) - elif use postgres; then - libdir=$(pg_config --libdir || die) - incdir=$(pg_config --pkgincludedir || die) - authopts+=( "--enable-auth-module=pgsql" - "--enable-incdir=${incdir}" - "--enable-libdir=${libdir}" - "--enable-sql-logging" - "--enable-valias" - ) - else - authopts+=( "--enable-auth-module=cdb" ) - fi - - econf ${authopts[@]} \ - --sysconfdir=${VPOP_HOME}/etc \ - --enable-non-root-build \ - --enable-qmaildir=${QMAIL_HOME} \ - --enable-qmail-newu=${QMAIL_HOME}/bin/qmail-newu \ - --enable-qmail-inject=${QMAIL_HOME}/bin/qmail-inject \ -
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 9d296ebe0d2429bc64a24842ae44d4e6adf8e977 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Mar 3 06:26:59 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Mar 3 08:04:55 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d296ebe net-mail/vpopmail: stable 5.4.33-r6 for amd64, bug #710482 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild index c256dddbb9a..94742bbf88c 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86" +KEYWORDS="amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: b8a235cf47063ee5f9eb11e42e173b46c3175fe0 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Mar 3 06:25:40 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Mar 3 08:04:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a235cf net-mail/vpopmail: move stable keywords forward Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild index 6baa607e05c..c256dddbb9a 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc x86" +KEYWORDS="~amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: c0ff1c1b6a2055bee91b60d045b383e522a42450 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Mar 2 11:32:45 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Mar 2 11:32:45 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ff1c1b net-mail/vpopmail: stable 5.4.33-r5 for ppc64, bug #710482 Package-Manager: Portage-2.3.88, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild index b86d320a845..612564bb900 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 arm hppa ia64 ppc ~ppc64 ~s390 ~sh sparc x86" +KEYWORDS="~amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 6ff7178b1a26d75c5f048875243c70b5cb407d79 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Mar 2 11:18:20 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Mar 2 11:18:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ff7178b net-mail/vpopmail: stable 5.4.33-r5 for ppc, bug #710482 Package-Manager: Portage-2.3.88, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild index 988e31b12f2..b86d320a845 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 arm hppa ia64 ~ppc ~ppc64 ~s390 ~sh sparc x86" +KEYWORDS="~amd64 arm hppa ia64 ppc ~ppc64 ~s390 ~sh sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 14d63f7d954c55a2c6c2edd58b07f398f4c634db Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Mar 2 11:03:42 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Mar 2 11:03:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d63f7d net-mail/vpopmail: stable 5.4.33-r5 for ia64, bug #710482 Package-Manager: Portage-2.3.88, Repoman-2.3.20 RepoMan-Options: --include-arches="ia64" Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild index 46dde6bd5e1..988e31b12f2 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc x86" +KEYWORDS="~amd64 arm hppa ia64 ~ppc ~ppc64 ~s390 ~sh sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 264b28523b9afd79eac7b9a0a969693e800ad616 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat Jan 25 10:31:00 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Feb 25 21:29:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=264b2852 net-mail/vpopmail: enable onchange script If there is no script put there by the user then this simply does nothing as before. This also drops the dependency on postgresql[server] as I see no reason that this would not work with a remote server. Closes: https://bugs.gentoo.org/516100 Signed-off-by: Rolf Eike Beer sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/14441 Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild | 251 1 file changed, 251 insertions(+) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild new file mode 100644 index 000..ceca711c4a4 --- /dev/null +++ b/net-mail/vpopmail/vpopmail-5.4.33-r7.ebuild @@ -0,0 +1,251 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools fixheadtails qmail + +HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; +DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" +REQUIRED_USE="mysql? ( !postgres )" + +DEPEND=" + acct-group/vpopmail + acct-user/vpopmail + virtual/qmail + maildrop? ( mail-filter/maildrop ) + mysql? ( dev-db/mysql-connector-c:0= ) + postgres? ( dev-db/postgresql:= ) + spamassassin? ( mail-filter/spamassassin )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-5.4.9-access.violation.patch + "${FILESDIR}"/${PN}-lazy.patch + "${FILESDIR}"/${PN}-vpgsql.patch + "${FILESDIR}"/${PN}-double-free.patch + "${FILESDIR}"/${PN}-5.4.33-vdelivermail-add-static.patch + "${FILESDIR}"/${PN}-5.4.33-fix-those-vfork-instances-that-do-more-than-exec.patch + "${FILESDIR}"/${PN}-5.4.33-remove-unneeded-forward-declaration.patch + "${FILESDIR}"/${PN}-5.4.33-clean-up-calling-maildrop.patch + "${FILESDIR}"/${PN}-5.4.33-fix-S-tag-in-case-spamassassin-changed-the-file-size.patch + "${FILESDIR}"/${PN}-5.4.33-strncat.patch + "${FILESDIR}"/${PN}-5.4.33-unistd.patch + "${FILESDIR}"/${PN}-5.4.33-check-crypt-return-value-for-NULL.patch + "${FILESDIR}"/${PN}-5.4.33-use-proper-printf-format-strings.patch +) +DOCS=( + ChangeLog + doc/. +) +HTML_DOCS=( + doc_html/. + man_html/. +) + +VPOP_HOME="/var/vpopmail" + +pkg_setup() { + upgradewarning +} + +src_prepare() { + default + + echo 'install-recursive: install-exec-am' \ + >>"${S}"/Makefile.am || die + + # fix maildir paths + sed -i -e 's|Maildir|.maildir|g' \ + vchkpw.c vconvert.c vdelivermail.c \ + vpopbull.c vpopmail.c vqmaillocal.c \ + vuserinfo.c maildirquota.c || die + + # remove vpopmail advertisement + sed -i -e '/printf.*vpopmail/s:vpopmail (:(:' \ + vdelivermail.c vpopbull.c vqmaillocal.c || die + + # automake/autoconf + mv "${S}"/configure.{in,ac} || die + sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' \ + configure.ac || die + + # _FORTIFY_SOURCE + sed -i \ + -e 's/\(snprintf(\s*\(LI->[a-zA-Z_]\+\),\s*\)[a-zA-Z_]\+,/\1 sizeof(\2),/' \ + vlistlib.c || die + + eautoreconf + ht_fix_file cdb/Makefile +} + +src_configure() { + local -a authopts + if use mysql; then + incdir=$(mysql_config --variable=pkgincludedir || die) + libdir=$(mysql_config --variable=pkglibdir || die) + authopts+=( "--enable-auth-module=mysql" + "--enable-incdir=${incdir}" + "--enable-libdir=${libdir}" + "--enable-sql-logging" + "--enable-valias" + "--disable-mysql-replication" + "--enable-mysql-limits" + ) + elif use postgres; then + libdir=$(pg_config --libdir || die) + incdir=$(pg_config --pkgincludedir || die) + authopts+=( "--enable-auth-module=pgsql" + "--enable-incdir=${incdir}" + "--enable-libdir=${libdir}" + "--enable-sql-logging" + "--enable-valias" + ) + else + authopts+=( "--enable-auth-module=cdb" ) + fi + + econf ${authopts[@]} \ +
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 23ff32e5b75dc23471f8c8c3049ceb3004cc9965 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sun Feb 23 12:54:29 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Feb 25 21:29:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ff32e5 net-mail/vpopmail: fix broken symlink for USE=mysql Signed-off-by: Rolf Eike Beer sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/14749 Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild | 250 1 file changed, 250 insertions(+) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild new file mode 100644 index 000..6baa607e05c --- /dev/null +++ b/net-mail/vpopmail/vpopmail-5.4.33-r6.ebuild @@ -0,0 +1,250 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools fixheadtails qmail + +HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; +DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc x86" +IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" +REQUIRED_USE="mysql? ( !postgres )" + +DEPEND=" + acct-group/vpopmail + acct-user/vpopmail + virtual/qmail + maildrop? ( mail-filter/maildrop ) + mysql? ( dev-db/mysql-connector-c:0= ) + postgres? ( >"${S}"/Makefile.am || die + + # fix maildir paths + sed -i -e 's|Maildir|.maildir|g' \ + vchkpw.c vconvert.c vdelivermail.c \ + vpopbull.c vpopmail.c vqmaillocal.c \ + vuserinfo.c maildirquota.c || die + + # remove vpopmail advertisement + sed -i -e '/printf.*vpopmail/s:vpopmail (:(:' \ + vdelivermail.c vpopbull.c vqmaillocal.c || die + + # automake/autoconf + mv "${S}"/configure.{in,ac} || die + sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' \ + configure.ac || die + + # _FORTIFY_SOURCE + sed -i \ + -e 's/\(snprintf(\s*\(LI->[a-zA-Z_]\+\),\s*\)[a-zA-Z_]\+,/\1 sizeof(\2),/' \ + vlistlib.c || die + + eautoreconf + ht_fix_file cdb/Makefile +} + +src_configure() { + local -a authopts + if use mysql; then + incdir=$(mysql_config --variable=pkgincludedir || die) + libdir=$(mysql_config --variable=pkglibdir || die) + authopts+=( "--enable-auth-module=mysql" + "--enable-incdir=${incdir}" + "--enable-libdir=${libdir}" + "--enable-sql-logging" + "--enable-valias" + "--disable-mysql-replication" + "--enable-mysql-limits" + ) + elif use postgres; then + libdir=$(pg_config --libdir || die) + incdir=$(pg_config --pkgincludedir || die) + authopts+=( "--enable-auth-module=pgsql" + "--enable-incdir=${incdir}" + "--enable-libdir=${libdir}" + "--enable-sql-logging" + "--enable-valias" + ) + else + authopts+=( "--enable-auth-module=cdb" ) + fi + + econf ${authopts[@]} \ + --sysconfdir=${VPOP_HOME}/etc \ + --enable-non-root-build \ + --enable-qmaildir=${QMAIL_HOME} \ + --enable-qmail-newu=${QMAIL_HOME}/bin/qmail-newu \ + --enable-qmail-inject=${QMAIL_HOME}/bin/qmail-inject \ + --enable-qmail-newmrh=${QMAIL_HOME}/bin/qmail-newmrh \ + --enable-vpopuser=vpopmail \ + --enable-vpopgroup=vpopmail \ + --enable-many-domains \ + --enable-file-locking \ + --enable-file-sync \ + --enable-md5-passwords \ + --enable-logging \ + --enable-auth-logging \ + --enable-log-name=vpopmail \ + --enable-qmail-ext \ + --disable-tcpserver-file \ + --disable-roaming-users \ + $(use_enable ipalias ip-alias-domains) \ + $(use_enable clearpasswd clear-passwd) \ + $(use_enable maildrop) \ + $(use_enable maildrop maildrop-prog /usr/bin/maildrop) \ + $(use_enable spamassassin) +} + +src_install() { + emake DESTDIR="${D}" install + keepdir "${VPOP_HOME}"/domains + + # install helper script for maildir conversion + into "${VPOP_HOME}" + dobin "${FILESDIR}"/vpopmail-Maildir-dotmaildir-fix.sh + into /usr + + mv doc/doc_html/ doc/man_html/ . || die + einstalldocs + rm -r
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: eca7cd0c0acf73334e55573627f6a8c040db404b Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 24 12:49:08 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 24 12:49:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eca7cd0c net-mail/vpopmail: x86 stable wrt bug #710482 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild index fa4538fe5b3..46dde6bd5e1 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc ~x86" +KEYWORDS="~amd64 arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 1dfc56d80c7186ce6984bbffa511b64553ea2394 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 24 10:06:49 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 24 10:06:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dfc56d8 net-mail/vpopmail: arm stable wrt bug #710482 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild index 9525a220ddb..fa4538fe5b3 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc ~x86" +KEYWORDS="~amd64 arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc ~x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: c5fc97626e3e962599dceefbfacea99b2d55ce4c Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Feb 24 06:48:31 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Feb 24 08:20:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5fc9762 net-mail/vpopmail: stable 5.4.33-r5 for hppa, bug #710482 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild index 9d145b9a012..9525a220ddb 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc ~x86" +KEYWORDS="~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc ~x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 2eb7f0d42380b0716e4ceb96f380fd0605e4d81b Author: Rolf Eike Beer sf-mail de> AuthorDate: Sun Feb 23 08:46:50 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Feb 23 08:54:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb7f0d4 net-mail/vpopmail: stable 5.4.33-r5 for sparc, bug #710482 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild index 8041e162208..9d145b9a012 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc ~x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: a1f4c9fda98a8c24d121f95007c950d41df12472 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat Feb 22 12:36:56 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Feb 22 14:19:04 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f4c9fd net-mail/vpopmail: drop old Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild | 252 1 file changed, 252 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild deleted file mode 100644 index 6e9edf574f8..000 --- a/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild +++ /dev/null @@ -1,252 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools eutils fixheadtails qmail - -HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; -DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" -REQUIRED_USE="mysql? ( !postgres )" - -DEPEND=" - acct-group/vpopmail - acct-user/vpopmail - virtual/qmail - maildrop? ( mail-filter/maildrop ) - mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql:=[server] ) - spamassassin? ( mail-filter/spamassassin )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-5.4.9-access.violation.patch - "${FILESDIR}"/${PN}-lazy.patch - "${FILESDIR}"/${PN}-vpgsql.patch - "${FILESDIR}"/${PN}-double-free.patch - "${FILESDIR}"/${PN}-5.4.33-vdelivermail-add-static.patch - "${FILESDIR}"/${PN}-5.4.33-fix-those-vfork-instances-that-do-more-than-exec.patch - "${FILESDIR}"/${PN}-5.4.33-remove-unneeded-forward-declaration.patch - "${FILESDIR}"/${PN}-5.4.33-clean-up-calling-maildrop.patch - "${FILESDIR}"/${PN}-5.4.33-fix-S-tag-in-case-spamassassin-changed-the-file-size.patch - "${FILESDIR}"/${PN}-5.4.33-strncat.patch - "${FILESDIR}"/${PN}-5.4.33-unistd.patch -) -DOCS=( - ChangeLog - doc/. -) -HTML_DOCS=( - doc_html/. - man_html/. -) - -VPOP_HOME="/var/vpopmail" - -pkg_setup() { - upgradewarning -} - -src_prepare() { - default - - echo 'install-recursive: install-exec-am' \ - >>"${S}"/Makefile.am - - # fix maildir paths - sed -i -e 's|Maildir|.maildir|g' \ - vchkpw.c vconvert.c vdelivermail.c \ - vpopbull.c vpopmail.c vqmaillocal.c \ - vuserinfo.c maildirquota.c || die - - # remove vpopmail advertisement - sed -i -e '/printf.*vpopmail/s:vpopmail (:(:' \ - vdelivermail.c vpopbull.c vqmaillocal.c || die - - # automake/autoconf - mv -f "${S}"/configure.{in,ac} || die - sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' \ - configure.ac || die - - # _FORTIFY_SOURCE - sed -i \ - -e 's/\(snprintf(\s*\(LI->[a-zA-Z_]\+\),\s*\)[a-zA-Z_]\+,/\1 sizeof(\2),/' \ - vlistlib.c || die - - eautoreconf - ht_fix_file cdb/Makefile -} - -src_configure() { - local authopts - if use mysql; then - incdir=$(mysql_config --variable=pkgincludedir || die) - libdir=$(mysql_config --variable=pkglibdir || die) - authopts+=" --enable-auth-module=mysql" - authopts+=" --enable-incdir=${incdir}" - authopts+=" --enable-libdir=${libdir}" - authopts+=" --enable-sql-logging" - authopts+=" --enable-valias" - authopts+=" --disable-mysql-replication" - authopts+=" --enable-mysql-limits" - elif use postgres; then - libdir=$(pg_config --libdir || die) - incdir=$(pg_config --pkgincludedir || die) - authopts+=" --enable-auth-module=pgsql" - authopts+=" --enable-incdir=${incdir}" - authopts+=" --enable-libdir=${libdir}" - authopts+=" --enable-sql-logging" - authopts+=" --enable-valias" - else - authopts+=" --enable-auth-module=cdb" - fi - - econf ${authopts} \ - --sysconfdir=${VPOP_HOME}/etc \ - --enable-non-root-build \ - --enable-qmaildir=${QMAIL_HOME} \ - --enable-qmail-newu=${QMAIL_HOME}/bin/qmail-newu \ - --enable-qmail-inject=${QMAIL_HOME}/bin/qmail-inject \ - --enable-qmail-newmrh=${QMAIL_HOME}/bin/qmail-newmrh \ - --enable-vpopuser=vpopmail \ - --enable-vpopgroup=vpopmail \ - --enable-many-domains \ -
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/, net-mail/vpopmail/files/
commit: 6248c40cc4b4411223a9a4f1bf98204c4c05f147 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat Oct 26 17:30:11 2019 + Commit: Michał Górny gentoo org> CommitDate: Sun Nov 17 09:30:35 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6248c40c net-mail/vpopmail: add 2 more patches Things I hit during testing. Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Michał Górny gentoo.org> ...-5.4.33-check-crypt-return-value-for-NULL.patch | 146 ...l-5.4.33-use-proper-printf-format-strings.patch | 217 ++ net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild| 249 + 3 files changed, 612 insertions(+) diff --git a/net-mail/vpopmail/files/vpopmail-5.4.33-check-crypt-return-value-for-NULL.patch b/net-mail/vpopmail/files/vpopmail-5.4.33-check-crypt-return-value-for-NULL.patch new file mode 100644 index 000..cfe5ce90e07 --- /dev/null +++ b/net-mail/vpopmail/files/vpopmail-5.4.33-check-crypt-return-value-for-NULL.patch @@ -0,0 +1,146 @@ +From b3a21a4a6d7af3dc14417c89ec2ef2732a24939b Mon Sep 17 00:00:00 2001 +From: Rolf Eike Beer +Date: Sat, 26 Oct 2019 18:14:13 +0200 +Subject: [PATCH 1/2] check crypt() return value for NULL + +Passing NULL to strcmp() would lead to a crash otherwise. +--- + vcdb.c| 7 ++- + vchkpw.c | 11 +-- + vldap.c | 8 +++- + vmysql.c | 8 +++- + vpgsql.c | 8 +++- + vsybase.c | 8 +++- + 6 files changed, 43 insertions(+), 7 deletions(-) + +diff --git a/vcdb.c b/vcdb.c +index 55c1cb5..1bf9cd8 100644 +--- a/vcdb.c b/vcdb.c +@@ -1160,7 +1160,12 @@ void vcdb_strip_char( char *instr ) + + int vauth_crypt(char *user,char *domain,char *clear_pass,struct vqpasswd *vpw) + { ++ const char *c; + if ( vpw == NULL ) return(-1); + +- return(strcmp(crypt(clear_pass,vpw->pw_passwd),vpw->pw_passwd)); ++ c = crypt(clear_pass,vpw->pw_passwd); ++ ++ if ( c == NULL ) return(-1); ++ ++ return(strcmp(c,vpw->pw_passwd)); + } +diff --git a/vchkpw.c b/vchkpw.c +index d7d4351..a7c4b9e 100644 +--- a/vchkpw.c b/vchkpw.c +@@ -607,6 +607,7 @@ void login_system_user() + struct spwd *spw; + #endif + struct passwd *pw; ++ const char *c; + + if ((pw=getpwnam(TheUser)) == NULL ) { + snprintf(LogLine, sizeof(LogLine), "%s: system user not found %s:%s", +@@ -626,9 +627,15 @@ void login_system_user() + vchkpw_exit(22); + } + +- if ( strcmp(crypt(ThePass,spw->sp_pwdp),spw->sp_pwdp) != 0 ) { ++ c = crypt(ThePass,spw->sp_pwdp); ++ ++ if ( c == NULL ) vchkpw_exit(24); ++ if ( strcmp(c,spw->sp_pwdp) != 0 ) { + #else +- if ( strcmp(crypt(ThePass,pw->pw_passwd),pw->pw_passwd) != 0 ) { ++ c = crypt(ThePass,pw->pw_passwd); ++ ++ if ( c == NULL ) vchkpw_exit(24); ++ if ( strcmp(c,pw->pw_passwd) != 0 ) { + #endif + if (ENABLE_LOGGING==1||ENABLE_LOGGING==2) { + snprintf(LogLine, sizeof(LogLine), "%s: system password fail %s:%s", +diff --git a/vldap.c b/vldap.c +index 75329ef..5fcce99 100644 +--- a/vldap.c b/vldap.c +@@ -1495,10 +1495,16 @@ void *safe_malloc (size_t siz) { + /***/ + + int vauth_crypt(char *user,char *domain,char *clear_pass,struct vqpasswd *vpw) { ++const char *c; ++ + if ( vpw == NULL ) + return(-1); + +-return(strcmp(crypt(clear_pass,vpw->pw_passwd),vpw->pw_passwd)); ++c = crypt(clear_pass,vpw->pw_passwd); ++ ++if ( c == NULL ) return(-1); ++ ++return(strcmp(c,vpw->pw_passwd)); + } + + /***/ +diff --git a/vmysql.c b/vmysql.c +index 4215a39..c5173d9 100644 +--- a/vmysql.c b/vmysql.c +@@ -1862,7 +1862,13 @@ int vdel_limits(const char *domain) + // + int vauth_crypt(char *user,char *domain,char *clear_pass,struct vqpasswd *vpw) + { ++ const char *c; ++ + if ( vpw == NULL ) return(-1); + +- return(strcmp(crypt(clear_pass,vpw->pw_passwd),vpw->pw_passwd)); ++ c = crypt(clear_pass,vpw->pw_passwd); ++ ++ if ( c == NULL ) return(-1); ++ ++ return(strcmp(c,vpw->pw_passwd)); + } +diff --git a/vpgsql.c b/vpgsql.c +index c55b9e2..b5dd40b 100644 +--- a/vpgsql.c b/vpgsql.c +@@ -1667,8 +1667,14 @@ void vcreate_vlog_table() + + int vauth_crypt(char *user,char *domain,char *clear_pass,struct vqpasswd *vpw) + { ++ const char *c; ++ + if ( vpw == NULL ) return(-1); + +- return(strcmp(crypt(clear_pass,vpw->pw_passwd),vpw->pw_passwd)); ++ c = crypt(clear_pass,vpw->pw_passwd); ++ ++ if ( c == NULL ) return(-1); ++ ++ return(strcmp(c,vpw->pw_passwd)); + } + +diff --git a/vsybase.c b/vsybase.c +index c6d7234..26f7447 100644 +--- a/vsybase.c b/vsybase.c +@@ -640,7 +640,13 @@ int vshow_ip_map( int first, char *ip, char *domain); + + int vauth_crypt(char *user,char *domain,char *clear_pass,struct vqpasswd *vpw) + { ++ const
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: d45a0acb6acc504ba1f528074180f3b35b823db6 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sun Nov 17 08:05:52 2019 + Commit: Michał Górny gentoo org> CommitDate: Sun Nov 17 09:30:36 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d45a0acb net-mail/vpopmail: also depend on acct-user/vpopmail Was left out by accident. Signed-off-by: Rolf Eike Beer sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/13450 Signed-off-by: Michał Górny gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild | 1 + net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild | 1 + net-mail/vpopmail/vpopmail-5.4.33.ebuild| 1 + 3 files changed, 3 insertions(+) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild index fc5ea8ec421..6e9edf574f8 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild @@ -17,6 +17,7 @@ REQUIRED_USE="mysql? ( !postgres )" DEPEND=" acct-group/vpopmail + acct-user/vpopmail virtual/qmail maildrop? ( mail-filter/maildrop ) mysql? ( dev-db/mysql-connector-c:0= ) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild index 3b183346bb9..8041e162208 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r5.ebuild @@ -17,6 +17,7 @@ REQUIRED_USE="mysql? ( !postgres )" DEPEND=" acct-group/vpopmail + acct-user/vpopmail virtual/qmail maildrop? ( mail-filter/maildrop ) mysql? ( dev-db/mysql-connector-c:0= ) diff --git a/net-mail/vpopmail/vpopmail-5.4.33.ebuild b/net-mail/vpopmail/vpopmail-5.4.33.ebuild index e91114dbf41..a38b01a0082 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33.ebuild @@ -16,6 +16,7 @@ IUSE="clearpasswd ipalias maildrop mysql spamassassin" DEPEND=" acct-group/vpopmail + acct-user/vpopmail virtual/qmail maildrop? ( mail-filter/maildrop ) mysql? ( virtual/mysql )
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 0988016f9d479df15a83e5267fe741e4e2db32af Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Oct 22 14:50:21 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Oct 23 13:46:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0988016f net-mail/vpopmail: limit upgrade warnings to affected versions Signed-off-by: Rolf Eike Beer sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/13382 Signed-off-by: Joonas Niilola gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild index 3cbfe467136..fc5ea8ec421 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild @@ -217,14 +217,16 @@ pkg_postrm() { } upgradewarning() { - ewarn - ewarn "Massive important warning if you are upgrading to 5.2.1-r8 or older" - ewarn "The internal structure of the mail storage has changed for" - ewarn "consistancy with the rest of Gentoo! Please review and utilize the " - ewarn "script at ${VPOP_HOME}/bin/vpopmail-Maildir-dotmaildir-fix.sh" - ewarn "to upgrade your system! (It can do conversions both ways)." - ewarn "You should be able to run it right away without any changes." - ewarn + if has_version "<=net-mail/vpopmail-5.2.1-r8"; then + ewarn + ewarn "Massive important warning if you are upgrading to 5.2.1-r8 or older" + ewarn "The internal structure of the mail storage has changed for" + ewarn "consistancy with the rest of Gentoo! Please review and utilize the " + ewarn "script at ${VPOP_HOME}/bin/vpopmail-Maildir-dotmaildir-fix.sh" + ewarn "to upgrade your system! (It can do conversions both ways)." + ewarn "You should be able to run it right away without any changes." + ewarn + fi elog elog "Use of vpopmail's tcp.smtp[.cdb] is also deprecated now, consider" @@ -232,10 +234,12 @@ upgradewarning() { elog if use mysql; then - elog - elog "If you are upgrading from 5.4.17 or older, you have to fix your" - elog "MySQL tables, please see the UPGRADE file in the documentation!" - elog + if has_version "<=net-mail/vpopmail-5.4.17"; then + elog + elog "If you are upgrading from 5.4.17 or older, you have to fix your" + elog "MySQL tables, please see the UPGRADE file in the documentation!" + elog + fi fi ewarn
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 9783b0fa207904be50354a7a2e3119f36ae5d83c Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Oct 1 17:24:04 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Oct 4 04:37:54 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9783b0fa net-mail/vpopmail: remove old (5.4.33-r3) Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Joonas Niilola gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild | 304 1 file changed, 304 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild deleted file mode 100644 index eca83681371..000 --- a/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild +++ /dev/null @@ -1,304 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools eutils fixheadtails qmail user - -HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; -DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" -REQUIRED_USE="mysql? ( !postgres )" - -DEPEND=" - acct-group/vpopmail - virtual/qmail - maildrop? ( mail-filter/maildrop ) - mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql:=[server] ) - spamassassin? ( mail-filter/spamassassin )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-5.4.9-access.violation.patch - "${FILESDIR}"/${PN}-lazy.patch - "${FILESDIR}"/${PN}-vpgsql.patch - "${FILESDIR}"/${PN}-double-free.patch -) -DOCS=( - ChangeLog - doc/AUTHORS - doc/FAQ - doc/INSTALL - doc/README.activedirectory - doc/README.authvchkpw - doc/README.filelocking - doc/README.ipaliasdomains - doc/README.ldap - doc/README.maildrop - doc/README.mysql - doc/README.onchange - doc/README.oracle - doc/README.pgsql - doc/README.qmail-default - doc/README.quotas - doc/README.roamingusers - doc/README.spamassassin - doc/README.sybase - doc/README.vdelivermail - doc/README.vlimits - doc/README.vpopmaild - doc/README.vqmaillocal -) -HTML_DOCS=( - doc/doc_html/vpopmail5.abw - doc/doc_html/vpopmailapi.png - doc/doc_html/vpopmail.html - doc/man_html/clearopensmtp.html - doc/man_html/index.html - doc/man_html/vaddaliasdomain.html - doc/man_html/vadddomain.html - doc/man_html/vadduser.html - doc/man_html/vchkpw.html - doc/man_html/vconvert.html - doc/man_html/vdeldomain.html - doc/man_html/vdelivermail.html - doc/man_html/vdeluser.html - doc/man_html/vpasswd.html - doc/man_html/vpopbull.html - doc/man_html/vsetuserquota.html -) - -# This makes sure the variable is set, and that it isn't null. -VPOP_DEFAULT_HOME="/var/vpopmail" - -vpopmail_set_homedir() { - VPOP_HOME=$(egethome vpopmail) - if [[ -z "${VPOP_HOME}" ]]; then - eerror "vpopmail's home directory is null in passwd data!" - eerror "You probably want to check that out." - eerror "Continuing with default." - VPOP_HOME="${VPOP_DEFAULT_HOME}" - else - einfo "Setting VPOP_HOME to: $VPOP_HOME" - fi -} - -pkg_setup() { - enewuser vpopmail 89 -1 ${VPOP_DEFAULT_HOME} vpopmail - upgradewarning -} - -src_prepare() { - default - - echo 'install-recursive: install-exec-am' \ - >>"${S}"/Makefile.am - - # fix maildir paths - sed -i -e 's|Maildir|.maildir|g' \ - vchkpw.c vconvert.c vdelivermail.c \ - vpopbull.c vpopmail.c vqmaillocal.c \ - vuserinfo.c maildirquota.c || die - - # remove vpopmail advertisement - sed -i -e '/printf.*vpopmail/s:vpopmail (:(:' \ - vdelivermail.c vpopbull.c vqmaillocal.c || die - - # automake/autoconf - mv -f "${S}"/configure.{in,ac} || die - sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' \ - configure.ac || die - - # _FORTIFY_SOURCE - sed -i \ - -e 's/\(snprintf(\s*\(LI->[a-zA-Z_]\+\),\s*\)[a-zA-Z_]\+,/\1 sizeof(\2),/' \ - vlistlib.c || die - - eautoreconf - ht_fix_file cdb/Makefile -} - -src_configure() { - vpopmail_set_homedir - - local authopts - if use mysql; then - incdir=$(mysql_config --variable=pkgincludedir) - libdir=$(mysql_config --variable=pkglibdir) - authopts+=" --enable-auth-module=mysql" - authopts+=" --enable-incdir=${incdir}" - authopts+=" --enable-libdir=${libdir}"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/files/
commit: d4ab9229494efcc56997227dd3d27dadd2ae0121 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Oct 1 14:55:51 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Oct 1 16:10:36 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4ab9229 net-mail/vpopmail: clean up patch headers Signed-off-by: Rolf Eike Beer sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/13117 Signed-off-by: Joonas Niilola gentoo.org> net-mail/vpopmail/files/vpopmail-5.4.9-access.violation.patch | 2 +- net-mail/vpopmail/files/vpopmail-lazy.patch | 2 +- net-mail/vpopmail/files/vpopmail-vpgsql.patch | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net-mail/vpopmail/files/vpopmail-5.4.9-access.violation.patch b/net-mail/vpopmail/files/vpopmail-5.4.9-access.violation.patch index ed7c62e7639..5363267a21a 100644 --- a/net-mail/vpopmail/files/vpopmail-5.4.9-access.violation.patch +++ b/net-mail/vpopmail/files/vpopmail-5.4.9-access.violation.patch @@ -1,4 +1,4 @@ a/configure.in.org 2004-06-30 22:11:08.0 -0700 +--- a/configure.in 2004-06-30 22:11:08.0 -0700 +++ b/configure.in 2004-08-22 16:45:36.279473008 -0700 @@ -463,16 +463,16 @@ if test ! -d $vpopmaildir diff --git a/net-mail/vpopmail/files/vpopmail-lazy.patch b/net-mail/vpopmail/files/vpopmail-lazy.patch index 4f4888ea6ba..7db04f8af46 100644 --- a/net-mail/vpopmail/files/vpopmail-lazy.patch +++ b/net-mail/vpopmail/files/vpopmail-lazy.patch @@ -1,4 +1,4 @@ a/Makefile.am.orig 2005-11-18 03:19:43.0 +0100 +--- a/Makefile.am 2005-11-18 03:19:43.0 +0100 +++ b/Makefile.am 2005-11-18 03:20:18.0 +0100 @@ -33,6 +33,7 @@ diff --git a/net-mail/vpopmail/files/vpopmail-vpgsql.patch b/net-mail/vpopmail/files/vpopmail-vpgsql.patch index 8869356c7e4..941cd9708ae 100644 --- a/net-mail/vpopmail/files/vpopmail-vpgsql.patch +++ b/net-mail/vpopmail/files/vpopmail-vpgsql.patch @@ -1,4 +1,4 @@ a/vpgsql.c.2 2011-02-28 18:00:45.0 +0100 +--- a/vpgsql.c 2011-02-28 18:00:45.0 +0100 +++ b/vpgsql.c 2011-08-06 05:46:49.959717911 +0200 @@ -392,10 +392,10 @@ #endif
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 4a1b9aba414abe2f31da43724ba71f38e076dde0 Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Sep 26 20:26:32 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Sat Sep 28 06:46:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1b9aba net-mail/vpopmail: use acct-user/vpopmail Since this introduces a change if the user actually changed the home directory of that user in an older version it is only used in the most recent ebuild. Signed-off-by: Rolf Eike Beer sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/13049 Signed-off-by: Joonas Niilola gentoo.org> net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild | 25 +++-- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild index 4b291b71351..3cbfe467136 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools eutils fixheadtails qmail user +inherit autotools eutils fixheadtails qmail HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" @@ -38,6 +38,7 @@ PATCHES=( "${FILESDIR}"/${PN}-5.4.33-unistd.patch ) DOCS=( + ChangeLog doc/. ) HTML_DOCS=( @@ -45,23 +46,9 @@ HTML_DOCS=( man_html/. ) -# This makes sure the variable is set, and that it isn't null. -VPOP_DEFAULT_HOME="/var/vpopmail" - -vpopmail_set_homedir() { - VPOP_HOME=$(egethome vpopmail) - if [[ -z "${VPOP_HOME}" ]]; then - eerror "vpopmail's home directory is null in passwd data!" - eerror "You probably want to check that out." - eerror "Continuing with default." - VPOP_HOME="${VPOP_DEFAULT_HOME}" - else - einfo "Setting VPOP_HOME to: $VPOP_HOME" - fi -} +VPOP_HOME="/var/vpopmail" pkg_setup() { - enewuser vpopmail 89 -1 ${VPOP_DEFAULT_HOME} vpopmail upgradewarning } @@ -96,8 +83,6 @@ src_prepare() { } src_configure() { - vpopmail_set_homedir - local authopts if use mysql; then incdir=$(mysql_config --variable=pkgincludedir || die) @@ -148,8 +133,6 @@ src_configure() { } src_install() { - vpopmail_set_homedir - emake DESTDIR="${D}" install keepdir "${VPOP_HOME}"/domains @@ -229,8 +212,6 @@ pkg_postinst() { } pkg_postrm() { - vpopmail_set_homedir - elog "The vpopmail DATA will NOT be removed automatically." elog "You can delete them manually by removing the ${VPOP_HOME} directory." }
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/files/, net-mail/vpopmail/
commit: fc4c22fc0de9daba8b528c57a7f515a5da7bc332 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat Sep 21 18:08:04 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Sep 26 15:59:56 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc4c22fc net-mail/vpopmail: add some more patches I have been running all but the strncat patch on my server for years now. The strncat patch was taken from upstream bugtracker and looks sane to me. While at it also package the upgrade instructions and let the user look them up there. Closes: https://bugs.gentoo.org/472420 Closes: https://bugs.gentoo.org/479432 Signed-off-by: Rolf Eike Beer sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/12990 Signed-off-by: Joonas Niilola gentoo.org> ...vpopmail-5.4.33-clean-up-calling-maildrop.patch | 74 ++ ...n-case-spamassassin-changed-the-file-size.patch | 96 ...se-vfork-instances-that-do-more-than-exec.patch | 77 ++ 4.33-remove-unneeded-forward-declaration.patch | 24 ++ .../vpopmail/files/vpopmail-5.4.33-strncat.patch | 166 + .../vpopmail/files/vpopmail-5.4.33-unistd.patch| 9 + .../vpopmail-5.4.33-vdelivermail-add-static.patch | 34 +++ net-mail/vpopmail/vpopmail-5.4.33-r4.ebuild| 266 + 8 files changed, 746 insertions(+) diff --git a/net-mail/vpopmail/files/vpopmail-5.4.33-clean-up-calling-maildrop.patch b/net-mail/vpopmail/files/vpopmail-5.4.33-clean-up-calling-maildrop.patch new file mode 100644 index 000..c85c1b3150d --- /dev/null +++ b/net-mail/vpopmail/files/vpopmail-5.4.33-clean-up-calling-maildrop.patch @@ -0,0 +1,74 @@ +From 692e6f75056d93f0e9a024e3638259d5ba0fe398 Mon Sep 17 00:00:00 2001 +From: Rolf Eike Beer +Date: Thu, 21 Aug 2014 17:55:27 +0200 +Subject: [PATCH 4/5] clean up calling maildrop + +-add const for arguments +-do not prepend "| " to call for preline, run_command() will then just skip + over this anyway +-put the buffer for the maildrop command in the most local scope +--- + vdelivermail.c | 14 ++ + 1 file changed, 6 insertions(+), 8 deletions(-) + +diff --git a/vpopmail-5.4.33/vdelivermail.c b/vpopmail-5.4.33/vdelivermail.c +index be83a2a..2ad2e12 100644 +--- a/vdelivermail.c b/vdelivermail.c +@@ -94,7 +94,7 @@ ssize_t get_message_size(); + void deliver_mail(char *address, char *quota); + int check_forward_deliver(char *dir); + int is_looping( char *address ); +-void run_command(char *prog); ++static void run_command(const char *prog); + void checkuser(void); + void usernotfound(void); + int is_loop_match( const char *dt, const char *address); +@@ -360,9 +360,6 @@ static int fdcopy (int write_fd, int read_fd, const char *extra_headers, size_t + long unsigned pid; + int pim[2]; + #endif +-#ifdef MAILDROP +- char maildrop_command[256]; +-#endif + + /* write the Return-Path: and Delivered-To: headers */ + if (headerlen > 0) { +@@ -409,7 +406,8 @@ static int fdcopy (int write_fd, int read_fd, const char *extra_headers, size_t + #ifdef MAILDROP + if ( limits.disable_maildrop==0 && vpw!=NULL && +!(vpw->pw_gid & NO_MAILDROP) ) { +- sprintf(maildrop_command, "| preline %s", MAILDROP_PROG); ++ char maildrop_command[256]; ++ sprintf(maildrop_command, "preline %s", MAILDROP_PROG); + run_command(maildrop_command); + DeleteMail = 1; + return(0); +@@ -896,13 +894,13 @@ void (*f)(); + /* open a pipe to a command + * return the pid or -1 if error + */ +-void run_command(char *prog) ++void run_command(const char *prog) + { + + #define MAX_ENV_BUFF 100 + + int child; +- char *(args[4]); ++ const char *(args[4]); + int wstat; + + while ((*prog == ' ') || (*prog == '|')) ++prog; +@@ -915,7 +913,7 @@ void run_command(char *prog) +case 0: + + putenv("SHELL=/bin/sh"); +- args[0] = "/bin/sh"; args[1] = "-c"; args[2] = prog; args[3] = 0; ++ args[0] = "/bin/sh"; args[1] = "-c"; args[2] = prog; args[3] = NULL; + sig_catch(SIGPIPE,SIG_DFL); + execv(*args,args); + printf("Unable to run /bin/sh: %d.", errno); +-- +1.8.4.5 + diff --git a/net-mail/vpopmail/files/vpopmail-5.4.33-fix-S-tag-in-case-spamassassin-changed-the-file-size.patch b/net-mail/vpopmail/files/vpopmail-5.4.33-fix-S-tag-in-case-spamassassin-changed-the-file-size.patch new file mode 100644 index 000..db22a6efde4 --- /dev/null +++ b/net-mail/vpopmail/files/vpopmail-5.4.33-fix-S-tag-in-case-spamassassin-changed-the-file-size.patch @@ -0,0 +1,96 @@ +From fd0a1034e3842ceb573851e62547b26a2b389263 Mon Sep 17 00:00:00 2001 +From: Rolf Eike Beer +Date: Thu, 21 Aug 2014 18:48:52 +0200 +Subject: [PATCH 5/5] fix ,S= tag in case spamassassin changed the file size + +--- + vdelivermail.c | 24 +--- + 1 file changed, 21 insertions(+), 3 deletions(-) + +diff --git a/vpopmail-5.4.33/vdelivermail.c b/vpopmail-5.4.33/vdelivermail.c +index 2ad2e12..3631c3c 100644 +---
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/, acct-group/vpopmail/
commit: 9dbfc4954b1411a5bf25a7e1456e42cb76631892 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Sep 24 15:30:34 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Sep 26 15:59:52 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dbfc495 acct-group/vpopmail: add new group (GID 89) Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Joonas Niilola gentoo.org> acct-group/vpopmail/metadata.xml| 12 acct-group/vpopmail/vpopmail-0.ebuild | 8 net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild | 5 +++-- net-mail/vpopmail/vpopmail-5.4.33.ebuild| 5 +++-- 4 files changed, 26 insertions(+), 4 deletions(-) diff --git a/acct-group/vpopmail/metadata.xml b/acct-group/vpopmail/metadata.xml new file mode 100644 index 000..984c50fcb5c --- /dev/null +++ b/acct-group/vpopmail/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + e...@sf-mail.de + Rolf Eike Beer + + + proxy-ma...@gentoo.org + Proxy Maintainers + + diff --git a/acct-group/vpopmail/vpopmail-0.ebuild b/acct-group/vpopmail/vpopmail-0.ebuild new file mode 100644 index 000..fed48eea304 --- /dev/null +++ b/acct-group/vpopmail/vpopmail-0.ebuild @@ -0,0 +1,8 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-group + +ACCT_GROUP_ID=89 diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild index 9aec8fe2f04..eca83681371 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild @@ -15,7 +15,9 @@ KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )" -DEPEND="virtual/qmail +DEPEND=" + acct-group/vpopmail + virtual/qmail maildrop? ( mail-filter/maildrop ) mysql? ( dev-db/mysql-connector-c:0= ) postgres? ( dev-db/postgresql:=[server] ) @@ -88,7 +90,6 @@ vpopmail_set_homedir() { } pkg_setup() { - enewgroup vpopmail 89 enewuser vpopmail 89 -1 ${VPOP_DEFAULT_HOME} vpopmail upgradewarning } diff --git a/net-mail/vpopmail/vpopmail-5.4.33.ebuild b/net-mail/vpopmail/vpopmail-5.4.33.ebuild index bfc60278c20..e91114dbf41 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33.ebuild @@ -14,7 +14,9 @@ SLOT="0" KEYWORDS="amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86" IUSE="clearpasswd ipalias maildrop mysql spamassassin" -DEPEND="virtual/qmail +DEPEND=" + acct-group/vpopmail + virtual/qmail maildrop? ( mail-filter/maildrop ) mysql? ( virtual/mysql ) spamassassin? ( mail-filter/spamassassin )" @@ -36,7 +38,6 @@ vpopmail_set_homedir() { } pkg_setup() { - enewgroup vpopmail 89 enewuser vpopmail 89 -1 ${VPOP_DEFAULT_HOME} vpopmail upgradewarning }
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/, mail-mta/netqmail/
commit: 0b94e8bac6d5ea7503b98879f63662c3dc26d5e3 Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Sep 19 18:38:52 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Sep 19 19:25:49 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b94e8ba */*: update my email addresses (proxy-maint) Signed-off-by: Rolf Eike Beer sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/12973 Signed-off-by: Joonas Niilola gentoo.org> mail-mta/netqmail/metadata.xml | 2 +- net-mail/vpopmail/metadata.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mail-mta/netqmail/metadata.xml b/mail-mta/netqmail/metadata.xml index 913438ace92..c6d66631634 100644 --- a/mail-mta/netqmail/metadata.xml +++ b/mail-mta/netqmail/metadata.xml @@ -2,7 +2,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - gentoo-...@opensource.sf-tec.de + e...@sf-mail.de Rolf Eike Beer diff --git a/net-mail/vpopmail/metadata.xml b/net-mail/vpopmail/metadata.xml index f9b2c9fab97..802fb575c68 100644 --- a/net-mail/vpopmail/metadata.xml +++ b/net-mail/vpopmail/metadata.xml @@ -2,7 +2,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - gentoo-...@opensource.sf-tec.de + e...@sf-mail.de Rolf Eike Beer
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: a611a2ddc99b1bffafca22260ed2265191877683 Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed Sep 18 19:58:42 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Sep 19 16:12:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a611a2dd net-mail/vpopmail: take it Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Joonas Niilola gentoo.org> net-mail/vpopmail/metadata.xml | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net-mail/vpopmail/metadata.xml b/net-mail/vpopmail/metadata.xml index 75187aec0ef..f9b2c9fab97 100644 --- a/net-mail/vpopmail/metadata.xml +++ b/net-mail/vpopmail/metadata.xml @@ -1,7 +1,14 @@ http://www.gentoo.org/dtd/metadata.dtd;> - + + gentoo-...@opensource.sf-tec.de + Rolf Eike Beer + + + proxy-ma...@gentoo.org + Proxy Maintainers + Enables cleartext password storage in the vpasswd files
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/files/, net-mail/vpopmail/
commit: cf9877fcfdad14fd1c2dff9736b951a55637de08 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sun Sep 15 12:46:22 2019 + Commit: Michał Górny gentoo org> CommitDate: Sun Sep 15 15:19:26 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf9877fc net-mail/vpopmail: make patches apply with -p1 Both ebuilds still are able to apply them afterwards. Signed-off-by: Rolf Eike Beer sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/12929 Signed-off-by: Michał Górny gentoo.org> net-mail/vpopmail/files/vpopmail-5.4.9-access.violation.patch | 4 ++-- net-mail/vpopmail/files/vpopmail-double-free.patch| 4 ++-- net-mail/vpopmail/files/vpopmail-lazy.patch | 4 ++-- net-mail/vpopmail/files/vpopmail-vpgsql.patch | 4 ++-- net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild | 2 -- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/net-mail/vpopmail/files/vpopmail-5.4.9-access.violation.patch b/net-mail/vpopmail/files/vpopmail-5.4.9-access.violation.patch index 7a31fa9a3d3..ed7c62e7639 100644 --- a/net-mail/vpopmail/files/vpopmail-5.4.9-access.violation.patch +++ b/net-mail/vpopmail/files/vpopmail-5.4.9-access.violation.patch @@ -1,5 +1,5 @@ configure.in.org 2004-06-30 22:11:08.0 -0700 -+++ configure.in 2004-08-22 16:45:36.279473008 -0700 +--- a/configure.in.org 2004-06-30 22:11:08.0 -0700 b/configure.in 2004-08-22 16:45:36.279473008 -0700 @@ -463,16 +463,16 @@ if test ! -d $vpopmaildir then diff --git a/net-mail/vpopmail/files/vpopmail-double-free.patch b/net-mail/vpopmail/files/vpopmail-double-free.patch index 16a40b82c4f..3e238f3303d 100644 --- a/net-mail/vpopmail/files/vpopmail-double-free.patch +++ b/net-mail/vpopmail/files/vpopmail-double-free.patch @@ -1,7 +1,7 @@ diff --git a/trunk/vpalias.c b/trunk/vpalias.c index 9853f14..e9bd81f 100644 vpalias.c -+++ vpalias.c +--- a/vpalias.c b/vpalias.c @@ -369,7 +369,7 @@ char *valias_select_names( char *domain ) } } diff --git a/net-mail/vpopmail/files/vpopmail-lazy.patch b/net-mail/vpopmail/files/vpopmail-lazy.patch index e47bbaa9d4b..4f4888ea6ba 100644 --- a/net-mail/vpopmail/files/vpopmail-lazy.patch +++ b/net-mail/vpopmail/files/vpopmail-lazy.patch @@ -1,5 +1,5 @@ Makefile.am.orig 2005-11-18 03:19:43.0 +0100 -+++ Makefile.am2005-11-18 03:20:18.0 +0100 +--- a/Makefile.am.orig 2005-11-18 03:19:43.0 +0100 b/Makefile.am 2005-11-18 03:20:18.0 +0100 @@ -33,6 +33,7 @@ vchkpw_SOURCES = vchkpw.c md5.c hmac_md5.c diff --git a/net-mail/vpopmail/files/vpopmail-vpgsql.patch b/net-mail/vpopmail/files/vpopmail-vpgsql.patch index 1d387e43f59..8869356c7e4 100644 --- a/net-mail/vpopmail/files/vpopmail-vpgsql.patch +++ b/net-mail/vpopmail/files/vpopmail-vpgsql.patch @@ -1,5 +1,5 @@ vpgsql.c.2 2011-02-28 18:00:45.0 +0100 -+++ vpgsql.c 2011-08-06 05:46:49.959717911 +0200 +--- a/vpgsql.c.2 2011-02-28 18:00:45.0 +0100 b/vpgsql.c 2011-08-06 05:46:49.959717911 +0200 @@ -392,10 +392,10 @@ #endif diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild index 11ed896e628..9aec8fe2f04 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild @@ -23,8 +23,6 @@ DEPEND="virtual/qmail RDEPEND="${DEPEND}" PATCHES=( - "-p0" - "--" "${FILESDIR}"/${PN}-5.4.9-access.violation.patch "${FILESDIR}"/${PN}-lazy.patch "${FILESDIR}"/${PN}-vpgsql.patch
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: e32903fe23f3508695d791c416a8439d1064e22f Author: Brian Evans gentoo org> AuthorDate: Mon Feb 18 21:27:43 2019 + Commit: Brian Evans gentoo org> CommitDate: Mon Feb 18 21:29:54 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e32903fe net-mail/vpopmail: Revbump to change dependencies Do not depend on mariadb-connector-c[mysqlcompat] especially in a an "OR" dependency. It is broken this way. Bug: https://bugs.gentoo.org/666002 Package-Manager: Portage-2.3.61, Repoman-2.3.12 Signed-off-by: Brian Evans gentoo.org> .../vpopmail/{vpopmail-5.4.33-r2.ebuild => vpopmail-5.4.33-r3.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild similarity index 98% rename from net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild rename to net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild index 244a0119098..11ed896e628 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -17,7 +17,7 @@ REQUIRED_USE="mysql? ( !postgres )" DEPEND="virtual/qmail maildrop? ( mail-filter/maildrop ) - mysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c[mysqlcompat] ) ) + mysql? ( dev-db/mysql-connector-c:0= ) postgres? ( dev-db/postgresql:=[server] ) spamassassin? ( mail-filter/spamassassin )" RDEPEND="${DEPEND}"
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: ce73e9fc91ec8bdf6e238987ee4f765f64bcd73d Author: Robin H. Johnson gentoo org> AuthorDate: Wed Jun 6 21:16:26 2018 + Commit: Robin H. Johnson gentoo org> CommitDate: Fri Jun 8 05:11:40 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce73e9fc net-mail/vpopmail: fix linking Bug: https://bugs.gentoo.org/526590 Signed-off-by: Robin H. Johnson gentoo.org> Package-Manager: Portage-2.3.33, Repoman-2.3.9 net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild| 15 +++--- ...-5.4.33-r1.ebuild => vpopmail-5.4.33-r2.ebuild} | 23 -- net-mail/vpopmail/vpopmail-5.4.33.ebuild | 15 +++--- 3 files changed, 29 insertions(+), 24 deletions(-) diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild index ecc09b21af2..a41fd4be75c 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -82,14 +82,15 @@ src_configure() { local authopts if use mysql; then - mysqlinc=$(mysql_config --include) - authopts="--enable-incdir=${mysqlinc#-I}" + incdir=$(mysql_config --variable=pkgincludedir) + libdir=$(mysql_config --variable=pkglibdir) authopts+=" --enable-auth-module=mysql" - authopts+=" --enable-libdir=/usr/$(get_libdir)/mysql" - authopts+=" --enable-sql-logging" + authopts+=" --enable-incdir=${incdir}" + authopts+=" --enable-libdir=${libdir}" + authopts+=" --enable-sql-logging" authopts+=" --enable-valias" - authopts+=" --disable-mysql-replication" - authopts+=" --enable-mysql-limits" + authopts+=" --disable-mysql-replication" + authopts+=" --enable-mysql-limits" elif use postgres; then pglibdir=$(pg_config --libdir) authopts+=" --enable-auth-module=pgsql" diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild similarity index 92% copy from net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild copy to net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild index ecc09b21af2..498c53bc733 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -17,7 +17,7 @@ REQUIRED_USE="mysql? ( !postgres )" DEPEND="virtual/qmail maildrop? ( mail-filter/maildrop ) - mysql? ( virtual/mysql ) + mysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c[mysqlcompat] ) ) postgres? ( dev-db/postgresql[server] ) spamassassin? ( mail-filter/spamassassin )" RDEPEND="${DEPEND}" @@ -82,18 +82,21 @@ src_configure() { local authopts if use mysql; then - mysqlinc=$(mysql_config --include) - authopts="--enable-incdir=${mysqlinc#-I}" + incdir=$(mysql_config --variable=pkgincludedir) + libdir=$(mysql_config --variable=pkglibdir) authopts+=" --enable-auth-module=mysql" - authopts+=" --enable-libdir=/usr/$(get_libdir)/mysql" - authopts+=" --enable-sql-logging" + authopts+=" --enable-incdir=${incdir}" + authopts+=" --enable-libdir=${libdir}" + authopts+=" --enable-sql-logging" authopts+=" --enable-valias" - authopts+=" --disable-mysql-replication" - authopts+=" --enable-mysql-limits" + authopts+=" --disable-mysql-replication" + authopts+=" --enable-mysql-limits" elif use postgres; then - pglibdir=$(pg_config --libdir) + libdir=$(pg_config --libdir) + incdir=$(pg_config --pkgincludedir) authopts+=" --enable-auth-module=pgsql" - authopts+=" --enable-libdir=${pglibdir}" + authopts+=" --enable-incdir=${incdir}" + authopts+=" --enable-libdir=${libdir}" authopts+=" --enable-sql-logging" authopts+=" --enable-valias" else diff --git a/net-mail/vpopmail/vpopmail-5.4.33.ebuild b/net-mail/vpopmail/vpopmail-5.4.33.ebuild index 0084ce003a7..e98c76b20ef 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=4 @@
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/files/, net-mail/vpopmail/
commit: 66059885d224eca79b8ede013342cef091704566 Author: Robin H. Johnson gentoo org> AuthorDate: Fri Jun 8 05:09:20 2018 + Commit: Robin H. Johnson gentoo org> CommitDate: Fri Jun 8 05:11:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66059885 net-mail/vpopmail: cleanup some outstanding bugs - Compile fix: MySQL include dir (#526590) - Remove ebeep (#646174) - Repoman warnings for dosym - EAPI=6 ebuild Closes: https://bugs.gentoo.org/526590 Closes: https://bugs.gentoo.org/646174 Signed-off-by: Robin H. Johnson gentoo.org> Package-Manager: Portage-2.3.33, Repoman-2.3.9 net-mail/vpopmail/files/vpopmail-double-free.patch | 4 +- net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild| 13 ++-- net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild| 75 ++ net-mail/vpopmail/vpopmail-5.4.33.ebuild | 11 ++-- 4 files changed, 80 insertions(+), 23 deletions(-) diff --git a/net-mail/vpopmail/files/vpopmail-double-free.patch b/net-mail/vpopmail/files/vpopmail-double-free.patch index d7d118578d7..16a40b82c4f 100644 --- a/net-mail/vpopmail/files/vpopmail-double-free.patch +++ b/net-mail/vpopmail/files/vpopmail-double-free.patch @@ -1,7 +1,7 @@ diff --git a/trunk/vpalias.c b/trunk/vpalias.c index 9853f14..e9bd81f 100644 a/trunk/vpalias.c -+++ b/trunk/vpalias.c +--- vpalias.c vpalias.c @@ -369,7 +369,7 @@ char *valias_select_names( char *domain ) } } diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild index a41fd4be75c..78bc92f714e 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild @@ -6,7 +6,7 @@ EAPI=5 inherit autotools eutils fixheadtails qmail user HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; -DESCRIPTION="A collection of programs to manage virtual email domains and accounts on your Qmail mail servers" +DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" @@ -18,7 +18,7 @@ REQUIRED_USE="mysql? ( !postgres )" DEPEND="virtual/qmail maildrop? ( mail-filter/maildrop ) mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql[server] ) + postgres? ( dev-db/postgresql:=[server] ) spamassassin? ( mail-filter/spamassassin )" RDEPEND="${DEPEND}" @@ -28,7 +28,6 @@ VPOP_DEFAULT_HOME="/var/vpopmail" vpopmail_set_homedir() { VPOP_HOME=$(egethome vpopmail) if [[ -z "${VPOP_HOME}" ]]; then - ebeep eerror "vpopmail's home directory is null in passwd data!" eerror "You probably want to check that out." eerror "Continuing with default." @@ -141,13 +140,17 @@ src_install() { dodoc doc/AUTHORS ChangeLog doc/FAQ doc/INSTALL doc/README* dohtml doc/doc_html/* doc/man_html/* rm -rf "${D}/${VPOP_HOME}"/doc - dosym /usr/share/doc/${PF}/ "${VPOP_HOME}"/doc + dosym \ + $(realpath --relative-to "${D}/${VPOP_HOME}"/ "${D}"/usr/share/doc/${PF}/) \ + "${VPOP_HOME}"/doc # create /etc/vpopmail.conf if use mysql; then dodir /etc mv "${D}${VPOP_HOME}"/etc/vpopmail.mysql "${D}"/etc/vpopmail.conf - dosym /etc/vpopmail.conf "${VPOP_HOME}"/etc/vpopmail.mysql + dosym \ + $(realpath --relative-to "${D}/${VPOP_HOME}"/etc/ "${D}"/etc/vpopmail.conf) \ + "${VPOP_HOME}"/etc/vpopmail.mysql sed -e '12d' -i "${D}"/etc/vpopmail.conf echo '# Read-only DB' >> "${D}"/etc/vpopmail.conf diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild index 498c53bc733..244a0119098 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit autotools eutils fixheadtails qmail user HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; -DESCRIPTION="A collection of programs to manage virtual email domains and accounts on your Qmail mail servers" +DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" @@ -18,17 +18,68 @@ REQUIRED_USE="mysql? ( !postgres )" DEPEND="virtual/qmail maildrop? ( mail-filter/maildrop ) mysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c[mysqlcompat] ) ) - postgres? ( dev-db/postgresql[server] ) + postgres? ( dev-db/postgresql:=[server] ) spamassassin? ( mail-filter/spamassassin )" RDEPEND="${DEPEND}" +PATCHES=( + "-p0" + "--" +
[gentoo-commits] repo/gentoo:master commit in: net-mail/vpopmail/
commit: 97c489acf95f4d030c5562ad7308e95c25e0173b Author: Manuel Rüger gentoo org> AuthorDate: Sat Apr 16 21:09:25 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Sat Apr 16 21:09:25 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c489ac net-mail/vpopmail: Remove old Package-Manager: portage-2.2.28 net-mail/vpopmail/Manifest | 2 - net-mail/vpopmail/vpopmail-5.4.16.ebuild| 246 net-mail/vpopmail/vpopmail-5.4.30-r1.ebuild | 231 -- net-mail/vpopmail/vpopmail-5.4.30-r2.ebuild | 233 -- 4 files changed, 712 deletions(-) diff --git a/net-mail/vpopmail/Manifest b/net-mail/vpopmail/Manifest index 80fd5b4..e3fff79 100644 --- a/net-mail/vpopmail/Manifest +++ b/net-mail/vpopmail/Manifest @@ -1,3 +1 @@ -DIST vpopmail-5.4.16.tar.gz 453019 SHA256 c1ea76e404082a116795dc3c49933b26f79cdbb49bca5ebc4fa170403a5e3c7a SHA512 a7ce5640a59ee7f216869d08cb681eb323910f4fd7dcc9f644fe9bcb842c6703745edbbd5bb95ab44dc59b4684a8e29b115a3aeb893ef7514fdc28eab46328d0 WHIRLPOOL 10bc8c4f05b11cabaaf69e49f42006bd8b46d671f189c4e5d8258e3fb88bffb76e086398792dc655b3a02d6f59efcb48727602b50273138a3b35940725faeba3 -DIST vpopmail-5.4.30.tar.gz 609358 SHA256 38239ca6f9dda25f70cc46106f3ffe8b9d3b95907ced54c15eb942c2ff387acc SHA512 62bb677cb2f928d37fff1346a7aa7a6f9f7900159d1edcf0f471bf252c59f19e2b8605c27033e9123339a75dc4058b4fd21ea5e05684590e50c94a1431d91c7b WHIRLPOOL 0a4caafe23dd649e6c5917bac6fa414dd702b8631231c94385a2afc24e977b3ea07e6cdf71261935e4a7df2e7508edad40124c15cfab2e02308c060c5d50e44a DIST vpopmail-5.4.33.tar.gz 612271 SHA256 383c7436dfb18e773336f608f1771fc08559143c4f3938a5807a0cc5994c44f4 SHA512 abd5060d709c661d95ca442c6f77c4c27cf30a3c6790fc36d76ccf379ed2e08c1f0af697b2bcc57176a2cdb2cb67f6c27236d7b3fa69a135fa87f45a5df208ab WHIRLPOOL 9b49635984e541880528e56da9932a74e1a0988ef0b82f0f15538b6f9744c3bf1e86da45dd5de0c55af714669547c48d1f13830c8480e6760bc548b5047520f3 diff --git a/net-mail/vpopmail/vpopmail-5.4.16.ebuild b/net-mail/vpopmail/vpopmail-5.4.16.ebuild deleted file mode 100644 index 920037a..000 --- a/net-mail/vpopmail/vpopmail-5.4.16.ebuild +++ /dev/null @@ -1,246 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils fixheadtails autotools user - -# TODO: all ldap, sybase support -#MY_PV=${PV/_/-} -#MY_P=${PN}-${MY_PV} -HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail; -DESCRIPTION="A collection of programs to manage virtual email domains and accounts on your Qmail mail servers" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm hppa ~ia64 ppc s390 sh sparc x86" -IUSE="mysql ipalias clearpasswd" -# vpopmail will NOT build if non-root. -RESTRICT="userpriv" - -DEPEND_COMMON="virtual/qmail - mysql? ( virtual/mysql )" -DEPEND="sys-apps/sed - sys-apps/ucspi-tcp - ${DEPEND_COMMON}" -RDEPEND="${DEPEND_COMMON} - virtual/cron" - -# S="${WORKDIR}/${MY_P}" - -# Define vpopmail home dir in /etc/password if different -VPOP_DEFAULT_HOME="/var/vpopmail" -VPOP_HOME="$VPOP_DEFAULT_HOME" - -# This makes sure the variable is set, and that it isn't null. -vpopmail_set_homedir() { - VPOP_HOME=$(egethome vpopmail) - if [ -z "$VPOP_HOME" ]; then - echo -ne "\a" - eerror "vpopmail's home directory is null in passwd data!" - eerror "You probably want to check that out." - eerror "Continuing with default." - VPOP_HOME="${VPOP_DEFAULT_HOME}" - else - einfo "Setting VPOP_HOME to: $VPOP_HOME" - fi -} - -pkg_setup() { - enewgroup vpopmail 89 - enewuser vpopmail 89 -1 ${VPOP_DEFAULT_HOME} vpopmail - upgradewarning -} - -src_unpack() { - # cd ${WORKDIR} - # unpack ${MY_P}.tar.gz - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/${PN}-5.4.9-access.violation.patch || die "failed to patch." - epatch ${FILESDIR}/${PN}-lazy.patch || die "failed to patch." - - sed -i \ - 's|Maildir|.maildir|g' \ - vchkpw.c vconvert.c vdelivermail.c \ - vpopbull.c vpopmail.c vqmaillocal.c \ - vuserinfo.c maildirquota.c \ - || die "failed to change Maildir to .maildir" - sed -i \ - '/printf.*vpopmail/s:vpopmail (:(:' \ - vdelivermail.c vpopbull.c vqmaillocal.c \ - || die "failed to remove vpopmail advertisement" - - eautoreconf - ht_fix_file ${S}/cdb/Makefile || die "failed to fix file" -} - -src_compile() { - vpopmail_set_homedir - - use ipalias \ - && myopts="${myopts} --enable-ip-alias-domains=y" \ - || myopts="${myopts} --enable-ip-alias-domains=n" - - use mysql \ - && myopts="${myopts}