Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/tpop3d/
Date: Mon, 07 Sep 2020 22:02:23
Message-Id: 1599516133.325daee848b886c554f6a0ee30d95ed90c4bbca6.sam@gentoo
1 commit: 325daee848b886c554f6a0ee30d95ed90c4bbca6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 7 22:01:49 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 7 22:02:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=325daee8
7
8 net-mail/tpop3d: remove old EAPI 4 ebuild
9
10 Bug: https://bugs.gentoo.org/739588
11 Closes: https://bugs.gentoo.org/666000
12 Package-Manager: Portage-3.0.4, Repoman-3.0.1
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 net-mail/tpop3d/tpop3d-1.5.5.ebuild | 92 -------------------------------------
16 1 file changed, 92 deletions(-)
17
18 diff --git a/net-mail/tpop3d/tpop3d-1.5.5.ebuild b/net-mail/tpop3d/tpop3d-1.5.5.ebuild
19 deleted file mode 100644
20 index 5f58acad391..00000000000
21 --- a/net-mail/tpop3d/tpop3d-1.5.5.ebuild
22 +++ /dev/null
23 @@ -1,92 +0,0 @@
24 -# Copyright 1999-2019 Gentoo Authors
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=4
28 -
29 -inherit eutils flag-o-matic autotools
30 -
31 -DESCRIPTION="An extensible POP3 server with vmail-sql/MySQL support"
32 -HOMEPAGE="https://savannah.nongnu.org/projects/tpop3d/"
33 -SRC_URI="mirror://nongnu/tpop3d/${P}.tar.gz"
34 -
35 -LICENSE="GPL-2"
36 -SLOT="0"
37 -KEYWORDS="~amd64 x86"
38 -IUSE="authexternal debug flatfile gdbm ldap maildir mbox mysql offensive
39 - pam passwd perl postgres +sha1 shadow ssl tcpd"
40 -
41 -RDEPEND="sha1? ( >=dev-libs/openssl-0.9.6 )
42 - ssl? ( >=dev-libs/openssl-0.9.6 )
43 - ldap? ( >=net-nds/openldap-2.0.7 )
44 - mysql? ( virtual/mysql )
45 - postgres? ( dev-db/postgresql[server] )
46 - perl? ( >=dev-lang/perl-5.6.1 )
47 - pam? ( sys-libs/pam
48 - >=net-mail/mailbase-0.00-r8 )
49 - tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
50 -
51 -DEPEND="${RDEPEND}"
52 -
53 -src_prepare() {
54 - epatch "${FILESDIR}/${PN}-1.5.4-gold.patch"
55 - eautoreconf
56 -}
57 -
58 -src_configure() {
59 - local myconf=""
60 - local noauth=0
61 -
62 - # Various authentication methods
63 - use authexternal && myconf="${myconf} --enable-auth-other"
64 - use flatfile && myconf="${myconf} --enable-auth-flatfile"
65 - use gdbm && myconf="${myconf} --enable-auth-gdbm"
66 - use ldap && myconf="${myconf} --enable-auth-ldap"
67 - use mysql && myconf="${myconf} --enable-auth-mysql"
68 - use pam || myconf="${myconf} --disable-auth-pam"
69 - use passwd && myconf="${myconf} --enable-auth-passwd"
70 - use perl && myconf="${myconf} --enable-auth-perl"
71 - use postgres && myconf="${myconf} --enable-auth-pgsql"
72 - use shadow && myconf="${myconf} --enable-auth-passwd --enable-shadow-passwords"
73 -
74 - use authexternal || use flatfile || use gdbm || use ldap || use mysql ||
75 - use pam || use passwd || use perl || use postgres || use shadow ||
76 - noauth=1
77 -
78 - if [[ ${noauth} -eq 1 ]]; then
79 - ewarn "None of tpop3d's authentication mechanism USE flags are set."
80 - ewarn "As a result tpop3d will be built with /etc/passwd authentication only."
81 - myconf="${myconf} --enable-auth-passwd"
82 - fi
83 -
84 - # Other optional features
85 - use debug && myconf="${myconf} --enable-backtrace"
86 - use maildir && myconf="${myconf} --enable-mbox-maildir"
87 - use mbox || myconf="${myconf} --disable-mbox-bsd"
88 - use offensive || myconf="${myconf} --disable-snide-comments"
89 - use sha1 || myconf="${myconf} --disable-sha1-passwords"
90 - use ssl && myconf="${myconf} --enable-tls"
91 - use tcpd && myconf="${myconf} --enable-tcp-wrappers"
92 -
93 - econf ${myconf}
94 -
95 - # Causes crash with "stack smashing attack" on connect, because of bug in
96 - # SSP (bug #115285)
97 - filter-flags -fstack-protector
98 -}
99 -
100 -src_install() {
101 - emake DESTDIR="${D}" install
102 - dodir /etc/tpop3d
103 -
104 - if use pam ; then
105 - dodir /etc/pam.d
106 - dosym /etc/pam.d/pop3 /etc/pam.d/tpop3d
107 - fi
108 -
109 - newinitd "${FILESDIR}/${PN}-1.5.4.init" tpop3d
110 -}
111 -
112 -pkg_postinst() {
113 - elog "Read the tpop3d.conf manpage"
114 - elog "Please create /etc/tpop3d/tpop3d.conf to fit your configuration"
115 -}