Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651366 - mail-filter/rspamd-1.7.2 version bump
Summary: mail-filter/rspamd-1.7.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Roessner
URL: https://github.com/vstakhov/rspamd/re...
Whiteboard:
Keywords:
: 651134 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-24 17:30 UTC by tomas charvat
Modified: 2018-03-29 14:02 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mail-filter/rspamd-1.7.2.ebuild (rspamd-1.7.2.ebuild,1.93 KB, text/plain)
2018-03-25 09:41 UTC, Christian Roessner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomas charvat 2018-03-24 17:30:55 UTC
new version new fixies

Reproducible: Always




There is also "bug?" in rspamd-1.7.1 ebuild, that overwrite /etc/rspamd/metrics.conf without warning or letting you know.
Many version back this has been place to define actions and metrics. Since 1.7 its depreciated. If you overwrite file silently, users will lose configuration.
1.7.1 also contain ugly bug, that seems to trigger "no action" instead of "greylist". It seems to be fixed in 1.7.2 according to changelog.
Comment 1 Jonas Stein gentoo-dev 2018-03-24 21:22:29 UTC
Thank you for the bump request. 
You can help the maintainer with further information:
Does a simple bump [1] work on your system? 
Chances are high, because a first look on the bump revealed only small changes.

[1] https://wiki.gentoo.org/wiki/Custom_repository#Simple_version_bump_of_an_ebuild_in_the_local_overlay
Comment 2 Christian Roessner 2018-03-25 09:41:50 UTC
Created attachment 525382 [details]
mail-filter/rspamd-1.7.2.ebuild

Compiled and tested ebuild (version bump).

@djc: Please add also the meta file and logrotate file from bug #651134 when uploading this new ebuild ;-)
Comment 3 tomas charvat 2018-03-28 15:03:46 UTC
this ebuild has failed for me.

Portage 2.3.24 (python 3.4.5-final-0, hardened/linux/amd64/no-multilib, gcc-6.4.0, glibc-2.25-r10, 4.14.27-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.27-gentoo-x86_64-AMD_Opteron-tm-_Processor_6376-with-gentoo-2.4.1
KiB Mem:    32922128 total,  20514768 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 28 Mar 2018 01:00:01 +0000
Head commit of repository gentoo: b31a768b136028b8ae4095e7d3fe5e2b19d30f0c


sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 

localrepo
    location: /usr/local/portage
    masters: gentoo


ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=10 --load-average=60 --keep-going --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j33"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt cxx dri gdbm hardened iconv ipv6 lm_sensors modules ncurses nls nptl openmp pam pax_kernel pcre pie qmail-spp readline seccomp ssl ssp tcpd unicode urandom xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7 python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

r2 /usr/local/portage/mail-filter/rspamd # emerge -pqv '=mail-filter/rspamd-1.7.2::localrepo'
[ebuild     U ] mail-filter/rspamd-1.7.2 [1.7.1] USE="jemalloc jit pcre2 torch%* -fann -gd -libressl" CPU_FLAGS_X86="ssse3"
Comment 4 tomas charvat 2018-03-28 15:05:31 UTC
And error was:

-- Installing: /var/tmp/portage/mail-filter/rspamd-1.7.2/image/usr/bin/rspamd
-- Set runtime path of "/var/tmp/portage/mail-filter/rspamd-1.7.2/image//usr/bin/rspamd-1.7.2" to "/usr/lib/rspamd"
-- Installing: /var/tmp/portage/mail-filter/rspamd-1.7.2/image/usr/bin/rspamc-1.7.2
-- Installing: /var/tmp/portage/mail-filter/rspamd-1.7.2/image/usr/bin/rspamc
-- Set runtime path of "/var/tmp/portage/mail-filter/rspamd-1.7.2/image//usr/bin/rspamc-1.7.2" to "/usr/lib/rspamd"
-- Installing: /var/tmp/portage/mail-filter/rspamd-1.7.2/image/usr/bin/rspamadm-1.7.2
-- Installing: /var/tmp/portage/mail-filter/rspamd-1.7.2/image/usr/bin/rspamadm
-- Set runtime path of "/var/tmp/portage/mail-filter/rspamd-1.7.2/image//usr/bin/rspamadm-1.7.2" to "/usr/lib/rspamd"
 * ERROR: mail-filter/rspamd-1.7.2::localrepo failed (install phase):
 *   !!! newinitd: /var/tmp/portage/mail-filter/rspamd-1.7.2/files/rspamd.init-r5 does not exist
Comment 5 Christian Roessner 2018-03-29 06:26:13 UTC
The error says that the init file can not be found. But I checked it and it exists. And the ebuild points to the right direction. Could this be a local issue at your side? I can not reproduce it.

Can you please resync your portage tree and see, if the file:

/usr/portage/mail-filter/rspamd/files/rspamd.init-r5

exists? If you have a local portage directory make sure you have copied all required files from the original path.

Please report back soon
Comment 6 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-03-29 13:35:31 UTC
*** Bug 651134 has been marked as a duplicate of this bug. ***
Comment 7 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-03-29 14:02:21 UTC
[master 66e9f5d2215] mail-filter/rspamd: version bump to 1.7.2 (fixes bug 651366)
 Author: Christian Roessner <c@roessner.co>
 Date: Thu Mar 29 15:38:41 2018 +0200