[arch-commits] Commit in bogofilter/trunk (PKGBUILD bogofilter-1.2.4-test-env.patch)

Andreas Radke andyrtr at archlinux.org
Mon Oct 14 14:58:03 UTC 2019


    Date: Monday, October 14, 2019 @ 14:58:01
  Author: andyrtr
Revision: 364802

upgpkg: bogofilter 1.2.5-1

upstream update 1.2.5

Modified:
  bogofilter/trunk/PKGBUILD
Deleted:
  bogofilter/trunk/bogofilter-1.2.4-test-env.patch

---------------------------------+
 PKGBUILD                        |   23 ++++++++---------------
 bogofilter-1.2.4-test-env.patch |   11 -----------
 2 files changed, 8 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-14 13:54:07 UTC (rev 364801)
+++ PKGBUILD	2019-10-14 14:58:01 UTC (rev 364802)
@@ -3,19 +3,19 @@
 # Contributor: Low Kian Seong <fastmail_low at speedymail.org>
 
 pkgname=bogofilter
-pkgver=1.2.4
-pkgrel=5
+pkgver=1.2.5
+pkgrel=1
 pkgdesc="A fast Bayesian spam filtering tool"
 arch=('x86_64')
 license=('GPL3')
-url="http://bogofilter.sourceforge.net"
+url="https://bogofilter.sourceforge.io/"
 depends=('db' 'perl' 'gsl') # 'sqlite'
 makedepends=('valgrind' 'xmlto')
 backup=('etc/bogofilter/bogofilter.cf')
-source=(https://sourceforge.net/projects/${pkgname}/files/${pkgname}-current/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2
-        bogofilter-1.2.4-test-env.patch)
-md5sums=('d0a5eebb3274b23ceabe766a6443a1c5'
-         'd01f23755ee9b4f5807b9feefea0b42d')
+source=(https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-stable/${pkgname}-${pkgver}.tar.xz{,.asc}) # asc file doesn't  work with pacman
+sha1sums=('c779c3afb3e57ae0208ee503a854aff716b0cafd'
+          'SKIP')
+validpgpkeys=('DC4A655BD993CD4871FA8210E412B156EFF3855A') # "Matthias Andree <mandree at FreeBSD.org>"
 
 # keep Berkeley DB as backend for now
 # sqlite3 based backend doesn't allow
@@ -23,15 +23,8 @@
 # used to bf_compact the wordlist.db
 # other backend aren't available 
 # currently in Arch repos
+# as of 1.2.5 new backend can be KyotoCabinet and lmdb
 
-prepare() {
-  cd "${pkgname}"-${pkgver}
-  # taken from Gentoo
-  patch -Np1 -i "${srcdir}"/bogofilter-1.2.4-test-env.patch
-  chmod +x src/tests/t.{ctype,leakfind,lexer.qpcr,lexer.eoh,message_id,queue_id}
-  autoreconf -vfi
-}
-
 build() {
   cd "${pkgname}"-${pkgver}
   ./configure --prefix=/usr \

Deleted: bogofilter-1.2.4-test-env.patch
===================================================================
--- bogofilter-1.2.4-test-env.patch	2019-10-14 13:54:07 UTC (rev 364801)
+++ bogofilter-1.2.4-test-env.patch	2019-10-14 14:58:01 UTC (rev 364802)
@@ -1,11 +0,0 @@
---- a/src/tests/Makefile.am
-+++ b/src/tests/Makefile.am
-@@ -67,7 +67,7 @@
- 
- TESTS=$(BUILT_TESTS) $(TESTSCRIPTS)
- 
--TESTS_ENVIRONMENT=RUN_FROM_MAKE=1 AWK=$(AWK) srcdir=$(srcdir) SHELL="$(SHELL)" $(SHELL) $(VERBOSE)
-+TESTS_ENVIRONMENT=RUN_FROM_MAKE=1 AWK=$(AWK) srcdir=$(srcdir) SHELL="$(SHELL)" $(VERBOSE)
- 
- EXTRA_DIST=$(TESTSCRIPTS) t.frame t.save t.skel \
- 	printcore t._abort unsort.pl \



More information about the arch-commits mailing list