1 |
commit: 0e9884d9b9a9e2c42d5056cb223f708bf94f221d |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 17 18:00:45 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 17 19:19:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e9884d9 |
7 |
|
8 |
mail-mta/ssmtp: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
mail-mta/ssmtp/ssmtp-2.64-r3.ebuild | 119 ------------------------------------ |
14 |
1 file changed, 119 deletions(-) |
15 |
|
16 |
diff --git a/mail-mta/ssmtp/ssmtp-2.64-r3.ebuild b/mail-mta/ssmtp/ssmtp-2.64-r3.ebuild |
17 |
deleted file mode 100644 |
18 |
index 6e619476862..00000000000 |
19 |
--- a/mail-mta/ssmtp/ssmtp-2.64-r3.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,119 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI="5" |
26 |
- |
27 |
-PATCHSET=4 |
28 |
- |
29 |
-WANT_AUTOMAKE=none |
30 |
- |
31 |
-inherit eutils autotools user |
32 |
- |
33 |
-DESCRIPTION="Extremely simple MTA to get mail off the system to a Mailhub" |
34 |
-HOMEPAGE="ftp://ftp.debian.org/debian/pool/main/s/ssmtp/" |
35 |
-SRC_URI="mirror://debian/pool/main/s/ssmtp/${P/-/_}.orig.tar.bz2 |
36 |
- https://dev.gentoo.org/~pinkbyte/distfiles/patches/${P}-patches-${PATCHSET}.tar.xz" |
37 |
- |
38 |
-LICENSE="GPL-2" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
41 |
-IUSE="ipv6 libressl +ssl gnutls +mta" |
42 |
- |
43 |
-DEPEND="ssl? ( |
44 |
- gnutls? ( net-libs/gnutls[openssl] ) |
45 |
- !gnutls? ( |
46 |
- !libressl? ( dev-libs/openssl:0= ) |
47 |
- libressl? ( dev-libs/libressl:0= ) |
48 |
- ) |
49 |
- )" |
50 |
-RDEPEND="${DEPEND} |
51 |
- net-mail/mailbase |
52 |
- mta? ( |
53 |
- !net-mail/mailwrapper |
54 |
- !mail-mta/courier |
55 |
- !mail-mta/esmtp |
56 |
- !mail-mta/exim |
57 |
- !mail-mta/mini-qmail |
58 |
- !mail-mta/msmtp[mta] |
59 |
- !mail-mta/nbsmtp |
60 |
- !mail-mta/netqmail |
61 |
- !mail-mta/nullmailer |
62 |
- !mail-mta/postfix |
63 |
- !mail-mta/qmail-ldap |
64 |
- !mail-mta/sendmail |
65 |
- !mail-mta/opensmtpd |
66 |
- )" |
67 |
- |
68 |
-REQUIRED_USE="gnutls? ( ssl )" |
69 |
- |
70 |
-pkg_setup() { |
71 |
- if ! use prefix; then |
72 |
- enewgroup ssmtp |
73 |
- fi |
74 |
-} |
75 |
- |
76 |
-src_prepare() { |
77 |
- EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/patches" \ |
78 |
- epatch |
79 |
- epatch_user |
80 |
- |
81 |
- # let's start by not using configure.in anymore as future autoconf |
82 |
- # versions will not support it. |
83 |
- mv configure.in configure.ac || die |
84 |
- |
85 |
- eautoconf |
86 |
-} |
87 |
- |
88 |
-src_configure() { |
89 |
- econf \ |
90 |
- --sysconfdir="${EPREFIX}"/etc/ssmtp \ |
91 |
- $(use_enable ssl) $(use_with gnutls) \ |
92 |
- $(use_enable ipv6 inet6) \ |
93 |
- --enable-md5auth |
94 |
-} |
95 |
- |
96 |
-src_compile() { |
97 |
- emake etcdir="${EPREFIX}"/etc |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- dosbin ssmtp |
102 |
- |
103 |
- doman ssmtp.8 ssmtp.conf.5 |
104 |
- dodoc ChangeLog CHANGELOG_OLD INSTALL README TLS |
105 |
- newdoc ssmtp.lsm DESC |
106 |
- |
107 |
- insinto /etc/ssmtp |
108 |
- doins ssmtp.conf revaliases |
109 |
- |
110 |
- local conffile="${ED}etc/ssmtp/ssmtp.conf" |
111 |
- |
112 |
- # Sorry about the weird indentation, I couldn't figure out a cleverer way |
113 |
- # to do this without having horribly >80 char lines. |
114 |
- sed -i -e "s:^hostname=:\n# Gentoo bug #47562\\ |
115 |
-# Commenting the following line will force ssmtp to figure\\ |
116 |
-# out the hostname itself.\n\\ |
117 |
-# hostname=:" \ |
118 |
- "${conffile}" || die "sed failed" |
119 |
- |
120 |
- # Comment rewriteDomain (bug #243364) |
121 |
- sed -i -e "s:^rewriteDomain=:#rewriteDomain=:" "${conffile}" |
122 |
- |
123 |
- # Set restrictive perms on ssmtp.conf as per #187841, #239197 |
124 |
- # Protect the ssmtp configfile from being readable by regular users as it |
125 |
- # may contain login/password data to auth against a the mailhub used. |
126 |
- if ! use prefix; then |
127 |
- fowners root:ssmtp /etc/ssmtp/ssmtp.conf |
128 |
- fperms 640 /etc/ssmtp/ssmtp.conf |
129 |
- fowners root:ssmtp /usr/sbin/ssmtp |
130 |
- fperms 2711 /usr/sbin/ssmtp |
131 |
- fi |
132 |
- |
133 |
- if use mta; then |
134 |
- dosym ../sbin/ssmtp /usr/lib/sendmail |
135 |
- dosym ../sbin/ssmtp /usr/bin/sendmail |
136 |
- dosym ssmtp /usr/sbin/sendmail |
137 |
- dosym ../sbin/ssmtp /usr/bin/mailq |
138 |
- dosym ../sbin/ssmtp /usr/bin/newaliases |
139 |
- fi |
140 |
-} |