From 58b6a6250eb2c2d1343b37c304b3c57b2260256f Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Sat, 10 Dec 2022 10:08:17 +0100 Subject: [PATCH] smailq: Harmonize ebuilds - Manage one common ebuild for version 9999 file and symlink different versions to it. - Remove older versions - Fix URL for tarball of concrete versions --- mail-mta/smailq/Manifest | 10 ++---- mail-mta/smailq/smailq-1.0.ebuild | 52 ----------------------------- mail-mta/smailq/smailq-1.1.ebuild | 52 ----------------------------- mail-mta/smailq/smailq-1.2.ebuild | 52 ----------------------------- mail-mta/smailq/smailq-1.3.ebuild | 53 +----------------------------- mail-mta/smailq/smailq-9999.ebuild | 2 +- 6 files changed, 4 insertions(+), 217 deletions(-) delete mode 100644 mail-mta/smailq/smailq-1.0.ebuild delete mode 100644 mail-mta/smailq/smailq-1.1.ebuild delete mode 100644 mail-mta/smailq/smailq-1.2.ebuild mode change 100644 => 120000 mail-mta/smailq/smailq-1.3.ebuild diff --git a/mail-mta/smailq/Manifest b/mail-mta/smailq/Manifest index 829f3f8..188c96a 100644 --- a/mail-mta/smailq/Manifest +++ b/mail-mta/smailq/Manifest @@ -1,10 +1,4 @@ -DIST smailq-1.0.tar.gz 8676 BLAKE2B 1008eb077a7befeb395c00063cdd09ed76c37ee59ccf30b4fb9b9800c8461d5941e361de68a0a7fce63ce29859ab018b49e09fb1cf20bac6270c8dfa07a1ca71 SHA512 c76e9c8f74c3cdad7c8851ff16c444c6d82acae022e5927b6d9fa320e79db22a857db426fa19b9aa38075752532b8e1d2c07831f19a3998160b2837998e8d207 -DIST smailq-1.1.tar.gz 8696 BLAKE2B 0445702ee70351b6ae6cb0d0db3c4df24e0abe163ad0fc5152b524da63d1aa99bdc25d8ef5fc3e32de47f7852d8d92f0547307c3d6d035f4c1a2adc002408a4f SHA512 dadd669ec93f179f28e036ce0d9fea3af666c459bcd9714e54f0a922d30e03997c7ef64ee4556aad615c535c9e4573f36969ae8358596f0be75e861120300514 -DIST smailq-1.2.tar.gz 9134 BLAKE2B de0991718ad90a32332a1219ac52fae881675a6e719b0af1ad9c196d56bcc7bf6168a6c5ebb897f0b11ac7d47996c87dfd67b3695139aff10427a84ece768ee4 SHA512 2058533af3a553c7c86af3de365965bf68355c4b587c6344f9a454327e335d5eb6bce8db725c94adc023c8bacdcd5e2d4cfe8b5798f28683f22fb51561c19034 DIST smailq-1.3.tar.gz 10867 BLAKE2B 2e9f8317427243a411bbc38e68c59aa05d17a1f3ab828335dbe32f41bbe896bad9e339062d78cbff17f248df7ca42bcb796caf1228077dea98fc29560496290a SHA512 ccd94bc3bed283a4df9f9fe24d16c833cbc84c0d5d215ea47c1d6475b211dd76da77bda36b3a7cf9ffa2190400fa621e6431099568b32a451f113317f8314f39 -EBUILD smailq-1.0.ebuild 1006 BLAKE2B 822a67c301f2f207263aac53fe6f998e9a78b4c54c44da0d3966e8e69300ae230c76753bb602964f03f5b237440cadad4b17c7414d56f6c226862c6ef106977d SHA512 edcea3fcf55081193db1f9b58f27674fe058338a50f26cae1f434c9c0895dab875d71cd5113a5554688d5d6fa1db6fab4e393285c679dcce469ffc00c881f81f -EBUILD smailq-1.1.ebuild 1006 BLAKE2B 822a67c301f2f207263aac53fe6f998e9a78b4c54c44da0d3966e8e69300ae230c76753bb602964f03f5b237440cadad4b17c7414d56f6c226862c6ef106977d SHA512 edcea3fcf55081193db1f9b58f27674fe058338a50f26cae1f434c9c0895dab875d71cd5113a5554688d5d6fa1db6fab4e393285c679dcce469ffc00c881f81f -EBUILD smailq-1.2.ebuild 1006 BLAKE2B 822a67c301f2f207263aac53fe6f998e9a78b4c54c44da0d3966e8e69300ae230c76753bb602964f03f5b237440cadad4b17c7414d56f6c226862c6ef106977d SHA512 edcea3fcf55081193db1f9b58f27674fe058338a50f26cae1f434c9c0895dab875d71cd5113a5554688d5d6fa1db6fab4e393285c679dcce469ffc00c881f81f -EBUILD smailq-1.3.ebuild 1006 BLAKE2B 822a67c301f2f207263aac53fe6f998e9a78b4c54c44da0d3966e8e69300ae230c76753bb602964f03f5b237440cadad4b17c7414d56f6c226862c6ef106977d SHA512 edcea3fcf55081193db1f9b58f27674fe058338a50f26cae1f434c9c0895dab875d71cd5113a5554688d5d6fa1db6fab4e393285c679dcce469ffc00c881f81f -EBUILD smailq-9999.ebuild 964 BLAKE2B a33c3ebd58e3d928b2bb4892a57cd78fad190f1f92b78f57b82829fa41e73d3bc0647b0fd54077ab58408a782fb647f7180aa96776603fc299d8d75e13e0de7d SHA512 d651a3b1e3376f66c3dda8ccb60a107b9b2a0b24526b424511b80684d27d20f5b70cd96bd8899524850d2ae3376b129bfa80f46f6ef9dfb6f9d8c3196d4ca6ad +EBUILD smailq-1.3.ebuild 965 BLAKE2B 9505fcbdb0a7c6e6560db761012216f1a12b9444c7296a8ce2adb354525d5ce3e357d757e15fda0748d9214a64e90b09b124157542d47dcbf8bb31e9137d6f22 SHA512 e80a61ebf6a4e3f6a223a56c568a59459007dad8a2053a64eb3a6ff1ca81e3fe4a8a3f507b405c189ba6130a012375e6e0f83aa2faa55fbc08a82681a4387b42 +EBUILD smailq-9999.ebuild 965 BLAKE2B 9505fcbdb0a7c6e6560db761012216f1a12b9444c7296a8ce2adb354525d5ce3e357d757e15fda0748d9214a64e90b09b124157542d47dcbf8bb31e9137d6f22 SHA512 e80a61ebf6a4e3f6a223a56c568a59459007dad8a2053a64eb3a6ff1ca81e3fe4a8a3f507b405c189ba6130a012375e6e0f83aa2faa55fbc08a82681a4387b42 MISC metadata.xml 243 BLAKE2B 889d08efb220a9fb8457500f5f3c33c8c737616995e19fa8b621ced4bc9d380d016413d098d4d09925c679cd23f7fbd75e495424fe6ed809a9e873014caae682 SHA512 f9051a65d7e11d7abd1b9568dbbf8be84a6ae68eb994b0c22d57dff5620047d5ad5a324057a5cf4cec10837d16024e5f21a8cf5f1a6247807f62931839eb73bc diff --git a/mail-mta/smailq/smailq-1.0.ebuild b/mail-mta/smailq/smailq-1.0.ebuild deleted file mode 100644 index 4a689c5..0000000 --- a/mail-mta/smailq/smailq-1.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=7 - -DESCRIPTION="A simple mail queue" -HOMEPAGE="http://www.sthu.org/code/smailq.html" -LICENSE="LGPL-3" -SLOT="0" -IUSE="+mta" -RESTRICT="mirror" - -if [ "${PV}" == "9999" ]; then - inherit git-r3 - EGIT_REPO_URI="https://git.sthu.org/repos/smailq.git" -else - SRC_URI="http://git.sthu.org/?p=${PN}.git;a=snapshot;h=refs/tags/v${PV};sf=tgz -> ${P}.tar.gz" - KEYWORDS="~x86 ~amd64" - S="${WORKDIR}/${PN}-v${PV}" -fi - -DEPEND=" - >=dev-lang/python-3.2 - app-text/docbook2X - !net-mail/mailwrapper - !mail-mta/courier - !mail-mta/esmtp - !mail-mta/exim - !mail-mta/mini-qmail - !mail-mta/msmtp[mta] - !mail-mta/nbsmtp - !mail-mta/netqmail - !mail-mta/nullmailer - !mail-mta/postfix - !mail-mta/qmail-ldap - !mail-mta/sendmail - !mail-mta/opensmtpd - !=mail-mta/ssmtp-2.64-r2[mta] - " -RDEPEND="${DEPEND}" - - -src_install() { - if quse mta; then - dosbin sendmail - dobin mailq - fi - dobin smailq - doman smailq.1 - dodoc smailq.conf -} diff --git a/mail-mta/smailq/smailq-1.1.ebuild b/mail-mta/smailq/smailq-1.1.ebuild deleted file mode 100644 index 4a689c5..0000000 --- a/mail-mta/smailq/smailq-1.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=7 - -DESCRIPTION="A simple mail queue" -HOMEPAGE="http://www.sthu.org/code/smailq.html" -LICENSE="LGPL-3" -SLOT="0" -IUSE="+mta" -RESTRICT="mirror" - -if [ "${PV}" == "9999" ]; then - inherit git-r3 - EGIT_REPO_URI="https://git.sthu.org/repos/smailq.git" -else - SRC_URI="http://git.sthu.org/?p=${PN}.git;a=snapshot;h=refs/tags/v${PV};sf=tgz -> ${P}.tar.gz" - KEYWORDS="~x86 ~amd64" - S="${WORKDIR}/${PN}-v${PV}" -fi - -DEPEND=" - >=dev-lang/python-3.2 - app-text/docbook2X - !net-mail/mailwrapper - !mail-mta/courier - !mail-mta/esmtp - !mail-mta/exim - !mail-mta/mini-qmail - !mail-mta/msmtp[mta] - !mail-mta/nbsmtp - !mail-mta/netqmail - !mail-mta/nullmailer - !mail-mta/postfix - !mail-mta/qmail-ldap - !mail-mta/sendmail - !mail-mta/opensmtpd - !=mail-mta/ssmtp-2.64-r2[mta] - " -RDEPEND="${DEPEND}" - - -src_install() { - if quse mta; then - dosbin sendmail - dobin mailq - fi - dobin smailq - doman smailq.1 - dodoc smailq.conf -} diff --git a/mail-mta/smailq/smailq-1.2.ebuild b/mail-mta/smailq/smailq-1.2.ebuild deleted file mode 100644 index 4a689c5..0000000 --- a/mail-mta/smailq/smailq-1.2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=7 - -DESCRIPTION="A simple mail queue" -HOMEPAGE="http://www.sthu.org/code/smailq.html" -LICENSE="LGPL-3" -SLOT="0" -IUSE="+mta" -RESTRICT="mirror" - -if [ "${PV}" == "9999" ]; then - inherit git-r3 - EGIT_REPO_URI="https://git.sthu.org/repos/smailq.git" -else - SRC_URI="http://git.sthu.org/?p=${PN}.git;a=snapshot;h=refs/tags/v${PV};sf=tgz -> ${P}.tar.gz" - KEYWORDS="~x86 ~amd64" - S="${WORKDIR}/${PN}-v${PV}" -fi - -DEPEND=" - >=dev-lang/python-3.2 - app-text/docbook2X - !net-mail/mailwrapper - !mail-mta/courier - !mail-mta/esmtp - !mail-mta/exim - !mail-mta/mini-qmail - !mail-mta/msmtp[mta] - !mail-mta/nbsmtp - !mail-mta/netqmail - !mail-mta/nullmailer - !mail-mta/postfix - !mail-mta/qmail-ldap - !mail-mta/sendmail - !mail-mta/opensmtpd - !=mail-mta/ssmtp-2.64-r2[mta] - " -RDEPEND="${DEPEND}" - - -src_install() { - if quse mta; then - dosbin sendmail - dobin mailq - fi - dobin smailq - doman smailq.1 - dodoc smailq.conf -} diff --git a/mail-mta/smailq/smailq-1.3.ebuild b/mail-mta/smailq/smailq-1.3.ebuild deleted file mode 100644 index 4a689c5..0000000 --- a/mail-mta/smailq/smailq-1.3.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=7 - -DESCRIPTION="A simple mail queue" -HOMEPAGE="http://www.sthu.org/code/smailq.html" -LICENSE="LGPL-3" -SLOT="0" -IUSE="+mta" -RESTRICT="mirror" - -if [ "${PV}" == "9999" ]; then - inherit git-r3 - EGIT_REPO_URI="https://git.sthu.org/repos/smailq.git" -else - SRC_URI="http://git.sthu.org/?p=${PN}.git;a=snapshot;h=refs/tags/v${PV};sf=tgz -> ${P}.tar.gz" - KEYWORDS="~x86 ~amd64" - S="${WORKDIR}/${PN}-v${PV}" -fi - -DEPEND=" - >=dev-lang/python-3.2 - app-text/docbook2X - !net-mail/mailwrapper - !mail-mta/courier - !mail-mta/esmtp - !mail-mta/exim - !mail-mta/mini-qmail - !mail-mta/msmtp[mta] - !mail-mta/nbsmtp - !mail-mta/netqmail - !mail-mta/nullmailer - !mail-mta/postfix - !mail-mta/qmail-ldap - !mail-mta/sendmail - !mail-mta/opensmtpd - !=mail-mta/ssmtp-2.64-r2[mta] - " -RDEPEND="${DEPEND}" - - -src_install() { - if quse mta; then - dosbin sendmail - dobin mailq - fi - dobin smailq - doman smailq.1 - dodoc smailq.conf -} diff --git a/mail-mta/smailq/smailq-1.3.ebuild b/mail-mta/smailq/smailq-1.3.ebuild new file mode 120000 index 0000000..907a7a0 --- /dev/null +++ b/mail-mta/smailq/smailq-1.3.ebuild @@ -0,0 +1 @@ +smailq-9999.ebuild \ No newline at end of file diff --git a/mail-mta/smailq/smailq-9999.ebuild b/mail-mta/smailq/smailq-9999.ebuild index c21a4a9..7b4643b 100644 --- a/mail-mta/smailq/smailq-9999.ebuild +++ b/mail-mta/smailq/smailq-9999.ebuild @@ -14,7 +14,7 @@ if [ "${PV}" == "9999" ]; then inherit git-r3 EGIT_REPO_URI="https://git.sthu.org/repos/smailq.git" else - SRC_URI="http://git.sthu.org/?p=${PN}.git;a=snapshot;h=refs/tags/${PV};sf=tgz -> ${P}.tar.gz" + SRC_URI="http://git.sthu.org/?p=${PN}.git;a=snapshot;h=refs/tags/v${PV};sf=tgz -> ${P}.tar.gz" KEYWORDS="~x86 ~amd64" S="${WORKDIR}/${PN}-v${PV}" fi -- 2.39.5