Diff relay-ctrl-3.1.1-r2 with a relay-ctrl-3.1.1-r3
/usr/portage/net-mail/relay-ctrl/relay-ctrl-3.1.1-r3.ebuild 2023-10-09 14:52:34.620368479 +0300 | ||
---|---|---|
11 | 11 | |
12 | 12 |
LICENSE="GPL-2" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="amd64 sparc x86" |
|
14 |
KEYWORDS="~amd64 ~sparc ~x86" |
|
15 | 15 |
IUSE="" |
16 | 16 | |
17 | 17 |
DEPEND="" |
... | ... | |
28 | 28 |
eapply_user |
29 | 29 |
ht_fix_file "${S}"/Makefile |
30 | 30 |
eapply "${FILESDIR}"/authenticated.c-relayfixup.diff |
31 |
eapply "${FILESDIR}"/relay-ctrl-3.1.1-NOFILE-overstep.patch |
|
31 | 32 |
} |
32 | 33 | |
33 | 34 |
src_configure() { |
... | ... | |
49 | 50 | |
50 | 51 |
keepdir ${RELAYCTRL_BASE} ${RELAYCTRL_BASE}/${RELAYCTRL_STORAGE} |
51 | 52 |
fperms 700 ${RELAYCTRL_BASE} |
52 |
fperms 1777 ${RELAYCTRL_BASE}/${RELAYCTRL_STORAGE} |
|
53 |
# perm 777 is intentional, see http://untroubled.org/relay-ctrl/ |
|
54 |
fperms 777 ${RELAYCTRL_BASE}/${RELAYCTRL_STORAGE} |
|
53 | 55 | |
54 | 56 |
dodir ${RELAYCTRL_CONFDIR} |
55 | 57 | |
... | ... | |
60 | 62 |
echo "1800" > "${D}"${RELAYCTRL_CONFDIR}/RELAY_CTRL_EXPIRY || die |
61 | 63 | |
62 | 64 |
dodir /etc/cron.hourly |
65 |
echo "#!/bin/sh" > "${D}"/etc/cron.hourly/relay-ctrl-age |
|
63 | 66 |
echo "/usr/bin/envdir ${RELAYCTRL_CONFDIR} ${RELAYCTRL_BINDIR}/relay-ctrl-age" \ |
64 |
> "${D}"/etc/cron.hourly/relay-ctrl-age |
|
67 |
>> "${D}"/etc/cron.hourly/relay-ctrl-age |
|
65 | 68 |
fperms 755 /etc/cron.hourly/relay-ctrl-age |
66 | 69 |
} |
67 | 70 | |
... | ... | |
72 | 75 |
fi |
73 | 76 |
elog "Please see the instructions in /usr/share/doc/${PF}/README" |
74 | 77 |
elog "for setup instructions with Courier-IMAP and Qmail" |
78 | ||
79 |
einfo "Ensure that the relay-ctrl-age cronjob is running" |
|
80 |
einfo "otherwise your system may accumulate old relay entries." |
|
75 | 81 |
} |