Skip to content

Commit

Permalink
mail-filter/rspamd: migrate 2.1 to GLEP-81
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Petr Vaněk <[email protected]>
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
arkamar authored and juippis committed Dec 14, 2019
1 parent be3c9fd commit 4b87871
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions mail-filter/rspamd/rspamd-2.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=6

inherit cmake-utils pax-utils systemd tmpfiles user
inherit cmake-utils pax-utils systemd tmpfiles

if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git"
Expand All @@ -19,7 +19,10 @@ LICENSE="Apache-2.0"
SLOT="0"
IUSE="blas cpu_flags_x86_ssse3 jemalloc +jit libressl pcre2"

RDEPEND="dev-db/sqlite:3
RDEPEND="
acct-group/rspamd
acct-user/rspamd
dev-db/sqlite:3
dev-libs/glib:2
dev-libs/icu:=
dev-libs/libev
Expand All @@ -37,11 +40,6 @@ RDEPEND="dev-db/sqlite:3
!pcre2? ( dev-libs/libpcre[jit=] )"
DEPEND="${RDEPEND}"

pkg_setup() {
enewgroup rspamd
enewuser rspamd -1 -1 /var/lib/rspamd rspamd
}

src_prepare() {
cmake-utils_src_prepare

Expand Down

0 comments on commit 4b87871

Please sign in to comment.