Diff qmailadmin-1.2.15-r1 with a qmailadmin-1.2.16

/usr/portage/net-mail/qmailadmin/qmailadmin-1.2.16.ebuild 2021-04-03 19:09:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
WEBAPP_MANUAL_SLOT="yes"
7
inherit autotools qmail webapp
6
inherit qmail webapp autotools
8 7

  
9 8
MY_P=${P/_rc/-rc}
10 9

  
......
14 13

  
15 14
LICENSE="GPL-2"
16 15
SLOT="0"
17
KEYWORDS="amd64 arm ~hppa ~ia64 ppc ~s390 sparc x86"
16
WEBAPP_MANUAL_SLOT="yes"
17
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sparc ~x86"
18 18
IUSE="maildrop"
19 19
# the RESTRICT is because the vpopmail lib directory is locked down
20 20
# and non-root can't access them.
21 21
RESTRICT="userpriv"
22 22

  
23
RDEPEND="
24
	net-mail/autorespond
23
RDEPEND="virtual/qmail
25 24
	>=net-mail/vpopmail-5.4.33
26
	virtual/qmail
25
	net-mail/autorespond
27 26
	maildrop? ( >=mail-filter/maildrop-2.0.1 )"
28 27
DEPEND="${RDEPEND}"
29 28

  
......
31 30

  
32 31
src_prepare() {
33 32
	eapply "${FILESDIR}"/${PN}-1.2.9-maildir.patch
34
	eapply "${FILESDIR}"/${PN}-1.2.12-quota-overflow.patch
35
	eapply "${FILESDIR}"/${PN}-1.2.15-quota-security.patch
36 33
	eapply_user
37 34
	eautoreconf
38 35
}
......
81 78
	default
82 79

  
83 80
	webapp_src_install
81

  
82
	# CGI needs to be able to read /etc/vpopmail.conf
83
	# Which is 0640 root:vpopmail, as it contains passwords
84
	cgi=/usr/share/webapps/${PN}/${PV}/hostroot/cgi-bin/qmailadmin
85
	fowners root:vpopmail ${cgi}
86
	fperms g+s ${cgi}
84 87
}
85 88

  
86 89
pkg_postinst() {
87 90
	einfo "If you would like support for ezmlm mailing lists inside qmailadmin,"
88 91
	einfo "please emerge some variant of ezmlm-idx."
89 92
	webapp_pkg_postinst
93
	einfo "For complete webapp-config support:"
94
	einfo "1. Add this for the Apache cgi-bin dir: Options +ExecCGI -MultiViews +FollowSymLinks"
95
	einfo "2. Run: webapp-config -I -h localhost -d qmailadmin ${PN} ${PV}"
96
	einfo "3. Symlink: ln -s {/usr/share/webapps/${PN}/${PV}/hostroot,/var/www/localhost}/cgi-bin/${PN}"
90 97
}
Thank you!