Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/autorespond/
Date: Sat, 02 Nov 2019 04:44:57
Message-Id: 1572669873.f0a3953541287e81312ada56c09b13e17ab35088.robbat2@gentoo
1 commit: f0a3953541287e81312ada56c09b13e17ab35088
2 Author: Wim Muskee <wimmuskee <AT> gmail <DOT> com>
3 AuthorDate: Sun Oct 20 08:31:54 2019 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 2 04:44:33 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0a39535
7
8 net-mail/autorespond: EAPI=7, update HOMEPAGE, SRC_URI
9
10 Closes: https://bugs.gentoo.org/680400
11 Bug: https://bugs.gentoo.org/697246
12 Signed-off-by: Wim Muskee <wimmuskee <AT> gmail.com>
13 (cherry picked from commit c48af03e838a343654ed4196e30747de3ba033e9)
14 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
15 Closes: https://github.com/gentoo/gentoo/pull/13357
16
17 net-mail/autorespond/autorespond-2.0.4.ebuild | 26 +++++++++-----------------
18 net-mail/autorespond/autorespond-2.0.5.ebuild | 24 +++++++++---------------
19 2 files changed, 18 insertions(+), 32 deletions(-)
20
21 diff --git a/net-mail/autorespond/autorespond-2.0.4.ebuild b/net-mail/autorespond/autorespond-2.0.4.ebuild
22 index 2baa30b392b..94509c8a81b 100644
23 --- a/net-mail/autorespond/autorespond-2.0.4.ebuild
24 +++ b/net-mail/autorespond/autorespond-2.0.4.ebuild
25 @@ -1,29 +1,22 @@
26 -# Copyright 1999-2018 Gentoo Foundation
27 +# Copyright 1999-2019 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 -EAPI=0
31 +EAPI=7
32
33 -inherit eutils
34 -
35 -DEBIAN_PV="1"
36 -DEBIAN_P="${P/-/_}-${DEBIAN_PV}"
37 DESCRIPTION="Autoresponder add on package for qmailadmin"
38 -HOMEPAGE="http://inter7.com/devel/"
39 +HOMEPAGE="http://inter7.com/software/"
40 SRC_URI="mirror://sourceforge/qmailadmin/${P}.tar.gz
41 - mirror://debian/pool/contrib/${PN:0:1}/${PN}/${DEBIAN_P}.diff.gz"
42 + mirror://gentoo/${PN}_${PV}-1.diff.gz"
43
44 LICENSE="GPL-2"
45 SLOT="0"
46 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc s390 sh sparc x86"
47 -IUSE=""
48
49 RDEPEND="virtual/qmail"
50 -DEPEND=""
51 -
52 -src_unpack() {
53 - unpack ${P}.tar.gz
54 - epatch "${DISTDIR}"/${DEBIAN_P}.diff.gz
55 -}
56 +PATCHES=(
57 + "${WORKDIR}/autorespond_2.0.4-1.diff"
58 +)
59 +DOCS=( README help_message qmail-auto ChangeLog )
60
61 src_compile() {
62 emake CFLAGS="${CFLAGS}" || die
63 @@ -32,7 +25,6 @@ src_compile() {
64 src_install () {
65 into /var/qmail
66 dobin autorespond || die "dobin failed"
67 - into /usr
68 - dodoc README help_message qmail-auto ChangeLog
69 doman *.1
70 + einstalldocs
71 }
72
73 diff --git a/net-mail/autorespond/autorespond-2.0.5.ebuild b/net-mail/autorespond/autorespond-2.0.5.ebuild
74 index e9589cc91b5..813522f4365 100644
75 --- a/net-mail/autorespond/autorespond-2.0.5.ebuild
76 +++ b/net-mail/autorespond/autorespond-2.0.5.ebuild
77 @@ -1,26 +1,21 @@
78 -# Copyright 1999-2018 Gentoo Foundation
79 +# Copyright 1999-2019 Gentoo Authors
80 # Distributed under the terms of the GNU General Public License v2
81
82 -EAPI=0
83 -
84 -inherit eutils
85 +EAPI=7
86
87 DESCRIPTION="Autoresponder add on package for qmailadmin"
88 -HOMEPAGE="http://inter7.com/devel/"
89 -SRC_URI="http://inter7.com/devel/${P}.tar.gz"
90 +HOMEPAGE="http://www.inter7.com/software/"
91 +SRC_URI="http://qmail.ixip.net/download/${P}.tar.gz"
92
93 LICENSE="GPL-2"
94 SLOT="0"
95 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86"
96 -IUSE=""
97
98 RDEPEND="virtual/qmail"
99 -DEPEND=""
100 -
101 -src_unpack() {
102 - unpack ${A}
103 - epatch "${FILESDIR}"/${P}-no-include-bounce.patch
104 -}
105 +PATCHES=(
106 + "${FILESDIR}/${P}-no-include-bounce.patch"
107 +)
108 +DOCS=( README help_message qmail-auto )
109
110 src_compile() {
111 emake CFLAGS="${CFLAGS}" || die
112 @@ -29,9 +24,8 @@ src_compile() {
113 src_install () {
114 into /var/qmail
115 dobin autorespond || die "dobin failed"
116 - into /usr
117 - dodoc README help_message qmail-auto #ChangeLog
118 doman *.1
119 + einstalldocs
120 }
121
122 pkg_postinst() {