diff options
author | Steffen Nurpmeso <steffen@sdaoden.eu> | 2020-12-30 22:26:39 +0100 |
---|---|---|
committer | Steffen Nurpmeso <steffen@sdaoden.eu> | 2020-12-30 22:30:35 +0100 |
commit | dbcd287427e10714437734f4bb8ae227c83bfc02 (patch) | |
tree | b8bf8e084689a701720b9d2ecf4e69198b813efb /bogofilter-lmdb | |
parent | bc14ae4e9b03017b682f12a6c5d7f319f53efbb1 (diff) | |
download | contrib-dbcd287427e10714437734f4bb8ae227c83bfc02.tar.gz contrib-dbcd287427e10714437734f4bb8ae227c83bfc02.tar.xz |
bogofilter-lmdb: new port
Diffstat (limited to 'bogofilter-lmdb')
-rw-r--r-- | bogofilter-lmdb/.footprint | 23 | ||||
-rw-r--r-- | bogofilter-lmdb/.signature | 5 | ||||
-rw-r--r-- | bogofilter-lmdb/Pkgfile | 24 |
3 files changed, 52 insertions, 0 deletions
diff --git a/bogofilter-lmdb/.footprint b/bogofilter-lmdb/.footprint new file mode 100644 index 000000000..8ded1ed05 --- /dev/null +++ b/bogofilter-lmdb/.footprint @@ -0,0 +1,23 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/bf_compact +-rwxr-xr-x root/root usr/bin/bf_copy +-rwxr-xr-x root/root usr/bin/bf_tar +-rwxr-xr-x root/root usr/bin/bogofilter +-rwxr-xr-x root/root usr/bin/bogolexer +-rwxr-xr-x root/root usr/bin/bogotune +-rwxr-xr-x root/root usr/bin/bogoupgrade +-rwxr-xr-x root/root usr/bin/bogoutil +drwxr-xr-x root/root usr/etc/ +-rw-r--r-- root/root usr/etc/bogofilter.cf.example +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/bf_compact.1.gz +-rw-r--r-- root/root usr/share/man/man1/bf_copy.1.gz +-rw-r--r-- root/root usr/share/man/man1/bf_tar.1.gz +-rw-r--r-- root/root usr/share/man/man1/bogofilter.1.gz +-rw-r--r-- root/root usr/share/man/man1/bogolexer.1.gz +-rw-r--r-- root/root usr/share/man/man1/bogotune.1.gz +-rw-r--r-- root/root usr/share/man/man1/bogoupgrade.1.gz +-rw-r--r-- root/root usr/share/man/man1/bogoutil.1.gz diff --git a/bogofilter-lmdb/.signature b/bogofilter-lmdb/.signature new file mode 100644 index 000000000..072c64692 --- /dev/null +++ b/bogofilter-lmdb/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/stenur.pub +RWQEMWjN1NA438TOsOyYSkhxCigUKl0yJECZ9OAKr1PI8E3jK6IUEwXTlfnRLppNt+IM3udFcvDxfBmX5D7s+6IRCSdXzKDN8Qk= +SHA256 (Pkgfile) = 9933862bea8db313ee7f8351a8467cae956254a156c790ab70d0c80b281e0462 +SHA256 (.footprint) = 51b3926e47109fac99e34b9db99d1edc913ade1aa9e5ad69b0d030124fd5030b +SHA256 (bogofilter-1.2.5.tar.xz) = 3248a1373bff552c500834adbea4b6caee04224516ae581fb25a4c6a6dee89ea diff --git a/bogofilter-lmdb/Pkgfile b/bogofilter-lmdb/Pkgfile new file mode 100644 index 000000000..bafd66a2c --- /dev/null +++ b/bogofilter-lmdb/Pkgfile @@ -0,0 +1,24 @@ +# Description: Fast Bayesian spam filtering, using LMDB backend +# URL: https://gitlab.com/bogofilter/bogofilter +# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu +# Depends on: lmdb xmlto + +name=bogofilter-lmdb +version=1.2.5 +release=1 +realn=bogofilter +source=(https://downloads.sourceforge.net/project/${realn}/${realn}-stable/${realn}-${version}.tar.xz) + +build() { + cd ${realn}-${version} + + ./configure --prefix=/usr --sysconfdir=/usr/etc --with-database=lmdb + make DESTDIR="$PKG" install + + # Fix manual misconversion? a bit + for f in `find "$PKG"/usr/share/man -type f`; do + sed -i -E -e 's/^[[:space:]]+(\.[[:alpha:]].+)$/\1/' $f + done +} + +# s-sh-mode |