1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

mail/bmf: Revert erroneous update

bmf was incorrectly "updated" from 0.9.4 to 0.84 in r483094. The problem is
that 0.9.4 is a newer version than 0.84. According to Repology[1], other
packaging systems got it right. Let's correct the mistake and introduce
version 0.9.4 back into our ports tree.

[1]: https://repology.org/project/bmf/versions

PR:		232493
Submitted by:	reg@
This commit is contained in:
Mateusz Piotrowski 2020-09-23 18:39:56 +00:00
parent 316b80c125
commit 45c8a8fbc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549780
3 changed files with 7 additions and 31 deletions

View File

@ -2,19 +2,18 @@
# $FreeBSD$
PORTNAME= bmf
PORTVERSION= 0.84
PORTREVISION= 1
PORTVERSION= 0.9.4
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Fst Bayesian Mail Filter compatible with maildrop and procmail
COMMENT= Fast Bayesian Mail Filter compatible with maildrop and procmail
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
HAS_CONFIGURE= yes
ALL_TARGET= apps
BINARY_ALIAS= gcc=${CC} g++=${CXX}
CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
@ -30,16 +29,13 @@ BDB_CONFIGURE_ENV= DB_LIBNAME=-l${BDB_LIB_NAME}
DEBUG_CONFIGURE_ON= --debug=yes
MANPAGES_ALL_TARGET= docs
MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto
MYSQL_CONFIGURE_WITH= mysql
MYSQL_CFLAGS= -I${LOCALBASE}/include/mysql
MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql
MYSQL_USES= mysql
do-install:
(cd ${WRKSRC} ; ${INSTALL_PROGRAM} bmf bmfconv ${STAGEDIR}${PREFIX}/bin)
cd ${WRKSRC} && ${INSTALL_PROGRAM} bmf bmfconv ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1540059041
SHA256 (bmf-0.84.tar.gz) = 28df6d808c4c6fef0e646cc736283fccecd02c4e6fa09f5fd095bb9d63004038
SIZE (bmf-0.84.tar.gz) = 40101
TIMESTAMP = 1541791646
SHA256 (bmf-0.9.4.tar.gz) = 7eed21802f95df2321ac4c958f99e14d2809852a5708700b633e1abb032c9ce1
SIZE (bmf-0.9.4.tar.gz) = 36740

View File

@ -1,20 +0,0 @@
--- Makefile.in.orig 2002-10-09 16:41:56 UTC
+++ Makefile.in
@@ -28,7 +28,7 @@ bmf.o: bmf.c
$(CC) $(CFLAGS) -DPACKAGE=\"bmf\" -DVERSION=\"$(VERSION)\" -c $<
bmf.1: bmf.xml
- xsltproc --docbook db2man/docbook.xsl bmf.xml
+ xmlto --skip-validation man bmf.xml
bmfconv: bmfconv.o dbmysql.o dbdb.o dbtext.o dbh.o lex.o vec.o str.o
$(CC) -o $@ bmfconv.o dbmysql.o dbdb.o dbtext.o dbh.o lex.o vec.o str.o $(LDFLAGS)
@@ -37,7 +37,7 @@ bmfconv.o: bmfconv.c
$(CC) $(CFLAGS) -DPACKAGE=\"bmfconv\" -DVERSION=\"$(VERSION)\" -c $<
bmfconv.1: bmfconv.xml
- xsltproc --docbook db2man/docbook.xsl bmfconv.xml
+ xmlto man bmfconv.xml
install: checkroot bmf bmf.1 bmfconv bmfconv.1
[ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR)