bogofilter-lmdb: new port

This commit is contained in:
Steffen Nurpmeso 2020-12-30 22:26:39 +01:00
parent bc14ae4e9b
commit dbcd287427
3 changed files with 52 additions and 0 deletions

View File

@ -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

View File

@ -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

24
bogofilter-lmdb/Pkgfile Normal file
View File

@ -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