Re: [Evolution] SpamAssassin - Was: All Mails filtered as spam

On Tue, 2019-07-23 at 10:55 +0200, Andre Klapper wrote:
On Tue, 2019-07-23 at 10:15 +0200, Ralf Mardorf wrote:
to get rid of spamassin, do I need to remove the optional package

Likely, but depends on your distribution's packaging and what your
packager decided to make the package "evolution-spamassassin" do.

What ever upstream decided to make the default, even assuming evolution
would be a single non-split package.

An Arch Linux PKGBUILD is a script:

[rocketmouse@archlinux trunk]$ grep build PKGBUILD -A1000
build() {
  cd $pkgbase

  cmake . -G Ninja \
    -DLIBEXEC_INSTALL_DIR=/usr/lib \

package_evolution() {
  optdepends=('highlight: text highlight plugin'
              'evolution-spamassassin: Spamassassin spam check plugin'
              'evolution-bogofilter: Bogofilter spam check plugin')

  cd $pkgbase
  DESTDIR="$pkgdir" ninja install

  mkdir ../plugins
  mv "$pkgdir/usr/lib/evolution/modules/" ../plugins/
  mv "$pkgdir/usr/lib/evolution/modules/" ../plugins/
  mv "$pkgdir/usr/share/appdata/evolution-bogofilter.metainfo.xml" ../plugins/
  mv "$pkgdir/usr/share/appdata/evolution-spamassassin.metainfo.xml" ../plugins/

package_evolution-bogofilter() {
  pkgdesc="Spam filtering for Evolution, using Bogofilter"
  depends=("evolution=$pkgver" bogofilter)

  install -Dm755 plugins/ "$pkgdir/usr/lib/evolution/modules/"
  install -Dm644 plugins/evolution-bogofilter.metainfo.xml 

package_evolution-spamassassin() {
  pkgdesc="Spam filtering for Evolution, using SpamAssassin"
  depends=("evolution=$pkgver" spamassassin)

  install -Dm755 plugins/ "$pkgdir/usr/lib/evolution/modules/"
  install -Dm644 plugins/evolution-spamassassin.metainfo.xml 

[rocketmouse@archlinux tmp]$ asp checkout evolution-spamassassin
==> evolution-spamassassin is part of package evolution
fatal: destination path 'evolution' already exists and is not an empty directory.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]