From eed5e0f7b30ae263b6b20dbd7fbdd12584f4d559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Sat, 17 Aug 2024 14:51:46 +0200 Subject: [PATCH] [net-mail/automx2] remove old --- net-mail/automx2/Manifest | 1 - net-mail/automx2/automx2-2024.1.ebuild | 48 -------------------------- net-mail/automx2/files/conf | 20 ----------- net-mail/automx2/files/confd | 8 ----- net-mail/automx2/files/init-r1 | 26 -------------- net-mail/automx2/metadata.xml | 20 ----------- 6 files changed, 123 deletions(-) delete mode 100644 net-mail/automx2/Manifest delete mode 100644 net-mail/automx2/automx2-2024.1.ebuild delete mode 100644 net-mail/automx2/files/conf delete mode 100644 net-mail/automx2/files/confd delete mode 100644 net-mail/automx2/files/init-r1 delete mode 100644 net-mail/automx2/metadata.xml diff --git a/net-mail/automx2/Manifest b/net-mail/automx2/Manifest deleted file mode 100644 index 86f3eb2..0000000 --- a/net-mail/automx2/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST automx2-2024.1.tar.gz 182923 BLAKE2B 4a9e62f52bc3483214d6cf11246b3630512e202b02292eb94b6dca482fb7d5bf96decd0d3d2b5e140f6908fbb86b36d8c16680f05df42b37540de29dd04db594 SHA512 d2be862a4266cc353d9767b7a4269a4ee213d142158726f35a80395131b3af17dea3bef0dace22ebecfc42ab0ddd0160c1e055da43d63c1c63fa74957e19685a diff --git a/net-mail/automx2/automx2-2024.1.ebuild b/net-mail/automx2/automx2-2024.1.ebuild deleted file mode 100644 index b13862f..0000000 --- a/net-mail/automx2/automx2-2024.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Email client autoconfiguration service" -HOMEPAGE="https://automx.org/" -SRC_URI="https://github.com/rseichter/automx2/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="acct-user/automx2 - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-migrate[${PYTHON_USEDEP}] - dev-python/flask-sqlalchemy[${PYTHON_USEDEP}] - dev-python/ldap3[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -python_prepare_all() { - # hack. - rm -r "${S}"/tests || die - rm -r "${S}"/contrib/{package,setupvenv,unittest}.sh || die - distutils-r1_python_prepare_all -} - -python_test() { - local -x AUTOMX2_CONF="tests/unittest.conf" - eunittest tests/ -} - -python_install_all() { - local DOCS=( "${S}"/docs/*.adoc "${S}"/contrib/*sample.conf ) - local HTML_DOCS=( "${S}"/docs/*.{html,svg} ) - newconfd "${FILESDIR}/confd" "${PN}" - newinitd "${FILESDIR}/init-r1" "${PN}" - insinto /etc - newins "${FILESDIR}/conf" "${PN}.conf" - distutils-r1_python_install_all -} diff --git a/net-mail/automx2/files/conf b/net-mail/automx2/files/conf deleted file mode 100644 index ca19e0e..0000000 --- a/net-mail/automx2/files/conf +++ /dev/null @@ -1,20 +0,0 @@ -[automx2] -# A typical production setup would use loglevel = WARNING -loglevel = WARNING -# Echo SQL commands into log? Used for debugging. -db_echo = no - -# In-memory SQLite database -#db_uri = sqlite:///:memory: - -# SQLite database in a UNIX-like file system -db_uri = sqlite:////var/lib/automx2/db.sqlite - -# MySQL database on a remote server. This example does not use an encrypted -# connection and is therefore *not* recommended for production use. -#db_uri = mysql://username:password@server.example.com/db - -# Number of proxy servers between automx2 and the client (default: 0). -# If your logs only show 127.0.0.1 or ::1 as the source IP for incoming -# connections, proxy_count probably needs to be changed. -#proxy_count = 1 diff --git a/net-mail/automx2/files/confd b/net-mail/automx2/files/confd deleted file mode 100644 index 5a58d94..0000000 --- a/net-mail/automx2/files/confd +++ /dev/null @@ -1,8 +0,0 @@ -# Additional parameters passed to Flask -#AUTOMX2_ARGS="--host 127.0.0.1 --port 4243" - -# Configuration file -#AUTOMX2_CONF="/etc/automx2.conf" - -# Process owner (choose a non-privileged user) -#AUTOMX2_USER="automx2" diff --git a/net-mail/automx2/files/init-r1 b/net-mail/automx2/files/init-r1 deleted file mode 100644 index 56878e8..0000000 --- a/net-mail/automx2/files/init-r1 +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -: ${AUTOMX2_CONF:="/etc/${RC_SVCNAME}.conf"} -: ${AUTOMX2_USER:="automx2"} -: ${AUTOMX2_ARGS:="--port 4243"} - -command="/usr/bin/python" -command_args="/usr/bin/flask run ${AUTOMX2_ARGS}" -command_background="true" -command_user="${AUTOMX2_USER}" -pidfile="/run/${RC_SVCNAME}.pid" -required_files="${AUTOMX2_CONF}" - -depend() { - use logger net - before nginx -} - -start_pre() { - export AUTOMX2_CONF - export EPYTHON="python" - export FLASK_APP="automx2.server:app" - export FLASK_ENV="production" -} diff --git a/net-mail/automx2/metadata.xml b/net-mail/automx2/metadata.xml deleted file mode 100644 index 54630a5..0000000 --- a/net-mail/automx2/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - automx2 makes configuring a mail account easy. It unites - methods for automated mailbox configuration from Apple - (mobileconfig), Microsoft (autodiscover) and Mozilla - (autoconfig) in one tool. - - - https://github.com/rseichter/automx2/blob/master/doc/automx2.pdf - - automx2@seichter.de - Ralph Seichter - - rseichter/automx2 - -