diff options
author | Aaron Bauman <bman@gentoo.org> | 2019-04-12 22:40:31 -0400 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-04-12 22:44:09 -0400 |
commit | 3b9e760105743154079961575b5aea5fe551db05 (patch) | |
tree | a0479043d875ce218192210e86cd5645ac8faacf /mail-filter/rspamd | |
parent | dev-games/tiled: remove 1.2.0, 1.2.1, and 1.2.2 (diff) | |
download | gentoo-3b9e760105743154079961575b5aea5fe551db05.tar.gz gentoo-3b9e760105743154079961575b5aea5fe551db05.tar.bz2 gentoo-3b9e760105743154079961575b5aea5fe551db05.zip |
mail-filter/rspamd: drop vulnerable wrt bug #629950
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'mail-filter/rspamd')
-rw-r--r-- | mail-filter/rspamd/Manifest | 9 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-1.6.5.ebuild | 75 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-1.6.6.ebuild | 76 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-1.7.1.ebuild | 75 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-1.7.2.ebuild | 78 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-1.7.5.ebuild | 89 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-1.7.7.ebuild | 90 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-1.7.8.ebuild | 87 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-1.7.9.ebuild | 90 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-1.8.1.ebuild | 87 |
10 files changed, 0 insertions, 756 deletions
diff --git a/mail-filter/rspamd/Manifest b/mail-filter/rspamd/Manifest index d7a8953f6a3a..6dfbc3486ae8 100644 --- a/mail-filter/rspamd/Manifest +++ b/mail-filter/rspamd/Manifest @@ -1,11 +1,2 @@ -DIST rspamd-1.6.5.tar.gz 2484271 BLAKE2B 880e862eecd4a082b87bee2ba8c7b17a475efbfe90dbb0cbf34c5ad6c42c80d6ea142f11c7632763d7f9e4155a4521274f2d5a26a77dfbdab9f585bb1e3fff5f SHA512 789abc994cf96a0d88662e14f0e77f95f5c7c7bd1f808ffd64af21cf73cef643b5aee4c1f066d81d04e79d6bb7f72f12095ff08d8515a40bcca23153715fc9f1 -DIST rspamd-1.6.6.tar.gz 2487482 BLAKE2B f18640f64a8c0bcf6077267a1715f0bb096ab18484c24de56a012c42666cdc9f8671237c5336dce7cd47f44f9aba7905ce3723232d53a5b8ddfe143df682bd9b SHA512 14c7144017df69600dbd09541d16dae19d87105b09f95811fc09624b60e89ca68200654e88dea242508afd3c4963ea7cac086abddec8ca1a3d8fc73d7c27e899 -DIST rspamd-1.7.1.tar.gz 4453460 BLAKE2B 28070804a6daf7f6354203038fbd974176a1ed5135b51a5ef7f089e63ffac3b3bbdca1961154b846f5b7d054071925722b311b46a3be6d09ff3d853232cbbd5f SHA512 3de4e07fa9cc72e306936a201f6bc019b5bf6f3ade003bf9217dc8a7decf027b986d80e1c0d2f09460af6f1d59aa520fee68287ad6ccee1cec94698054bc2fbb -DIST rspamd-1.7.2.tar.gz 4460606 BLAKE2B 2c4389fd5350d67d21745288f74c4e1276772c47bbb0c74364227d0c04e4102c2ce00cd8242a639825e8c9971e87822af7a38a0a8561ba979e3f3b396d120414 SHA512 45ab95c7488e58da9e8803daefda5a0f8920cc4d4c4508a0347ed07d201124d07b10e93010b2be5fab3ecd0ac2be962bcebbb41f434a449fdbc31ded744878cf -DIST rspamd-1.7.5.tar.gz 4494681 BLAKE2B 709b589157cb61568ebe78af64bb2363cb7342736e29971f30de1e1a1e9e667402006cb3a34e1d240a32560608ab9ab86838a288707b5043c89c3d9127880f60 SHA512 3e77c99abd47b1d22ccae33c0312b4338253af0ff10825dc2796fc42864142c91324d349677098bcd0c156a9229c04d3ce8a08808b6eb702624c918722e3acc4 -DIST rspamd-1.7.7.tar.gz 4534430 BLAKE2B 83ba39b80293bf87f397e6b1b1cbec27e7c44f096a148b6d29c641d10b607b616865ec54c1a88dc55f620b17e8c69bcf8690ee509d1b9a517a923fe0afc08b70 SHA512 7436848b3fc0e2ef90dcc54b48c1c95d6a7753175f484297de2e77bd117a9858da09b2a50f8692f210e48421b604ef465311b97197b473823a87ac74337d7752 -DIST rspamd-1.7.8.tar.gz 4542955 BLAKE2B 78fbb01c51d290f8d88f4c512df248fcbc8e28e00a820ba0d3dc22adf4bb1b54b1923aa5306fde5d4d75c81a9304f220608a6cec3f1077bbb9adfa1ea8bdc2a4 SHA512 43f2350dfa4e0369cd53480bd4c8d0aa3898d7c471540281e7460a264207032aea226c4fd519a26397b9e9e8c8de3951e5a9752e010eabf1b3733a0c3e3086c2 -DIST rspamd-1.7.9.tar.gz 4557492 BLAKE2B f42775ba8157ef4815331c304e3030c522e9ae5e10ef0194da0c7dde105b40fed2ae84b063d78aed37992146311aecc1ac77f64dacdaf3ff11bb85076e8aef7c SHA512 d11d8c03668b85feae665ed491cd156c7430fbad30f42fe44103ea3c3a8bc988e5f8981e784e8f31aa35ba1ff9f7abd23605638e4ee3086a056b22fb3109563e -DIST rspamd-1.8.1.tar.gz 4286637 BLAKE2B dd202a2f3dab4ef459d978e06231f8fcef3724ea5912c7455d553dc04e2744322b9144ba05a2f6f22a7eb58cd0a967f213bfc76fb273b5425036a5042975ed89 SHA512 98c2d909b7dc19f1c431d4e64444968092a10630ef238d3c8cc2825e7b2d92bee893bc7f9c431f3a6337ef2af4d2a157f0584e7b13fba0540660d7c853bc25cc DIST rspamd-1.8.3.tar.gz 4319623 BLAKE2B b7fdd6791df5899710bb1d696a9b94d1840335b6a34d6cdeebc2b5eebe9f4e5b6da3e90ed9ab5e3945aab7ef33f54f048024b51c3de37db1a083ad89c656b456 SHA512 5e20255466fe2cd4842196fb2138732b59911de655e73d9cc13009b5179b84e5a2060083961b35fe40b9f550f8e18067056415a1d803fac54fac000070024c01 DIST rspamd-1.9.0.tar.gz 4402395 BLAKE2B 11f90fc232496b493296ef0fb9ff4118ac11863528cd6a52bcae6adbdc09ce86453bb39df35714702fcd5c6a535007ec402a580bd735abbddeeb154ff8807219 SHA512 fee2a60c10fbab087b12d9188974a0c47417a9894308f66980eb6311496b16661194d858d1e522d2d524b3e359f2f3ad88535421d1dc05be26414b5a346afec6 diff --git a/mail-filter/rspamd/rspamd-1.6.5.ebuild b/mail-filter/rspamd/rspamd-1.6.5.ebuild deleted file mode 100644 index 766acc60764a..000000000000 --- a/mail-filter/rspamd/rspamd-1.6.5.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils pax-utils user systemd - -DESCRIPTION="Rapid spam filtering system" -SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz" -HOMEPAGE="https://github.com/vstakhov/rspamd" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_ssse3 fann gd jemalloc +jit libressl pcre2" - -RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] ) - libressl? ( dev-libs/libressl:0= ) - fann? ( sci-mathematics/fann ) - pcre2? ( dev-libs/libpcre2[jit=] ) - !pcre2? ( dev-libs/libpcre[jit=] ) - jit? ( dev-lang/luajit:2 ) - jemalloc? ( dev-libs/jemalloc ) - dev-libs/libevent - dev-db/sqlite:3 - dev-libs/glib:2 - <dev-util/ragel-7.0 - sys-apps/file - gd? ( media-libs/gd[jpeg] ) - dev-libs/icu - cpu_flags_x86_ssse3? ( dev-libs/hyperscan )" -DEPEND="dev-util/ragel - ${RDEPEND}" - -QA_MULTILIB_PATHS="usr/lib/rspamd/.*" - -pkg_setup() { - enewgroup rspamd - enewuser rspamd -1 -1 /var/lib/rspamd rspamd -} - -src_configure() { - local mycmakeargs=( - -DCONFDIR=/etc/rspamd - -DRUNDIR=/var/run/rspamd - -DDBDIR=/var/lib/rspamd - -DLOGDIR=/var/log/rspamd - -DENABLE_LUAJIT=$(usex jit ON OFF) - -DENABLE_FANN=$(usex fann ON OFF) - -DENABLE_PCRE2=$(usex pcre2 ON OFF) - -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) - -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newinitd "${FILESDIR}/rspamd.init-r5" rspamd - - # Remove mprotect for JIT support - if use jit; then - pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* || die - fi - - dodir /var/lib/rspamd - dodir /var/log/rspamd - - fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd - - insinto /etc/logrotate.d - newins "${FILESDIR}/rspamd.logrotate" rspamd - - systemd_newunit rspamd.service rspamd.service -} diff --git a/mail-filter/rspamd/rspamd-1.6.6.ebuild b/mail-filter/rspamd/rspamd-1.6.6.ebuild deleted file mode 100644 index 8ded37e068e3..000000000000 --- a/mail-filter/rspamd/rspamd-1.6.6.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils pax-utils user systemd - -DESCRIPTION="Rapid spam filtering system" -SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz" -HOMEPAGE="https://github.com/vstakhov/rspamd" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_ssse3 fann gd jemalloc +jit libressl pcre2" - -RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] ) - libressl? ( dev-libs/libressl:0= ) - fann? ( sci-mathematics/fann ) - pcre2? ( dev-libs/libpcre2[jit=] ) - !pcre2? ( dev-libs/libpcre[jit=] ) - jit? ( dev-lang/luajit:2 ) - jemalloc? ( dev-libs/jemalloc ) - dev-libs/libevent - dev-db/sqlite:3 - dev-libs/glib:2 - <dev-util/ragel-7.0 - sys-apps/file - gd? ( media-libs/gd[jpeg] ) - dev-libs/icu - cpu_flags_x86_ssse3? ( dev-libs/hyperscan )" -DEPEND="dev-util/ragel - ${RDEPEND}" - -QA_MULTILIB_PATHS="usr/lib/rspamd/.*" -PATCHES=( "${FILESDIR}/${PV}-dont-send-reject-message-after-set-reply.patch" ) - -pkg_setup() { - enewgroup rspamd - enewuser rspamd -1 -1 /var/lib/rspamd rspamd -} - -src_configure() { - local mycmakeargs=( - -DCONFDIR=/etc/rspamd - -DRUNDIR=/var/run/rspamd - -DDBDIR=/var/lib/rspamd - -DLOGDIR=/var/log/rspamd - -DENABLE_LUAJIT=$(usex jit ON OFF) - -DENABLE_FANN=$(usex fann ON OFF) - -DENABLE_PCRE2=$(usex pcre2 ON OFF) - -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) - -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newinitd "${FILESDIR}/rspamd.init-r5" rspamd - - # Remove mprotect for JIT support - if use jit; then - pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* || die - fi - - dodir /var/lib/rspamd - dodir /var/log/rspamd - - fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd - - insinto /etc/logrotate.d - newins "${FILESDIR}/rspamd.logrotate" rspamd - - systemd_newunit rspamd.service rspamd.service -} diff --git a/mail-filter/rspamd/rspamd-1.7.1.ebuild b/mail-filter/rspamd/rspamd-1.7.1.ebuild deleted file mode 100644 index 09bee4813a49..000000000000 --- a/mail-filter/rspamd/rspamd-1.7.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils pax-utils user systemd - -DESCRIPTION="Rapid spam filtering system" -SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz" -HOMEPAGE="https://github.com/vstakhov/rspamd" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_ssse3 fann gd jemalloc +jit libressl pcre2" - -RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] ) - libressl? ( dev-libs/libressl:0= ) - fann? ( sci-mathematics/fann ) - pcre2? ( dev-libs/libpcre2[jit=] ) - !pcre2? ( dev-libs/libpcre[jit=] ) - jit? ( dev-lang/luajit:2 ) - jemalloc? ( dev-libs/jemalloc ) - dev-libs/libevent - dev-db/sqlite:3 - dev-libs/glib:2 - <dev-util/ragel-7.0 - sys-apps/file - gd? ( media-libs/gd[jpeg] ) - dev-libs/icu - cpu_flags_x86_ssse3? ( dev-libs/hyperscan )" -DEPEND="dev-util/ragel - ${RDEPEND}" - -QA_MULTILIB_PATHS="usr/lib/rspamd/.*" - -pkg_setup() { - enewgroup rspamd - enewuser rspamd -1 -1 /var/lib/rspamd rspamd -} - -src_configure() { - local mycmakeargs=( - -DCONFDIR=/etc/rspamd - -DRUNDIR=/var/run/rspamd - -DDBDIR=/var/lib/rspamd - -DLOGDIR=/var/log/rspamd - -DENABLE_LUAJIT=$(usex jit ON OFF) - -DENABLE_FANN=$(usex fann ON OFF) - -DENABLE_PCRE2=$(usex pcre2 ON OFF) - -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) - -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newinitd "${FILESDIR}/rspamd.init-r5" rspamd - - # Remove mprotect for JIT support - if use jit; then - pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* || die - fi - - dodir /var/lib/rspamd - dodir /var/log/rspamd - - fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd - - insinto /etc/logrotate.d - newins "${FILESDIR}/rspamd.logrotate" rspamd - - systemd_newunit rspamd.service rspamd.service -} diff --git a/mail-filter/rspamd/rspamd-1.7.2.ebuild b/mail-filter/rspamd/rspamd-1.7.2.ebuild deleted file mode 100644 index 8c2de174e29c..000000000000 --- a/mail-filter/rspamd/rspamd-1.7.2.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils pax-utils user systemd - -DESCRIPTION="Rapid spam filtering system" -SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz" -HOMEPAGE="https://github.com/vstakhov/rspamd" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_ssse3 fann gd jemalloc +jit libressl pcre2 +torch" -REQUIRED_USE="torch? ( jit )" - -RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] ) - libressl? ( dev-libs/libressl:0= ) - fann? ( sci-mathematics/fann ) - pcre2? ( dev-libs/libpcre2[jit=] ) - !pcre2? ( dev-libs/libpcre[jit=] ) - jit? ( dev-lang/luajit:2 ) - jemalloc? ( dev-libs/jemalloc ) - dev-libs/libevent - dev-db/sqlite:3 - dev-libs/glib:2 - <dev-util/ragel-7.0 - sys-apps/file - gd? ( media-libs/gd[jpeg] ) - dev-libs/icu - cpu_flags_x86_ssse3? ( dev-libs/hyperscan )" -DEPEND="dev-util/ragel - ${RDEPEND}" - -QA_MULTILIB_PATHS="usr/lib/rspamd/.*" - -pkg_setup() { - enewgroup rspamd - enewuser rspamd -1 -1 /var/lib/rspamd rspamd -} - -src_configure() { - local mycmakeargs=( - -DCONFDIR=/etc/rspamd - -DRUNDIR=/var/run/rspamd - -DDBDIR=/var/lib/rspamd - -DLOGDIR=/var/log/rspamd - -DENABLE_LUAJIT=$(usex jit ON OFF) - -DENABLE_FANN=$(usex fann ON OFF) - -DENABLE_GD=$(usex gd ON OFF) - -DENABLE_PCRE2=$(usex pcre2 ON OFF) - -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) - -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF) - -DENABLE_TORCH=$(usex torch ON OFF) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newinitd "${FILESDIR}/rspamd.init-r5" rspamd - - # Remove mprotect for JIT support - if use jit; then - pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* || die - fi - - dodir /var/lib/rspamd - dodir /var/log/rspamd - - fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd - - insinto /etc/logrotate.d - newins "${FILESDIR}/rspamd.logrotate" rspamd - - systemd_newunit rspamd.service rspamd.service -} diff --git a/mail-filter/rspamd/rspamd-1.7.5.ebuild b/mail-filter/rspamd/rspamd-1.7.5.ebuild deleted file mode 100644 index 1a20cc22321c..000000000000 --- a/mail-filter/rspamd/rspamd-1.7.5.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} == *9999 ]] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git" -fi - -inherit cmake-utils user systemd pax-utils ${SCM} - -DESCRIPTION="Rapid spam filtering system" -HOMEPAGE="https://github.com/vstakhov/rspamd" - -if [[ ${PV} == *9999 ]] ; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="cpu_flags_x86_ssse3 fann gd jemalloc +jit libressl pcre2 +torch" -REQUIRED_USE="torch? ( jit )" - -RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] ) - libressl? ( dev-libs/libressl:0= ) - fann? ( sci-mathematics/fann ) - pcre2? ( dev-libs/libpcre2[jit=] ) - !pcre2? ( dev-libs/libpcre[jit=] ) - jit? ( dev-lang/luajit:2 ) - jemalloc? ( dev-libs/jemalloc ) - dev-libs/libevent - dev-db/sqlite:3 - dev-libs/glib:2 - <dev-util/ragel-7.0 - sys-apps/file - gd? ( media-libs/gd[jpeg] ) - dev-libs/icu - cpu_flags_x86_ssse3? ( dev-libs/hyperscan )" -DEPEND="dev-util/ragel - ${RDEPEND}" - -QA_MULTILIB_PATHS="usr/lib/rspamd/.*" - -pkg_setup() { - enewgroup rspamd - enewuser rspamd -1 -1 /var/lib/rspamd rspamd -} - -src_configure() { - local mycmakeargs=( - -DCONFDIR=/etc/rspamd - -DRUNDIR=/var/run/rspamd - -DDBDIR=/var/lib/rspamd - -DLOGDIR=/var/log/rspamd - -DENABLE_LUAJIT=$(usex jit ON OFF) - -DENABLE_FANN=$(usex fann ON OFF) - -DENABLE_GD=$(usex gd ON OFF) - -DENABLE_PCRE2=$(usex pcre2 ON OFF) - -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) - -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF) - -DENABLE_TORCH=$(usex torch ON OFF) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newinitd "${FILESDIR}/rspamd.init-r5" rspamd - - # Remove mprotect for JIT support - if use jit; then - pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* || die - fi - - keepdir /var/lib/rspamd - keepdir /var/log/rspamd - - fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd - - insinto /etc/logrotate.d - newins "${FILESDIR}/rspamd.logrotate" rspamd - - systemd_newunit rspamd.service rspamd.service -} diff --git a/mail-filter/rspamd/rspamd-1.7.7.ebuild b/mail-filter/rspamd/rspamd-1.7.7.ebuild deleted file mode 100644 index e4b16db1465f..000000000000 --- a/mail-filter/rspamd/rspamd-1.7.7.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} == *9999 ]] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git" -fi - -inherit cmake-utils user systemd pax-utils ${SCM} - -DESCRIPTION="Rapid spam filtering system" -HOMEPAGE="https://github.com/vstakhov/rspamd" - -if [[ ${PV} == *9999 ]] ; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="cpu_flags_x86_ssse3 fann gd jemalloc +jit libressl pcre2 +torch" -REQUIRED_USE="torch? ( jit )" - -RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] ) - libressl? ( dev-libs/libressl:0= ) - fann? ( sci-mathematics/fann ) - pcre2? ( dev-libs/libpcre2[jit=] ) - !pcre2? ( dev-libs/libpcre[jit=] ) - jit? ( dev-lang/luajit:2 ) - jemalloc? ( dev-libs/jemalloc ) - dev-libs/libevent - net-libs/libnsl - dev-db/sqlite:3 - dev-libs/glib:2 - <dev-util/ragel-7.0 - sys-apps/file - gd? ( media-libs/gd[jpeg] ) - dev-libs/icu - cpu_flags_x86_ssse3? ( dev-libs/hyperscan )" -DEPEND="dev-util/ragel - ${RDEPEND}" - -QA_MULTILIB_PATHS="usr/lib/rspamd/.*" - -pkg_setup() { - enewgroup rspamd - enewuser rspamd -1 -1 /var/lib/rspamd rspamd -} - -src_configure() { - local mycmakeargs=( - -DCONFDIR=/etc/rspamd - -DRUNDIR=/var/run/rspamd - -DDBDIR=/var/lib/rspamd - -DLOGDIR=/var/log/rspamd - -DENABLE_LUAJIT=$(usex jit ON OFF) - -DENABLE_FANN=$(usex fann ON OFF) - -DENABLE_GD=$(usex gd ON OFF) - -DENABLE_PCRE2=$(usex pcre2 ON OFF) - -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) - -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF) - -DENABLE_TORCH=$(usex torch ON OFF) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newinitd "${FILESDIR}/rspamd.init-r5" rspamd - - # Remove mprotect for JIT support - if use jit; then - pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* || die - fi - - keepdir /var/lib/rspamd - keepdir /var/log/rspamd - - fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd - - insinto /etc/logrotate.d - newins "${FILESDIR}/rspamd.logrotate" rspamd - - systemd_newunit rspamd.service rspamd.service -} diff --git a/mail-filter/rspamd/rspamd-1.7.8.ebuild b/mail-filter/rspamd/rspamd-1.7.8.ebuild deleted file mode 100644 index 9ba47fbeea38..000000000000 --- a/mail-filter/rspamd/rspamd-1.7.8.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils user systemd pax-utils ${SCM} - -DESCRIPTION="Rapid spam filtering system" -HOMEPAGE="https://github.com/vstakhov/rspamd" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" - SCM="git-r3" - EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git" -else - SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="cpu_flags_x86_ssse3 fann gd jemalloc +jit libressl pcre2 +torch" -REQUIRED_USE="torch? ( jit )" - -RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] ) - libressl? ( dev-libs/libressl:0= ) - fann? ( sci-mathematics/fann ) - pcre2? ( dev-libs/libpcre2[jit=] ) - !pcre2? ( dev-libs/libpcre[jit=] ) - jit? ( dev-lang/luajit:2 ) - jemalloc? ( dev-libs/jemalloc ) - dev-libs/libevent - net-libs/libnsl - dev-db/sqlite:3 - dev-libs/glib:2 - <dev-util/ragel-7.0 - sys-apps/file - gd? ( media-libs/gd[jpeg] ) - dev-libs/icu - cpu_flags_x86_ssse3? ( dev-libs/hyperscan )" -DEPEND="dev-util/ragel - ${RDEPEND}" - -QA_MULTILIB_PATHS="usr/lib/rspamd/.*" - -pkg_setup() { - enewgroup rspamd - enewuser rspamd -1 -1 /var/lib/rspamd rspamd -} - -src_configure() { - local mycmakeargs=( - -DCONFDIR=/etc/rspamd - -DRUNDIR=/var/run/rspamd - -DDBDIR=/var/lib/rspamd - -DLOGDIR=/var/log/rspamd - -DENABLE_LUAJIT=$(usex jit ON OFF) - -DENABLE_FANN=$(usex fann ON OFF) - -DENABLE_GD=$(usex gd ON OFF) - -DENABLE_PCRE2=$(usex pcre2 ON OFF) - -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) - -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF) - -DENABLE_TORCH=$(usex torch ON OFF) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newinitd "${FILESDIR}/rspamd.init-r5" rspamd - - # Remove mprotect for JIT support - if use jit; then - pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* || die - fi - - keepdir /var/lib/rspamd - keepdir /var/log/rspamd - - fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd - - insinto /etc/logrotate.d - newins "${FILESDIR}/rspamd.logrotate" rspamd - - systemd_newunit rspamd.service rspamd.service -} diff --git a/mail-filter/rspamd/rspamd-1.7.9.ebuild b/mail-filter/rspamd/rspamd-1.7.9.ebuild deleted file mode 100644 index e4b16db1465f..000000000000 --- a/mail-filter/rspamd/rspamd-1.7.9.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} == *9999 ]] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git" -fi - -inherit cmake-utils user systemd pax-utils ${SCM} - -DESCRIPTION="Rapid spam filtering system" -HOMEPAGE="https://github.com/vstakhov/rspamd" - -if [[ ${PV} == *9999 ]] ; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="cpu_flags_x86_ssse3 fann gd jemalloc +jit libressl pcre2 +torch" -REQUIRED_USE="torch? ( jit )" - -RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] ) - libressl? ( dev-libs/libressl:0= ) - fann? ( sci-mathematics/fann ) - pcre2? ( dev-libs/libpcre2[jit=] ) - !pcre2? ( dev-libs/libpcre[jit=] ) - jit? ( dev-lang/luajit:2 ) - jemalloc? ( dev-libs/jemalloc ) - dev-libs/libevent - net-libs/libnsl - dev-db/sqlite:3 - dev-libs/glib:2 - <dev-util/ragel-7.0 - sys-apps/file - gd? ( media-libs/gd[jpeg] ) - dev-libs/icu - cpu_flags_x86_ssse3? ( dev-libs/hyperscan )" -DEPEND="dev-util/ragel - ${RDEPEND}" - -QA_MULTILIB_PATHS="usr/lib/rspamd/.*" - -pkg_setup() { - enewgroup rspamd - enewuser rspamd -1 -1 /var/lib/rspamd rspamd -} - -src_configure() { - local mycmakeargs=( - -DCONFDIR=/etc/rspamd - -DRUNDIR=/var/run/rspamd - -DDBDIR=/var/lib/rspamd - -DLOGDIR=/var/log/rspamd - -DENABLE_LUAJIT=$(usex jit ON OFF) - -DENABLE_FANN=$(usex fann ON OFF) - -DENABLE_GD=$(usex gd ON OFF) - -DENABLE_PCRE2=$(usex pcre2 ON OFF) - -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) - -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF) - -DENABLE_TORCH=$(usex torch ON OFF) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newinitd "${FILESDIR}/rspamd.init-r5" rspamd - - # Remove mprotect for JIT support - if use jit; then - pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* || die - fi - - keepdir /var/lib/rspamd - keepdir /var/log/rspamd - - fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd - - insinto /etc/logrotate.d - newins "${FILESDIR}/rspamd.logrotate" rspamd - - systemd_newunit rspamd.service rspamd.service -} diff --git a/mail-filter/rspamd/rspamd-1.8.1.ebuild b/mail-filter/rspamd/rspamd-1.8.1.ebuild deleted file mode 100644 index 40d3b5290825..000000000000 --- a/mail-filter/rspamd/rspamd-1.8.1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} == *9999 ]] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git" -fi - -inherit cmake-utils pax-utils systemd user ${SCM} - -DESCRIPTION="Rapid spam filtering system" -HOMEPAGE="https://github.com/vstakhov/rspamd" - -if [[ ${PV} == *9999 ]] ; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="cpu_flags_x86_ssse3 fann gd jemalloc +jit libressl pcre2 +torch" -REQUIRED_USE="torch? ( jit )" - -RDEPEND="dev-db/sqlite:3 - dev-libs/glib:2 - dev-libs/icu:= - dev-libs/libevent:= - net-libs/libnsl - sys-apps/file - <dev-util/ragel-7.0 - cpu_flags_x86_ssse3? ( dev-libs/hyperscan ) - fann? ( sci-mathematics/fann ) - gd? ( media-libs/gd[jpeg] ) - jemalloc? ( dev-libs/jemalloc ) - jit? ( dev-lang/luajit:2 ) - !libressl? ( dev-libs/openssl:0=[-bindist] ) - libressl? ( dev-libs/libressl:0= ) - pcre2? ( dev-libs/libpcre2[jit=] ) - !pcre2? ( dev-libs/libpcre[jit=] )" -DEPEND="${RDEPEND}" - -pkg_setup() { - enewgroup rspamd - enewuser rspamd -1 -1 /var/lib/rspamd rspamd -} - -src_configure() { - local mycmakeargs=( - -DCONFDIR=/etc/rspamd - -DRUNDIR=/var/run/rspamd - -DDBDIR=/var/lib/rspamd - -DLOGDIR=/var/log/rspamd - -DENABLE_LUAJIT=$(usex jit ON OFF) - -DENABLE_FANN=$(usex fann ON OFF) - -DENABLE_GD=$(usex gd ON OFF) - -DENABLE_PCRE2=$(usex pcre2 ON OFF) - -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) - -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF) - -DENABLE_TORCH=$(usex torch ON OFF) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newinitd "${FILESDIR}/rspamd.init-r5" rspamd - - # Remove mprotect for JIT support - if use jit; then - pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* - fi - - keepdir /var/lib/rspamd - keepdir /var/log/rspamd - - fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd - - insinto /etc/logrotate.d - newins "${FILESDIR}/rspamd.logrotate" rspamd - - systemd_newunit rspamd.service rspamd.service -} |