[cvs] SF.net SVN: bogofilter:[6752] trunk/bogofilter
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <m-...@us...> - 2008-10-16 22:10:38
|
Revision: 6752 http://bogofilter.svn.sourceforge.net/bogofilter/?rev=6752&view=rev Author: m-a Date: 2008-10-16 22:10:32 +0000 (Thu, 16 Oct 2008) Log Message: ----------- Update static lib builds for SQLite 3.6.3 and use amalgamation. BDB 4.2 static builds, but shared version doesn't build on openSUSE 11. Modified Paths: -------------- trunk/bogofilter/Makefile.am trunk/bogofilter/install-staticdblibs.sh Modified: trunk/bogofilter/Makefile.am =================================================================== --- trunk/bogofilter/Makefile.am 2008-10-16 21:49:36 UTC (rev 6751) +++ trunk/bogofilter/Makefile.am 2008-10-16 22:10:32 UTC (rev 6752) @@ -90,7 +90,7 @@ echo >&2 "Please run the install-staticdblibs.sh script first." ; exit 1 ; fi BF_ZAP_LIBDB=zap CPPFLAGS="-D__NO_CTYPE -I$(DBPFX)/include" LIBS=$(DBLIB) \ $(RPMBUILD) $(DEF_STATIC) $(DEF_DB42) $(SIGN) -tb $(distdir).tar.gz - BF_ZAP_LIBDB=zap CPPFLAGS="-D__NO_CTYPE -I$(SQPFX)/include" LIBS=$(SQLIB) \ + BF_ZAP_LIBDB=zap CPPFLAGS="-D__NO_CTYPE -I$(SQPFX)/include" LIBS="$(SQLIB) -ldl" \ $(RPMBUILD) $(DEF_STATIC) $(DEF_SQLITE) $(SIGN) -tb $(distdir).tar.gz @echo @echo "Now building the shared database library RPMs - this may fail" @@ -99,7 +99,7 @@ @echo "been built are ready to go however." @echo @sleep 5 - - CPPFLAGS="-D__NO_CTYPE -I$(DBPFX)" LIBS=-ldb-4.2 \ + - CPPFLAGS="-D__NO_CTYPE -I$(DBPFX)" LIBS="-ldb-4.2 -pthread" \ $(RPMBUILD) $(DEF_DB42) $(SIGN) -tb $(distdir).tar.gz - CPPFLAGS="-D__NO_CTYPE -I$(SQPFX)" \ $(RPMBUILD) $(DEF_SQLITE) $(SIGN) -tb $(distdir).tar.gz Modified: trunk/bogofilter/install-staticdblibs.sh =================================================================== --- trunk/bogofilter/install-staticdblibs.sh 2008-10-16 21:49:36 UTC (rev 6751) +++ trunk/bogofilter/install-staticdblibs.sh 2008-10-16 22:10:32 UTC (rev 6752) @@ -104,7 +104,8 @@ dbdir=db-4.2.52 dbpfx=/opt/db-4.2-lean -sqdir=sqlite-3.5.6 +sqfil=sqlite-amalgamation-3.6.3.tar.gz +sqdir=sqlite-3.6.3 sqpfx=/opt/sqlite-3-lean ### download SleepyCat DB 4.2.52 and patches @@ -130,7 +131,7 @@ echo "$checklib already exists, not building Berkeley DB." fi -### download SQLite 3.5.6 +### download SQLite 3.6.3 # Info: the objdump test fixes up the effects of a bug # in an earlier version of this script, which built # a sqlite 3.2.8 version that required GLIBC_2.3. @@ -146,7 +147,7 @@ bogofilter.org) URL=ftp://ftp.bogofilter.org/pub/outgoing/tools/SQLite ;; esac - want $URL/sqlite-3.5.6.tar.gz 903c9e935c538af392364a9172a3d98d + want $URL/sqlite-amalgamation-3.6.3.tar.gz d6e2df754e2619c4b5a06c66ae20632c build_sqlite=1 else echo "$checklib already exists, not building SQLite3." @@ -184,7 +185,7 @@ # build SQLite 3 if test $build_sqlite = 1 ; then rm -rf build-$sqdir $sqdir - gunzip -cd $sqdir.tar.gz | tar xf - + gunzip -cd $sqfil | tar xf - set -e echo "installing $sqdir" mkdir -p build-$sqdir This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |