Re: [cvs] bogofilter NEWS,1.527,1.528 Makefile.am,1.173,1.174
David Relson <[email protected]> Tue, 27 Dec 2005 23:15:22 -0500
| Newsgroups | gmane.mail.bogofilter.devel |
|---|---|
| Organization | Osage Software Systems, Inc. |
| Message-ID | <[email protected]> |
On Wed, 28 Dec 2005 01:00:10 +0100 Matthias Andree wrote: > David Relson <[email protected]> writes: > > > - "Version 3*") rpm $(adddef) --sign $(buildopt) $(distdir).tar.gz ;; \ > > - *) rpmbuild $(adddef) --sign $(buildopt) $(distdir).tar.gz ;; \ > > + "Version 3*") rpm --define 'bogostatic 1' --sign -ta $(distdir).tar.gz ; \ > > + rpm --define 'with_sqlite 1' --sign -ta $(distdir).tar.gz ;; \ > > + *) rpmbuild --define 'bogostatic 1' --sign -ta $(distdir).tar.gz ; \ > > + rpmbuild --define 'with_sqlite 1' --sign -ta $(distdir).tar.gz ;; \ > > esac > > Regarding the with_sqlite... -ta change, I don't believe we need to > build the source RPM twice, they should have identical contents, and the > with_sqlite builds should use -tb rather than -ta. > > Unpack both .src.rpm files with > > rpm2cpio bogofilter-whatever.src.rpm \ > | (mkdir /tar/get && cd /tar/get && cpio -div) > > and compare the output directories. > > Another thing, on SUSE all of the database libraries (libdb.a and > libsqlite3.a) require -lpthread for the static link (we don't have > autoconf support for that). I'll try to get autoconf support for that. Since the default build is for BerkeleyDB, having "with_sqlite 1" is useful for producing bogofilter-sqlite. Perhaps we should rename the default binary rpm as "bogofilter-db4" and the static binary to "bogofilter-db4-static"? _______________________________________________ Bogofilter-dev mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter-dev