commit:     f0a3953541287e81312ada56c09b13e17ab35088
Author:     Wim Muskee <wimmuskee <AT> gmail <DOT> com>
AuthorDate: Sun Oct 20 08:31:54 2019 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Nov  2 04:44:33 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0a39535

net-mail/autorespond: EAPI=7, update HOMEPAGE, SRC_URI

Closes: https://bugs.gentoo.org/680400
Bug: https://bugs.gentoo.org/697246
Signed-off-by: Wim Muskee <wimmuskee <AT> gmail.com>
(cherry picked from commit c48af03e838a343654ed4196e30747de3ba033e9)
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/13357

 net-mail/autorespond/autorespond-2.0.4.ebuild | 26 +++++++++-----------------
 net-mail/autorespond/autorespond-2.0.5.ebuild | 24 +++++++++---------------
 2 files changed, 18 insertions(+), 32 deletions(-)

diff --git a/net-mail/autorespond/autorespond-2.0.4.ebuild 
b/net-mail/autorespond/autorespond-2.0.4.ebuild
index 2baa30b392b..94509c8a81b 100644
--- a/net-mail/autorespond/autorespond-2.0.4.ebuild
+++ b/net-mail/autorespond/autorespond-2.0.4.ebuild
@@ -1,29 +1,22 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
-inherit eutils
-
-DEBIAN_PV="1"
-DEBIAN_P="${P/-/_}-${DEBIAN_PV}"
 DESCRIPTION="Autoresponder add on package for qmailadmin"
-HOMEPAGE="http://inter7.com/devel/";
+HOMEPAGE="http://inter7.com/software/";
 SRC_URI="mirror://sourceforge/qmailadmin/${P}.tar.gz
-       mirror://debian/pool/contrib/${PN:0:1}/${PN}/${DEBIAN_P}.diff.gz"
+       mirror://gentoo/${PN}_${PV}-1.diff.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc s390 sh sparc x86"
-IUSE=""
 
 RDEPEND="virtual/qmail"
-DEPEND=""
-
-src_unpack() {
-       unpack ${P}.tar.gz
-       epatch "${DISTDIR}"/${DEBIAN_P}.diff.gz
-}
+PATCHES=(
+       "${WORKDIR}/autorespond_2.0.4-1.diff"
+)
+DOCS=( README help_message qmail-auto ChangeLog )
 
 src_compile() {
        emake CFLAGS="${CFLAGS}" || die
@@ -32,7 +25,6 @@ src_compile() {
 src_install () {
        into /var/qmail
        dobin autorespond || die "dobin failed"
-       into /usr
-       dodoc README help_message qmail-auto ChangeLog
        doman *.1
+       einstalldocs
 }

diff --git a/net-mail/autorespond/autorespond-2.0.5.ebuild 
b/net-mail/autorespond/autorespond-2.0.5.ebuild
index e9589cc91b5..813522f4365 100644
--- a/net-mail/autorespond/autorespond-2.0.5.ebuild
+++ b/net-mail/autorespond/autorespond-2.0.5.ebuild
@@ -1,26 +1,21 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="Autoresponder add on package for qmailadmin"
-HOMEPAGE="http://inter7.com/devel/";
-SRC_URI="http://inter7.com/devel/${P}.tar.gz";
+HOMEPAGE="http://www.inter7.com/software/";
+SRC_URI="http://qmail.ixip.net/download/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86"
-IUSE=""
 
 RDEPEND="virtual/qmail"
-DEPEND=""
-
-src_unpack() {
-       unpack ${A}
-       epatch "${FILESDIR}"/${P}-no-include-bounce.patch
-}
+PATCHES=(
+       "${FILESDIR}/${P}-no-include-bounce.patch"
+)
+DOCS=( README help_message qmail-auto )
 
 src_compile() {
        emake CFLAGS="${CFLAGS}" || die
@@ -29,9 +24,8 @@ src_compile() {
 src_install () {
        into /var/qmail
        dobin autorespond || die "dobin failed"
-       into /usr
-       dodoc README help_message qmail-auto #ChangeLog
        doman *.1
+       einstalldocs
 }
 
 pkg_postinst() {

Reply via email to