summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2021-08-13 12:42:47 +0200
committerSam James <sam@gentoo.org>2021-08-17 02:41:20 +0100
commit7b8138b6093d4dc09f5131439c7f3b35175169c4 (patch)
tree9fdd39ffd2109a917b7b068e03442de7be236594 /eclass/qmail.eclass
parentqmail.eclass: remove needless keepdirs (diff)
downloadgentoo-7b8138b6093d4dc09f5131439c7f3b35175169c4.tar.gz
gentoo-7b8138b6093d4dc09f5131439c7f3b35175169c4.tar.bz2
gentoo-7b8138b6093d4dc09f5131439c7f3b35175169c4.zip
qmail.eclass: retire qmail_tcprules_fixup()
This has been in all ebuilds since the move of the portage tree to git, so everyone should have already moved the files. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/21999 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/qmail.eclass')
-rw-r--r--eclass/qmail.eclass22
1 files changed, 0 insertions, 22 deletions
diff --git a/eclass/qmail.eclass b/eclass/qmail.eclass
index c95072650f19..33157b7e7871 100644
--- a/eclass/qmail.eclass
+++ b/eclass/qmail.eclass
@@ -367,28 +367,6 @@ qmail_rootmail_fixup() {
chown -R alias:qmail "${ROOT}${QMAIL_HOME}"/alias/.maildir 2>/dev/null
}
-qmail_tcprules_fixup() {
- mkdir -p "${TCPRULES_DIR}"
- local POP_FILES=
- use pop3 && POP_FILES="pop3 pop3.cdb"
- for f in {smtp,qmtp,qmqp}{,.cdb} ${POP_FILES}; do
- old="/etc/tcp.${f}"
- new="${TCPRULES_DIR}/tcp.qmail-${f}"
- fail=0
- if [[ -f "${old}" && ! -f "${new}" ]]; then
- einfo "Moving ${old} to ${new}"
- cp "${old}" "${new}" || fail=1
- else
- fail=1
- fi
- if [[ "${fail}" = 1 && -f "${old}" ]]; then
- eerror "Error moving ${old} to ${new}, be sure to check the"
- eerror "configuration! You may have already moved the files,"
- eerror "in which case you can delete ${old}"
- fi
- done
-}
-
qmail_tcprules_build() {
for f in tcp.qmail-{smtp,qmtp,qmqp,pop3,pop3s}; do
# please note that we don't check if it exists