Diff tpop3d-1.5.5 with a tpop3d-1.5.5-r1

/usr/portage/net-mail/tpop3d/tpop3d-1.5.5-r1.ebuild 2019-10-13 00:39:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=4
4
EAPI=7
5 5

  
6
inherit eutils flag-o-matic autotools
6
inherit flag-o-matic autotools
7 7

  
8 8
DESCRIPTION="An extensible POP3 server with vmail-sql/MySQL support"
9 9
HOMEPAGE="https://savannah.nongnu.org/projects/tpop3d/"
......
11 11

  
12 12
LICENSE="GPL-2"
13 13
SLOT="0"
14
KEYWORDS="~amd64 x86"
14
KEYWORDS="~amd64 ~x86"
15 15
IUSE="authexternal debug flatfile gdbm ldap maildir mbox mysql offensive
16 16
	pam passwd perl postgres +sha1 shadow ssl tcpd"
17 17

  
18
RDEPEND="sha1?		( >=dev-libs/openssl-0.9.6 )
19
	ssl?		( >=dev-libs/openssl-0.9.6 )
20
	ldap? 		( >=net-nds/openldap-2.0.7 )
21
	mysql?  	( virtual/mysql )
18
RDEPEND="sha1?		( >=dev-libs/openssl-0.9.6:0= )
19
	ssl?		( >=dev-libs/openssl-0.9.6:0= )
20
	ldap?		( >=net-nds/openldap-2.0.7 )
21
	mysql?		( dev-db/mysql-connector-c:0= )
22 22
	postgres?	( dev-db/postgresql[server] )
23 23
	perl?		( >=dev-lang/perl-5.6.1 )
24
	pam? 		( sys-libs/pam
24
	pam?		( sys-libs/pam
25 25
				  >=net-mail/mailbase-0.00-r8 )
26 26
	tcpd?		( >=sys-apps/tcp-wrappers-7.6 )"
27 27

  
28 28
DEPEND="${RDEPEND}"
29 29

  
30
PATCHES=( "${FILESDIR}/${PN}-1.5.4-gold.patch" )
31

  
30 32
src_prepare() {
31
	epatch "${FILESDIR}/${PN}-1.5.4-gold.patch"
33
	default
32 34
	eautoreconf
33 35
}
34 36

  
......
41 43
	use flatfile	&& myconf="${myconf} --enable-auth-flatfile"
42 44
	use gdbm		&& myconf="${myconf} --enable-auth-gdbm"
43 45
	use ldap		&& myconf="${myconf} --enable-auth-ldap"
44
	use mysql		&& myconf="${myconf} --enable-auth-mysql"
46
	use mysql		&& myconf="${myconf} --enable-auth-mysql --with-mysql-lib-dir=$(mysql_config --variable=pkglibdir)"
45 47
	use pam			|| myconf="${myconf} --disable-auth-pam"
46 48
	use passwd		&& myconf="${myconf} --enable-auth-passwd"
47 49
	use perl		&& myconf="${myconf} --enable-auth-perl"
......
75 77
}
76 78

  
77 79
src_install() {
78
	emake DESTDIR="${D}" install
80
	default
79 81
	dodir /etc/tpop3d
80 82

  
81 83
	if use pam ; then
82 84
		dodir /etc/pam.d
83
		dosym /etc/pam.d/pop3 /etc/pam.d/tpop3d
85
		dosym pop3 /etc/pam.d/tpop3d
84 86
	fi
85 87

  
86 88
	newinitd "${FILESDIR}/${PN}-1.5.4.init" tpop3d
Thank you!